-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add vertex positions argument to cage topologies (#513)
This commit will add a `vertex_positions` argument to cage topology graphs. This allows the users to overwrite the scaling and positioning of any vertex (using a similar `dict[int, position]` format as the `vertex_alignments` arguments). It will not work for `OnePlusOne` graph currently because of strict edge positioning. Indeed. some choices in the code changes stem from me trying to avoid editing code outside of the cage namespace. A few type hints were added too on any file I edited. I have added tests for a few cage graphs, but fundamentally it is hard to test the success or failure of this except for consistency, which I believe is working.
- Loading branch information
1 parent
9242c29
commit 5dca2b9
Showing
48 changed files
with
1,212 additions
and
647 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.