In WSO2 Stream Processor, widgets are treated as React components, and they are available as compiled, minified codes. Therefore, the source code of widgets is not human-readable. Due to this, they cannot be edited manually. To edit an existing widget, we need to get the source code, edit it and compiled again.
Editing widgets by editing the source code is not recommended because all the generated widgets are served by one central code base. Editing this code affects all the widgets, and this may cause errors when updating the product pack via WUM
You can delete an existing widget via the following API.