Added a get_node_attribute method to retrieve a single attribute from a graph node