Formatting

This commit is contained in:
Sidharth Vinod
2023-02-14 00:37:17 +05:30
parent 102900749e
commit 17e317385a
2 changed files with 3 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ export const addNotes = function (notes: ClassNote[], g: graphlib.Graph, startEd
/** /**
* Add edges to graph based on parsed graph definition * Add edges to graph based on parsed graph definition
* *
* @param relations - * @param relations -
* @param g - The graph object * @param g - The graph object
*/ */
export const addRelations = function (relations: ClassRelation[], g: graphlib.Graph) { export const addRelations = function (relations: ClassRelation[], g: graphlib.Graph) {
@@ -234,7 +234,7 @@ export const setConf = function (cnf: any) {
/** /**
* Draws a flowchart in the tag with id: id based on the graph definition in text. * Draws a flowchart in the tag with id: id based on the graph definition in text.
* *
* @param text - * @param text -
* @param id - * @param id -
* @param _version - * @param _version -
* @param diagObj - * @param diagObj -

View File

@@ -280,7 +280,7 @@ statement
; ;
classStatement classStatement
: classIdentifier : classIdentifier
| classIdentifier STYLE_SEPARATOR alphaNumToken {yy.setCssClass($1, $3);} | classIdentifier STYLE_SEPARATOR alphaNumToken {yy.setCssClass($1, $3);}
| classIdentifier STRUCT_START members STRUCT_STOP {yy.addMembers($1,$3);} | classIdentifier STRUCT_START members STRUCT_STOP {yy.addMembers($1,$3);}
| classIdentifier STYLE_SEPARATOR alphaNumToken STRUCT_START members STRUCT_STOP {yy.setCssClass($1, $3);yy.addMembers($1,$3);} | classIdentifier STYLE_SEPARATOR alphaNumToken STRUCT_START members STRUCT_STOP {yy.setCssClass($1, $3);yy.addMembers($1,$3);}