handling local graph elements