opensearch-project / dashboards-flow-framework

A UI designer for constructing AI applications with OpenSearch
Apache License 2.0
5 stars 4 forks source link

Add initial logic to generate ReactFlow workspace #160

Closed ohltyler closed 1 month ago

ohltyler commented 1 month ago

Description

This PR sets up the basic conversion logic to generate the ReactFlow workspace's nodes/edges based on a WorkflowConfig. As an example, given a config with ingest processors defined under ingest.enrich, UI will generate a Transformer component and connect it between the initial request, and the index, to visualize the data flow. Example in screenshot below.

More specifics:

Screenshot:

Screenshot

Issues Resolved

Makes progress on #23

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.