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

Constraint support #28

Merged
merged 38 commits into from
Dec 15, 2020
Merged

Constraint support #28

merged 38 commits into from
Dec 15, 2020

Conversation

hasanbalci
Copy link
Contributor

Adds constraint support to fCoSE. Please note that the actual implementation of the constraint support is in cose-base repository. fCoSE just transfers the constraints to cose-base together with the draft layout and gets the final layout that satisfies constraints.

This improves the quality of the layout transfered to cose
and add transformation for alignment constraint
instead use adopted svd code
and some temporary files for testing + refactoring
and apply small changes on constraint demo
because spectral moves it to origin
Temporarily disable preserving overall graph position
if there are only alignment and rel. placement constraints, consider both types of constraints instead on considering only alignment
by bringing components back to original centers
apply reflection on largest component before actual transformation
instead of node and also remove most of the cy related code from constraintHandler
constraint handler moved to cose-base
svd and matrix functions moved to layout-base
use length during intersection check
Apply packing if there are at least two components
@hasanbalci hasanbalci merged commit 1299745 into unstable Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants