The Eclipse Graphical Language Server Platform (GLSP) is a framework for building web-based diagram editors. It comes with a native integration in Theia and is therefore a very good choice to augment your custom tools with graphical editors. See this article about diagram editors in Theia.