From eb09098726aee5c9e16bc3c2cfd103007365d9a8 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Sat, 2 May 2020 11:03:53 -0400 Subject: use correct core API for FlowGraph --- python/flowgraph.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'python') diff --git a/python/flowgraph.py b/python/flowgraph.py index 404aa4bb..9ee87a91 100644 --- a/python/flowgraph.py +++ b/python/flowgraph.py @@ -533,19 +533,19 @@ class FlowGraph(object): @property def horizontal_block_margin(self): - return core.BNGetHorizontalFlowGraphBlockMargin(self.handle) + return core.BNGetHorizontalFlowGraphNodeMargin(self.handle) @horizontal_block_margin.setter def horizontal_block_margin(self, value): - core.BNSetFlowGraphBlockMargins(self.handle, value, self.vertical_block_margin) + core.BNSetFlowGraphNodeMargins(self.handle, value, self.vertical_block_margin) @property def vertical_block_margin(self): - return core.BNGetVerticalFlowGraphBlockMargin(self.handle) + return core.BNGetVerticalFlowGraphNodeMargin(self.handle) @vertical_block_margin.setter def vertical_block_margin(self, value): - core.BNSetFlowGraphBlockMargins(self.handle, self.horizontal_block_margin, value) + core.BNSetFlowGraphNodeMargins(self.handle, self.horizontal_block_margin, value) @property def is_il(self): -- cgit v1.3.1