Skip to content

fix: types of Hierarchical and Swimlane Layout - #124

Merged
tbouffard merged 4 commits into
maxGraph:developmentfrom
mayorovad:issue-96
Oct 9, 2022
Merged

fix: types of Hierarchical and Swimlane Layout#124
tbouffard merged 4 commits into
maxGraph:developmentfrom
mayorovad:issue-96

Conversation

@mayorovad

Copy link
Copy Markdown

Summary
This is fix for part of #96. Added interfaces for traverse function of GraphLayout, HierarchicalLayout and SwimlaneLayout, which fixed typescript build error.

Description for the changelog
Fixes issue #96 regarding HierarchicalLayout and SwimlaneLayout

Other info
Swimlane story still not working 😿

@tbouffard tbouffard added the bug Something isn't working label Oct 9, 2022
These types are only used in the layout classes, so keep them located closed in the folder where they are used.

@tbouffard tbouffard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks @mayorovad for you work
I moved the types to a file in the layout folder and apply prettier to the code.
I also updated the README to remove the skipLibCheck configuration which is not needed anymore.

I let this PR opened to let you see the changes I proposed. If this is ok for you, then I will merge it quickly. Otherwise, let's discuss and find an agreement 😸

@mayorovad

Copy link
Copy Markdown
Author

Thanks for changes @tbouffard ! I think it's much better now ✔️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants