support alternative directives for graphviz