neo4j-contrib / neovis.js

Neo4j + vis.js = neovis.js. Graph visualizations in the browser with data from Neo4j.
Apache License 2.0
1.61k stars 324 forks source link

cannot config labels and edges #285

Closed jyyy03 closed 1 year ago

jyyy03 commented 2 years ago

I tried to add colors for nodes and edges, and none of them work. How to fix it?

TableNode: {
            label: "tableName",
            value: "tableId",
            borderWidth: "10px",
            },
          ColumnNode: {
            label: "columnName",
            color:"#C0FDFB",
            borderWidth: "10px"
          }
thebestnom commented 2 years ago

Static value to properties like specific color and such need yo be added in static advance config, please look at the docs or example In the default config takes the properties from the node itself