支持节点大小的 Java/JavaScript 图形布局库
任何人都可以建议一个 Java 或 JavaScript 库来布局图表。主要要求是它应该支持考虑节点大小的图形布局算法。
我自己找到了可以使用的 Java 库列表使用图表并且已经尝试过JUNG,但我无法找到任何图表布局实现对于 JUNG 来说,会考虑到节点大小。结果,一些节点碰巧太靠近,因此它们重叠。
PS:我认为应该指出的是,我只是寻找一个库来布局图形(即确定其节点位置)。然后,计算出的节点位置将从服务器传输到使用 http 请求布局的客户端。
PPS: JavaScript 库也不错。我已经尝试过 arbor.js 但它对我来说不起作用,因为它没有考虑节点大小。
Could anyone please suggest a Java or JavaScript library to layout a graph. The main requirement is that it should support graph layout algorithm taking into account a node size.
I myself found a list of Java libraries to work with graphs and already tried JUNG, but I wasn't been able to find any graph layout implementations for JUNG that would take into account a node size. As a result some nodes happen to be too close so they're overlapping.
P.S.: I think it should be pointed out that I only look for a library to layout the graph (i.e. determine its nodes positions). Calculated node positions will be then transfered from the server to a client requested the layout using http.
P.P.S.: a JavaScript library would be as good. I already tried arbor.js and it didn't work out for me because it doesn't take into account a node size.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是您要找的吗?
is this what you are looking for?