summaryrefslogtreecommitdiff
path: root/python/flowgraph.py
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2024-10-19 11:13:54 -0400
committerBrian Potchik <brian@vector35.com>2024-10-19 11:13:54 -0400
commitf5273b29f60826b693b45404a8a428d3f1d1bda5 (patch)
tree98a235307b21266355f328197bfb8389c75e3ba5 /python/flowgraph.py
parentc9793998fcfa0ebf04cccb3937229b745ccb8bfd (diff)
Improved support for interactive flowgraphs.
Diffstat (limited to 'python/flowgraph.py')
-rw-r--r--python/flowgraph.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/python/flowgraph.py b/python/flowgraph.py
index c26b20a7..e661fff8 100644
--- a/python/flowgraph.py
+++ b/python/flowgraph.py
@@ -770,6 +770,24 @@ class FlowGraph:
def shows_secondary_reg_highlighting(self, value):
self.set_option(FlowGraphOption.FlowGraphShowsSecondaryRegisterHighlighting, value)
+ @property
+ def is_addressable(self):
+ """Set if flow graph should make use of address information"""
+ return self.is_option_set(FlowGraphOption.FlowGraphIsAddressable)
+
+ @is_addressable.setter
+ def is_addressable(self, value):
+ self.set_option(FlowGraphOption.FlowGraphIsAddressable, value)
+
+ @property
+ def is_workflow_graph(self):
+ """Set if flow graph should be treated as a workflow graph"""
+ return self.is_option_set(FlowGraphOption.FlowGraphIsWorkflowGraph)
+
+ @is_workflow_graph.setter
+ def is_workflow_graph(self, value):
+ self.set_option(FlowGraphOption.FlowGraphIsWorkflowGraph, value)
+
def layout(self, callback=None):
"""
``layout`` starts rendering a graph for display. Once a layout is complete, each node will contain