-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ee3bdc
commit 6c96284
Showing
2 changed files
with
23 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
# CsdlToDiagram | ||
Simple T4-powered console app to generate Plant or Yuml diagram from an OData CSDL file. | ||
|
||
## Generate a Yuml diagram to the console. | ||
CsdlToDiagram.exe -y < csdlFile > | ||
Simple T4-powered console app to generate a PlantUml diagram from an OData CSDL file. | ||
|
||
## Generate a PlantUML diagram to the console. | ||
CsdlToDiagram.exe -p < csdlFile > | ||
``` | ||
CsdlToDiagram.exe <csdlFile> | ||
``` | ||
|
||
## Library CsdlToPlant | ||
.Net Standard 2.0 library to create PlantUML text from a CSDL file. | ||
Available on nuget as CsdlDiagrams.Net. | ||
|
||
Usage: | ||
```cs | ||
var csdlFile = "<somefilename>"; | ||
var csdl = File.ReadAllText(csdlFile); | ||
var converter = new PlantConverter(); | ||
var plantUml = converter.EmitPlantDiagram(generator.csdl, csdlFilename); | ||
``` |