Jump to content

GraphStream

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Gsavin (talk | contribs) at 16:22, 5 November 2010 (Change file extension from jpg to png.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
GraphStream
Developer(s)RI2C Team, LITIS
Stable release
0.42 / October 20, 2008; 16 years ago (2008-10-20)
Preview release
1.0-beta / September 16, 2010; 14 years ago (2010-09-16)
Operating systemLinux, Windows, Mac OS X
TypeDynamic Graph Library
LicenseGNU General Public License
Websitehttp://graphstream-project.org/
Modeling of Boids interactions with GraphStream.

GraphStream is a graph handling Java library that focuses on the dynamics aspects of graphs. Its main focus is on the modeling of dynamic interaction networks of various sizes.

The goal of the library is to provide a way to represent graphs and work on it. To this end, GraphStream proposes several graph classes that allow to model directed and undirected graphs, 1-graphs or p-graphs (a.k.a. multigraphs, that are graphs that can have several edges between two nodes).

GraphStream allows to store any kind of data attribute on the graph elements: numbers, strings, or any object.

Moreover, in addition, GraphStream provides a way to handle the graph evolution in time. This means handling the way nodes and edges are added and removed, and the way data attributes may appear, disappear and evolve.

File:GraphStream GraphUnderConstruction.jpg

Stream

Dynamics of graphs is modeled as stream of graph events. These events can be about the structure of the graph (add and remove elements) or about the attributes of elements (graph, node and edge attributes).

This is the list of events which can be found in GraphStream:

  • node/edge addition/deletion,
  • clear graph,
  • graph/node/edge attribute addition/change/deletion,
  • begin step.

A stream is the connection between a source providing events and a sink. Sources can be anything able to produce events, for example a source reading a file, an algorithm generating a graph ...

File:GraphStream StreamExample.jpg

Visualization

GraphStream provides some features to display graphs. The rendering of elements can be customized by defining a CSS stylesheet for the graph being displayed. Viewer allows an automatic layout of nodes.

See also