public void visitRete ( final Rete rete ) { this . rootVertex = ( ReteVertex ) this . visitedNodes . get ( dotId ( rete ) ) ; if ( this . rootVertex == null ) { this . rootVertex = new ReteVertex ( rete ) ; this . visitedNodes . put ( dotId ( rete ) , this . rootVertex ) ; } this . graph . addChild ( this . rootVertex ) ; this . parentVertex = this . rootVertex ; for ( EntryPointNode node : rete . getEntryPointNodes ( ) . values ( ) ) { visit ( node ) ; } }
Rete visits each of its ObjectTypeNodes .