用于NetworkX图形的交互式查看器。
networkx_viewer的Python项目详细描述
NetworkX查看器提供了一个基本的交互式图形用户界面 networkx图。除了标准 图形用户界面允许在networkx中本地发现的绘图和布局功能 您可以:
- Drag nodes around to tune the default layout
- Show and hide nodes
- Filter nodes
- Pan and zoom
- Display nodes only within a certain number of hops (“levels”) of a “home node”
- Display and highlight the shortest path between two nodes. Nodes around the path can also be displayed within a settable number of levels
- Intelligently find and display nodes near displayed nodes using “Grow” and “Grow Until” functions
- Use attributes stored in the graph’s node and edge dictionaries to customize the appearance of the node and edge tokens in the GUI
- Mark nodes and edges for reference
- Support for both nx.Graph and nx.MultiGraph
有关详细信息,请参见https://github.com/jsexauer/networkx_viewer。