mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 07:19:41 +02:00
Formatting
This commit is contained in:
@@ -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 -
|
||||||
|
@@ -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);}
|
||||||
|
Reference in New Issue
Block a user