vmware-archive / octant

Highly extensible platform for developers to better understand the complexity of Kubernetes clusters.
https://octant.dev
Apache License 2.0
6.28k stars 486 forks source link

Add Workflow Component #1145

Open wwitzel3 opened 4 years ago

wwitzel3 commented 4 years ago

Describe the problem/challenge you have Add a component that allows you to visualize a DAG (directed acyclic graph) workflow.

We currently have cytoscape.js, we can look at using the dagre extension for cyctoscape to build a workflow visualization component.

Considerations:

Resources:

Deliverable:

wwitzel3 commented 4 years ago

This would be driven by an eventing system and be able to perform actions that other custom resources implement on top of that eventing.

Think knative / tekton

image

wwitzel3 commented 4 years ago

We may want to convert this to an epic and build the various the component features in stages to enable viewing first, then interactions.

mklanjsek commented 4 years ago

Since workflow topology doesn't map to a binary tree structure, I am not sure dagre is the best choice for this, something more like breadthfirst might work better.

Here is a good overview of different layouts supported in cytoscape: https://blog.js.cytoscape.org/2020/05/11/layouts/

lenriquez commented 3 years ago

Do we have to add anything for the JS plugins?