mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02:00
Fixed outdated doc strings
This commit fixes some outdated docstrings, replacing the description and @params where necessary.
This commit is contained in:
@@ -186,10 +186,12 @@ const _drawLongText = (text, x, y, g, width) => {
|
||||
};
|
||||
|
||||
/**
|
||||
* Draws an actor in the diagram with the attaced line
|
||||
* @param center - The center of the the actor
|
||||
* @param pos The position if the actor in the liost of actors
|
||||
* @param description The text in the box
|
||||
* Draws an note in the diagram with the attaced line
|
||||
* @param elem - The diagram to draw to.
|
||||
* @param startx - The x axis start position.
|
||||
* @param verticalPos - The y axis position.
|
||||
* @param msg - The message to be drawn.
|
||||
* @param forceWidth - Set this with a custom width to override the default configured width.
|
||||
*/
|
||||
const drawNote = function(elem, startx, verticalPos, msg, forceWidth) {
|
||||
const rect = svgDraw.getNoteRect();
|
||||
|
Reference in New Issue
Block a user