Plotting functionality uses plot_model
makes use of the
Sugiyama layout from igraph which plots nodes to reflect their position
in a causal ordering.
The plot
method calls plot_model
and passes
provided arguments to it.
The model that is produced is a ggplot
object and
additional layers can be added in the usual way.
Provide labels in the same order as model nodes.
You can manually set positions using the x_coord
and
y_coord
arguments.
You can manually set positions using the x_coord
and
y_coord
arguments.
You can manually control node color and text color for all nodes together or separately.
Unobserved confounding is represented using dashed curves.