-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add architecture diagram functionality #7066
Comments
Hi @judepayne - these look great. Couple of questions:
Hoping to get some time later this week to give this a proper try-out and hopefully come up with some of my own answers to the above :) |
Hi @davidwatkins73 - lots of good questions:
["xyz-123" "eSpear"] In a shape, the first item is its key, the second its label. {"nodes": [{"app-id": "xyz-123",
"app-name": "eSpear",
"owner": "George",
"department": "Risk"}]
"node->key" "app-id"} Nodes is just a vector of maps, each describing an application (in the case of Waltz) - just any arbitrary map of key - values, e.g. 'facts' about the application which may/ may not be used in the diagram. 'node->key' is used to tell dictim.server how to uniquely identify that application (node). Similarly, each edge (i.e. line between/ data flow between two apps) is also expressed as just an arbitrary mode. Each must have a "src" and "dest" key but beyond that can have whatever you want.
Look forward to your feedback. Ready to do some stuff on your suggestion. A new angular component to sit alongside boingy graph for example, if you agree that might be a good place to start. |
Forgot to mention that behind the scenes, the 'diagram spec' provided to the graph api - i.e. the map of all the keys I mentioned above - is just converted to dictim (and then to d2 and then to svg). dictim is a rawer format though and nested so harder to form that the 'graph' api which breaks it all apart and flattens it out (e.g. separates the data from the rendering instructions, and hierarchies). |
Description
Hi @davidwatkins73 ,
I would be interested in adding enhanced Architecture diagram generation functionality to Waltz using my library dictim. Under the covers, dictim uses d2 to generate the final diagram. Would you be interested in this PR? I would probably need a bit of guidance :)
Resourcing
We intend to contribute this feature
The text was updated successfully, but these errors were encountered: