Building an infinite canvas to place REs (not drawing)?

Has anyone seen / made an app with an ‘infinite’ canvas that can have REs added? Imagine Miro/Figjam with a ‘unlimited’ sized space and then placing REs and connecting lines (I can do this bit).

Note: not a drawing app, but instead more like an infinite kanban / brainstorm or mindmap tool. Using only a managed shape / object (hence RE) and then placed on a canvas with unidirectional scrolling and, most likely, is not made of nested RGs.

I’ve got some of this sussed and thinking a solution is a HTML canvas element and, potentially, a renderer that converts database objects into JSON to then show on the canvas element, but this doesn’t feel great.