MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / position

Method position

rust/src/flowgraph.rs:228–232  ·  view source on GitHub ↗

Returns the graph position of the node in X, Y form.

(&self)

Source from the content-addressed store, hash-verified

226
227 /// Returns the graph position of the node in X, Y form.
228 pub fn position(&self) -> (i32, i32) {
229 let pos_x = unsafe { BNGetFlowGraphNodeX(self.handle) };
230 let pos_y = unsafe { BNGetFlowGraphNodeY(self.handle) };
231 (pos_x, pos_y)
232 }
233
234 /// Sets the graph position of the node.
235 pub fn set_position(&self, x: i32, y: i32) {

Callers 2

request_debug_reportMethod · 0.80
to_from_formatsFunction · 0.80

Calls

no outgoing calls

Tested by 1

to_from_formatsFunction · 0.64