Dashboard¶
generate_gravis_network(project)
¶
Generates a directed graph visualization for a given MartiniFlowProject using Gravis.
This function takes a MartiniFlowProject instance, extracts its operations and the operation graph, and generates a directed graph visualization. The visualization is created using the Gravis library, which is built on top of D3.js for interactive and dynamic graph visualizations in Jupyter notebooks and other web-based environments.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
project |
MartiniFlowProject
|
An instance of MartiniFlowProject containing operations and their relationships. |
required |
Returns:
Type | Description |
---|---|
gv.d3: A Gravis D3 graph object that can be displayed in Jupyter notebooks or web environments. |