Hi, Matthias –
I think I understand the question. I’m not sure about the depth or detail of your knowledge on the background of this, so I’ll give as simple answer and we can go from there.
The root network contains all nodes and edges for a collection. You can think of a hypothetical network, node table, and edge table.
Subnetworks have subsets of those nodes and edges. The first subnet (which everyone considers to be the real network) has all nodes and edges. Other subnets (however they’re created) have subsets of the root network. Either way, subnets have their own node and edge tables, too.
The node / edge tables displayed for a subnet are the merge of the root tables and the subnet tables.
The “shared name” is the “name” column in the root network table, and the “name” column is the “name” column for the subnet table.
The “shared” is added to the root network’s “name” to avoid a name collision with the subnet’s “name” column.
You might notice that when you edit a “shared name” value, the change is reflected across all subnetworks in a collection. When you edit just the “name” value, it’s specific to the subnet.
This is important so that all subnetworks can share common annotations, but some subnetworks can have their own.
I have attached some UML (especially Networks.png) to illustrate the conceptual relationships, though the classes don’t map to Cytoscape classes.
Does this help??
Hi, Matthias –
Indeed, for nodes, Name is special and inconsistent. This happened long ago, and I think the objective at the time may have been usability … what a user staring at a screen is likely to understand.
More directly, the base network Name attribute is shown as “Shared Name”. All base network attributes (including Shared Name) have a “shared” icon in the column header.
The subnetwork Name attribute is shown as “Name”. All subnet attributes have no “shared” icon in the column header.
So, at least the use of the “shared” icon in the column header is consistent.
The inconsistency I see is that “Shared” is added to the base Name attribute name, when it would be sufficient to simply mark it with a “shared” icon.
However, from a usability perspective, I can see how the “Shared” adds emphasis that sets the base Name off from the subnet Name. This may even have been smart, and may have been a reaction to a user who was confused by a visual presentation that relied solely on the “shared” icon.
The distinction between base and subnet appears to have arisen in v3.x, likely because of the need to share attributes between subnetworks. So, this presentation/logic wouldn’t have been present in v2.x. And given the relationship between a base and subnetwork, it’s quite logical that creating a new subnetwork should inherit from the base.
Inconsistent or not, it looks to me that this is how the design came down.
Does this clear anything up??
--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.
To post to this group, send email to cytoscape...@googlegroups.com.
Visit this group at https://groups.google.com/group/cytoscape-helpdesk.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpdesk+unsub...@googlegroups.com.