Closed AlpOzturk closed 9 years ago
When creating a force directed graph via JSON and springyui, what can I do configure the text size and color for the nodes? I have a hang on manipulating edge properties, but nodes seem trickier.
From memory, you should be able to give nodes a color and font property to set the label's color and font.
color
font
e.g.
graph.newNode({label: 'Hello', color: '#FF0000', font: '16px Verdana'});
When creating a force directed graph via JSON and springyui, what can I do configure the text size and color for the nodes? I have a hang on manipulating edge properties, but nodes seem trickier.