public static Node getNode ( Model mo , int nodeID ) throws JSONConverterException { Node n = new Node ( nodeID ) ; if ( ! mo . contains ( n ) ) { throw new JSONConverterException ( "Undeclared node '" + nodeID + "'" ) ; } return n ; }
Get a node from its identifier . The node is already a part of the model