Number: 964
Title: Double Label
Submitter:
Date: Fri Jun 16 09:29:28 2006
Subsys: Dot
Version:
System: *-*-
Severity: minor
Problem: A label defined in the main graph appears in the subgraph.
Input:
graph {
  label = "test";
  subgraph cluster0 {
     a
  }
}
Comments:
[erg] This is a language feature, in that subgraphs act as subclasses, so they inherit the attributes of the parent graph. This is sometimes desired behavior, and as the user's workaround shows, can be easily circumvented.
Fix:
Workaround:

graph { subgraph cluster0 { a } label = "test"; }
Owner: *
Status: Request