get graph data via websockets