GraphSharp BalloonTreeLayout pins all vertices in one place

浪子不回头ぞ 提交于 2019-12-14 04:08:49

问题


I am working on Graph# and need to use BalloonTreeLayout, but the result is the layout groups all vertices in one place together.

My code is :

<Sample:MyGraphLayout x:Name="layout"
                      LayoutAlgorithmType="BalloonTree"
                      OverlapRemovalAlgorithmType="FSA"
                      Graph="{Binding}"
                      AsyncCompute="true"
                      ShowAllStates="false"
                      HighlightAlgorithmType="Simple">
</Sample:MyGraphLayout>

How to do with Graph# to make to this result?Balloon Tree Layout in a commerical product

Thank you!


回答1:


I have create a dummy graph sample project and i can share it for you. Following features are implemented: double click on vertex, find vertex by id, sample indicator boxes on vertex, context menu (remove vertex, recursive function - show all joined vertices only), labeled edges. Sorry for my english ;)



来源:https://stackoverflow.com/questions/25546979/graphsharp-balloontreelayout-pins-all-vertices-in-one-place

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!