From 84abfba00082f78d414d8769accbcac9e414a9ff Mon Sep 17 00:00:00 2001 From: tessier Date: Sat, 26 Oct 2024 16:24:52 +0900 Subject: [PATCH] feat(node): add vercel + fix alias --- config.py | 4 +++- diagrams/programming/framework.py | 20 +++++++++++------- docs/nodes/programming.md | 15 +++++++------ resources/programming/framework/vercel.png | Bin 0 -> 3112 bytes .../programming/framework/vercel.png | Bin 0 -> 3112 bytes 5 files changed, 24 insertions(+), 15 deletions(-) create mode 100644 resources/programming/framework/vercel.png create mode 100644 website/static/img/resources/programming/framework/vercel.png diff --git a/config.py b/config.py index dc0590b4..58c44755 100644 --- a/config.py +++ b/config.py @@ -429,7 +429,9 @@ ALIASES = { "programming": { "framework": { "Fastapi": "FastAPI", - "Graphql": "GraphQL" + "Graphql": "GraphQL", + "Dotnet": "DotNet", + "Nextjs": "NextJs" }, "language": { "Javascript": "JavaScript", diff --git a/diagrams/programming/framework.py b/diagrams/programming/framework.py index fcc48fdd..defb8dbf 100644 --- a/diagrams/programming/framework.py +++ b/diagrams/programming/framework.py @@ -20,6 +20,10 @@ class Django(_Framework): _icon = "django.png" +class Dotnet(_Framework): + _icon = "dotnet.png" + + class Ember(_Framework): _icon = "ember.png" @@ -48,6 +52,10 @@ class Micronaut(_Framework): _icon = "micronaut.png" +class Nextjs(_Framework): + _icon = "nextjs.png" + + class Quarkus(_Framework): _icon = "quarkus.png" @@ -72,16 +80,12 @@ class Svelte(_Framework): _icon = "svelte.png" -class Vue(_Framework): - _icon = "vue.png" - - -class Dotnet(_Framework): - _icon = "dotnet.png" +class Vercel(_Framework): + _icon = "vercel.png" -class Nextjs(_Framework): - _icon = "nextjs.png" +class Vue(_Framework): + _icon = "vue.png" # Aliases diff --git a/docs/nodes/programming.md b/docs/nodes/programming.md index c4a69408..56d8b647 100644 --- a/docs/nodes/programming.md +++ b/docs/nodes/programming.md @@ -92,6 +92,9 @@ Node classes list of programming provider. Django **diagrams.programming.framework.Django** +Dotnet +**diagrams.programming.framework.Dotnet**, **DotNet** (alias) + Ember **diagrams.programming.framework.Ember** @@ -113,6 +116,9 @@ Node classes list of programming provider. Micronaut **diagrams.programming.framework.Micronaut** +Nextjs +**diagrams.programming.framework.Nextjs**, **NextJs** (alias) + Quarkus **diagrams.programming.framework.Quarkus** @@ -131,15 +137,12 @@ Node classes list of programming provider. Svelte **diagrams.programming.framework.Svelte** +Vercel +**diagrams.programming.framework.Vercel** + Vue **diagrams.programming.framework.Vue** -Dotnet - **diagrams.programming.framework.Dotnet**, **DotNet** (alias) - -Nextjs - **diagrams.programming.framework.Nextjs**, **NextJs** (alias) - ## programming.language diff --git a/resources/programming/framework/vercel.png b/resources/programming/framework/vercel.png new file mode 100644 index 0000000000000000000000000000000000000000..6277be3f3e7770c08d888bddf1576b8e3aff9a46 GIT binary patch literal 3112 zcmeHIX*ARg7yny_VM4~zNR~7)!q_Iev778$Ov>`uWz4-#Pc(6i0h22p9$i004rqHg^U94t5C4 z^Kr4QaQovoY{wmBVrK#XRrduBe0kWpte>^B9RS3@0U(|T0Q>Ax{4xMsLju5x4*=-V z06^kuZljX{y8$9#>?}YmUS2St@X!0%?f}4f+tJq5g5CO8{$=3*#X$d~%%|+xBLruA z7l4D4i<^fR#K#X75QH2N5*9fs3KbKVkUR#Hl9rK`lRv2dKdq>QP(GuERM*hbMxE8s z)zddLGDe%2nOj(5Y;5i99h_WT-OjsvT=2Yj$;;cv*DoLthrb*g5_UB_B9d?|>Uwlc z?9I4a@ptZ$5|dKX?vc|e8JStsoCmZ=k8|_#|1KyjdQx2S^jTSXWmPq^uD+qMsk!CV z>(-9Wt~YPrb-(ZF?du;L8Xg%P8=sh*nx6SEJNI$^(*kR8Y5B{_>e{#Ujm_^{+dp=8 zf9~!7Iyn3-|4Y7}y&uP4Hdf{%{7nKR_9b><%uQS+kFnZPyr}`4ppCg6q@XPWc_JQ! z%SjzajEWa01edZx8>C88qyx()8LVd`iy2QoSK;wRxU|Ij^N&j98vTgv1)A+W&99Ad zm+Bm%ul8)7=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WaMuvA*79n3 zGHbk)x$3~M%I|+#-*2#t!O~I%9u$CHT|iWfC0%J4uXTxD3;wX&_c>+?edteMzXoe5 zzVm^FHho_n-~}F(=nrP+hQdNkrgQGTFmRZ@apKa3_5ccY^Tq&}Tw74y%4Km85a{8|uc{wNo!OWv+*-;fi|?g7T$azt=aP)}(m zwgWVf8tN)Y6kA=@k$OlSJ#~~ak{uwoJ+~MB3lJLSj}MIg-vAP?tv4G0U@Yv-UzqwN F{0Crqbvyt7 literal 0 HcmV?d00001 diff --git a/website/static/img/resources/programming/framework/vercel.png b/website/static/img/resources/programming/framework/vercel.png new file mode 100644 index 0000000000000000000000000000000000000000..6277be3f3e7770c08d888bddf1576b8e3aff9a46 GIT binary patch literal 3112 zcmeHIX*ARg7yny_VM4~zNR~7)!q_Iev778$Ov>`uWz4-#Pc(6i0h22p9$i004rqHg^U94t5C4 z^Kr4QaQovoY{wmBVrK#XRrduBe0kWpte>^B9RS3@0U(|T0Q>Ax{4xMsLju5x4*=-V z06^kuZljX{y8$9#>?}YmUS2St@X!0%?f}4f+tJq5g5CO8{$=3*#X$d~%%|+xBLruA z7l4D4i<^fR#K#X75QH2N5*9fs3KbKVkUR#Hl9rK`lRv2dKdq>QP(GuERM*hbMxE8s z)zddLGDe%2nOj(5Y;5i99h_WT-OjsvT=2Yj$;;cv*DoLthrb*g5_UB_B9d?|>Uwlc z?9I4a@ptZ$5|dKX?vc|e8JStsoCmZ=k8|_#|1KyjdQx2S^jTSXWmPq^uD+qMsk!CV z>(-9Wt~YPrb-(ZF?du;L8Xg%P8=sh*nx6SEJNI$^(*kR8Y5B{_>e{#Ujm_^{+dp=8 zf9~!7Iyn3-|4Y7}y&uP4Hdf{%{7nKR_9b><%uQS+kFnZPyr}`4ppCg6q@XPWc_JQ! z%SjzajEWa01edZx8>C88qyx()8LVd`iy2QoSK;wRxU|Ij^N&j98vTgv1)A+W&99Ad zm+Bm%ul8)7=-+CdQ+v+xYMy}TOGSR2ker|eT?<;eEcA7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