private void setDefaultBehaviour() {
    allowBendCreation(false);
    allowEdgeCreation(false);
    allowNodeCreation(false);

    allowMoveLabels(true);
    allowMovePorts(true);
    allowNodeEditing(true);
    allowMoving(true);
    allowMoveSelection(true);

    showEdgeTips(true);
    showNodeTips(true);

    setSelectionBoxMode(new CSelectionMode<NodeType>(m_graph));

    m_graph
        .getView()
        .getCanvasComponent()
        .addMouseWheelListener(new ZyEditModeMouseWheelListener<NodeType, EdgeType>(m_graph));
  }
Initializes the default behavior of the edit mode.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/editmode/ZyEditMode.java