From 6c28c55ea7717ad7ecd4c649a4d1e0809f07b7d0 Mon Sep 17 00:00:00 2001 From: Raghu Rajagopalan Date: Mon, 25 Apr 2016 13:01:17 +0530 Subject: [PATCH] Update node label distance. --- src/diagrams/gitGraph/gitGraphRenderer.js | 4 ++-- testgitgraph.mm | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/diagrams/gitGraph/gitGraphRenderer.js b/src/diagrams/gitGraph/gitGraphRenderer.js index b32c9ef46..79a21fc15 100644 --- a/src/diagrams/gitGraph/gitGraphRenderer.js +++ b/src/diagrams/gitGraph/gitGraphRenderer.js @@ -14,10 +14,10 @@ var config = { lineColor: 'grey', leftMargin: 50, nodeLabel: { - width: 50, + width: 75, height: 100, x: -25, - y: 25 + y: 15 } } var apiConfig = {}; diff --git a/testgitgraph.mm b/testgitgraph.mm index 660529507..48effa222 100644 --- a/testgitgraph.mm +++ b/testgitgraph.mm @@ -5,5 +5,12 @@ options } end commit + branch newbranch + checkout newbranch commit commit + checkout master + commit + commit + merge newbranch +