Fixed parsers to use the correct type name in close_directive

Added directive support to pie
(Refactored pie parsing to be a bit more clear)
Added more unit tests to pie
This commit is contained in:
chris moran
2020-07-27 13:24:23 -04:00
parent b9fa2f4125
commit 771bf78576
15 changed files with 134 additions and 37 deletions

View File

@@ -3,6 +3,7 @@
*/
import { logger } from '../../logger';
import mermaidAPI from '../../mermaidAPI';
import configApi from '../../config';
let entities = {};
let relationships = [];
@@ -73,6 +74,7 @@ export default {
Cardinality,
Identification,
parseDirective,
getConfig: () => configApi.getConfig().er,
addEntity,
getEntities,
addRelationship,