Connector#selectNode(...) doesn't work after Connector#clearSelection(...). The reason is that boundsPane is detached, and is never attached.
public void clearSelection() {
selectedNode = null;
attributeListener.setTarget(null);
highlightOpts = HighlightOptions.defaults();
boundsPane.detach(); <------ THIS LINE
}
It is attached only on root change
private void changeRoot(@Nullable Parent oldRoot, @Nullable Parent newRoot, boolean force) {
....
boundsPane.attach(newRoot); <------ THIS LINE
notifyRootChanged(newRoot);
}
BTW: If there is no feedback on the reported issues, I’ll assume the project is no longer actively maintained and will refrain from opening further issues to avoid wasting time.
Connector#selectNode(...) doesn't work after Connector#clearSelection(...). The reason is that
boundsPaneis detached, and is never attached.It is attached only on root change
BTW: If there is no feedback on the reported issues, I’ll assume the project is no longer actively maintained and will refrain from opening further issues to avoid wasting time.