terrastruct / d2

D2 is a modern diagram scripting language that turns text to diagrams.
https://d2lang.com
Mozilla Public License 2.0
16.18k stars 401 forks source link

`class` shape, add "stereotype" #1081

Open alixander opened 1 year ago

alixander commented 1 year ago

source: https://discord.com/channels/976899413542830181/976909197918756944/1088181820648079380

Screen Shot 2023-03-22 at 5 34 14 PM

that <<enumeration>> thing. UML calls it a "stereotype" but that's a dumb name. i don't really want to introduce another keyword for it though. The only appropriate existing keyword would be "desc", but that's not so fitting. i'll stew on it or wait until someone has a suggestion

bo-ku-ra commented 1 year ago

i imagine.

diegomgarcia commented 1 year ago

I don't like either the word "stereotype", maybe you could adopt the word "supertitle" as oppose to "subtitle".

Just an idea.

gourav commented 2 weeks ago

Hi @alixander I would like to take this up. Unfortunately, I don't have a clue how. Can you point me towards right direction to get this done ?