自动布局在GraphStream,节点位置 [英] auto-layout in GraphStream, node position

查看:1364
本文介绍了自动布局在GraphStream,节点位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用GraphStream,生成一些图表。

我有以下问题:


  

      
  1. 当我在图书馆使用自动布局,这可能对我来说,获得每个节点的位置信息?


  2.   
  3. 我可以改变边缘的类型?例如默认的边沿类型为实线。我可以改变边缘成虚线,或其他类型的?


  4.   

感谢。


解决方案

对于第一个问题我建议你检查GraphStream网站,尤其是<一个href=\"http://graphstream-project.org/doc/FAQ/The-graph-viewer/Why-node-positions-do-not-update-when-I-move-them-in-a-viewer/\"相对=nofollow>常见问题关于这个问题。

对于第二个问题,请参见可视化教程以及作为完整的 CSS参考

I am using GraphStream, to generate some graphs.

I have following questions:

  1. When I use auto-layout in the library, is it possible for me to obtain the position information of each node?

  2. Can I change the type of edge? e.g. the default edge type is solid line. Can I change edge into dash line, or other type?

Thanks.

解决方案

For the first question I would advise you check the GraphStream website and especially the FAQ on the subject.

For the second question, see the visualisation tutorial as well as the complete CSS reference.

这篇关于自动布局在GraphStream,节点位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆