I am viewing a graph in javafx using the FxViewer to embed the canvas in an existing gui. However for an ui event (a mouse press event for example) on a node to be registered i need to click where the node would've been if the canvas was rendered at top-left 0-0.
I am viewing a graph in javafx using the FxViewer to embed the canvas in an existing gui. However for an ui event (a mouse press event for example) on a node to be registered i need to click where the node would've been if the canvas was rendered at top-left 0-0.