A simple plot method to quickly visualize a graph. This is intended mainly for simple visualization purposes and not as a full-fledged graph drawing function.

1 2 3 4 5 6 7 8 |

`x` |
the input graph, a DAG, MAG, or PDAG. |

`abbreviate.names` |
logical. Whether to abbreviate variable names. |

`show.coefficients` |
logical. Whether to plot coefficients defined in the graph syntax on the edges. |

`adjust.coefficients` |
numerical. Adjustment for coefficient labels; the distance between the edge labels and the midpoint of the edge can be controlled using this paramer. Can also be a vector of 2 numbers for separate horizontal and vertical adjustment. NA means no adjustment (default). |

`...` |
not used. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.