added hierarchy (level)
Add graph expansion