Fixed hpp attribute table.
Updated hpp write_graph for API change.