在C ++中的力导向布局实现 [英] Force-directed layout implementation in C++
本文介绍了在C ++中的力导向布局实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您是否知道C ++中用于GUI的强制布局的开源实现?最好是BSD / MIT / Apache或其他(非GPL)许可证。
Are you aware of an open source implementation of force-directed layout in C++ used for GUIs? Preferably BSD/MIT/Apache or other (non-GPL) license.
推荐答案
优秀的 Boost.Graph库提供了广泛的算法,其中包括一些布局算法。我建议您使用 Kamada- Kawai弹簧布局或 Fruchterman-Reingold力指向的布局。
The excellent Boost.Graph library provides a wide range of algorithms, among which a few layout algorithms. I'd recommend using either Kamada-Kawai spring layout or Fruchterman-Reingold force-directed layout.
Boost许可证是非常宽松的,所以不要担心。
Boost licence is very permissive so don't worry about that.
这篇关于在C ++中的力导向布局实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文