W3cubDocs

/Graphviz

concentrate

If true, use edge concentrators

type: bool, default: false

This merges multiedges into a single edge and causes partially parallel edges to share part of their paths. The latter feature is not yet available outside of dot.
Only works for non-contiguous nodes.

Example
digraph {
    concentrate=true
    a -> b [label="1"]
    c -> b
    d -> b
}
Valid on:
  • Graphs

© 2025 The Graphviz Authors
Licensed under the Eclipse Public License 1.0.
https://www.graphviz.org/docs/attrs/concentrate/