private void vistDFS(XmlNode node)
	{
		node.level = node.getLevel();
		node.path = node.getPath();
		
		if (node.nodetype == XmlNodeType.NODE)
		{
			if (node.getAttribute("type").equals(XmlScript.NODE_TYPE_NET))
				this.addNet(node);
			else if (node.getAttribute("type").equals(XmlScript.NODE_TYPE_ROUTER))
				this.addRouter(node);
			else if (node.getAttribute("type").equals(XmlScript.NODE_TYPE_LINK))
				this.addLink(node);
		}	
		
		for (XmlNode child : node.getChildren())
		{
			vistDFS(child);
		}
	}