Plot a maze's graph.
1 2 3 4 |
g |
graph with maze structure. |
layout |
layout (default taken from g$layout). |
labels |
logical; whether to plot node labels. |
edge.color |
color used for edges. |
vertex.color |
color used for node borders. |
vertex.fill |
color used for nodes. |
vertex.size |
node size. |
vertex.label.color |
color used for node labels. |
vertex.label.size |
size used for node labels. |
path.show |
logical; whether to show the path between two nodes. |
path.start |
path starting node. |
path.end |
path end node. |
... |
extra arguments passed down to geom_segment(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.