Graph: Add codo for clear() method