Description Usage Arguments Details Value Note Author(s) References See Also Examples
Prints a representation of the graph.
1 2 | ## S3 method for class 'mathgraph'
print(x, prefix.node = if (is.character(xu)) "" else "node", ...)
|
x |
an object inheriting from mathgraph which represents a mathematical graph. |
prefix.node |
a string to put in front of each node named. The default is an empty string if the nodes are character and the string "node" if they are not. |
... |
other arguments to print may be given, but are not used. |
The object is printed.
A ‘–’ between nodes means an undirected edge, while a single
arrow means a directed edge.
the input x is returned invisibly.
The format is consistent with the dot graph language.
Nick Efthymiou
S Poetry, Patrick J. Burns, Section 13.3, Mathematical Graphs
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.