GraphStream Users

Archives de la liste Aide


Re: Node implementation example


Chronologique Discussions 
  • From: guilhelm savin <guilhelm.savin AT gmail.com>
  • To: graphstream-users AT litislab.fr, gilcu2 AT gmail.com
  • Subject: Re: Node implementation example
  • Date: Fri, 15 May 2015 07:44:08 +0000

I am not sure to understand your purpose...

Attributes are handled by the "Element" part. Classes provided by gs-core extends the AbstractElement class that manages these attributes. There is another class, OneAttributeElement (https://github.com/graphstream/gs-core/blob/master/src/org/graphstream/graph/implementations/OneAttributeElement.java), describing an element with only one attribute. But you will have to implement all the node/edge features.

Le jeu. 14 mai 2015 à 12:44, <gilcu2 AT gmail.com> a écrit :
Hi, is there an example of implementing Node by inheritance instead using
key-value attributes.
Thanks
Gil



Archives gérées par MHonArc 2.6.16.

Top of page