vis.js - how to place item in center of graph -
i have tree structure next :
- id: 1
- id: 2
- id: 8
- id: 9
- id: 10
- id: 11
- id: 12
- id: 3
- id: 13
- id: 4
- id: 5
- id: 6
- id: 7
- id: 8
- id: 2
and need show (as network graph, not tree) after page loading graph must centered on {id:1}
item.
how can make it?
Comments
Post a Comment