Closed aplinxy9plin closed 5 years ago
Please, help me. I need to create static size of circle node. How to do it better?
nodes = new DataSet(nodes_arr) data = { nodes: nodes, edges: edges, events: (e) => { console.log(e); } } options = { nodes: {borderWidth:0,shape:"circle",color:{background:'#F92C55', highlight:{background:'#F92C55', border: '#F92C55'}},font:{color:'#fff'}}, physics: { stabilization: false, minVelocity: 0.01, solver: "repulsion", repulsion: { nodeDistance: 40 } }, };
Not sure what you mean... but take a look at this example "Scale nodes and edges depending on their value..." It may meet your needs, hoping to ;)
Please, help me. I need to create static size of circle node.
How to do it better?