liesel.model.viz.plot_nodes
liesel.model.viz.plot_nodes#
- 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.
- Parameters
model – The model to be plotted.
show – Whether to show the plot in a new window.
save_path – Path to save the plot. If not provided, the plot will not be saved.
width – Width of the plot in inches.
height – Height of the plot in inches.
prog – Layout parameter. Available layouts: circo, dot (the default), fdp, neato, osage, patchwork, sfdp, twopi.