Search code examples
javajgraphmxgraph

(JGraph/mxGraph) Return selected cells


So after the user selected a few cells and pressed a button, I need to have those cells properties like position, size and stuff. So how do I make a method that'll only return me the cells that the user selected?


Solution

  • Graph.getSelectionCells() should work