How to convert connection flow into JS logic

Now only JSON can be transformed,How to convert connection flow into JS logic

Welcome to the forum @Dycle

What do you mean by connection flow?