public static IMouseStateChange enterEdge(
      final CStateFactory<?, ?> m_factory, final MouseEvent event, final HitInfo hitInfo) {
    final Edge e = hitInfo.getHitEdge();

    return new CStateChange(m_factory.createEdgeEnterState(e, event), true);
  }
Changes the state to edge enter state.

@param m_factory The state factory for all states.
@param event The mouse event that caused the state change.
@param hitInfo The information about what was hit.
@return The state object that describes the mouse state.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/editmode/transformations/CHitEdgesTransformer.java