Graph nodes coordinates evaluation [closed]

有些话、适合烂在心里 提交于 2019-11-25 23:14:51

问题


Which of these (https://stackoverflow.com/questions/492893/graph-drawing-c-library) libraries can be used to evaluate nodes coordinates? I mean I want to draw and manipulate graph by clicking on it to add some nodes or delete, and then evaluate coordinates using some lightweight library.

All I need is algorithm which could on dot file and speciefied layout (http://en.wikipedia.org/wiki/DOT_language) give me conformity of graph nodes and 2D points.

Prefferable languages: C++, C#, Java


回答1:


I made a complete WPF MVVM sample of a "Nodes Editor" supporting drag and drop, and many interesting visual features. It looks like this:

Full Source Code on GitHub



来源:https://stackoverflow.com/questions/15579069/graph-nodes-coordinates-evaluation

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