scenario_dag class
Displays the DAG of a scenario.
Methods¶
__init__() ¶
__init__(
scenario=None,
render=True,
show_toolbar=True,
height="50vh",
width="100%",
on_action=None,
id=None,
class_name=None,
) -> None
Create a new scenario_dag
element.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
Union[Scenario,list[Scenario]]
|
The |
None
|
|
bool
|
If False, this scenario's DAG is not displayed. |
True
|
|
bool
|
If False, the DAG toolbar is not visible. |
True
|
|
str
|
The maximum height, in CSS units, of the control. |
50vh
|
|
str
|
The maximum width, in CSS units, of the control. |
100%
|
|
Union[str, Callable]
|
A function or the name of a function that is triggered when a a node is selected.
|
None
|
|
str
|
The identifier that will be assigned to the rendered HTML component. |
None
|
|
str
|
The list of CSS class names associated with the generated HTML Element. |
None
|