Bootstrap Chameleon Logo

SGraphPanel

SGraphPanel

Property Type Note
Aka String Name for the widget
ColorAndOpacity Number Array, Length = 4 Linear color values, for example:[0.5, 0.5, 0.5, 1]
ForegroundColor Number Array, Length = 4 Linear color values, for example:[0.5, 0.5, 0.5, 1]
ToolTipText String
Visibility Enum: EVisibility: Visible, Collapsed, Hidden, HitTestInvisible, SelfHitTestInvisible, All

functions what can be called from ChameleonData

FunctionName Description
set_color_and_opacity Set widget's color and opacity.
get_detail_panel_customized_class_names None
spawn_to_graph_by_class Spawn a new node in SGraphPanel.
spawn_function_to_graph_with_spawner Spawn a specified function of a module in SGraphPanel through a BPFunctionSpawner.
spawn_function_to_graph Spawn a specified function of a module in SGraphPanel.
get_graph_panel_nodes Get all nodes in SGraphPanel.
clear_graph_panel Clear all nodes in SGraphPanel.
get_graph_selected_node Get the selected nodes in SGraphPanel.
get_graph_panel Get all nodes in SGraphPanel.
get_graph_panel_content_as_json Get the content of SGraphPanel as JSON string.
set_graph_panel_content_from_json Set the content of SGraphPanel from JSON string.