绘制动态图(正交)

发布于 2024-10-04 02:32:08 字数 264 浏览 0 评论 0原文

我有一个由给定时刻的一组节点组成的图。该图可能会随着时间的推移而演变,即节点之间的关系以及节点本身可能会发生变化。
绘图必须是正交绘图。

我想画出图表的演变过程,即在不同时刻绘制图表的图像,尝试从一个瞬间到下一个瞬间都有相似的绘图。
有人告诉我,许多图形布局算法仅添加一个节点就会返回非常不同的结果,我想避免这种情况,因为我需要为相似的图形绘制相似的图形。

我正在寻找可以帮助构建我的进化图的算法和库(我当前项目的语言是 Java)

I have graph composed of a set of nodes at a given instant in time. This graph may evolve through time, i.e. the relationships between the nodes and the nodes themselves may change.
The drawing has to be an orthogonal one.

I'd like to draw the evolution of the graph, i.e. draw the image of the graph at the different instants, trying to have similar drawings from an instant to the next one.
I've been told that many graph layout algorithms return very different results just adding one node, and I'd like to avoid this, as I need similar drawings for similar graphs.

I'm looking for algorithms and libraries that can help building my evolutionary drawing (the language for my current project is Java)

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

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

发布评论

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

评论(1

末蓝 2024-10-11 02:32:08

您可以每次对所有节点(显示过去、现在、未来)运行该算法,并隐藏在特定时刻不存在的节点。

GraphViz 和其他图形布局工具通常允许将节点和边格式设置为隐藏或不可见。

You could run the algorithm each time with all nodes (past, present, future shown), and just hide the ones that are not extant at the particular instant.

GraphViz and other graph layout tools usually allow node and edge formats set to hide or invisible.

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