Get the list of form fields and their ids in form editor page

Hi
I am working on an add-on that works through the gravity forms edit page.
In some parts of this add-on, I need to get the list of form fields and their ids and create a select input from these data (like the way we see the list of field in the conditional logic section).
How can I achieve this?

Thank you