Add a graph from jgraphx.jar