Differences between revisions 8 and 20 (spanning 12 versions)
Revision 8 as of 2005-09-30 19:29:38
Size: 662
Editor: mskresolve-b
Comment:
Revision 20 as of 2005-09-30 19:44:18
Size: 1544
Editor: mskresolve-b
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from RFC1 HOME
Line 4: Line 5:
This is an official Request for Comment (RFC) for the new Cytoscape Data API. This is an official Request for Comment (RFC) for replacing {{{GraphObjAttributes}}}.
Line 8: Line 9:
'''How to Comment:''' To view/add comments, click on any of the links below, and add your comments directly to the Wiki. '''How to Comment:''' To view/add comments, click on any of 'Comment' links below. By adding your ideas to the Wiki directly, we can more easily organize everyone's ideas. Be sure to include today's date and your name for each comment. Here is an example to get things started: ["RFC1_Comment_Name"]
Line 12: Line 13:
  * The interface is now called {{{AttributeData}}}, rather than {{{CytoscapeData}}}. I think this is more descriptive, and besides, not all our classes have to have the word Cytoscape in it. [RFC1_Class_Name]   * I propose that the interface be called {{{AttributeData}}}, rather than {{{CytoscapeData}}}. I think this is more descriptive, and besides, not all our classes have to have the word Cytoscape in it. ["RFC1_Comment_Name"]

  * We provide several overloaded version of setAttribute, one for each basic data type, e.g. {{{setAttribute(String id, String attributeName, double value)}}}. We also provide several varients of getAttribute, e.g. {{{Double getDoubleAttribute(String id, String attributeName)}}}. ["RFC1_Comment_Getters_Setters"]

  * {{{AttributeData}}} provides support for 'simple' lists. By simple, I mean that each list can only contain Objects of type: Boolean, Integer, Double and String, and each item must be of the same data type. AttributeData enforces this requirement explicitly. See proposed API below. ["RFC1_Comment_List"]

Cytoscape RFC #1: Replacing Graph Obj Attributes

This is an official Request for Comment (RFC) for replacing GraphObjAttributes.

Status: Version 0.1 of the proposal is below. This represents Ethan's first stab at creating a new API.

How to Comment: To view/add comments, click on any of 'Comment' links below. By adding your ideas to the Wiki directly, we can more easily organize everyone's ideas. Be sure to include today's date and your name for each comment. Here is an example to get things started: ["RFC1_Comment_Name"]

General Notes:

  • I propose that the interface be called AttributeData, rather than CytoscapeData. I think this is more descriptive, and besides, not all our classes have to have the word Cytoscape in it. ["RFC1_Comment_Name"]

  • We provide several overloaded version of setAttribute, one for each basic data type, e.g. setAttribute(String id, String attributeName, double value). We also provide several varients of getAttribute, e.g. Double getDoubleAttribute(String id, String attributeName). ["RFC1_Comment_Getters_Setters"]

  • AttributeData provides support for 'simple' lists. By simple, I mean that each list can only contain Objects of type: Boolean, Integer, Double and String, and each item must be of the same data type. AttributeData enforces this requirement explicitly. See proposed API below. ["RFC1_Comment_List"]

RFC_1 (last edited 2009-02-12 01:04:12 by localhost)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux