feat(modeling): add participant modeling behavior

This commit adds the ability to model participants from the palette.

* Empty diagrams can be used as a start for participant _AND_ process diagram
* Process diagrams can be converted to collaboration diagrams by dropping
  a participant onto them

Closes #128
This commit is contained in:
Nico Rehwaldt
2015-03-31 15:02:04 +02:00
parent 32741868e4
commit 0a03e59866
19 changed files with 909 additions and 32 deletions

View File

@ -1,5 +1,7 @@
module.exports = {
__init__: [ 'appendBehavior', 'dropBehavior' ],
__init__: [ 'appendBehavior', 'dropBehavior', 'createBehavior', 'removeBehavior' ],
appendBehavior: [ 'type', require('./AppendBehavior') ],
createBehavior: [ 'type', require('./CreateBehavior') ],
removeBehavior: [ 'type', require('./RemoveBehavior') ],
dropBehavior: [ 'type', require('./DropBehavior') ]
};