igraphviz: igraph plotting with Graphviz library

Description Usage Arguments Value Examples

View source: R/graph-plots.R

Description

A simple plotter of igrpah objects with RGraphviz. Nodes are labeled by their vertex names. For more complicated graphing is need, use Graphviz directly.

Usage

1
igraphviz(g, main = NULL)

Arguments

g

an igraph object.

main

character, the desired title of the graph. Default is NULL

Value

graphviz.plot returns invisibly the graph object produced by Rgraphviz.

Examples

1
2
3
4
g <- ba.game(20)
igraphviz(g)
g <- layer_DAGs(3, 4)
igraphviz(g)

robertness/lucy documentation built on May 27, 2019, 10:32 a.m.