Skip to content

Commit

Permalink
feat(node): add GraphQL (#660)
Browse files Browse the repository at this point in the history
Add a GraphQL programming framework node
  • Loading branch information
houmam authored Aug 5, 2022
1 parent b626d57 commit a03b305
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,8 @@
},
"programming": {
"framework": {
"Fastapi": "FastAPI"
"Fastapi": "FastAPI",
"Graphql": "GraphQL"
},
"language": {
"Javascript": "JavaScript",
Expand Down
5 changes: 5 additions & 0 deletions diagrams/programming/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ class Flutter(_Framework):
_icon = "flutter.png"


class Graphql(_Framework):
_icon = "graphql.png"


class Laravel(_Framework):
_icon = "laravel.png"

Expand Down Expand Up @@ -67,3 +71,4 @@ class Vue(_Framework):
# Aliases

FastAPI = Fastapi
GraphQL = Graphql
2 changes: 1 addition & 1 deletion docs/nodes/onprem.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ Node classes list of onprem provider.
- **diagrams.onprem.monitoring.Dynatrace**
- **diagrams.onprem.monitoring.Grafana**
- **diagrams.onprem.monitoring.Humio**
- **diagrams.onprem.monitoring.Newrelic**
- **diagrams.onprem.monitoring.Nagios**
- **diagrams.onprem.monitoring.Newrelic**
- **diagrams.onprem.monitoring.PrometheusOperator**
- **diagrams.onprem.monitoring.Prometheus**
- **diagrams.onprem.monitoring.Sentry**
Expand Down
1 change: 1 addition & 0 deletions docs/nodes/programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Node classes list of programming provider.
- **diagrams.programming.framework.Fastapi**, **FastAPI** (alias)
- **diagrams.programming.framework.Flask**
- **diagrams.programming.framework.Flutter**
- **diagrams.programming.framework.Graphql**, **GraphQL** (alias)
- **diagrams.programming.framework.Laravel**
- **diagrams.programming.framework.Micronaut**
- **diagrams.programming.framework.Rails**
Expand Down
Binary file added resources/programming/framework/graphql.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a03b305

Please sign in to comment.