Graph#
Module to handle nx graphs.
- class plot_data.graph.NetworkxGraph(graph: Graph, name: str = '')[source]#
Bases:
PrimitiveGroup
Each node of self.graph can contain its settings in the node.data dictionary.
- Keys can be :
‘color’ with format ‘rgb(xr, xg, xb)’, xr, xg, xb are integers between 0 and 255
‘shape’, choose between ‘.’ for Point2D, ‘o’ for Circle2D, ‘s’ for bigger Circle2D
‘name’ with format str