Message from discussion Different nodes with same name
Received: by 10.11.53.23 with SMTP id b23mr2278cwa;
Tue, 06 Dec 2005 08:31:47 -0800 (PST)
Received: from 184.108.40.206 by g47g2000cwa.googlegroups.com with HTTP;
Tue, 06 Dec 2005 16:31:46 +0000 (UTC)
From: "hsc-coop" <wu.sam...@gmail.com>
To: "cytoscape-discuss" <email@example.com>
Subject: Different nodes with same name
Date: Tue, 06 Dec 2005 08:31:46 -0800
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe)
Content-Type: text/plain; charset="iso-8859-1"
Hi I was wondering if its possible to have nodes with the same name in
different networks to have different values for the same attribute.
Right now I think the Cytoscape.getCyNode() methods will return the
same node if the name is the same even in different networks. Right now
I have appended the network title to the node name to distinguish but
this is kind of a hack way. I was thinking of keeping a data
structure/map of the nodes with this attribute and loading it every
time the CytoscapeDesktop.NETWORK_VIEW_FOCUSED is triggered.
Is there an easy way to actually create a new node with a name of an
I cannot have different attribute names as I have mapped this attribute
in the visual mapper.
Thanks in advance.