binaryninja.flowgraph.CoreFlowGraph¶
-
class
CoreFlowGraph(handle)[source]¶ -
Methods
__init__(handle)x.__init__(…) initializes x; see help(type(x)) for signature append(node)appendadds a node to a flow graph.complete_layout()complete_layoutcan be overridden by subclasses and is called when a graph layout is completed.finish_prepare_for_layout()finish_prepare_for_layoutsignals that preparations for rendering a graph are complete.get_nodes_in_region(left, top, right, bottom)layout([callback])layoutstarts rendering a graph for display.layout_and_wait()layout_and_waitstarts rendering a graph for display, and waits for the graph to be ready to display.populate_nodes()prepare_for_layoutcan be overridden by subclasses to create nodes in a graph when a flow graph needs to be rendered.prepare_for_layout()prepare_for_layoutcan be overridden by subclasses to handling preparations that must take place before a flow graph is rendered, such as waiting for a function to finish analysis.show(title)showdisplays the graph in a new tab in the UI.update()updatecan be overridden by subclasses to allow a graph to be updated after it has been presented in the UI.Attributes
completeWhether flow graph layout is complete (read-only) functionFunction for a flow graph has_nodesWhether the flow graph has at least one node (read-only) heightFlow graph height (read-only) horizontal_block_marginil_functionis_ilis_low_level_ilis_medium_level_ilnodesList of nodes in graph (read-only) vertical_block_marginwidthFlow graph width (read-only)