-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Would a 'stack diagram' be of interest? #3307
Comments
Yes it would! 👍 |
Definitely 👍 |
I'll have some time off around the holidays and will dig in then, so if someone has the work planned before then please reach out (chmorgan@gmail.com), or give me until end of year :-) |
I would find this useful. |
Is this implemented and merged? It is very useful for my needs. |
@eliaskanelis wow, august 2022, time flies... I'd like to take a crack at this during the next break I have, likely during a holiday but I'd also gladly use it if someone else puts it together earlier :-) |
My expertise is C and C++ as I am an embedded engineer. I know some JavaScript, but at a hobby level. I have some spare time to help, but I am limited to my lack of expertise on web development. Could I help somehow? |
The first step would be to decide on a syntax that we can use. |
I have done some brainstorming with a few people from work, and we came to this draft: stack:
style: {fill: black,4pt,...}
layer:
block:
style: {fill: black,4pt,...} # Inherited if not assigned from parent
[App1]->[RTOS]
block:
[App2]->[RTOS]
block:
["Bare metal app"]->[RTOS, Microcontroller]
layer:
block:
[RTOS]->[HAL]
layer:
block:
[HAL]->[SPI, I2C, UART, Microcontroller]
layer:
block:
[SPI]->[Microcontroller]
block:
[I2C]->[Microcontroller]
block:
[UART]->[Microcontroller]
layer:
block:
[Microcontroller] The mermaid syntax draft tries to describe the following. I hope this helps. I might not know JS to aid in coding, but I can help in other areas. As a first draft, I see layers and blocks. After that, we could introduce stackable stacks... Or it might become too complicated? I have no experience with the mermaid code. |
@cmorganBE the shared sample looks very similar to the packet-diagram that I've been building here @eliaskanelis, your example looks interesting. Are the vertical stacks taken from some reference images? |
@sidharthv96 yes sure! It is called layered architecture. I found some more pictures from the web. In the automotive domain, there is something called AutoSar.
Other random photos |
Strong 👍 I seriously need this kind of diagrams. |
Seems interesting ... any news ? |
@pandres95 @PHHENS does Mermaid's Block diagram meet your requirements? |
Thanks for your notification.
Yes, it seems promising.
Any way to insert an svg image into a block ?
Thanks
Le dim. 7 juil. 2024 à 03:52:15 -07:00:00, Rhys B
***@***.***> a écrit :
… @pandres95 <https://github.com/pandres95> @PHHENS
<https://github.com/PHHENS> does Mermaid's Block diagram
<https://mermaid.js.org/syntax/block.html> meet your requirements?
—
Reply to this email directly, view it on GitHub
<#3307 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI2HQZHU3PCE6Y3VRNBUY23ZLEMV7AVCNFSM56AROTQKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMRRGI2DANRVGYZA>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I often have a need to create stack diagrams, example below.
Would there be any interest in accepting a pull request that creates these kinds of diagrams? I think it wouldn't be too bad to capture the technique I use to create them and implement it in code, but wanted to confirm interest before starting on the effort.
The text was updated successfully, but these errors were encountered: