|
@@ -92,7 +92,11 @@ public class BlockCalc implements AlgorithmStage {
|
|
|
if( current.getContainedNodes().size() > 0 )
|
|
|
{
|
|
|
if( subgraphAlgs.get( calcLayerIndex() ).get( calcNodeIndex( nodeIndex ) ) == null )
|
|
|
- subgraphAlgs.get( calcLayerIndex() ).set( calcNodeIndex( nodeIndex ), new ExtremalLayoutCalc( layout, current ) );
|
|
|
+ {
|
|
|
+ ExtremalLayoutCalc extcalc = new ExtremalLayoutCalc( layout, current );
|
|
|
+ loopNode.add( extcalc.createPseudocodeTree( loopNode.getTree() ) );
|
|
|
+ subgraphAlgs.get( calcLayerIndex() ).set( calcNodeIndex( nodeIndex ), extcalc );
|
|
|
+ }
|
|
|
if( subgraphAlgs.get( calcLayerIndex() ).get( calcNodeIndex( nodeIndex ) ).forwardStep() == StageStatus.UNFINISHED )
|
|
|
return StageStatus.UNFINISHED;
|
|
|
}
|