2D and 3D scene graph library