Requested enahancement or feature
In PyGambit you can do:
import pygambit as gbt
g = gbt.read_nfg("somegame.nfg")
g.to_latex()
It would be useful to have a feature in drawTree that can render that LaTeX produced, which we can use within the Gambit catalog and documentation to neatly display normal form games.
It should work like:
from draw_tree import draw_tree
draw_tree(g.to_latex())
... or rather just draw_tree(g) but it calls to_latex under the hood if it realises it is a normal form game
TODO:
Requested enahancement or feature
In PyGambit you can do:
It would be useful to have a feature in drawTree that can render that LaTeX produced, which we can use within the Gambit catalog and documentation to neatly display normal form games.
It should work like:
... or rather just
draw_tree(g)but it callsto_latexunder the hood if it realises it is a normal form gameTODO:
to_latex- could be done for html too - this could also be a future refactor - could open a gambit issue, but usedraw_treein #874