Disabling flows in node-red

Hi, I was exploring Node-red editor and was checking if there is an option to disable adding additional flows in the editor

I just wanted to have an option such that only one flow tab should be able to create

You may disable the (whole) editor by a flag in settings.js - but there's no (obvious) way implemented to restrict the number of flows to == 1.

Disabling whole editor will not show anything, so there is no option to restrict the number of flow tabs to just one?

No, there is no such option currently.