We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5ae073 commit 3d938d1Copy full SHA for 3d938d1
src/constants.js
@@ -44,7 +44,8 @@ export var DEFAULT_CONFIG = {
44
iconColor: '#F60',
45
baseHeight: 28,
46
baseWidth: 226,
47
- textAlignMiddle: false
+ textAlignMiddle: false,
48
+ lineHeight: 12
49
50
},
51
edge: {
src/graph-view-node.js
@@ -103,7 +103,8 @@ class GraphViewNode {
103
fontWeight: 600,
104
width: rectSize.x,
105
height: rectHeight,
106
- lineSpacing: 50
+ lineSpacing: 50,
107
+ lineHeight: this.getSchemaValue('lineHeight')
108
109
marker: nodeData.marker ? {
110
refX: rectSize.x - 20,
0 commit comments