tsConversion: mermaidAPI

This commit is contained in:
Sidharth Vinod
2022-08-22 11:10:30 +05:30
parent 39aaf2f813
commit d365dacbf7
16 changed files with 776 additions and 760 deletions

View File

@@ -44,8 +44,9 @@ function drawActorLegend(diagram) {
yPos += 20;
});
}
// TODO: Cleanup?
const conf = getConfig().journey;
const LEFT_MARGIN = getConfig().journey.leftMargin;
const LEFT_MARGIN = conf.leftMargin;
export const draw = function (text, id, version, diagObj) {
const conf = getConfig().journey;
diagObj.db.clear();