Using Graphviz in Java

How can I use Graphviz through my Java application,as an API?

Depending on how Graphviz was

Depending on how Graphviz was built, there are language bindings for various languages including Java. See the Scripting APIs section at http://www.graphviz.org/Documentation.php.

In addition, there are several Java bindings listed at http://www.graphviz.org/Resources.php

Thank you for pointing out

Thank you for pointing out the resources.! How can I get The Java scripting API?

The java API is part of the

The java API is part of the Graphviz package, depending on who built the package you are using. If you build using source, the java API is built by default, and is installed in ROOT/lib/graphviz/java, assuming ROOT is the root directory where Graphviz was installed. The same should hold for Linux binaries. I do not believe our Windows or Mac binaries are configured to build the java API, but presumably that wouldn't be too hard to set up.

Recent comments