About to modify pointcloud to be a general graph type with different primitives such as lines and points