Xmi4dotnet

From SwinBrain

Want to create UML diagrams for your .NET code?
Visual Studio's class diagrams missing something that you need?
Use Xmi4DotNet to export your model into a UML package to simplify drawing.

Contents

Features

Xmi4DotNet is a .NET project that allows you to export an assembly to an XMI file that can then be imported into a variety of UML tools. Xmi4DotNet examines your assembly and exports XMI containing following details.
  1. From the selected assembly Xmi4DotNet exports:
    • All types, including Classes, Interfaces, Structures, and Enumerations.
    • Exports generic classes from .NET 2.0 assemblies
    • Inheritance relationships
    • Interface implementations
    • Within each type it will export the following features.
      • All fields
      • All methods, including type information for parameters and return values
      • All properties
    • Class memebers include all type information
  2. From all dependent assemblies Xmi4DotNet will export:
    • All dependent types
    • All public features of these types
    • Inheritance and interfaces used by these types
    • Xmi4DotNet does not export type details for class features to reduce overhead

Download

Download the xmi4dotnet assembly, or the source code from Google projects.

Issues

If you have any issues with Xmi4DotNet, or you want to request a feature, please use the issue tracking on Google. This is an open source project so you can always download the code and change it yourself.

Installation

To install this product do the following:

  1. Download Reflector for .NET
  2. Download Xmi4DotNet assembly zip file
  3. Extract Xmi4DotNet.dll from zip file
  4. Run Reflector for .NET
  5. From the Tools menu select Addins
  6. Click Add, and select the Xmi4DotNet.dll file extracted above

To use this product do the following:

  1. Click Open in Reflector, and choose your assembly file. This will import the assembly for viewing into Reflector.
  2. Select your assembly in the Reflector list
  3. Click the Xmi Export button on the Toolbar or in the Tools menu
  4. Enter the name of the xmi file to generate, then press ok
  5. Your assembly will now be exported to XMI

Related Products

  • dotnet2uml: This tool also exports .NET assemblies to XMI. It has its own interface, but currently does not work with .NET 2 assemblies. This used to be called AssemblyMetadata2Xmi.

[edit]Links: Topic Brains
Return to Swin Brain