This visual can be used to visualise graphs or networks.
vispy.visuals.graphs.graph.
GraphVisual
Bases: vispy.visuals.visual.CompoundVisual
vispy.visuals.visual.CompoundVisual
Visual for displaying graphs or networks.
The adjacency matrix of the graph.
Whether the graph is directed or not. If True, then this visual will draw arrows for the directed edges.
They layout to use.
Whether or not to animate.
vispy.color.colormap.ColorMap
The color to use for the edges.
The edge thickness.
The kind of arrow head to use. See vispy.visuals.ArrowHead for more information.
vispy.visuals.ArrowHead
The size of the arrow head.
The marker to use for nodes. See vispy.visuals.MarkersVisual for more information.
vispy.visuals.MarkersVisual
The size of the node
The border color for nodes.
The face color for nodes.
The border size for nodes.
See also
ArrowVisual
MarkersVisual
adjacency_matrix
animate
animate_layout
directed
layout
reset_layout
set_data
Set the data
The adjacency matrix.
Keyword arguments to pass to the arrows.
set_final_layout