doc(graphs): add method documentation