Function GraphEdit.setUseSnap

void setUseSnap (
  const(bool) enable
) nothrow @nogc;