Package diva.graph

Class NodeInteractor

    • Constructor Detail

      • NodeInteractor

        public NodeInteractor​(GraphController controller)
        Create a new node interactor that belongs to the given controller.
      • NodeInteractor

        public NodeInteractor​(GraphController controller,
                              SelectionModel sm)
        Create a new node interactor that belongs to the given controller and that uses the given selection model
    • Method Detail

      • getDragInteractor

        public DragInteractor getDragInteractor()
        Get the interactor that drags nodes
      • getGraphController

        public GraphController getGraphController()
        Return the graph controller that manages this interactor.
      • setDragInteractor

        public void setDragInteractor​(DragInteractor i)
        Set the interactor that drags nodes