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

Extract connection placement into separate functions #2547

Conversation

rachel-fenichel
Copy link
Collaborator

Part of making multi-block tests pass is getting the connections to be placed right.

This mostly preserves the previous code, but pulled out so that we can easily compare (e.g.) previous and next placement.

@rachel-fenichel
Copy link
Collaborator Author

Actually moving the connections and tightening connections is done with an existing call to renderMoveConnections in BlockSvg, so this just has to tell them where to be relative to the top left corner of the block.

@rachel-fenichel rachel-fenichel merged commit 8708e79 into google:render/collab Jun 5, 2019
@rachel-fenichel rachel-fenichel deleted the render/connection_location branch June 5, 2019 21:54
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