in-memory 2D graph