Revert build as node and set in _init

pull/1039/head
tessier 10 months ago
parent c521866ded
commit 312971ea1c

@ -10,3 +10,7 @@ class _AlibabaCloud(Node):
_icon_dir = "resources/alibabacloud"
fontcolor = "#ffffff"
class AlibabaCloud(_AlibabaCloud):
_icon = "alibabacloud.png"

@ -10,3 +10,7 @@ class _AWS(Node):
_icon_dir = "resources/aws"
fontcolor = "#ffffff"
class AWS(_AWS):
_icon = "aws.png"

@ -10,3 +10,7 @@ class _Azure(Node):
_icon_dir = "resources/azure"
fontcolor = "#ffffff"
class Azure(_Azure):
_icon = "azure.png"

@ -10,3 +10,7 @@ class _DigitalOcean(Node):
_icon_dir = "resources/digitalocean"
fontcolor = "#ffffff"
class DigitalOcean(_DigitalOcean):
_icon = "digitalocean.png"

@ -10,3 +10,7 @@ class _Elastic(Node):
_icon_dir = "resources/elastic"
fontcolor = "#ffffff"
class Elastic(_Elastic):
_icon = "elastic.png"

@ -10,3 +10,7 @@ class _Firebase(Node):
_icon_dir = "resources/firebase"
fontcolor = "#ffffff"
class Firebase(_Firebase):
_icon = "firebase.png"

@ -10,3 +10,7 @@ class _GCP(Node):
_icon_dir = "resources/gcp"
fontcolor = "#2d3436"
class GCP(_GCP):
_icon = "gcp.png"

@ -10,3 +10,7 @@ class _Generic(Node):
_icon_dir = "resources/generic"
fontcolor = "#ffffff"
class Generic(_Generic):
_icon = "generic.png"

@ -10,3 +10,7 @@ class _IBM(Node):
_icon_dir = "resources/ibm"
fontcolor = "#ffffff"
class IBM(_IBM):
_icon = "ibm.png"

@ -10,3 +10,7 @@ class _K8S(Node):
_icon_dir = "resources/k8s"
fontcolor = "#2d3436"
class K8S(_K8S):
_icon = "k8s.png"

@ -10,3 +10,7 @@ class _OCI(Node):
_icon_dir = "resources/oci"
fontcolor = "#312D2A"
class OCI(_OCI):
_icon = "oci.png"

@ -10,3 +10,7 @@ class _OnPrem(Node):
_icon_dir = "resources/onprem"
fontcolor = "#ffffff"
class OnPrem(_OnPrem):
_icon = "onprem.png"

@ -10,3 +10,7 @@ class _OpenStack(Node):
_icon_dir = "resources/openstack"
fontcolor = "#ffffff"
class OpenStack(_OpenStack):
_icon = "openstack.png"

@ -6,3 +6,7 @@ class _Outscale(Node):
_icon_dir = "resources/outscale"
fontcolor = "#ffffff"
class Outscale(_Outscale):
_icon = "outscale.png"

@ -10,3 +10,7 @@ class _Programming(Node):
_icon_dir = "resources/programming"
fontcolor = "#ffffff"
class Programming(_Programming):
_icon = "programming.png"

@ -10,3 +10,7 @@ class _Saas(Node):
_icon_dir = "resources/saas"
fontcolor = "#ffffff"
class Saas(_Saas):
_icon = "saas.png"

@ -5,12 +5,6 @@ title: AlibabaCloud
Node classes list of the alibabacloud provider.
## alibabacloud.alibabacloud
<img width="30" src="/img/resources/alibabacloud/alibabacloud.png" alt="AlibabaCloud" style="float: left; padding-right: 5px;" >
**diagrams.alibabacloud.alibabacloud.AlibabaCloud**
## alibabacloud.analytics

@ -104,12 +104,6 @@ Node classes list of the aws provider.
<img width="30" src="/img/resources/aws/ar/sumerian.png" alt="Sumerian" style="float: left; padding-right: 5px;" >
**diagrams.aws.ar.Sumerian**
## aws.aws
<img width="30" src="/img/resources/aws/aws.png" alt="AWS" style="float: left; padding-right: 5px;" >
**diagrams.aws.aws.AWS**
## aws.blockchain

@ -44,12 +44,6 @@ Node classes list of the azure provider.
<img width="30" src="/img/resources/azure/analytics/synapse-analytics.png" alt="SynapseAnalytics" style="float: left; padding-right: 5px;" >
**diagrams.azure.analytics.SynapseAnalytics**
## azure.azure
<img width="30" src="/img/resources/azure/azure.png" alt="Azure" style="float: left; padding-right: 5px;" >
**diagrams.azure.azure.Azure**
## azure.compute

@ -47,12 +47,6 @@ Node classes list of the digitalocean provider.
<img width="30" src="/img/resources/digitalocean/database/dbaas-standby.png" alt="DbaasStandby" style="float: left; padding-right: 5px;" >
**diagrams.digitalocean.database.DbaasStandby**
## digitalocean.digitalocean
<img width="30" src="/img/resources/digitalocean/digitalocean.png" alt="DigitalOcean" style="float: left; padding-right: 5px;" >
**diagrams.digitalocean.digitalocean.DigitalOcean**
## digitalocean.network

@ -47,12 +47,6 @@ Node classes list of the elastic provider.
<img width="30" src="/img/resources/elastic/beats/winlogbeat.png" alt="Winlogbeat" style="float: left; padding-right: 5px;" >
**diagrams.elastic.beats.Winlogbeat**
## elastic.elastic
<img width="30" src="/img/resources/elastic/elastic.png" alt="Elastic" style="float: left; padding-right: 5px;" >
**diagrams.elastic.elastic.Elastic**
## elastic.elasticsearch

@ -41,12 +41,6 @@ Node classes list of the firebase provider.
<img width="30" src="/img/resources/firebase/extentions/extensions.png" alt="Extensions" style="float: left; padding-right: 5px;" >
**diagrams.firebase.extentions.Extensions**
## firebase.firebase
<img width="30" src="/img/resources/firebase/firebase.png" alt="Firebase" style="float: left; padding-right: 5px;" >
**diagrams.firebase.firebase.Firebase**
## firebase.grow

@ -146,12 +146,6 @@ Node classes list of the gcp provider.
<img width="30" src="/img/resources/gcp/devtools/tools-for-visual-studio.png" alt="ToolsForVisualStudio" style="float: left; padding-right: 5px;" >
**diagrams.gcp.devtools.ToolsForVisualStudio**
## gcp.gcp
<img width="30" src="/img/resources/gcp/gcp.png" alt="GCP" style="float: left; padding-right: 5px;" >
**diagrams.gcp.gcp.GCP**
## gcp.iot

@ -32,12 +32,6 @@ Node classes list of the generic provider.
<img width="30" src="/img/resources/generic/device/tablet.png" alt="Tablet" style="float: left; padding-right: 5px;" >
**diagrams.generic.device.Tablet**
## generic.generic
<img width="30" src="/img/resources/generic/generic.png" alt="Generic" style="float: left; padding-right: 5px;" >
**diagrams.generic.generic.Generic**
## generic.network

@ -323,12 +323,6 @@ Node classes list of the ibm provider.
<img width="30" src="/img/resources/ibm/general/transformation-connectivity.png" alt="TransformationConnectivity" style="float: left; padding-right: 5px;" >
**diagrams.ibm.general.TransformationConnectivity**
## ibm.ibm
<img width="30" src="/img/resources/ibm/ibm.png" alt="IBM" style="float: left; padding-right: 5px;" >
**diagrams.ibm.ibm.IBM**
## ibm.infrastructure

@ -104,12 +104,6 @@ Node classes list of the k8s provider.
<img width="30" src="/img/resources/k8s/infra/node.png" alt="Node" style="float: left; padding-right: 5px;" >
**diagrams.k8s.infra.Node**
## k8s.k8s
<img width="30" src="/img/resources/k8s/k8s.png" alt="K8S" style="float: left; padding-right: 5px;" >
**diagrams.k8s.k8s.K8S**
## k8s.network

@ -344,12 +344,6 @@ Node classes list of the oci provider.
<img width="30" src="/img/resources/oci/network/vcn.png" alt="Vcn" style="float: left; padding-right: 5px;" >
**diagrams.oci.network.Vcn**
## oci.oci
<img width="30" src="/img/resources/oci/oci.png" alt="OCI" style="float: left; padding-right: 5px;" >
**diagrams.oci.oci.OCI**
## oci.security

@ -482,12 +482,6 @@ Node classes list of the onprem provider.
<img width="30" src="/img/resources/onprem/network/zookeeper.png" alt="Zookeeper" style="float: left; padding-right: 5px;" >
**diagrams.onprem.network.Zookeeper**
## onprem.onprem
<img width="30" src="/img/resources/onprem/onprem.png" alt="OnPrem" style="float: left; padding-right: 5px;" >
**diagrams.onprem.onprem.OnPrem**
## onprem.proxmox

@ -119,12 +119,6 @@ Node classes list of the openstack provider.
<img width="30" src="/img/resources/openstack/nfv/tacker.png" alt="Tacker" style="float: left; padding-right: 5px;" >
**diagrams.openstack.nfv.Tacker**
## openstack.openstack
<img width="30" src="/img/resources/openstack/openstack.png" alt="OpenStack" style="float: left; padding-right: 5px;" >
**diagrams.openstack.openstack.OpenStack**
## openstack.optimization

@ -35,12 +35,6 @@ Node classes list of the outscale provider.
<img width="30" src="/img/resources/outscale/network/site-to-site-vpng.png" alt="SiteToSiteVpng" style="float: left; padding-right: 5px;" >
**diagrams.outscale.network.SiteToSiteVpng**
## outscale.outscale
<img width="30" src="/img/resources/outscale/outscale.png" alt="Outscale" style="float: left; padding-right: 5px;" >
**diagrams.outscale.outscale.Outscale**
## outscale.security

@ -119,12 +119,6 @@ Node classes list of the saas provider.
<img width="30" src="/img/resources/saas/recommendation/recombee.png" alt="Recombee" style="float: left; padding-right: 5px;" >
**diagrams.saas.recommendation.Recombee**
## saas.saas
<img width="30" src="/img/resources/saas/saas.png" alt="Saas" style="float: left; padding-right: 5px;" >
**diagrams.saas.saas.Saas**
## saas.security

@ -89,8 +89,10 @@ def generate(pvd: str) -> None:
pngs = list(filter(lambda f: f.endswith(".png"), files))
paths = list(filter(lambda f: "rounded" not in f, pngs))
# Build the provider itself.
# Skip the top-root directory.
typ = os.path.basename(root)
if typ == pvd:
continue
resource_root = os.path.relpath(root, base)
classes = gen_classes(pvd, typ, paths)

Loading…
Cancel
Save