toponetx.NodeView#
- class toponetx.NodeView(nodes: dict[Hashable, Any], cell_type, colored_nodes: bool = False)[source]#
Bases:
object
Node view class.
- Parameters:
- nodesdict[Hashable, Any]
A dictionary of nodes with their attributes.
- cell_typetype
The type of the cell.
- colored_nodesbool, optional
Whether or not the nodes are colored.
Methods
__init__
(nodes, cell_type[, colored_nodes])