采用json格式
{
"node": [
{"label": ,"contain": []}
],
"edge": [
{"source": ,"target": }
]
}
示例
{
"node": [
{"label": "化工" ,"contain": ["苯胺","甲醛","聚合MDI","氨纶"] },
{"label": "纺织" ,"contain": [] },
{"label": "苯胺" ,"contain": []},
{"label": "甲醛" ,"contain": []},
{"label": "聚合MDI" ,"contain": []},
{"label": "氨纶" ,"contain": []}
],
"edge": [
{"source": "甲醛","target": "聚合MDI"},
{"source": "苯胺","target": "聚合MDI"},
{"source": "聚合MDI","target": "氨纶"},
{"source": "氨纶","target": "纺织"}
]
}