i want to delete edge which is actually connector between veritce of two shapes. i want to delete connector between the vertices which are selected by click a button. i have used this code but it does not give me help.
graph.getModel().beginUpdate();
try {
graph.getModel().remove( edge);
} finally {
graph.getModel().endUpdate();
}
i have much study the answer of http://forum.jgraph.com/questions/4744/delete-edge this question but it does not give us any help. thanks