mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-21 08:19:43 +02:00
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:
@@ -1,6 +1,6 @@
|
||||
import { select } from 'd3';
|
||||
import utils from '../../utils';
|
||||
import { getConfig } from '../../config';
|
||||
import configApi, { getConfig } from '../../config';
|
||||
import common from '../common/common';
|
||||
import mermaidAPI from '../../mermaidAPI';
|
||||
|
||||
@@ -622,6 +622,7 @@ const destructLink = (_str, _startStr) => {
|
||||
|
||||
export default {
|
||||
parseDirective,
|
||||
getConfig: () => configApi.getConfig().flowchart,
|
||||
addVertex,
|
||||
addLink,
|
||||
updateLinkInterpolate,
|
||||
|
Reference in New Issue
Block a user