![]() > Hereby I confirm that my contribution complies with > - Define corresponding test cases within the DotParserTest/DotValidatorTest > - Add nodeshapes_polygon_based.dot sample file. > - Define a primitive value parser capable of processing int values. > - Extend the DotJavaValidator to validate these attributes. > - Extend the DotInterperter to process these attributes. > attributes within the DotAttributes.java. > - Add support for the "distortion", "shape", "sides" and "skew" dot > it into the GenerateDot.mwe2 generation workflow. > - Define the dot shape grammar within the DotShape.xtext file and integrate > Add xtext-editor support for polygon-based node shapes > I uploaded a patch with the following improvements: > Add Xtext editor support for polygon based node shapes This puts it right up there with venerable command-line utilities like curl and ImageMagick.(In reply to Tamas Miklossy from comment #3) When I skimmed through modern diagramming tools, nothing even came close! Do you know of any other tools that can do this kind of thing?Īccording to, Graphviz is 26 years old. It’s obviously not perfect, but Graphviz satisfied my criteria. This is what I love about large-community projects like VS Code. A different developer contributed each piece of the puzzle, and I discovered and installed them in about three seconds. So there I was, nearly done cobbling together my own tooling to work on Graphviz diagrams, when I found a much smoother experience presented on a silver platter. I _was_ surprised, however, by the, which previews the output right there in the editor, as you type! I wasn’t surprised at all by the, which provides syntax highlighting for this arcane language. I searched Visual Studio Code’s available extensions: One last stop before I start writing: syntax highlighting. None of my SVG-viewing applications pick up the file change automatically, but it’s not too bad to tab over and refresh. Next, wanting to iterate quickly, I set up a watcher to automatically recompile when the input file changes. The primary tool in the Graphviz suite is `dot`, which reads a source file and emits one of several output types. It’s not beautiful, but it sure beats dragging endpoints around with a mouse. Here’s the source for the image at the top of the post: The documentation scared me a little when it warned that the syntax is _”not really HTML,”_ but then they made up for it by providing a formal grammar of exactly what is accepted. , read through some documentation, and finally found just the ticket.Ī relatively recent addition to Graphviz (circa 2003!) is the This carefully-named feature lets you specify node appearance using familiar HTML ` ` syntax, with the addition of named _ports_ where you can connect arrows. I was familiar with its flowchart-like diagrams of bubbles, boxes, and diamonds, but I thought I’d check to see if it could be coaxed into producing connected tables. Even if you haven’t used it directly, you’ve probably seen Graphviz output before, perhaps in an or a database. is a collection of utilities and libraries for generating diagrams from a language called DOT. I intended to check these files into source control, so they needed to diff and merge nicely.ĭo any tools come to mind? I searched around for a while before dusting off an old one: It works with a text-based source format.Table entries can be edited and reordered without breaking links.I do not want to manually position the ends of arrows, ever. In particular, I sought the following properties: Like software, they had to be easy to change. The diagrams I was producing describe software. ![]() Specifically, I was documenting how a software system accepts data from a third party, mapping fields from external records to an internal message type:īasically, I wanted to draw arrows between rows of tables. When I came up short, I used a very old tool instead. I recently found myself looking for a modern tool to diagram relationships between tables of data.
0 Comments
Leave a Reply. |