delete complex graph