refer the jgraphx
raq draw the graph for topology