Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 458 Bytes

Command-SubGraph.md

File metadata and controls

16 lines (12 loc) · 458 Bytes

SubGraph

This allows you to define a graph within the graph. This will group those objects together in some engines.

 graph {
    subgraph -Attributes @{label='DMZ'} {
        node web1,web2,reports
        edge report -To web1,web2
    }        
    edge loadBalancer -To web1,web2
    edge user -To loadBalancer,report
    edge web1,web2,report -To database
}

Source