diff --git a/dist/demo/index.html b/dist/demo/index.html
index 6cef52115..382b1df0d 100644
--- a/dist/demo/index.html
+++ b/dist/demo/index.html
@@ -65,9 +65,8 @@ Add another diagram to demo page : 48h
gitGraph :
options
{
- "key": "value",
- "nodeWidth": 150,
- "nodeSpacing" : 150
+ "nodeSpacing" : 150,
+ "nodeRadius": 10
}
end
commit
diff --git a/src/diagrams/gitGraph/gitGraphRenderer.js b/src/diagrams/gitGraph/gitGraphRenderer.js
index 3d2da3a49..1c7cdb059 100644
--- a/src/diagrams/gitGraph/gitGraphRenderer.js
+++ b/src/diagrams/gitGraph/gitGraphRenderer.js
@@ -8,7 +8,7 @@ const log = Logger.Log
var allCommitsDict = {}
var branchNum
var config = {
- nodeSpacing: 75,
+ nodeSpacing: 150,
nodeFillColor: 'yellow',
nodeStrokeWidth: 2,
nodeStrokeColor: 'grey',
@@ -17,12 +17,12 @@ var config = {
lineColor: 'grey',
leftMargin: 50,
branchColors: ['#442f74', '#983351', '#609732', '#AA9A39'],
- nodeRadius: 15,
+ nodeRadius: 10,
nodeLabel: {
width: 75,
height: 100,
x: -25,
- y: 15
+ y: 0
}
}
var apiConfig = {}