KaotoIO / kaoto

Next version of the UI of the Kaoto project
Apache License 2.0
22 stars 21 forks source link

Reusable Visualisation #472

Open mmelko opened 7 months ago

mmelko commented 7 months ago

Please describe the feature that you want to propose

It'd be nice to being able to reuse existing canvas in the hawtio to retain the consistent look and feel from design time to runtime/debug.

Considering current state of kaoto and hawtio one of the easiest ways could be to share only the canvas with icons and keep the logic of parsing the running routes and creating nodes and edges on the hawtio side.

lordrip commented 7 months ago

In kaoto-next we have the following layers:

  1. Camel Resource (
  2. Camel Visual Entity (might be an individual Camel Route, the flow part of a Kamelet or Pipe)
  3. VisualizationNodes (Represent the flow tree)
  4. Canvas nodes (Canvas nodes, representing their underlying VIsualization nodes)

(4) is what's closer to the Canvas itself.

The first thing to identify is at which level we want to integrate.

lordrip commented 7 months ago

This is also waiting for HawtIO patternfly upgrade to v5