Sample JavaScript code for Workflow feature, displaying elements from an input array based on specified attributes. Each element can be visually connected to other elements in a hierarchical structure through draggable anchor points between nodes.
An extension feature you can add is defining elements by types such as logic, timer, console.log, alert, OpenAI, GoogleSheet, etc. For each type, handle logic code to create no-code applications. Examples include totaljs flow, Microsoft automate, n8n.io, etc.
Note: I do not support reinventing the wheel. However, for some less complex applications that require only a few features, using external libraries might not be necessary. In such cases, custom coding is lightweight and easier to manage. For example, I developed custom classes for modules and plugins I’m selling on Envato, such as PolyTourGuide and PolyWidgets, to implement this feature.

 HTML

 CSS

 JavaScript