Skip to content

azzlack/Yuml.Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yuml.Net

Model diagram generator for .NET using yUML.me

Based on Chris Owen's yuml-dotnet

How to use

Use the included YumlFactory or create your own implementation by inheriting the IYumlFactory interface.

Generating a class diagram with YumlFactory

Pass your model classes into the constructor.

var types = new List<Type>
                {
                    typeof(Person)
                };

var factory = new YumlFactory(types);

Then get the uri to the model diagram by calling the GenerateClassDiagramUri method.

var imageUri = factory.GenerateClassDiagramUri();

To get public properties and methods, use the DetailLevel parameters:

var imageUri = factory.GenerateClassDiagramUri(DetailLevel.PublicProperties, DetailLevel.PublicMethods);
// It is also possible to show private properties and methods 
// using the DetailLevel.PrivateProperties and DetailLevel.PrivateMethods enumerations.

NOTE: The uri's are cached for 30 000 seconds to enhance performance.

About

Model diagram generator for .NET using yUML.me

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages