admin管理员组文章数量:1315300
I am trying to make a flow chart out kind of diagram from the below JSON data. There will be no condition
var a = [
{
"selector": "mark",
"color": "#1b1f23"
}
,
{
"selector": "legend",
"color": "inherit"
}
,
{
"selector": "::-webkit-input-placeholder",
"color": "inherit"
}
,
{
"selector": "body",
"color": "#24292e"
}
];
I am not getting any free source to do the same . Please help ..
The output should look like this :
I am trying to make a flow chart out kind of diagram from the below JSON data. There will be no condition
var a = [
{
"selector": "mark",
"color": "#1b1f23"
}
,
{
"selector": "legend",
"color": "inherit"
}
,
{
"selector": "::-webkit-input-placeholder",
"color": "inherit"
}
,
{
"selector": "body",
"color": "#24292e"
}
];
I am not getting any free source to do the same . Please help ..
The output should look like this :
Share Improve this question edited Feb 25, 2020 at 10:25 W Kristianto 9,3137 gold badges48 silver badges72 bronze badges asked Feb 25, 2020 at 10:21 Pritiranjan MishraPritiranjan Mishra 1031 gold badge2 silver badges8 bronze badges2 Answers
Reset to default 3while I'm working on RESTful API I found this chrome extension and it was helpful and it can convert the JSON Object response in the browser to a flow chart by choosing the chart tab in the browser
here where you can download it:
JSON Viewer Pro
I would suggest you to use d3.js. It is a javascript library and you can use it to create any shape with dataset. You can create different shapes based upon the selector property and acplish your task.
本文标签: javascriptHow to convert json data into flow chartStack Overflow
版权声明:本文标题:javascript - How to convert json data into flow chart - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741976058a2408127.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论