6

My project actually use XML files to define flow of the application.

I like to convert this XML a image that represent the flow, to use it in the documentation.

There is any c# library that help with the graphical part of a UML generation? There is any XML standard format to generate UML flows that can be converted to IMG?

I need something like this
LampFlowChart

Community
  • 1
  • 1
Carlos Garces
  • 829
  • 1
  • 11
  • 24
  • It sounds like you want to try and write code in c# to call a library to convert some xml to uml. Check out my answer, I haven't used it, but it looks like an app that will do this for you. – Adam May 19 '10 at 20:56
  • Your title is a bit misleading. Maybe it should be "C# Library to Generate UML Diagrams" – dss539 May 19 '10 at 21:22
  • Also, do you want to create a data flow diagram or something? – dss539 May 19 '10 at 21:22
  • You could write an xslt that turns your xml into SVG – Matt Ellen May 21 '10 at 06:55

2 Answers2

3

I use GraphViz to model things like this. No, there's no particular .Net component to do it but you can fairly trivially generate the simple textual version of Graphviz and then run the command-line to generate the diagram and render it to your choice of png, svg etc.

You can see an example in my answer to this question.

Update 2018-06-07

Recently I've been using another tool which puts easier syntax on top of GraphViz - PlantUML. There's a great online version PlantText

Andy Dent
  • 17,578
  • 6
  • 88
  • 115
1

Are you looking for something like this?

http://www.xmlmodeling.com/

Adam
  • 3,014
  • 5
  • 33
  • 59
  • Cool tool, but I think the OP is talking about creating data flow diagrams. – dss539 May 19 '10 at 21:23
  • Ya, It sounded like they either wanted to generate UML from existing XML based representations of their system, or generate DFDs. I went with the first. :) – Adam May 19 '10 at 21:33
  • I'm trying to generate something like this http://en.wikipedia.org/wiki/File:LampFlowchart.svg – Carlos Garces May 21 '10 at 06:49