diff --git a/diagrams/generic/network.py b/diagrams/generic/network.py index 7b9a9ee..40367ef 100644 --- a/diagrams/generic/network.py +++ b/diagrams/generic/network.py @@ -16,6 +16,10 @@ class Router(_Network): _icon = "router.png" +class Subnet(_Network): + _icon = "subnet.png" + + class Switch(_Network): _icon = "switch.png" diff --git a/docs/nodes/generic.md b/docs/nodes/generic.md index 785e141..8e4249a 100644 --- a/docs/nodes/generic.md +++ b/docs/nodes/generic.md @@ -26,6 +26,7 @@ Node classes list of generic provider. - **diagrams.generic.network.Firewall** - **diagrams.generic.network.Router** +- **diagrams.generic.network.Subnet** - **diagrams.generic.network.Switch** - **diagrams.generic.network.VPN** diff --git a/resources/generic/network/subnet.png b/resources/generic/network/subnet.png new file mode 100644 index 0000000..2808968 Binary files /dev/null and b/resources/generic/network/subnet.png differ