← Revision 1 as of 2005-08-15 18:43:05 →
Size: 913
Comment:
|
Size: 1759
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
CytoscapeData is the primary class that Cytoscape uses for its attribute storage and access. CytoscapeData is an interface that provides a tiered API that allows for more advanced use as the user becomes more familiar with the class. | CytoscapeData is the primary class that Cytoscape uses for its attribute storage and access. CytoscapeData is an interface that provides a tiered API that allows for more advanced use as the user becomes more familiar with the class. The primary class, CytoscapeData, is an interface located at {{{cytoscape.data.CytoscapeData}}}. It extends the old data class, {{{GraphObjAttributes}}}, to support legacy code. CytoscapeData also extends the classes, {{{CyData}}} and {{{CyDataDefinition}}}, these classes provide the advanced functionality of CytoscapeData. |
Line 7: | Line 7: |
The primary class, CytoscapeData, is an interface located at {{{cytoscape.data.CytoscapeData}}}. It extends the old data class, {{{GraphObjAttributes}}}, to support legacy code. CytoscapeData also extends the classes, {{{CyData}}} and {{{CyDataDefinition}}}. These classes provide the advanced functionality of CytoscapeData. | This document will deal primarily with the API offered by CytoscapeData, but more information is available for the support classes. The implementation and inheritance of CytoscapeData is shown here: |
Line 10: | Line 10: |
=== 2. Getting Started with CytoscapeData === CytoscapeData stores values in a multi-dimensional way. Every object in Cytoscape that has values stored for it, has a {{{getIdentifier()}}} method that will return the unique identifier for that object. Currently this is restricted to Nodes and Edges. To store or access a value, the value must be stored under an attribute name. This means that many different values can be associated with a node, each identifiable by a specifi attribute. The simplest case is one attribute, and one value: [ftp://baker.systemsbiology.net/pub/xmas/CD_structure_1.png] UNder Don't Fuck Up. |
1. Overview of the Data Classes
CytoscapeData is the primary class that Cytoscape uses for its attribute storage and access. CytoscapeData is an interface that provides a tiered API that allows for more advanced use as the user becomes more familiar with the class. The primary class, CytoscapeData, is an interface located at cytoscape.data.CytoscapeData. It extends the old data class, GraphObjAttributes, to support legacy code. CytoscapeData also extends the classes, CyData and CyDataDefinition, these classes provide the advanced functionality of CytoscapeData.
This document will deal primarily with the API offered by CytoscapeData, but more information is available for the support classes. The implementation and inheritance of CytoscapeData is shown here:
[ftp://baker.systemsbiology.net/pub/xmas/CytoscapeData_classes.png]
2. Getting Started with CytoscapeData
CytoscapeData stores values in a multi-dimensional way. Every object in Cytoscape that has values stored for it, has a getIdentifier() method that will return the unique identifier for that object. Currently this is restricted to Nodes and Edges. To store or access a value, the value must be stored under an attribute name. This means that many different values can be associated with a node, each identifiable by a specifi attribute.
The simplest case is one attribute, and one value:
[ftp://baker.systemsbiology.net/pub/xmas/CD_structure_1.png]
UNder
Don't Fuck Up.
1 This is = test;
2
Will give you access to the new data API now provided by Cytoscape.
Some Features
- This
- That
- Other
New |
Old |
Span |
|
yes |
no |