From a0ef93921f34b2d63c1da9370e33ac30cd60bd35 Mon Sep 17 00:00:00 2001 From: lana-k Date: Fri, 26 Dec 2025 20:56:08 +0100 Subject: [PATCH] #131 fix label color --- src/components/Graph/GraphEditor.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Graph/GraphEditor.vue b/src/components/Graph/GraphEditor.vue index 01c5512..7ca43f0 100644 --- a/src/components/Graph/GraphEditor.vue +++ b/src/components/Graph/GraphEditor.vue @@ -437,7 +437,9 @@ export default { this.updateLayout(this.settings.layout.type) this.renderer = new Sigma(this.graph, this.$refs.graph, { renderEdgeLabels: true, - allowInvalidContainer: true + allowInvalidContainer: true, + labelColor: { attribute: 'labelColor', color: '#444444' }, + edgeLabelColor: { attribute: 'labelColor', color: '#a2b1c6' } }) if (this.settings.layout.type === 'forceAtlas2') { this.autoRunFA2Layout()