导入 Java 或其他语言,根据给定数据生成流程图

发布于 2024-09-07 02:20:50 字数 368 浏览 4 评论 0原文

我正在尝试创建一个自动化的“蜘蛛图”,就像 VUE 创建的那样:

http://vue.tufts。 edu/

VUE 是开源的,但问题是您在程序中创建地图。我想要一个程序,可以从 Excel 工作表中提取数据并在运行时自动显示地图。

我知道如何打开和解析文件中的数据,因此读取文件不是问题。我可以对我希望所有内容如何“链接”的行为进行编程,但我只是不想创建一个小程序,然后从头开始开发软件。

如果我有任何不清楚的地方,请告诉我。我今天很累,所以很难长时间保持注意力集中。

非常感谢!

-贾斯蒂安

I'm trying to create an automated "spider diagram" like the ones created by VUE:

http://vue.tufts.edu/

VUE is open source, but the issue is that you create the maps in the program. I want to have a program that will pull the data from an excel sheet and display the map automatically when run.

I know how to open and parse the data in files, so reading the file isn't the issue. I can program the behavior of how I want everything to "link up", but I just don't want to have to create an applet, then develop the software from scratch.

If I made anything unclear, let me know. I'm very tired today, so it's difficult to stay focused very long.

Many thanks!

-Justian

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一直在等你来 2024-09-14 02:20:50

JGraph 是一个可以做到这一点的库。你给它节点和边,它就会找出如何以有意义的方式呈现它们。它有点像在 Java 中使用 graphviz。

为了实现生产运行的可视化,我们在进程外使用 graphviz 并显示从中生成的图像。它工作得很好,但单一流程解决方案会更好。

将 Excel 读取为 CSV 应该很简单。 POI 允许您直接读取 Excel 文件。

JGraph is a library to do that. You give it the node and edges and it figures out how to present them in a meaningful way. It is kind of like using graphviz but in Java.

For visualization of production runs we use graphviz out of process and show the images generated from that. It works fine, but a single process solution would be better.

Reading an excel as CSV should be straightforward. POI allows you to read directly the Excel files.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文