A minimal spanning tree generated using processing and the P5GraphTheory library

P5GraphTheory

This is a graph theory library for processing

P5GraphTheory

This is a simple graph theory library designed to work with processing.
It offers a number of classes such as Graph, Vertex, and Edge,
that can be used to visualize graph data structures.
Last update: 8/14/2012

Download

You can download the latest release (2012.08.15) here.

Installation

Unzip the P5GraphTheory.zip archive and put the extracted P5GraphTheory
folder into the libraries folder of your processing sketches.
The reference and examples are included.

Reference

Check out the Javadocs, which are also included in the library download itself.

Examples

All the following are included with the library, but you can view them directly below.

GraphToTriangles
MinimalSpanningTree
RandomGraph
TriangulatedGraph

Tested

Platform: windows
Processing: 2.0a6

Keywords

graphs, graph theory, trees, triangulation