Hi I am using Infovis(JIT) forced directed graph and i have more than 100 nodes connected to single parent node, which creates a circular shape but the name of the nodes are overlapping and it is vey difficult to read their names. Is there any way to customize it so that it should happen. Any help would be highly appreciated.
FYI
I have tried putting overritable: false
in Label variable but it is not working
Label: {
type: labelType, //Native or HTML
size: 10,
style: 'normal'
},
Some of the nodes are coming like this:
Or else please suggest any way to randomly increase decrease the size of Edge.
Its been long time since I used this library but I had a similar problem. One thing you could do is this. Manipulate lengths of edges so that adjacent edges have different lengths i.e. an edge is longer than its neighbor. This way you can avoid labels overlapping. You may be able to override rendering of edges and nodes as shown in following code.
The function for custom edge type is not doing what is described above but it can help you figure out how to override rendering. You may iterate over the edges and set flags on them which indicates length to be rendered. e.g.
customLength:'short'/'long'
You can then access this flag in your renderer functiongetFDEdgeType
and change the length accordingly. Hope it helps.