Is there any way to represent connections between json objects with a graph?

时光怂恿深爱的人放手 提交于 2019-12-11 09:56:06

问题


I have a java program and i am parsing a json file. Because there are some dependencies between the json objects (they are procedures that must be executed so some of them depends on others). I want to make a graph so i can represent this. Is there any known way? I tryed mxgraph (jgraph) but i cannot make the representation.

Here is a simple json format

 {
  "blueprint": 
    {
     "1" : { "depends" : null },
     "2" : { "depends" : "1" },
     "3" : { "depends" : { "2" , "1"} },
    }
  }

来源:https://stackoverflow.com/questions/55468532/is-there-any-way-to-represent-connections-between-json-objects-with-a-graph

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!