setConf = function setConf(cnf) {
  var keys = Object.keys(cnf);
  keys.forEach(function (key) {
    conf[key] = cnf[key];
  });
}
Draws a flowchart in the tag with id: id based on the graph definition in text.
@param text
@param id