Lines Matching refs:graph
41 mxGraph graph = new mxGraph(); in Validation() local
42 Object parent = graph.getDefaultParent(); in Validation()
44 graph.getModel().beginUpdate(); in Validation()
47 Object v1 = graph.insertVertex(parent, null, sourceNode, 20, 20, in Validation()
49 Object v2 = graph.insertVertex(parent, null, targetNode, 200, 20, in Validation()
51 Object v3 = graph.insertVertex(parent, null, targetNode in Validation()
53 Object v4 = graph.insertVertex(parent, null, targetNode in Validation()
55 graph.insertVertex(parent, null, subtargetNode, 200, in Validation()
57 Object v6 = graph.insertVertex(parent, null, sourceNode in Validation()
59 graph.insertEdge(parent, null, "", v1, v2); in Validation()
60 graph.insertEdge(parent, null, "", v1, v3); in Validation()
61 graph.insertEdge(parent, null, "", v6, v4); in Validation()
66 graph.getModel().endUpdate(); in Validation()
87 graph.setMultiplicities(multiplicities); in Validation()
89 final mxGraphComponent graphComponent = new mxGraphComponent(graph); in Validation()
90 graph.setMultigraph(false); in Validation()
91 graph.setAllowDanglingEdges(false); in Validation()
101 graph.getModel().addListener(mxEvent.CHANGE, new mxIEventListener() in Validation()