#1295 Adding note support to state diagrams

This commit is contained in:
Knut Sveidqvist
2020-03-29 14:20:49 +02:00
parent 5fbb69e7c5
commit 240077ffe8
11 changed files with 220 additions and 72 deletions

View File

@@ -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
};