Added initial support for adding attributes to each node of the graph