GraphRendering
Module providing tools to create meshes and visualize graphs.
-
interpolate_edge_geometry(graph, smooth=5, order=2, points_per_pixel=0.5, processes=None, verbose=False)[source]
Smooth center lines and radii of the edge geometry.
-
mesh(graph=None, method='tubes', **kwargs)[source]
-
mesh_tube(graph=None, coordinates=None, radii=None, indices=None, color=None, vertex_colors=None, edge_colors=None, n_tube_points=None, default_radius=1, default_color=(0.8, 0.1, 0.1, 1.0), processes=None, verbose=False)[source]
Construct mesh from edge geometry of a graph.
-
mesh_tube_from_coordinates_and_radii(coordinates, radii, indices, n_tube_points=None, edge_colors=None, processes=None, verbose=False)[source]
Construct a mesh from the edge geometry of a graph.