GraphVisual#

Module providing Graph visuals for rendering graphs.

Note

This module is providing 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: 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: MeshVisual

Displays a graph in 3d using tube rendering for the edges

use_default_radii(coordinates, default_radius)[source]#