public void setMagnifyingMode(final boolean active) {
    if (getMagnifyingMode() == active) {
      return;
    }

    if (active) {
      m_graph.getView().addViewMode(m_magifierViewMode);
    } else {
      m_graph.getView().removeViewMode(m_magifierViewMode);
    }
  }
Enables or disables magnifying mode.

@param active True, to enable magnifying mode. False, to disable it.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/editmode/ZyEditMode.java