https://github.com/graphstream/gs-core
Graphstream core
https://github.com/graphstream/gs-core
Last synced: 4 months ago
JSON representation
Graphstream core
- Host: GitHub
- URL: https://github.com/graphstream/gs-core
- Owner: graphstream
- License: other
- Created: 2010-04-29T10:25:21.000Z (over 16 years ago)
- Default Branch: dev
- Last Pushed: 2023-07-06T14:38:40.000Z (about 3 years ago)
- Last Synced: 2026-01-02T15:36:57.611Z (7 months ago)
- Language: Java
- Homepage: http://graphstream-project.org/
- Size: 11.3 MB
- Stars: 418
- Watchers: 25
- Forks: 112
- Open Issues: 106
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: COPYING
Awesome Lists containing this project
- fucking-awesome-java - GraphStream
README
# GraphStream
[](https://travis-ci.org/graphstream/gs-core)
The GraphStream project is a java library that provides an API to model,
analyze and visualize graphs and dynamic graphs.
Check out the Website 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](https://github.com/graphstream/gs-core/releases), or on the website .
Maven users may include major releases of `gs-core` as a dependency:
```xml
org.graphstream
gs-core
2.0
```
### Development Versions
Using one can also use any development version. Simply add the `jitpack` repository to the `pom.xml` of the project:
```xml
jitpack.io
https://jitpack.io
```
then, add the `gs-core` to your dependencies:
```xml
com.github.graphstream
gs-core
dev-SNAPSHOT
```
You can use any version of `gs-core` you need. Simply specify the desired version in the `` 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](https://jitpack.io/#graphstream/gs-core).
## 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](https://github.com/graphstream/gs-ui-javafx) or [gs-ui-swing](https://github.com/graphstream/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 :
```java
System.setProperty("org.graphstream.ui", "javafx");
```
3. Enjoy `Graph.display()` as usual.
## Help
You may check the documentation on the website .
You may also share your questions on the mailing list at .
## License
See the COPYING file.