开发者

Drawing rectangular nodes in graph + python

I am trying to visualise a btree in python and would like help for it.

I have a node list of elements and I want it to be displayed in a rectangular node of its exact size.

I know that one method is simply create a node and have its label as a complete list but I am want 开发者_Go百科it look more nice that is create a rectangular nodes box like with each element of list in one box

Is there any way to do so ... You can tell any library that I can use...I have no constraint in use of them.

Thanks a lot...


Try Graphviz, a graph visualization tool that's been around for a long time.

Here's a Python binding: http://networkx.lanl.gov/pygraphviz/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜