[英]What sort of plot should I use to show possible paths from a start condition to an end condition
I want to graphically show a map of all the routes someone can take from a start condition to an end condition. 我想以图形方式显示某人从开始条件到结束条件可以采取的所有路线的地图。 So for example what I have is 所以例如我有
Nodes = [{name: 'start', label: 'Start'},
{name: 'step_1', label: 'Step 1'},
{name: 'step_2a', label: 'Step 2A'},
{name: 'step_2b', label: 'Step 2B'},
{name: 'step_3', label: 'Step 3'}];
Links = [{source: 'start', target: 'step_1'},
{source: 'step_1', target: 'step_2a'},
{source: 'step_1', target: 'step_2b'},
{source: 'step_2a', target: 'step_3'},
{source: 'step_2b', target: 'step_3'},];
At first I thought about using a gantt chart, since it is close to what I had in mind. 刚开始我考虑使用甘特图,因为它接近我的想法。 But it seems to be wrong. 但这似乎是错误的。 Gantt charts are created for a completely different reason. 创建甘特图的原因完全不同。
What would be the best type of chart and how can I create it, in order to show relations between the nodes? 为了显示节点之间的关系,最好的图表类型是什么?如何创建它?
It seems like a simple flow chart would be a good option here. 看起来简单的流程图似乎是个不错的选择。
Does it need to be built dynamically or can it be a static asset? 它需要动态构建还是可以成为静态资产?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.