Use electron as editor for my game engine

Hi guys,
Sorry if this is duplicate question, I have C++ game engine with support for DirectX11, DirectX12, Vulkan, OpenGL etc and I would like to use electron as editor UI for my editor, how would I integrate my native backend inside electron? How about communication? Native->Electron, Electron-> Native?

Thanks in advance

You can wrap your native backend as a pepper plugin, more information can refer to this tick.