if (typeof(engine)==='undefined') {
  engine = 'dot';
}

engine setting is just so intuitively close to usage of the binary programs, which are separate for each layout.