GraphStream Users

Archives de la liste Aide


Re: How to send a node's attribute to another node


Chronologique Discussions 
  • From: guilhelm savin <guilhelm.savin AT gmail.com>
  • To: graphstream-users AT litislab.fr
  • Subject: Re: How to send a node's attribute to another node
  • Date: Sat, 12 Jan 2013 11:06:44 +0100

Hi Daniele,

I  am not sure to understand what you want to do.
The following should work :

Node a, b;
b.setAttribute("attr1", a.getAttribute ("attr1"));

Is that you want to do ?

Regards
Guilhelm

Le 12 janv. 2013 09:58, "daniele visaggio" <visaggio.daniele AT gmail.com> a écrit :
Hi all,

each nodes inside my graph has various attributes. Every attribute consist of a string. I need a way to take a node's attribute and "transmit" it to another node.

Is there a specific method to do so? Sadly graphstream-project.org is down so I can't check the documentation.

Thank you in advance,

Daniele



Archives gérées par MHonArc 2.6.16.

Top of page