From 9f7cee5c253698f58e7e12f4f1b0d4261e593a28 Mon Sep 17 00:00:00 2001 From: erg Date: Thu, 17 Feb 2005 23:09:25 +0000 Subject: [PATCH] Fix bug in the use of the fixed attribute. This should not override settings within subgraphs. --- lib/graph/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/graph/parser.y b/lib/graph/parser.y index 5e40c88ef..b51169aa4 100644 --- a/lib/graph/parser.y +++ b/lib/graph/parser.y @@ -236,7 +236,7 @@ static void attr_set(char *name, char *value) ap = agfindattr(G->proto->e,name); if (ap == NULL) ap = agedgeattr(AG.parsed_g,name,defval); - else if (ap->fixed && In_decl) + else if (ap->fixed && In_decl && (G->root == G)) return; agxset(E,ap->index,value); break; -- 2.40.0