-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Still needs a more thorough test case
- Loading branch information
reidspencer
committed
Jan 25, 2024
1 parent
0b6c500
commit f348ca3
Showing
12 changed files
with
477 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
diagrams/src/main/scala/com/ossuminc/riddl/diagrams/mermaid/SequenceDiagramGenerator.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
package com.ossuminc.riddl.diagrams.mermaid | ||
|
||
/** A mermaid diagram generator for making sequence diagrams | ||
* | ||
*/ | ||
trait SequenceDiagramGenerator extends MermaidDiagramGenerator { | ||
def kind: String = "sequenceDiagram" | ||
frontMatter() | ||
addLine("sequenceDiagram").nl.incr.addIndent("autonumber") | ||
|
||
addLine("sequenceDiagram").incr.addIndent("autonumber") | ||
} |
Oops, something went wrong.