Making a game which uses code from the editor?

I currently maintain an addon for a sandbox game which adds digital logic circuits in order to let players, for example, build robots which move autonomously.

The Unreal Editor’s blueprint graph would be great for creating the logic circuits. If I were to port the game and addon to UE4, would it be legal for me to use some of the editor’s blueprint graph code and expose it to players in the game?