data_node class
Displays and edits of a data node.
Methods¶
__init__() ¶
__init__(
data_node=None,
active=True,
expandable=True,
expanded=True,
show_config=False,
show_owner=True,
show_edit_date=False,
show_expiration_date=False,
show_properties=True,
show_history=True,
show_data=True,
show_owner_label=False,
chart_config=None,
scenario=None,
id=None,
class_name=None,
) -> None
Create a new data_node
element.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data_node |
DataNode|list[DataNode]
|
The data node to display and edit. |
None
|
active |
bool
|
Indicates if this component is active. |
True
|
expandable |
bool
|
If True, the data node viewer can be expanded. |
True
|
expanded |
bool
|
If True, when a valid data node is selected, the data node viewer is expanded and its content is displayed. |
True
|
show_config |
bool
|
If False, the data node configuration label is not visible. |
False
|
show_owner |
bool
|
If False, the data node owner label is not visible. |
True
|
show_edit_date |
bool
|
If False, the data node edition date is not visible. |
False
|
show_expiration_date |
bool
|
If False, the data node expiration date is not visible. |
False
|
show_properties |
bool
|
If False, the data node properties are not visible. |
True
|
show_history |
bool
|
If False, the data node history is not visible. |
True
|
show_data |
bool
|
If False, the data node value is not visible. |
True
|
show_owner_label |
bool
|
If True, the data node owner label is added to the datanode label at the top of the block. |
False
|
chart_config |
dict
|
Chart configs by data node configuration id. |
None
|
scenario |
Scenario
|
A variable bound to this property is set to the selected |
None
|
id |
str
|
The identifier that will be assigned to the rendered HTML component. |
None
|
class_name |
str
|
The list of CSS class names associated with the generated HTML Element. |
None
|