private int getMinimumNodeDistance(final BinDiffConfig config) {
    switch (dialogType) {
      case INITIAL_CALL_GRAPH_SETTING:
        return config.getInitialCallGraphSettings().getCircularMinimumNodeDistance();
      case INITIAL_FLOW_GRAPH_SETTINGS:
        return config.getInitialFlowGraphSettings().getCircularMinimumNodeDistance();
      default:
    }

    return (int) settings.getLayoutSettings().getMinimumCircularNodeDistance();
  }
Settings panel for circular graph layouts.
java/ui/src/main/java/com/google/security/zynamics/bindiff/gui/dialogs/graphsettings/panels/CircularLayoutPanel.java