i am using mxgraph to show the process. I need to select a edge programtically. The mxgraph provids selectEdges(true,false,false) which will select all the edges in the graph. But i need to select a particular edge in the graph.
Suppose if there is vertex1, vertex2 and vertex3. Each of these vertex is connected using edges. I need to select the edge between vertex2 and vertex3. Whether mxgraph provides any api to dod so? Please help me.
The
mxGraphclass hold amxGraphSelectionModelinstance, which is where you perform most of the selection operations.clear()andaddCell(Object)will give you the result you require.