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

Wrong relative port position #4

Open
uruuru opened this issue Dec 30, 2017 · 0 comments
Open

Wrong relative port position #4

uruuru opened this issue Dec 30, 2017 · 0 comments

Comments

@uruuru
Copy link
Member

uruuru commented Dec 30, 2017

In the graph below, p1 is positioned wrongly. Its y-coordinate within the drawing is larger than the 30 specified in the model.
I couldn't observe the behavior in the eclipse context.

The graph:

algorithm: org.eclipse.elk.fixed

node n0 {
    elk.^position: "(10.0,60.0)"
}

node n1 {
    elk.^position: "(70, 50)"
    algorithm: org.eclipse.elk.fixed
    port p1 {
        layout [ size: 5,5  position: 0, 30]
    }
    node inner1 {
        elk.^position: "(20.0, 20.0)"
        algorithm: org.eclipse.elk.fixed

        node inner2 {
            layout [ size: 30, 30]
            algorithm: org.eclipse.elk.fixed
            elk.^position: "(30.0, 30.0)"
        }
        edge inner1 -> inner2 {
            elk.bendPoints: "(0, 30), (10, 30), (10, 45), (20, 45)"
        }
    }
    edge n1.p1 -> n1.inner1 {
        elk.bendPoints: "(0, 60), (10, 60), (10, 70), (20, 70)"
    }
}

edge n0 -> n1 {
    elk.bendPoints: "(40, 70), (60, 70), (60, 90), (70, 90)"
}
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

1 participant