ExposoGraph.viewer_dash

Advanced Dash Cytoscape viewer helpers, including filter application, detail-panel payload generation, app creation, and notebook/app launch hooks.

Advanced Dash Cytoscape viewer for ExposoGraph.

class ExposoGraph.viewer_dash.ViewerState(elements: 'list[dict[str, Any]]', layout: 'dict[str, Any]', visible_node_count: 'int', visible_edge_count: 'int', node_type_counts: 'dict[str, int]', edge_type_counts: 'dict[str, int]')[source]
Parameters:
elements: list[dict[str, Any]]
layout: dict[str, Any]
visible_node_count: int
visible_edge_count: int
node_type_counts: dict[str, int]
edge_type_counts: dict[str, int]
ExposoGraph.viewer_dash.apply_viewer_filters(bundle, *, search_query='', node_types=None, edge_types=None, carcinogen_group=None, layout_mode=None, focus_node_id=None, focus_edge_id=None)[source]
Parameters:
Return type:

ViewerState

ExposoGraph.viewer_dash.build_detail_payload(bundle, selection)[source]
Parameters:
Return type:

dict[str, Any]

ExposoGraph.viewer_dash.create_dash_viewer_app(source, *, visibility=GraphVisibility.ALL, positions=None, layout_mode=ViewerLayoutMode.PRESET, title=None)[source]
Parameters:
Return type:

Any

ExposoGraph.viewer_dash.launch_dash_viewer(source, *, visibility=GraphVisibility.ALL, positions=None, layout_mode=ViewerLayoutMode.PRESET, title=None, host='127.0.0.1', port=8050, debug=False, jupyter_mode=None)[source]
Parameters:
Return type:

Any