GraphStream Users

Archives de la liste Aide

Tracking Example - Need some help

Chronologique Discussions 
  • From: Carina Oliveira <carinacapelao AT>
  • To: graphstream-users AT
  • Subject: Tracking Example - Need some help
  • Date: Tue, 19 Jul 2016 10:47:11 -0300

Hi all,

First of all, congratulations for your API ! This is great and it helps so much !

My name is Carina, I'm studying Information Systems on Federal University of Minas Gerais (UFMG) in Brazil and I’m a Research Assistant on Compilers Laboratory, UFMG. I'm currently in a project that involves the design and implementation of an information flow system, which involves the creation of graphs and involves some interactions on this graphs. I'm using your API.

At this moment, what I need to do is: given a graph, and a set of connected nodes, that are considered tainted and that form a path, I need to do how you did in the "tracking example" (( I want to zoom the first tainted node and walk through the graph, showing the tainted nodes that are on this path, and, in the end, create a video with this animation.

I saw the LeHavre class, that you provided, and I adapted my code to use this class. Nevertheless, my graph doesn’t work. The generated images are empty. So, I thought that maybe you could help me. I didn't understand very well some particularities of the LeHavre class.

->For example, at this part of the code:

MoveCenterView move = new MoveCenterView(images, g.getNode("LH.9921_0"), 75, true);

DynamicCenterViewZoom zoom = new DynamicCenterViewZoom(images, 0.1, 75, true);

I didn't understand the meaning, the role, of the value 75.

->At this slices:

for (int i = 0; i < 20; i++)



for (int i = 0; i < 75; i++) {


updateGraph(g, rwalk);



I didn't understand the meaning, the role, of the values 20 and 75, as well as the other bounds of the 'for' (20, 75, 100).

->At this part:

double byStepLength = fullLength / 925.0;

I didn't understand what the value 925 represents.

I would like to understand what the values means so that I can adapt this functionalities to create a video on my graph, which is a MultiGraph, that isn't in a DGS file.

Thanks in advance and  I await your reply.



Archives gérées par MHonArc 2.6.16.

Top of page