mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-05 12:04:45 +01:00
Removing console.logs
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mermaid-chart/mermaid",
|
"name": "@mermaid-chart/mermaid",
|
||||||
"version": "11.0.0-b.59",
|
"version": "11.0.0-b.60",
|
||||||
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"module": "./dist/mermaid.core.mjs",
|
"module": "./dist/mermaid.core.mjs",
|
||||||
|
|||||||
@@ -65,7 +65,6 @@ export const subroutine = async (parent: SVGAElement, node: Node) => {
|
|||||||
];
|
];
|
||||||
|
|
||||||
if (node.look === 'handdrawn' || (node.look === 'neo' && !useGradient)) {
|
if (node.look === 'handdrawn' || (node.look === 'neo' && !useGradient)) {
|
||||||
console.log('OXE points 1', points);
|
|
||||||
// @ts-ignore - rough is not typed
|
// @ts-ignore - rough is not typed
|
||||||
const rc = rough.svg(shapeSvg);
|
const rc = rough.svg(shapeSvg);
|
||||||
const options = userNodeOverrides(node, {});
|
const options = userNodeOverrides(node, {});
|
||||||
@@ -88,7 +87,6 @@ export const subroutine = async (parent: SVGAElement, node: Node) => {
|
|||||||
rect.attr('class', 'basic label-container').attr('style', cssStyles);
|
rect.attr('class', 'basic label-container').attr('style', cssStyles);
|
||||||
updateNodeBounds(node, rect);
|
updateNodeBounds(node, rect);
|
||||||
} else {
|
} else {
|
||||||
console.log('OXE points 2', points);
|
|
||||||
const el = insertPolygonShape(shapeSvg, w, h, points);
|
const el = insertPolygonShape(shapeSvg, w, h, points);
|
||||||
if (nodeStyles) {
|
if (nodeStyles) {
|
||||||
el.attr('style', nodeStyles);
|
el.attr('style', nodeStyles);
|
||||||
|
|||||||
Reference in New Issue
Block a user