Merge branch 'develop' of https://github.com/knsv/mermaid into 1542_take_two

This commit is contained in:
Ashish Jain
2020-08-19 18:45:24 +02:00
40 changed files with 1361 additions and 1125 deletions

View File

@@ -414,6 +414,7 @@ export const draw = function(text, id) {
// Set up an SVG group so that we can translate the final graph.
const svg = select(`[id="${id}"]`);
svg.attr('xmlns:xlink', 'http://www.w3.org/1999/xlink');
// Run the renderer. This is what draws the final graph.
const element = select('#' + id + ' g');