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

Nodes changing places between starts #291

Closed
NiklasVJM opened this issue Jul 21, 2021 · 1 comment
Closed

Nodes changing places between starts #291

NiklasVJM opened this issue Jul 21, 2021 · 1 comment

Comments

@NiklasVJM
Copy link

Hi!

I was using this tool, and tried to create this kind of small headers for my little diagram(using the SetNodeBoundary -method, but setting the drawingNode.Label.GeometryLabel.Width = 500 or so, to extend the node's area.

I set the new center point to them after using the SetNodeBoundary() -example. However, I found out, that after every restart, all of the nodes are shifting, and this causes the "header" node to not be in the same place every time despite giving it a new Point(x,y) coordinates.

Do you know why is this happening? Attached is a photo to illustrate this. There is one debugging restart between (1) and (2), and I have changed nothing between starts. Circle sizes are the same, but due to cropping, it looks a little smaller.
testThingy

@NiklasVJM
Copy link
Author

Never mind! I found the problem, and that was me who forgot another method making "magic" at the background.

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