Skip to content
Commit 182e4de7 authored by Milian Wolff's avatar Milian Wolff
Browse files

An attribute ID is not allowed for subgraph. But graph in subgraph can have it's own ID.

For example this file has syntax error in it:
digraph "unnamed" {
graph [fontsize="11",id="unnamed"]
subgraph cluster_X1  {id="cluster_X1",label="X1",cluster_X1_T1_1
[comment="T1",fontsize="10",id="cluster_X1_T1_1",label="T1",name="T1"];
}
}

While this one is correct:
digraph "unnamed" {
graph [fontsize="11",id="unnamed"]
subgraph cluster_X1  {
graph[id="cluster_X1",label="X1"]
cluster_X1_T1_1
[comment="T1",fontsize="10",id="cluster_X1_T1_1",label="T1",name="T1"];
}
}

REVIEW: 102968

Many thanks to Ivan Brezina for this patch
parent 8d849e7b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment