0

我正在研究 Graph#,需要使用 BalloonTreeLayout,但结果是布局将所有顶点组合在一起。

我的代码是:

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

如何使用 Graph# 来得出这个结果?商业产品中的气球树布局

谢谢!

4

1 回答 1

0

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 ;) enter image description here

于 2015-03-21T13:35:25.753 回答