PlotData#
- class iqm.applications.graph_utils.PlotData(graph, pos, node_colors, edge_colors, edge_widths, labels, edge_labels, node_size)[source]#
Bases:
objectPrecomputed visualization information used for drawing the graph.
Attributes
The graph to be drawn.
Layout positions of the nodes.
Colors for each node.
Colors for each edge.
Widths for each edge.
Labels for nodes.
Labels for edges (possibly empty).
Scaled node size for plotting.
Methods
__delattr__(name)Implement delattr(self, name).
__eq__(other)Return self==value.
__hash__()Return hash(self).
__repr__()Return repr(self).
__setattr__(name, value)Implement setattr(self, name, value).
- Parameters: