Updated parser to get nodes and edges' attributes.