Conversation
…e server when doing local development to docs
…link to the team page
|
In PR #631 I have now provisionally refactored the 'classic Gambit' tree layout algorithm and made it available provisionally in Python. There's a new function This function isn't yet documented as it's probably premature to commit to anything more specific as far as what layout might look like! If this looks like it would be good for what you need @edwardchalstrey1 I can squash and merge so you can experiment with getting it integrated into this work. |
Thanks @tturocy - if you prefer not to merge #631 into master yet I can merge that branch into this one in order to get the changes here anyway. Need to update this branch with the changes on master anyway |
draw tree todosBest approach would be to pass a game object from pygambit to draw_tree and whilst pygambit is not a requirement of draw_tree (since we don't need it to draw .ef files that already have layout encoded), using the gambit layout functionality does require it and throws an error if pygambit is not installed.
Idea 1: interoperability handled by draw_tree. Resulting notebook code: draw_tree(g)
g.to_ef("game.ef")
draw_tree("game.ef")
Edit: sticking with idea 1 above |
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
Closing this PR, will open a new one |
See todo list in #552
Pre-requisite PR:
See: https://gambitproject--576.org.readthedocs.build/en/576/tutorials/03_poker.html