netlist_carpentry.core.graph.visualization.cytoscape
¶
A wrapper module for Dash Cytoscape, handling the creation of cytoscape graph objects.
Classes:
CytoscapeGraph
¶
CytoscapeGraph(
graph: ModuleGraph,
format: Optional[Format] = None,
default_color: str = "lightblue",
default_size: PositiveInt = 300,
)
Bases: VisualizationBase
Methods:
-
register_callbacks–Registers callback methods for the Dash app to react to user input.
register_callbacks
¶
register_callbacks(app: Dash) -> None
Registers callback methods for the Dash app to react to user input.
Registers a bunch of methods that react to edge/node tapping and hovering, and handling the corresponding tasks.
Parameters:
-
(app¶Dash) –The Dash app where the callback should be registered.