Class SVGDemo

java.lang.Object
org.abego.treelayout.demo.svg.SVGDemo

public class SVGDemo extends Object
Demonstrates how to use the TreeLayout to create a tree diagram with SVG (Scalable Vector Graphic)

The rendered SVG looks like this:

A tree rendered using SVG

Link: The SVG file (only viewable in SVG aware browsers)

  • Constructor Details

    • SVGDemo

      public SVGDemo()
  • Method Details

    • main

      public static void main(String[] args)
      Returns an SVG text displaying a tree with nodes placed according to a layout created by TreeLayout.
      Parameters:
      args - [unused]