graph/encoding/dot: allow unmarshaling of global attributes
Created by: kortschak
Fixes #57 (closed).
@mewmew Please take a look.
Working on this has prompted some thinking. There is a discordance between the interfaces provided for marshaling versus unmarshaling. It would be nice if we could harmonise them - this would be API breaking.