From a4b2f1ed627c2cc7aa6c09dac8390ebce2147d7b Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Wed, 18 Sep 2024 14:38:09 -0400 Subject: Custom flow graph layout support --- flowgraph.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'flowgraph.cpp') diff --git a/flowgraph.cpp b/flowgraph.cpp index 1bbf7fc3..257764c9 100644 --- a/flowgraph.cpp +++ b/flowgraph.cpp @@ -275,12 +275,24 @@ int FlowGraph::GetWidth() const } +void FlowGraph::SetWidth(int width) +{ + BNFlowGraphSetWidth(m_object, width); +} + + int FlowGraph::GetHeight() const { return BNGetFlowGraphHeight(m_object); } +void FlowGraph::SetHeight(int height) +{ + BNFlowGraphSetHeight(m_object, height); +} + + vector> FlowGraph::GetNodesInRegion(int left, int top, int right, int bottom) { size_t count; -- cgit v1.3.1