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

and need show (as network graph, not tree) after page loading graph must centered on {id:1} item.

how can make it?


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -