props.add(new Tunable("partition", "Partition graph before layout",
                          Tunable.BOOLEAN, new Boolean(true)));

props.add(new Tunable("selected_only", "Only layout selected nodes",
                          Tunable.BOOLEAN, new Boolean(false)));

props.add(new Tunable("defaultSpringCoefficient", "Default Spring Coefficient",
                          Tunable.DOUBLE, new Double(defaultSpringCoefficient)));

props.updateValues();

Tunables t;
t = props.get("partition");
if ((t != null) && (t.valueChanged() || force))
     setPartition(partition.getValue().toString());

t = layoutProperties.get("selected_only");
  if ((t != null) && (t.valueChanged() || force))
    selectedOnly = ((Boolean) t.getValue()).booleanValue();

t = layoutProperties.get("defaultSpringLength");
if ((t != null) && (t.valueChanged() || force))
  defaultSpringLength = ((Double) t.getValue()).doubleValue();