-
Notifications
You must be signed in to change notification settings - Fork 229
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
slsa.dev: make the diagrams easier to edit #360
Comments
I use structurizr but it's not completely open source though free if you run it yourself. It also is really built for c4 diagrams . Here is an example of what it looks like: https://github.com/buildsec/ssf/tree/main/docs/diagrams -- the .dsl is the "code" and the .json is machine readable formatting info. This lets you write it "as code" but tweak layout graphically to make changes. Sort of like Graphviz where you can write it as code but move around the boxes and fix the inevitable readability issues in a GUI. It would be nice if we could find a tool that is more generic than structurizr but generally has that same flow of diagram as code, with the ability to tweak it via a GUI |
There are a billion number of tools for editing diagrams. Options include:
I'm sure we can fill this PR with alternatives :-). |
After doing a bunch of research and experimentation, I recommend sticking with Figma. PR #363 fixes the font issue so that we can edit on any browser, and I have another PR coming to further streamline the Figma file. Among all the other options, none seem nearly as good. My criteria were:
The only things that I found that passed were the following:
To resolve this bug, I suggest converting the remaining diagrams to Figma. This shouldn't be too difficult, now that I know how to use Figma. |
Assuming we're sticking with Figma, this has been mostly resolved by #363. The only remaining item is to port the build model diagram to Figma. |
build model updated in #375 |
Currently our drawings are created in either Figma or Google Drawings. Neither of these are good for editing.
Ideally we'd have files that can be checked into the repository and edited with free, standard, easy-to-use tools. Bonus points if the format is text-based and can be compiled in CI/CD.
The text was updated successfully, but these errors were encountered: