mirror of
https://github.com/lana-k/sqliteviz.git
synced 2026-02-04 15:38:55 +08:00
#131 fix label color
This commit is contained in:
@@ -437,7 +437,9 @@ export default {
|
|||||||
this.updateLayout(this.settings.layout.type)
|
this.updateLayout(this.settings.layout.type)
|
||||||
this.renderer = new Sigma(this.graph, this.$refs.graph, {
|
this.renderer = new Sigma(this.graph, this.$refs.graph, {
|
||||||
renderEdgeLabels: true,
|
renderEdgeLabels: true,
|
||||||
allowInvalidContainer: true
|
allowInvalidContainer: true,
|
||||||
|
labelColor: { attribute: 'labelColor', color: '#444444' },
|
||||||
|
edgeLabelColor: { attribute: 'labelColor', color: '#a2b1c6' }
|
||||||
})
|
})
|
||||||
if (this.settings.layout.type === 'forceAtlas2') {
|
if (this.settings.layout.type === 'forceAtlas2') {
|
||||||
this.autoRunFA2Layout()
|
this.autoRunFA2Layout()
|
||||||
|
|||||||
Reference in New Issue
Block a user