/** * Create the controller for a given graph editor. * * @param graphEditor * @param graph */ public SelectionController(GraphEditor graphEditor) { this.graphEditor = graphEditor; this.graph = graphEditor.getGraph(); marquee = new Marquee(graph); selection = new SelectionSet(); }