Don't escape contents of <graph> manually
Don't say 'attribute' in attribute-related blocks
Make edges proper objects
Add 'number of edges' reporter