Can I insert image inside diagram in StarUML? - diagram

I must design a simple diagram of an architecture, like "network map".
Can I import and insert small image in a diagram? Which diagram you recommended me?

NO STARUML DOES NOT PERMIT YOU TO INSERT AND IMAGE IN THE DIAGRAM it only permits utf8 encoded files for your network map i would recommend you use DIA which is an other modeling app

Related

UML tool supporting collaboration

I am looking for an UML modeling tool (e.g. uml designer, papyrus, modelio or such) with a support for collaboration diagrams (as described here : http://www.uml-diagrams.org/collaboration-diagrams/collaboration.html and here http://www.uml-diagrams.org/collaboration-diagrams/collaboration-use.html)
I am especially interested by the ability to draw this kind of schema:
I would also appreciate it if somebody could link me to a good tutorial about this.
PS : To give some context, I am mostly interested in collaboration diagrams in order to describe which part of a class diagram are taking part in a given design pattern (from example which classes of a class diagram are the observer/subject of an observer pattern).
To create a composite structure diagram under Modelio, you have to:
Create a project.
Select UML root project under the model explorer.
Create a Class.
Select the created Class and create a Composite Structure diagram.
The following screenshot show the required steps.

How to generate a certain type of diagram from another type in EA?

I'm stiil a newbie with Enterprise Architect. I was wondering is there a way to generate automatically a certain type of diagram from an already existing other type of diagram and if yes - between what types of diagrams it could be achieved.
For example, could a sequence diagram be generated out of a given class diagram? Or it isn't possible because the sequence diagrams are behavioral and the class diagrams are structural?
Thanks in advance!
To concrete Vladimir's answer: a diagram is not a model. If you want to transform anything you need to focus on packages (single elements would not make much sense anyway).
it is absolutely not possible transform or generate class diagram to (from) sequence because of different semantic of diagrams. It is not good idea to do any transformation between diagram definitions. If some tool allows it, it always directed to a meaningless or incomplete structures.

phpstorm, create custom UML diagram

PhpStorm has a feature to create UML diagrams based on existing classes
But I need to create and save my own diagrams, that will have objects for not existing classes. For example, I need to create a database diagram and a UML diagram for some classes of new feature.
Can I do it via phpstorm?
No, going by the Documentation Jetbrains Confluence on UML Diagrams in Phpstorm and this post phpstorm only allows you to create different UML diagram views of your code base, the only model is your code base itself. Thus you cannot have classes just in a diagram.
If it is still of your interest, you can use an extension like this to write your custom UMLs. You can find the documentation here

Is there a human-readable and text-based representation of a Component diagram?

I'm looking for a text-based representation of a component diagram that does these things:
A human can read and understand the diagram just by looking at the text
The text can be rendered into a diagram
Simple. No fancy features. Basically just need boxes, arrows, and labels.
Here is a great example of what I'm looking for but with sequence diagrams: http://www.websequencediagrams.com/
Does such a language/format exist for component diagrams?
You can use plantuml. It can render component diagrams from text, like you want. You will need to install Graphviz for making diagrams. Example of text to UML :
#startuml
DataAccess - [First Component]
[First Component] ..> HTTP : use
#enduml
There are other textual UML notations, you can check them here.
I use yUML most of the time. It does what you need and it's simple enough. They don't have an API per se but you can easily build diagrams with URLs or POST.
You can also host it on your own servers by buying a license.
You may try UMLet utility
"UMLet is a free, open-source UML tool with a simple user interface: draw UML diagrams fast, produce sequence and activity diagrams from plain text"
http://www.umlet.com/

Linking UML Diagrams - What are the different possibilities and how to specify in a tool independent wa

UML 2.x has 14 diagram types - grouped into structural and behavioral diagrams. For a system modelled in UML, there is inter-linking between diagrams, for example:
A class with a state variable should have a corresponding state-machine diagram which models its behavior.
Similarly, the life-line in sequence diagram is an instance of a class: usually shown as :.
What are the other links possible between the 14 diagrams?
Is there a tool independent way of specifying these?
Are these linkages exported in a standard way in the XMI output file, if XMI export is supported?
In UML2 you can now create almost any model element in any diagram. I mean that you can have structural elements inside the same diagram.
alt text http://www.forum-omondo.com/download/file.php?id=194&mode=view
Having said that you can also use the EclipseUML2 editor which is open source. You create manually your model and for example create a State then a child Class. Once created you open the model with a compatible UML tool and drag and drop inside an empty diagram what has been manually model. You will get a graphical representation.
I do it every day with Omondo EclipseUML Helios and it works really well. I have previously tried RSA 6.5 and it was also possible. My graphical diagram allows me to create as many as needed views from my model. I can manipulate my model with the editor or with the diagram. Really cool !!

Resources