liesel.model.viz.plot_nodes(model, show=True, save_path=None, width=14, height=10, prog='dot')[source]#

Plots the nodes of a Liesel model.

  • model – The model to be plotted.

  • show – Whether to show the plot in a new window. (default: True)

  • save_path – Path to save the plot. If not provided, the plot will not be saved. (default: None)

  • width – Width of the plot in inches. (default: 14)

  • height – Height of the plot in inches. (default: 10)

  • prog – Layout parameter. Available layouts: circo, dot (the default), fdp, neato, (default: 'dot') osage, patchwork, sfdp, twopi.