← Revision 3 as of 2009-04-10 20:28:57
391
Comment:
|
← Revision 4 as of 2009-07-16 01:17:15 →
1108
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
'''Updated on July 15, 2009 by KeiOno''' |
|
Line 6: | Line 9: |
(under construction) |
=== Definitions === ===== Data Model ===== * All kinds of data objects, including CyNetwork, CyDataTables, VisualStyles, etc. ===== View Model ===== * A map from Visual Property type to a value (color, size, ...) * One View Model is always associated with a data model. * A data model can have multiple View Models. ===== Presentation ===== * '''''Presentation''''' is a visualization of '''''View Model'''''. A View Model can have multiple presentations. In reality, presentation represents a drawing on AWT Canvas or other Swing Components. === API === ==== SceneRenderer ==== ==== ComponentRenderer ==== === Case Study === ==== Visualize Attributes |
Presentation Layer
Updated on July 15, 2009 by KeiOno
Introduction
Presentation layer is the set of actual classes which draws network graphics. From 3.0, Cytoscpae can have multiple presentation per view. This means multiple rendering engines can co-exist in an instance of Cytoscape.
Design
Definitions
Data Model
All kinds of data objects, including CyNetwork, CyDataTables, VisualStyles, etc.
View Model
- A map from Visual Property type to a value (color, size, ...)
- One View Model is always associated with a data model.
- A data model can have multiple View Models.
Presentation
Presentation is a visualization of View Model. A View Model can have multiple presentations. In reality, presentation represents a drawing on AWT Canvas or other Swing Components.
API
SceneRenderer
ComponentRenderer
Case Study
==== Visualize Attributes
Relationship between Presentation Layer and Other Modules