CySession.xml is the file to save current states of the Cytoscape session. The following information will be stored in the XML document:

  1. List of networks opened in current session.
  2. States of Cytopanels 1~3.
  3. Network Tree structure.
  4. Session ID
  5. Annotation for the session
  6. Selected/Hidden nodes/edges
  7. Plugin state

Plugin State

The last element is more complicated than others. First of all, we need to create a new signal called "SESSION_SAVE" and "SESSION_LOAD" to tell plugins that session save/load command is called. We may need to create a schema for each plugin to describe its state.

How to save plugin state in a file

Once plugins get the signal (SESSION_SAVE), they need to save the state as an XML file and tell the session writer class the file location. When all plugins finish this process, session writer class copies it into a zip file.

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