PrefectHQ / graphs

Large scale graphs designed for Prefect
Apache License 2.0
9 stars 1 forks source link

Subflow states #440

Closed brandonreid closed 8 months ago

brandonreid commented 8 months ago

Removes the border that was once used to distinguish subflows and renders it's state in time when expanded. The main flow does not render a "shadow" of the state for "Running", as that's where most of the nodes will be, but subflows do as it helps define the surface area of the subflows.

image

Example from the demo app, a little janky just because of the way we recursively get dummy data (not realistic): https://github.com/PrefectHQ/graphs/assets/6776415/f5973fda-7434-4291-8b83-4af4f6029e72

Because the state shadow uses a level of alpha that's pretty low (10%), it actually stacks fairly nicely when expanding deeply nested subflows.

Screenshot 2024-03-07 at 7 20 55 AM
netlify[bot] commented 8 months ago

Deploy Preview for prefect-graphs ready!

Name Link
Latest commit 10b6c7965bdd38cedbcc31f93cdc04a8425e4959
Latest deploy log https://app.netlify.com/sites/prefect-graphs/deploys/65e9c5373fcdef0008e7a98d
Deploy Preview https://deploy-preview-440--prefect-graphs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.