简体   繁体   English

我应该使用哪种绘图来显示从开始条件到结束条件的可能路径

[英]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.

相关问题 如何在排序 function 中使用条件? - How to use condition in sort function? 如何添加将所有空白条目排序到列表末尾的排序功能条件? - How can I add a sort function condition that will sort all the blank entries to the end of the list? jQuery链接的日期选择器的开始和结束日期的条件 - JQuery linked datepickers with condition of start and end dates 如何在mocha中使用带有should()的OR条件 - How to use OR condition with should() in mocha 我应该在什么条件下或在什么条件下使jQuery中的对象无效? - When or in what condition should I nullify objects in jQuery? 如何在不复制的情况下修改数组,代码不应该使用任何额外的空间并且应该尽可能高效? - How to modify array under condition without copying, code should not use any extra space and should be as efficient as possible? 我应该把这个条件放在哪里? - Where should I place this condition? 如何确定应该使用哪种套接字从RabbitMQ队列中获取消息? - How can I determine what sort of socket I should use to get messages from a RabbitMQ queue? 如何在javascript中编写if条件,如果为1,则应显示为已授予;如果为0,则应显示为已拒绝 - how to write if condition in javascript , if 1 it should show granted if 0 it should show denied 条件中=符号(单个)的用途是什么? - What is the use of = sign (single) in a condition?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM