Skip to content
jvelilla edited this page Jul 12, 2012 · 5 revisions

Create a state machine for our Graphviz-Server

Graphviz Server

Description

  • R: ROOT
    • S: Search Graph resource
      • G: Get Graph
      • ErrNotFound: Error Graph not found
    • C: Create Graph resource
      • G: Get Graph
      • ErrCreationFailed: Error creation failed
  • S or C -> G: Get Graph
    • T: Trash Graph
      • ErrTrashFailed: Trash failed
    • M: Modify Graph
      • ErrModificationFailed: Modify failed
  • Err* -> R: Root

Note: authentication is more a context or constraint, this does not appear in the state machine.

Clone this wiki locally