Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow Diagram: use "forked" dagre #2178

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

josephjclark
Copy link
Contributor

This PR copies dagre's source dist file, makes a tiny change (basically this), and bundles it in the vendor folder.

It also tidies up some dependencies.

The result is increased stablity of layouts (less chart flipping when adding nodes)

@stuartc stuartc merged commit 8eacc59 into graph-workflows Jun 5, 2024
5 of 6 checks passed
@stuartc stuartc deleted the forked-dagre branch June 5, 2024 09:06
taylordowns2000 added a commit that referenced this pull request Jun 5, 2024
* workflow diagram: add basic dagre layout

* workflow-dialog: create dummy drag handlers

* workflow diagram: create new edge

* styling for interactions

* workflow-diagram: update drop target validation rules

* style tweak

* workflow-diagram: prevent invalid edges being created

Very suboptimal implementation, but it works

* tidy

* workfklow-diagram: fix edge positions

* workflow-diagram: tweak layout to look more like it did

* workflow-diagram: slightly better edge connection styling

* workflow-diagram: rough experiment with bezier edges

* edit: stub in path deletion button

* workflow-diagram: fixes to dagre layout

* workflow-diagram: tweak zoom padding

* workflow-diagram: give error feedback on hover

* workflow-diagram: adjust error styling

* workflow-diagram: add controls with autofit toggle

* workflow-diagram: tweak highlight styles

* workflow-diagram: change error message

* workflow-diagram: styling

* workflow-diagram: remove old stuff

* workflow-diagram: fix an issue where the edge icon prevented the handle getting a click

* workflow-diagram: move controls to bottom left

* workflow-diagram: simplify and improve error reporting

* delete edges (still needs tests & permissions)

* tests for edge deletion

* center the buttons

* handle style, cleanup assigns

* remove dupe

* unbreak my heart

* add dagre vendor file, tidy dependencies (#2178)

---------

Co-authored-by: Taylor Downs <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants