NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

Graph

Description

In mathematics and computer science, graph theory studies networks of connected nodes and their properties. A graph can be used to visualise related data, or to find the shortest path from one node to another node for example.

The graph.py library is a comprehensible wrapper for the Boost Graph library. Boost is a large C++ project with various useful libraries. The Graph library offers the Boost graphing functions for small networks to people that are used to NodeBox code. The library is bundled with the BGL code files.

See the Graphing example in the Gallery for more information.

Download

downloadPowerPC |Intel (1.5MB)
Last updated for NodeBox 1.8.4

Commands in the Graph library

The Graph library isn't documented yet but there is an example script included in the download.

Example

A graph of random data with auto-colored nodes.