GraphVisual
Module providing Graph visuals for rendering graphs.
Note
This module is porviding vispy visuals only.
See PlotGraph3d
module for plotting.
-
class
GraphLineVisual
(graph, coordinates=None, color=None, vertex_colors=None, edge_colors=None, width=None, mode='gl')[source]
Bases: vispy.visuals.line.line.LineVisual
Displays a graph in 3d using tube rendering for the edges
-
class
GraphMeshVisual
(graph, coordinates=None, radii=None, n_tube_points=8, default_radius=1, color=None, vertex_colors=None, edge_colors=None, mode='triangles', shading='smooth')[source]
Bases: vispy.visuals.mesh.MeshVisual
Displays a graph in 3d using tube rendering for the edges