Map<Integer,Boolean> handledDistances = new HashMap<Integer,Boolean>();
for( DNVEdge edge : node.getFromEdges() )
{
if( edge.isVisible() )
{
Animation a = new RecursiveEdgeAnimation( 10, node, edge, handledEntities, handledDistances, 1 );
node.getGraph().addAnimation( a );
}
}
for( DNVEdge edge : node.getToEdges() )
{
if( edge.isVisible() )
{
Animation a = new RecursiveEdgeAnimation( 10, node, edge, handledEntities, handledDistances, 1 );
node.getGraph().addAnimation( a );
}
}
}