}
this.graph.addChild( vertex );
this.visitedNodes.put( dotId( node ),
vertex );
new Connection( this.parentVertex,
vertex );
final BaseVertex oldParentVertex = this.parentVertex;
this.parentVertex = vertex;
List<?> list = null;
if ( node instanceof EntryPointNode ) {
list = new ArrayList<ObjectTypeNode>( ((EntryPointNode) node).getObjectTypeNodes().values() );
} else if ( node instanceof ObjectSource) {
list = Arrays.asList( ((ObjectSource) node).getSinkPropagator().getSinks() );
} else if ( node instanceof LeftTupleSource) {
list = Arrays.asList( ((LeftTupleSource) node).getSinkPropagator().getSinks() );
}
if ( list != null ) {
for ( final java.util.Iterator<?> it = list.iterator(); it.hasNext(); ) {
final Object nextNode = it.next();
visitNode( nextNode );
}
}
this.parentVertex = oldParentVertex;
} else {
new Connection( this.parentVertex,
vertex );
}
}