Skip to content

Commit

Permalink
Use the cluster attribute in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaines authored Jul 9, 2024
1 parent a1f3134 commit 04774ec
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/website/src/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const EXAMPLES = {
`,
"Clusters": `digraph {
node [shape=rect];
subgraph cluster1 {
subgraph {
cluster=true;
color=blue;
node [
shape=ellipse,
Expand All @@ -15,7 +16,8 @@ const EXAMPLES = {
];
a1 -> a2 -> a3;
}
subgraph cluster2 {
subgraph {
cluster=true;
bgcolor=lightgreen;
node [
shape=ellipse,
Expand Down

0 comments on commit 04774ec

Please sign in to comment.