-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the ability to draw hypergraphs as a bipartite graph (#492)
* add bipartite layout * Update draw.py * update * remove unused imports * updates * fix import error * update with reduced functionality * Update draw.py * fix unit tests and functionality * removed unnecessary imports * removed references to old drawing function * formatting * add instructions * Update HOW_TO_CONTRIBUTE.md * Update developer.txt * add tests * fix api and documentation * updated changelog and upversion * Revert "updated changelog and upversion" This reverts commit a069b11. * updates * response to review * updated kernel * Update Tutorial 7 - Directed Hypergraphs.ipynb * updates * Update docs * Fix failing tests * Removed bad looking drawings * added unit tests and updated code to match * fixed a bug * response to review * Added explanatory comment * Update xgi/drawing/draw.py Co-authored-by: Maxime Lucas <maximelucas@users.noreply.github.com> * Update xgi/drawing/draw.py Co-authored-by: Maxime Lucas <maximelucas@users.noreply.github.com> * Update xgi/drawing/draw.py Co-authored-by: Maxime Lucas <maximelucas@users.noreply.github.com> * Response to review * Remove broken conventional commits link * Update Tutorial 5 - Plotting.ipynb * added and fixed tests * added documentation * Fixed colormap * fixed edge color issue. --------- Co-authored-by: Maxime Lucas <maximelucas@users.noreply.github.com>
- Loading branch information
1 parent
0f9be8d
commit 46f3be3
Showing
20 changed files
with
1,344 additions
and
553 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
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
19 changes: 9 additions & 10 deletions
19
docs/source/api/tutorials/In Depth 2 - Drawing hyperedges.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
224 changes: 94 additions & 130 deletions
224
docs/source/api/tutorials/In Depth 3 - Drawing DiHypergraphs.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 14 additions & 15 deletions
29
docs/source/api/tutorials/In Depth 4 - Drawing multilayer-style.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ | |
"import random\n", | ||
"\n", | ||
"import numpy as np\n", | ||
"import pandas as pd\n", | ||
"\n", | ||
"import xgi" | ||
] | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
42 changes: 27 additions & 15 deletions
42
docs/source/api/tutorials/Tutorial 7 - Directed Hypergraphs.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
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.