pygambit.gambit.layout_tree#
- pygambit.gambit.layout_tree(game: Game) TreeLayout#
Computes the layout of game’s tree for graphical display.
Changed in version 17.0.0: Returns a TreeLayout (History-keyed) instead of a dict[Node, NodeCoordinates].
- Parameters:
game (Game) – The game whose tree layout to compute.
- Returns:
The layout of game’s tree.
- Return type:
