如何在 JUNG 中创建网格布局
我正在尝试使用 JUNG 创建一个网格布局的图表。 我找不到如何使用 JUNG 来创建图表
提前致谢
I'm trying to create a graph which is GRID layout by using JUNG.
and i couldn't find how, Is there anyway to create a graph by using JUNG
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定 JUNG 是否使用任何布局管理器直接支持 GridLayout。然而,可以通过将顶点添加到 StaticLayout 然后根据每个顶点在网格中的坐标更改每个顶点的位置来创建基于网格的布局。
I am not sure whether JUNG directly supports a GridLayout using any of its layout managers. However it is possible to create a grid based layout by adding vertices to a StaticLayout and then changing the position of each vertex according to its coordinates in the grid.