gs-core

The GraphStream library. With GraphStream you deal with graphs. Static and Dynamic. You create them from scratch, from a file or any source. You display and render them. This is the core package that contains the minimal needed to read and write a graph.

License

License

Categories

Categories

GraphStream Business Logic Libraries Science
GroupId

GroupId

org.graphstream
ArtifactId

ArtifactId

gs-core
Last Version

Last Version

2.0
Release Date

Release Date

Type

Type

jar
Description

Description

gs-core
The GraphStream library. With GraphStream you deal with graphs. Static and Dynamic. You create them from scratch, from a file or any source. You display and render them. This is the core package that contains the minimal needed to read and write a graph.
Project URL

Project URL

http://graphstream-project.org
Source Code Management

Source Code Management

https://github.com/graphstream/gs-core

Download gs-core

How to add to project

<!-- https://jarcasting.com/artifacts/org.graphstream/gs-core/ -->
<dependency>
    <groupId>org.graphstream</groupId>
    <artifactId>gs-core</artifactId>
    <version>2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.graphstream/gs-core/
implementation 'org.graphstream:gs-core:2.0'
// https://jarcasting.com/artifacts/org.graphstream/gs-core/
implementation ("org.graphstream:gs-core:2.0")
'org.graphstream:gs-core:jar:2.0'
<dependency org="org.graphstream" name="gs-core" rev="2.0">
  <artifact name="gs-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.graphstream', module='gs-core', version='2.0')
)
libraryDependencies += "org.graphstream" % "gs-core" % "2.0"
[org.graphstream/gs-core "2.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.graphstream : pherd Optional jar 1.0
org.graphstream : mbox2 Optional jar 1.0

test (1)

Group / Artifact Type Version
junit : junit Optional jar 4.12

Project Modules

There are no modules declared in this project.

GraphStream

Build Status

The GraphStream project is a java library that provides an API to model, analyze and visualize graphs and dynamic graphs.

Check out the Website http://www.graphstream-project.org/ for more information.

Installing GraphStream

The release comes with a pre-packaged jar file named gs-core.jar that contains the GraphStream classes. To start using GraphStream, simply put it in your class path. You can download GraphStream on the github releases pages, or on the website http://www.graphstream-project.org/.

Maven users may include major releases of gs-core as a dependency:

<dependencies>
    <dependency>
        <groupId>org.graphstream</groupId>
        <artifactId>gs-core</artifactId>
        <version>2.0</version>
    </dependency>
</dependencies>

Development Versions

Using https://jitpack.io one can also use any development version. Simply add the jitpack repository to the pom.xml of the project:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

then, add the gs-core to your dependencies:

<dependencies>
    <dependency>
        <groupId>com.github.graphstream</groupId>
        <artifactId>gs-core</artifactId>
        <version>dev-SNAPSHOT</version>
    </dependency>
</dependencies>

You can use any version of gs-core you need. Simply specify the desired version in the <version> tag. The version can be a git tag name (e.g. 2.0), a commit number, or a branch name followed by -SNAPSHOT (e.g. dev-SNAPSHOT). More details on the possible versions on jitpack.

User interface

gs-core does not ship any default user interface anymore. In order to display graphs, one need a GraphStream viewer (mainly gs-ui-javafx or gs-ui-swing). These are the steps to get a viewer:

  1. Download a GraphStream viewer and add the jar to your classpath (or as a dependency to pom.xml, for maven users).
  2. Set a system property to tell gs-core which viewer to use :
         System.setProperty("org.graphstream.ui", "javafx");
  1. Enjoy Graph.display() as usual.

Help

You may check the documentation on the website http://www.graphstream-project.org/. You may also share your questions on the mailing list at http://sympa.litislab.fr/sympa/subscribe/graphstream-users.

License

See the COPYING file.

org.graphstream

GraphStream

Versions

Version
2.0
1.3
1.2
1.1.2
1.1.1
1.0