Simple in-game visual scripting

I am not trying to create a programming language, at first i am trying to make a fairly simple simulator with these blocks: start -> motor on -> if(something) ->motor off | and only one of each block. The player should be able to move these blocks around and connect them. That shouldn’t take me 10 years. (at least i hope so)