Fixed outdated doc strings

This commit fixes some outdated docstrings, replacing the description
and @params where necessary.
This commit is contained in:
Danny Shemesh
2020-04-23 07:23:50 +03:00
parent 10fdc45dea
commit 49f8aac6a9
3 changed files with 23 additions and 19 deletions

View File

@@ -333,10 +333,9 @@ const _drawLongText = (_text, x, y, g) => {
};
/**
* 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 a note to the diagram
* @param text - The text of the given note.
* @param g - The element the note is attached to.
*/
export const drawNote = (text, g) => {