How can I develop my own editor using Cocos engine

Cocos Creator is too comprehensive for the projects I am targeting. I want to make a simpler editor, I want to make an editor based on visual programming like Buildbox, but is it more logical to download and edit an open source version of Cocos Creator or write an editor from scratch using cocos2d-x engine? What should I start by researching.