Ask HN: Which tool do you use to create beautiful diagrams?
681 pointsFor instance what they use for stuff like
https://git-lfs.github.com
Or I don't know how to describe it, because right now I can't find an example, but more "comic" like maybe. I know that Venka Subramanian once had such a nice article about Akka with beautiful diagrams, but can't find it either :(
Comments (212) 93 threads
- "How do I teach it to make these halfcircle-circle joints of component diagrams?"
- Sequence diagrams are a bit slow to make with it, because yeD not knowing their semantics and not doing much for you.
Apart from that, it has many features I depend on and that save time:
+ far more functionality than things like drawio
+ performance when dragging stuff around, no lags like in many browser apps
+ Export formats: SVG, PDF, PNG, graphml (its own format, so that you can edit later), others - Also looking like the diagram you created and looking clean, now like Dia
+ forcing rectangular edges
+ connecting edges and shapes so that they stick together, still enforcing rectangular edges, something I find very difficult with other tools like Inkscape and being able to connect the edges to any point of the shape, not so limited like Dia.
+ moving anything will bring up helping lines and snapping to certain alignments
+ when edges cross there is a setting to display "bridges"
+ Import SVG as new shapes
+ many settings for shapes and independently for labels
+ can add multiple labels to a shape or edge (multiplicities in class diagrams for example, or cardinalities in ERMs)
and probably more thing I don't remember right now.
It is one of the very few Java tools, that really works well for me.
For ASCII I recommend taking a look at Emacs artist mode, especially, if you are already using Emacs to write the code.
I would assume, however, that the intersection between yEd users and yFiles licensees is fairly small, though. It still remains a good showcase for what developers could do with the library (along with the 100+ demo applications that ship with it [1]).
[1]: https://live.yworks.com/demos/
I've found it fantastic for eg UML-like class diagrams. It has a beautifully simplistic approach to UML (which is an overdesigned mess, but that doesn't mean that all class diagrams are useless): for each class, the method list and attribute list are just two multiline text fields. Compare that to other UML tools that have a "Edit Method" dialog and whatnot.
The UX is amazing, especially once you get the hang of it and know how to circumvent its few quirks. I find that for many kinds of diagrams, drawing them in yEd is faster than on paper (the actual drawing is roughly as fast, changing my mind is an order of magnitude faster)
Thank you to the creators of yEd - you've put together a wonderful product! If there is one feature I would like to see, it's the ability to bulk format elements and label fonts. From what I remember, that was just a tad monotonous.
As for your wish, I think that's already there. You can select many items at once and change them all in the same way, e.g. changing the label font. To select all elements of the same type, simply select one of them (e.g. a label (you may have to use Ctrl+click to select a label on top of a node)) and press Ctrl+A. That should select all labels, while not selecting anything else. From there you can change properties for all of them at once. I think we've added this to yEd Live (the online version) as well recently.
There is also a powerful selection dialog under Tools > Select elements where you can basically select everything that matches certain criteria, such as all nodes with the same color, or predecessors of the currently selected node. Afterwards you can change properties in the panel as usual. This one only exists in the desktop version, though.
With that said, it's just good enough for a free product, though it doesn't have any special edge over some of the web-based alternatives out there.
A very impressive feature IMO is automatic re-arrangment. Typical use case, when you want to draw complex activity of class diagrams when, e.g. following some legacy code, or just brainstorming ideas, it's easy to end up with a very tangled mess of shapes and arrows. yED has this magic button that rearranges the graph in a smart way, mostly based on direction of edges. And suddenly your diagram looks sane again. Kudos to them for this.
I've been doing a lot of flow diagrams and PlantUML has been invaluable. I specifically like it because sharing the flow means sharing some text, which itself is vaguely human-readable. There's an online renderer (bottom of the page in the above link), which means simple diagrams are also quick to create and view. It's got a few different modes that it understands but I'd definitely add it to the list when you need simple vector graphics.
I use a combination of plant for sequence flows and lucid for arch diagrams.
My only complaint is that you can't manipulate layout directly. You can do some hacks like invisible directional arrows, but ultimately any change you make risks turning your beautiful diagram into complete spaghetti.
I wish there was a tool combining plaintext description with explicit layouting.
Has an online split screen view with your text on one side, and the diagram in the other. It's quite crude - no auto refresh, for example - but it works.
[1] https://marketplace.visualstudio.com/items?itemName=jebbs.pl... [2] https://docs.gitlab.com/ce/administration/integration/plantu...
I really like gravit.io as an online lightweight version of Illustrator. For me it has been especially good for online targeted diagrams, e.g., for blog posts & web pages.
For my shameless plug, I helped build a whiteboarding tool that is great for simple hand-drawn diagrams, and truly looks whiteboardy. https://limnu.com. We intentionally kept the tools simple so you can iterate and obsess over the idea rather than the look. That might not be what you mean by “beautiful diagrams”, but personally I find a good whiteboard diagram quite beautiful. Maybe it’s a functional beauty. We used Limnu to create all the diagrams for the online book “Ray Tracing in One Weekend.” http://www.realtimerendering.com/raytracing/Ray%20Tracing%20...
I also worked at LucidChart for a while, and I know first-hand it’s very powerful and quite good compared to almost everything online, especially for flowcharts and serveral pre-baked styles of data driven diagrams.
Recently I used plotdevice.io to build a 3d line renderer for a bunch of diagrams in a book. It’s a Mac environment that is similar to Processing, but is based on Python and has built-in PDF export.
I've been using vectors since Corel Draw 4 in the 90s and have tried pretty much everything. I still prefer Illustrator over Sketch, Affinity Designer, and all these new web based tools (Figma, etc).
https://affinity.serif.com/en-us/designer/
All comments shown.
Couldn't load more comments. Check your connection and try again.