mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-19 20:24:16 +01:00
Support for comments to the right of the Actor
This commit is contained in:
@@ -42,7 +42,8 @@ exports.clear = function(){
|
||||
|
||||
exports.LINETYPE = {
|
||||
SOLID : 0,
|
||||
DOTTED : 1
|
||||
DOTTED : 1,
|
||||
NOTE : 2
|
||||
};
|
||||
|
||||
exports.ARROWTYPE = {
|
||||
@@ -60,6 +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});
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user