Search notes:

Graphviz: cluster

A cluster is a subgraph whose ID starts with cluster_.

Labeling clusters

The label attribute labels a cluster. It has no effect, however, in subgraphs.
digraph L {

   subgraph {
   // This label has no effect:
      label = left
      L1 -> L2
   }

   subgraph cluster_R {
   // This label is in a cluster, so it
   // has an effect and labels the cluster:
      label = right
      R1 -> R2
   }
}
Github repository about-Graphviz, path: /elems/cluster/label.dot

Connecting clusters

An, imho, hackish way to connect clusters is to use the attributes compound, ltail and lhead.
See the demonstration under compound.

See also

Graphviz elements

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/tools/Gr...', 1759408304, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/tools/Graphviz/elems/cluster/index(69): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78