用于生成工作流程配置图的 Javascript 库
我有一组预定义的流程图,我需要一种方法来显示该图并允许用户在图中的各个节点处交互地设置输入和/或属性。图表的节点/连接是固定的,用户无法编辑。
我知道图表编辑器有多种选项,但这些选项需要大量修改才能满足我的需要。对于能够执行此操作的 javascript 库/应用程序有什么建议吗?
I have a set of predefined flow diagrams, and I need a way to display the diagram and allow the user to interactively set inputs and/or properties at various nodes in the diagram. The nodes/connections of the diagram are fixed and cannot be edited by the user.
I know there are several options for diagram editors, but those would need heavy modification for what I need. Any suggestions for javascript libraries/apps that would be able to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(1)
您需要告诉我们您在图表中使用了什么技术(如果有)。
听起来你需要两件事。首先是在浏览器中显示有向图(这就是流程图)的方法。其次,一个向图表添加交互的工具。
以下是一些相关图形工具包的粗略列表:
但所有这些都需要大量编程。我不知道有什么“开箱即用”的东西可以做你想做的事 - 我当然一直在寻找类似的工具一段时间,尽管我真正想要的是一个数据驱动的交互式图形工具(不是与有很多图表工具相混淆)。
更新:我刚刚也遇到了 http://www.jointjs.com/ 。这是在 Raphael 的基础上构建的,看起来很有前途。
You need to tell us what technology you are using for the diagrams if any.
It sounds like you need two things. Firstly a method of displaying a directed graph (which is what a flowchart is) in a browser. Secondly, a tool to add interaction to the graph.
Here is a rough list of some of the graphics toolkits that are relevant:
All of these will require a lot of programming though. I'm not aware of anything "out-of-the-box" that will do what you want - I've certainly been looking for similar tools for a while though what I really want is a data-driven interactive graph tool (not to be confused with charting tools of which there are many).
Update: I've just come across http://www.jointjs.com/ as well. This is built over Raphael and seems promising.