mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-06 04:24:10 +01:00
Merge branch 'develop' into sidv/esbuild
* develop: (37 commits) fix JSDOC @param, @returns; fixed a few minor typos in comments 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 babel-jest from 29.0.1 to 29.0.2 Lint fixes Removing requirement to add ids for nodes with a shape Merged typescript changes Updated with cloud and bang shapes Adding cloud and bang shapes fix(git): support numeric branch names Fix for unit tests after refactoring Documenting classes and icons Startingpoint for the documentation Some theming/styling fixes Adding some rendering tests ...
This commit is contained in:
@@ -7,7 +7,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