Number: 1872
Title: Edges not concentrated with clusters
Submitter: Ben White
Date: Mon Feb 1 10:35:50 2010
Subsys: Dot
Version: 2.27
System: *-*-
Severity: minor
Problem:
I'm trying to simplify some complex graphs and it seemed like using concentrate=true would do the job.

However, I'm also trying to cluster some particular nodes, which appears to stop the concentrate from performing it's edge merging.

Examples that shows this are:


digraph foo {
 graph [concentrate=true]
 a -> c -> d
 b -> c -> d
}

Compared with:


digraph bar {
 graph [concentrate=true]
 a -> c -> d
 b -> c -> d
 subgraph cluster_baz {
  d
 }
}

Is this intended behaviour? If so can anyone suggest a workaround, or another way to edge-merge towards nodes inside clusters?
Input:

digraph bar {
 graph [concentrate=true]
 a -> c -> d
 b -> c -> d
 subgraph cluster_baz {
  d
 }
}
Comments:
No, I believe the edges should be the same in both. A simple workaround in this case would be to declare the graph strict:

strict digraph bar { ...
Owner: *
Status: *