oneblock

Whether to draw circo graphs around one circle.

type: bool, default: false

Observe two examples of rendering the same graph:

Example: Multiple Blocks
digraph G {
    layout="circo"
    oneblock=false

    N0 -> N1
    N1 -> N2
    N2 -> N3
    N3 -> N4
    N4 -> N0
    
    N4 -> N5
    N5 -> N6
    N6 -> N7
    N7 -> N8
    N8 -> N5
}
Example: One Block
digraph G {
    layout="circo"
    oneblock=true

    N0 -> N1
    N1 -> N2
    N2 -> N3
    N3 -> N4
    N4 -> N0
    
    N4 -> N5
    N5 -> N6
    N6 -> N7
    N7 -> N8
    N8 -> N5
}
Valid on:
  • Graphs

Note: circo only.

Search the Graphviz codebase for "oneblock"

Last modified September 26, 2022: Add docs and examples for oneblock attribute (482f1bb)