Adding support for notes to the left of the actor in sequence diagrams.

This commit is contained in:
knsv
2014-12-16 20:12:24 +01:00
parent 5712c6de7b
commit 21daaf3e29
4 changed files with 74 additions and 52 deletions

View File

@@ -61,7 +61,7 @@ exports.addNote = function (actor, placement, message){
var note = {actor:actor, placement: placement, message:message};
notes.push(note);
messages.push({from:actor, to:actor, message:message, type:exports.LINETYPE.NOTE});
messages.push({from:actor, to:actor, message:message, type:exports.LINETYPE.NOTE, placement: placement});
};