GraphStream Users

Archives de la liste Aide

Re: Tutorials

Chronologique Discussions 
  • From: Yoann Pigné <yoann.pigne AT>
  • To: "graphstream-users AT" <graphstream-users AT>, mag.ds AT
  • Subject: Re: Tutorials
  • Date: Wed, 26 Oct 2016 17:08:50 +0200

Hi Summer,

Thank you for your interest in this project.

First of all GraphStream is not the easiest entry point to learn Java.
Knowing Java is actually a prerequisite to GraphStream.

Also, keep in mind that this is an open source project that only exists
thanks to people who give away time and energy for free. So, yes, some
tutorials are probably very sparse (especially for a Java beginner) and lots
of features are missing, but there is no point blaming anyone for this.

For a step by step introduction to the library I advise you to follow this
tutorial slides (the second tutorial, from slide 22, shows how to open a
file...) :

The code that goes along this tutorial can be downloaded from github here: (the « Demos » folder can be imported
as an Eclipse « maven project »)

About your question on integer mapping rather than strings, you can access
nodes with indices (graph.getNode(42)) but keep in ming that the order is not
guarantied when nodes are added or removed.


> Le 26 oct. 2016 à 14:44,
> <mag.ds AT>
> <mag.ds AT>
> a écrit :
> Hi GraphStream Team and Users,
> My name is Sumner and I am new to Java (although very experienced in other
> programming languages such at Mathematica, C++, etc). I find that the
> tutorials
> provided are very sparse (including incomplete code), making it very
> difficult
> to use or even learn GraphStream.
> Consider, the ["DGS"][1] file format and the tutorial on ["Importing
> Files"][2].
> Foremost, it doesn't include an example of importing a DGS file. Neither do
> any
> of the other introductory tutorials...
> Furthermore I am using Eclipse and copy-pasted the full example
> appropriately
> as given in [2], but I can't even import the file as Eclipse gives an error
> on
> FileSourceFactory.
> So can there be a more thorough introduction to GraphStream?
> Is there a method for importuning Adjacency Matricies? Is there a built in
> method for Mapping Labels to Indices? etc
> Thanks,
> Sumner
> [1]:
> [2]:

  • Tutorials, mag.ds, 26/10/2016
    • Re: Tutorials, Yoann Pigné, 26/10/2016

Archives gérées par MHonArc 2.6.16.

Top of page