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

Stacking snake lines #351

Open
flo-dup opened this issue Feb 15, 2022 · 1 comment
Open

Stacking snake lines #351

flo-dup opened this issue Feb 15, 2022 · 1 comment

Comments

@flo-dup
Copy link
Contributor

flo-dup commented Feb 15, 2022

  • Do you want to request a feature or report a bug?
    Feature

  • What is the current behavior?
    There's always layoutParam.getVerticalSnakeLinePadding() between two consecutive snake lines between voltage levels, even if no crossing would occur.

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
    See the example of the tutorial, the two first snake lines above could be at the same ordinate, leading to a more compact diagram.

screenshot

  • What is the expected behavior?
    Two snake lines which do not overlap could be at the same ordinate,

  • What is the motivation / use case for changing the behavior?
    More compact diagram

  • Other information
    A way to do it could be to know which are the "slots" available, in fact it reminds me of the skyline problem, maybe the similarity could help finding a nice algorithm?

@BenoitJeanson
Copy link
Contributor

There is an algo that does something similar for internCells in BlockPositionner:InternCellsLanes::arrangeLanes
inspiration or reuse?

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

No branches or pull requests

2 participants