Skip to content

Commit a0ef939

Browse files
committed
#131 fix label color
1 parent 859cd2c commit a0ef939

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Graph/GraphEditor.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,9 @@ export default {
437437
this.updateLayout(this.settings.layout.type)
438438
this.renderer = new Sigma(this.graph, this.$refs.graph, {
439439
renderEdgeLabels: true,
440-
allowInvalidContainer: true
440+
allowInvalidContainer: true,
441+
labelColor: { attribute: 'labelColor', color: '#444444' },
442+
edgeLabelColor: { attribute: 'labelColor', color: '#a2b1c6' }
441443
})
442444
if (this.settings.layout.type === 'forceAtlas2') {
443445
this.autoRunFA2Layout()

0 commit comments

Comments
 (0)