mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-17 03:04:07 +01:00
Merge branch 'develop' into sidv/typescript
* develop: (67 commits) fix: Tsconfig Update prettier chore: Run postbuild with prepare (formatting) prettier fix Removed warnings in the grammar oand some console logging ci: lint .jison files for any console.log() fix JSDOC @param, @returns; fixed a few minor typos in comments unmangle sentence about doc changes committed and showing up on docsify site change references from /docs to /src/docs; rework doc section in CONTRIBUTING Update after lint comments Regenerate the directive docs as I changed them chore(deps-dev): bump typescript from 4.7.4 to 4.8.2 Update duplicate copy pasted directive description chore(deps-dev): bump @types/dompurify from 2.3.3 to 2.3.4 chore(deps-dev): bump jest-environment-jsdom from 29.0.1 to 29.0.2 chore(deps-dev): bump babel-jest from 29.0.1 to 29.0.2 Lint fixes Removing requirement to add ids for nodes with a shape #3336 Merged typescript changes Merged typescript changes ...
This commit is contained in:
@@ -6,7 +6,8 @@ import common from '../common/common';
|
||||
// import sequenceDb from './sequenceDb';
|
||||
import * as configApi from '../../config';
|
||||
import assignWithDepth from '../../assignWithDepth';
|
||||
import utils, { configureSvgSize } from '../../utils';
|
||||
import utils from '../../utils';
|
||||
import { configureSvgSize } from '../../setupGraphViewbox';
|
||||
import addSVGAccessibilityFields from '../../accessibility';
|
||||
|
||||
let conf = {};
|
||||
@@ -326,7 +327,7 @@ const boundMessage = function (diagram, msgModel) {
|
||||
*
|
||||
* @param {any} diagram - The parent of the message element
|
||||
* @param {any} msgModel - The model containing fields describing a message
|
||||
* @param {float} lineStarty - The Y coordinate at which the message line starts
|
||||
* @param {number} lineStarty - The Y coordinate at which the message line starts
|
||||
* @param diagObj
|
||||
*/
|
||||
const drawMessage = function (diagram, msgModel, lineStarty, diagObj) {
|
||||
@@ -582,8 +583,7 @@ function adjustLoopHeightForWrap(loopWidths, msg, preMargin, postMargin, addLoop
|
||||
/**
|
||||
* Draws a sequenceDiagram in the tag with id: id based on the graph definition in text.
|
||||
*
|
||||
* @param {any} text The text of the diagram
|
||||
* @param _text
|
||||
* @param {any} _text The text of the diagram
|
||||
* @param {any} id The id of the diagram which will be used as a DOM element id¨
|
||||
* @param {any} _version Mermaid version from package.json
|
||||
* @param {any} diagObj A stanard diagram containing the db and the text and type etc of the diagram
|
||||
|
||||
Reference in New Issue
Block a user