I am working on extending a small application that uses the 'dot' tool to draw UML class and state diagrams, to implement component diagrams (I am running into a lot of problems accommodating the UML 2.x notation for the same).
I intend to display the interfaces that a particular component requires and provides through the use of lollipop notations. Now while trying to do so, I am not able to display the edges between two nodes as a straight line. Even if I am able to display one edge as a straight edge, I am unable to maintain that state for all the edges.
Just wanted to know is there any particular way apart from the usual attributes like weight, len (for neato), k, etc.? (or indeed any other tools that u may suggest ?) Appreciate your help.
Best,
Arun
Sorry I never used TinyUML, but as you asked for any other tool suggestion let me tell you that I'm very comfortable using StarUML (Open Source).
Related
Is it possible to recreate that Azure Scaleable Web App diagram using PlantUML?
If not, what would be a more appropriate way of doing it? Is the source that created the png available on GitHub?
The following PlantUML code does exactly what you ask, but is probably not what you want:
#startuml
demo : <img:https://learn.microsoft.com/en-us/azure/architecture/reference-architectures/app-service-web-app/images/scalable-web-app.png>
#enduml
If you want to use PlantUML without images, then the answer is no, you can't, because the diagram does not comply to the UML standard.
You could isolate the individual symbols in separate image files and then use UML-relationships like associations and dependencies to draw the arrows in PlantUML, but you would not get exactly the diagram you referred to. For more information about how to use image files and sprites in PlantUML, see this question.
Instead, you could use your favorite general drawing tool, like Visio or PowerPoint, try to draw as much as you can and copy/paste the elements you can't draw yourself from the Azure diagram into Visio/PowerPoint/Whatever.
I am developing a prototype and so making UML Diagrams, for my USE CASE, I need to show the data being sent and received from a smart watch, I was wondering if there is a standard symbol for it or I should just draw one myself?
I have been using the attached.
UML gives you the freedom to attach any shape to a stereotype. You can show it pure or as adornment in a corner of the rectangular element representation.
There is no standard other than rectangles (most UML elements), ovals (Use Cases), stickmen (Actors), rounded rects (Activities, Actions) and circles (mostly for state elements). (If there are more, they are quite uncommon and slipped my mind.)
For your watch you can take whatever you want. This one looks okay (although to me it looks more like a satellite).
Definitely not, UML is not that much specific, "portable computing device" is as specific as you'll get. So pick something here
I apologize if the answer was already somewhere, searching the interwebs did not return me the answer(s) I was looking for.
Situation : I have a small graph (a set of Edges and Nodes that is) - Now I want to display it in an interactive manner, and I would like to manipulate the display styles and symbols that are used for edges and nodes, programetically.
Hence kgraphviewer wont work - i want to do it programetically as stated.
I noticed VTK, comes with a lot of built is graph drawing algorithms. But seems to be a really large one.
Question : What are some alternatives to VTK ? Graphviz is probably one, but I can not confirm that graphviz comes with all the graph drawing algorithms as VTK - any other possibly smaller options, with all the built in graphs?
Side note : Some systems uses a static drawign widget, i.e. once the drawing is displayed, in an widget that the system comes with, you can not interact with the drawing using your mouse. The GNU implementation of IDL, GDL, has this problem. I would Like to avoid this.
Yes, I agree with you regarding the VTK's consideration: it's a powerful toolkit but it is (maybe) too much "big", and it's not so easy to configure a working VTK environment.
I don't have a great experience in the field of graphs, but a search leads to this other StackOverflow post. I think that Prefuse, listed under the Java section, could be of some interest. C++ itself seems to have a lot of choices, listed in various answers, here. I hope that it will help.
I used Gephi public domain graph visualization software on Linux. It was a quick way to get a 3 D. Picture which can be modified with line thickness to show an edge weight - good for comm network work.
I have a Network Diagram(Nodes and Edges) in SVG generated by GraphViz tool. I want to make the diagram interactive in the sense, it should be draggable, on click of a node some other nodes to be hidden.ETC. Can any one suggest snapSVG is sufficient for that? I cannot add any thing to the SVG diagram that is my restriction. How can we make existing svg diagrams forced directed? Any help, starting point, fiddle will be helpful. I have hands on in d3.js is it achievable by d3.js?
This should be possible, maybe be aware Snap.svg isn't so compatible with older browsers (in which case you could look at Raphael which is Snaps older brother, d3 is very well established as well). They all have all the basics, handlers, animation etc. However, although its possible, it may well be quite a lot of work (so may want to stick with what you know).
You may want to look into whether you want to autocreate connecting elements and move automatically, or are happy moving endpoints manually.
It may also depend on things like what you want to happen after dragging the elements. Do you want to save them ? Some of that may be quite important as to how you approach it, maybe more important than dragging as most will support that.
I am looking for a tool that would not only allow me to create a system diagram but also allow me to give it some "brains".
For instance, lets say I have 2 main parts of a system depicted by 2 blocks. I want to simulate what would happen if one of the parts went out so I right click on one of the boxes and select terminate. The box then turns red, the connection to the other box turns red, and then the final box turns red as well. This indicates that the whole system is down.
I hope this makes sense.
Thank you!
I am not really sure what are you looking for, but maybe using code generation from models and/or executable UML tools could help you achieve what are you aiming for. For the particular example you mention, some sort of dependency analysis would suffice, e.g. there are some OSGi tools which can do that AFAIK.