Commit e66f4818 authored by Carlos Galindo's avatar Carlos Galindo
Browse files

fix! search for root graph node reordered.

parent 048fccee
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -67,10 +67,10 @@ public class JSysPDG extends ESPDG {
    }

    protected GraphNode<?> graphNodeOf(VariableAction action) {
        if (action instanceof VariableAction.Movable)
            return ((VariableAction.Movable) action).getRealNode();
        if (action.hasObjectTree())
            return action.getObjectTree().getMemberNode();
        if (action instanceof VariableAction.Movable)
            return ((VariableAction.Movable) action).getRealNode();
        return action.getGraphNode();
    }