Subject: | Handling of \n, etc. in cluster names is incomplete |
While one can add \n, etc. to cluster labels, this causes the use of a cluster name which GraphViz.pm rejects as unacceptable. GraphViz.pm substitutes a random name (breaking fdp layouts).
The current logic is surrounding cluster names and labels is
$name = $cluster->{label}
$name = $cluster->{name} unless defined $name
This seems broken (it acts like name and label are almost interchangeable attributes with the undocumented one, "label", preferred!) A more useful logic would be:
$name = $cluster->{name}
$label= $cluster->{label}
$name = $cluster->{label} unless defined $name
$label = $cluster->{name} unless defined $label
You get the idea . . . .
If nothing else, I should be able to specify both label and name attributes and not have one obliterate the other . . .
thanks!
Heather