Tags: dot, svg
Posted on 29 May 2008, 17:11 by ygleyzer

SVG in DOT graphs

According to Natalia Orlova request, added support for SVG format in DOT tags. Controlled additional parameter format="svg".

Example

<dot format="svg" filename="bgu.dot">
digraph BGU {
  BGU [URL="http://www.bgu.ac.il",target="_blank",tooltip="BGU homepage"];
  CS [URL="http://www.cs.bgu.ac.il",target="_blank",tooltip="CS homepage"];
  SE [URL="http://www.se.bgu.ac.il",target="_blank",tooltip="SE homepage"];
  BGU -> Teva;
  BGU -> Eng;
  Teva -> CS;
  Teva -> Math;
  CS -> SE;
  CS -> Bio;
  CS -> "CS & Math";
  Eng -> IS;
  IS -> SE;
  Math -> "CS & Math";
}
</dot>

Download SVG viewer BGU, CS and SE nodes are clickable.