A regular expression turn to space tree view --ask for help

A regular expression turn to space tree view --ask for help

Dear All,

     We have been using Jquery for some time,Now we want to find a way to realize  regular expression

 turn to a spacetree view for show up and edit

 
we need some help!

for example:


a regular expression as :

IF(SUMIF(G3:H16,>20,G3:H16),B3,SUM(1,{1,2,3}))


turn to spacetree or call mind-mapping view as: