Number: 305
Title: Attributes lost when writing in agraph
Submitter: Emden R. Gansner
Date: Mon Jun 16 17:33:38 2003
Subsys: Lib(a)graph
Version: 1.9
System: *-*-
Severity: major
Problem:
Doing

g = agread (stdin, &AgDefaultDisc); agwrite (g, stdout);

on the input graph produces the output graph, where attributes set in the subgraph are lost.
Input:

graph G {
  subgraph {
    node [color=blue]
    c
    b
    e
  }
  a -- b
  a -- c
  e -- c
}
Output file: b305.dot
Owner: north
Status: Fixed (19 June 2003)