PlantUml.Builder
A library with StringBuilder extension methods to make it easier to generate valid PlantUML diagrams using dotnet
Install / Use
/learn @eNeRGy164/PlantUml.BuilderREADME
PlantUML Builder
PlantUML Builder is a library with StringBuilder extension methods to make it easier to generate valid PlantUML diagrams using .NET.
Architecture Documentation
See the architecture documentation overview.
Example
The following code:
var stringBuilder = new StringBuilder();
stringBuilder.UmlDiagramStart();
stringBuilder.Arrow("Alice", "->", "Bob", "Authentication Request");
stringBuilder.Arrow("Bob", "-->", "Alice", "Authentication Response");
stringBuilder.AppendNewLine();
stringBuilder.Arrow("Alice", "->", "Bob", "Another authentication Request");
stringBuilder.Arrow("Alice", "<--", "Bob", "Another authentication Response");
stringBuilder.UmlDiagramEnd();
stringBuilder.ToString()
Generates the following output:
@startuml
Alice -> Bob : Authentication Request
Bob --> Alice : Authentication Response
Alice -> Bob : Another authentication Request
Alice <-- Bob : Another authentication Response
@enduml
Implemented commands status
See Implemented commands.
