Are there any libraries to create uml diagrams programmatically [closed] - graphics

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I want to create uml diagrams with table information from a database. Are there any libraries to do this?

You can either create a text-based representation of the UML model and use one of this textual UML tools to render it graphically or, use the APIs that some UML tools provide to programmatically create the UML model from, e.g., a Java program. For the latter you may want to take a look at the Eclipse Modeling Projects in Eclipse and in particular the UML2 component

UML is a big thing, but some time ago I did a similar task with graphviz. Actually, my code generated a dot file, which is the input format accepted by the graphviz utilities to draw things.

Almost any good diagramming library should be able to create UML diagrams programmatically. Depending on what type of UML diagram you need (class diagram, sequence diagram, collaboration, etc. ) the generic diagramming libraries will definitely work. See here for example:
yFiles Gallery of Diagrams
If you are looking for tools that will automatically do this for you, take a look at
DBVisualizer

Related

UML diagram tool with beautiful output [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Is there any UML tool that enables nodes styling? For example, setting not only the background colour for the "Class" node but also paddings, custom text alignment, different font settings of class name and attributes etc.
I like the functionality of yEd designer, but when I need to share a part of my model as a picture, it looks really poor.
Re-making the same diagram in a pure graphic editor is an overkill.
You should have a look at Papyrus. Not only do you have a log of control from within the tool, you can also use CSS externally to affect the rendition of the diagrams.
If you want some pretty automatic (not hand drawn) diagrams, then MS Visio is your choice. They even support 3D objects modelled by you. But don't forget that Visio is not a fully strict modelling tool. It is pretty, but checks only some ties and rules. (It is not at all always bad, though)

Nice free tool to create UML Communication (=Collaboration) diagrams [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
UML 1 uses the name Collaboration Diagram. UML 2 uses the name Communication Diagram. In this link you can find the definition and one nice example. Here you can find a nice reference about how to create them.
Unfortunately, I didn't find this diagram in the software I have been using lately: DIA. I think it is not available in WhiteStarUML either. There is a tutorial in the help, but I wasn't able to make it work. As WhiteStarUML is a fork of StartUML, maybe it is just not done yet.
WhiteStarUML Screenshot: there is a folder for Collaboration Diagram but not a file inside to double click it to create it (like the Class Diagrams or UseCase Diagrams)
What your favourite free tool to create those diagrams?
Again, free community edition of Visual Paradygm UML. Until you use one diagram for a project it even can be printed without water signs.
But the communication diagram is very simple, you could easily simulate it with some free diagraming tool. There are many of them, they are easy, simply try and find what you like - intuitivity is too personal thing.
It may not be intuitive but in WhiteStarUML ones creates diagrams (including Collaboration Diagram) using the context menu of the Model Explorer (right click on a package) or chosing from the main menu "Model - Add Diagram". In the Diagram Explorer you only see the existing diagrams.

What UML diff tools exist? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need to get diffs of ArgoUML diagrams. Are there any tools that provide Diffing capabilities to do UML?
I constantly make updates to my UML in SVN but I do not have a way to compare different versions.
I have seen UML-like Diff Tool from IntelliJ exists. But are there any other tools that don't require me to use IntelliJ?
Using EMF in Eclipse you can compare two UML diagrams.
http://wiki.eclipse.org/EMF_Compare/UML_Compare
So, you need to convert your ArgoUML to EMF standard by using the following framework.
http://argo2ecore.sourceforge.net/
Maybe some of these version control tools for models can help. They are not UML-specific but as the EMF-Compare tool mentioned before, they work with generic EMF models.
The EMF compare project does not work well. What you get is not really usable.
What I do in my project is to save my model and my diagrams on SVN. I then just look at svn to see modifications. You can not really see the dif insode a graph but it is usually easy to find out what has been modified because the model is composed by Name of the model > Packages > classifiers. The root can therefore be traced and the modified element find out quickly.

Looking for Harel state diagraming tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for a modeling system that can do Harel state transition diagrams. The paper on this system is provided here. Specifially I would like a system that would allow:
Modeling of statecharts
Zooming in and out of states, and auto hiding of states at some zoom level
Concurrent states, as described in the paper
Ability to collaboratively edit (not required, but would be really nice)
Any information on what you use and why would be invaluable. Thank you.
Yakindu looks good: https://stackoverflow.com/a/10081752/506073
Direct link: http://www.statecharts.org
Harel statecharts[5] are gaining widespread usage since a variant has become part of the Unified Modeling Language (UML). (wiki)
So any UML diagraming tools may satisfy your needs. I may advice SPARX EA UML tool. You can download a free trial from their web pages. http://www.sparxsystems.com/
Tools allow you to model collaboratively(!) ( place the project file on a shared network drive,Replication,XMI Import/Export)
It supports UML 2 ( you can show concurrent states / substates)
Zooming in and out of states ?? You may achive this by making a state Composite State( so details of a State will be hiden in the first diagram and when you click on that state you can able to reach its internal details)
PS:
In reality No UML tool can give you ability to model collaboratively. You can model collaboratively by using just simple tools. Then use a tool for doc if needed.
Room, Walls, and Supplies for
Whiteboards or "Whiteboard sheets" http://www.craiglarman.com/wiki/index.php?title=Course_Environment_-_Workshop_Style7

Are there any software to generate UML Diagrams from analyzing code? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have a complex application with lots of class files. I'm using Doxygen to generate some documentation, but would love a tool that can statically analyze my code and generate some UML diagrams. Not sure if a product like this exists, but would love to hear the community input.
There are many tools doing exactly this on various levels of quality. I would like to mention, that generating UML diagrams for documentation purposes might not be a great idea, especially in large projects. The problem is, that in complex code bases, there are many relationships between classes a lot of code is called etc. basically any diagram type you choose might in a particular project look bloated. Confusing diagram might be worse than well structured textual documentation. Basically what I am trying to say is, that main idea of modeling is to abstract from unimportant details and deciding automatically what is unimportant is not easy and often project dependent, therefore it is most of the times more useful to create far less diagrams manually, which will conatin much more useful information.
Visual Studio 2010 kind of has this for C# and VB projects, and Visio 2003 back in the day could do them for .NET and C++ projects... Other tools, I don't know.
If you're asking about class diagrams, Sparx Enterprise Architect can do this for several languages, including Visual Basic, C#, Java and Python.
I also know that it has the ability to generate sequence diagrams by running .NET code in the debugger, but I don't know if that feature is available for other languages.
UMLGraph or apiviz may help if you're working in a java environment.
hth.

Resources