public IMouseState createNodeEnterState(final Node n, final MouseEvent event) {
    final CNodeEnterState<NodeType, EdgeType> state =
        new CNodeEnterState<NodeType, EdgeType>(this, m_graph, n);

    m_factory.createNodeEnterAction().execute(state, event);

    return state;
  }
Creates a new state object after the cursor enters a node.

@param n The node that was entered.
@param event The mouse event that caused the state change.
@return The state object that describes the mouse state.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/editmode/CStateFactory.java