Receate The Azure Scaleable Web App Diagram In UML - azure

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.

Related

Cant edit PlantUML diagrams in other editors and tools

I recently started experimenting with PlantUML to programmatically generate markup and diagrams for different parts of our infrastructure.
However, while I have been successful in generating some basic level diagrams, I am encountering issues with using them in combination with other tools and programs.
Mainly looking for a way to import or convert PlantUML markup or diagram as an editable diagram in other tools such Miro, draw.io or Visio. Issue is though I can import PlantUML as a let's say a SVG in draw.io but those are just images which aren’t editable for some extra formatting or editing neither text searchable.
So, is there a way to achieve that in combination or PlantUML and other GUI tools? Or if not are there any other alternative which can let me generate diagrams as code with the possibility or manually editing them in a standard tool?

Can I use Sketchapp to design entire website

I am a freelancer who wants to start using Sketchapp to make more trendy websites (slanted and curved line backgrounds, UI assets that have shadows, assets that go over 2 divs (see examples). Can and do freelancers (do both their own design and code) use Sketchapp to create the entire site for everything (including text) as their normal best practice and to speed up workflow and then just export everything to text editor and then tweak? Below are 2 examples that I aspire to be able to create.
Example 1 from Pinterest
Example 2 from Pinterest
The answer is Yes and No. The first example is highly using textures and graphics which is hard to do in Sketch. But for that you need to use Photoshop. For the second example is more flat and not using much graphical effect. its minimal and flat. Sketch is really fasten up your working flow to create something like that.
Hope this helps.
You definitely could create both designs in sketch but it won't be the only program you have to use to finish this job. At least if you produce each used graphic yourself.
In the first design for example you have quite a lot gradients an brush technics between the sections. Here you would need to use brushes in Photoshop to achive this look. After this you could export the layers as PNGs with transparent background and import those into sketch...
Sketch is perfect to use with SVG. I would say wen you work with SVGs you can almost only use sketch.
Hope this answer helps!
to speed up workflow and then just export everything to text editor and then tweak
First you create the website design in Sketch and then you start writing the HTML/CSS code by hand. This is how the web development process goes.
You could also use helper tools like Desech Studio to import the Sketch file and then adjust the html/css faster.
Unfortunately it's not possible to create a website in the design stack like Sketch, and also work in the web stack. These 2 stacks are different in how they work.
Alternatively you could start designing the website directly in HTML/CSS and skip the design stack completely, but you will be slower and it will be harder to make changes, compared to the design stack.

Is there a programming language for designing and web publishing electronic circuits?

there are good languages to publish math contents on the web. But, is there any such language for electronic circuits diagrams. Which can help you design circuit diagrams, save in several formats [.pdf,.ps, .djvu etc] and publish on the web? By, publishing on the web I don't mean first save in some picture format and then use html to import. I mean an editor/language which can do both.
Thanks
http://opencircuitdesign.com/xcircuit/
I've not tried this personally, but the description says it can!
Circuit design is usually done graphically.
The nicest output I know is produced by gschem, but it is only possible to export Postscript and various image formats.

Drawing component diagrams in TinyUML

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).

Package for drawing queue networks with LaTeX?

Does anyone know how to draw queue network graphs that can be included within LaTeX documents?
See, e.g., the following examples at TeXample.net for the TikZ and PGF packages:
Graphs
Automata and Petri nets
Use METAPOST for your problem.
There are many ways to include drawings/graphs/images in your latex document.
The easiest way is just to draw the graph in your drawing program of choice, then export the graph to jpg or png (or eps if you're not using PDFlatex), then use the graphicx package ( \usepackage{graphicx} in your preamble), and include the graph in your document by using the code
\includegraphics[width=4in]{filename.jpg}
As indicated in other answers, there are several drawing languages that can be used with tex: metapost, tikz, and PGF are are powerful. There is also asymptote, another code based drawing language.
You could also use graphviz, which is excellent if your graph is large and you need graph something like network traffic. And dot2tex will turn your graphviz file into something latex can handle.

Resources