List<DNVNode> nodes;
Timer transformTimer = new Timer( Timer.MILLISECONDS );
Timer nodesTimer = new Timer( Timer.MILLISECONDS );
Timer drawNodeTimer = new Timer( Timer.MILLISECONDS );
SortByLabelSize sortByLabelSize = new SortByLabelSize( highlightNeighbors );
if( subgraph != null && subgraph.getNodes() != null && subgraph.getNodes().values() != null )
{
nodesTimer.setStart();
nodes = drawNodes( subgraph, g2d, width, height, minXPercent, minYPercent, maxXPercent, maxYPercent, showIcons, minX, maxX, minY,
maxY, highlightNeighbors, type, nodeWidth, selectedNodes, transformTimer, drawNodeTimer, sortByLabelSize,