GraphStream Users

Archives de la liste Aide


Re: Copy graphs


Chronologique Discussions 
  • From: Yoann Pigné <yoann.pigne AT gmail.com>
  • To: graphstream-users AT litislab.fr,Manuel Chica Serrano <mchserrano AT gmail.com>
  • Subject: Re: Copy graphs
  • Date: Wed, 01 Oct 2014 07:18:27 +0200

Le 30 septembre 2014 23:22:03 CEST, Manuel Chica Serrano <mchserrano AT gmail.com> a écrit :
Hi, 

I have a Graph which evolves in a simulation (removing and adding edges). Then, I would like to come back to the initial state. Is there any way? If not, what is the best way to copy a graph to have always the initial state of the graph as another variable?

Regards and thanks


Hi,

Use method mergeIn() from the utility class Graphs in package graphstream.graph.implementations.

Good luck,

Yoann

  • Re: Copy graphs, Yoann Pigné, 01/10/2014

Archives gérées par MHonArc 2.6.16.

Top of page