Create layered directed graphs with JS and SVG using a Sugiyama algorithm.