Closed NHS247 closed 7 years ago
Hi,
Is it posible to get the Node attached to a joint on a connection from the API
graphEditor.getModel().getConnections().stream().forEach(gConnection -> { // here I get can get joints but it seems not possible to get the source and target GNodes? });
Each GConnection has a source and a target GConnector which has a method getParent() which returns the GNode
GConnection
GConnector
getParent()
GNode
Thanks! - perfect
Hi,
Is it posible to get the Node attached to a joint on a connection from the API
graphEditor.getModel().getConnections().stream().forEach(gConnection -> { // here I get can get joints but it seems not possible to get the source and target GNodes? });