diff --git a/docs/diagram.html b/docs/diagram.html index 0845afea..15728daa 100644 --- a/docs/diagram.html +++ b/docs/diagram.html @@ -86,16 +86,16 @@ with Diagram("Simple Diagram", show=False): EC2("web") -
If you are familiar with Graphviz, you can customize the diagrams with Graphviz attribute config options.
+It allows custom Graphviz dot attributes options.
-+
graph_attr
,node_attr
andedge_attr
are allowed. Here is a reference link.
graph_attr
,node_attr
andedge_attr
are supported. Here is a reference link.
from diagrams import Diagram
from diagrams.aws.compute import EC2
graph_attr = {
"fontsize": 45,
- "bgcolor": "transparent"
+ "bgcolor": "transparent"
}
with Diagram("Simple Diagram", show=False, graph_attr=graph_attr):
diff --git a/docs/diagram/index.html b/docs/diagram/index.html
index 0845afea..15728daa 100644
--- a/docs/diagram/index.html
+++ b/docs/diagram/index.html
@@ -86,16 +86,16 @@
with Diagram("Simple Diagram", show=False):
EC2("web")
-If you are familiar with Graphviz, you can customize the diagrams with Graphviz attribute config options.
+It allows custom Graphviz dot attributes options.
-+
graph_attr
,node_attr
andedge_attr
are allowed. Here is a reference link.
graph_attr
,node_attr
andedge_attr
are supported. Here is a reference link.
from diagrams import Diagram
from diagrams.aws.compute import EC2
graph_attr = {
"fontsize": 45,
- "bgcolor": "transparent"
+ "bgcolor": "transparent"
}
with Diagram("Simple Diagram", show=False, graph_attr=graph_attr):