graph nodes manipulation