mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 00:40:22 +02:00
#1295 Adding note support to state diagrams
This commit is contained in:
@@ -180,6 +180,8 @@ export const relationType = {
|
||||
DEPENDENCY: 3
|
||||
};
|
||||
|
||||
const trimColon = str => (str && str[0] === ':' ? str.substr(1).trim() : str.trim());
|
||||
|
||||
export default {
|
||||
addState,
|
||||
clear,
|
||||
@@ -198,5 +200,6 @@ export default {
|
||||
getRootDoc,
|
||||
setRootDoc,
|
||||
getRootDocV2,
|
||||
extract
|
||||
extract,
|
||||
trimColon
|
||||
};
|
||||
|
Reference in New Issue
Block a user