Description Usage Arguments Value Author(s) See Also Examples

(From Wikipedia) The line graph L(G) of an undirected graph G is another graph L(G) that represents the adjacencies between edges of G. By definition, each vertex of L(G) represents an edge of G, and two vertices of L(G) are adjacent if and only if their corresponding edges share a common endpoint ("are adjacent") in G.

1 | ```
linegraph(graph, sep = ":")
``` |

`graph` |
Undirected graph of class |

`sep` |
Separates the node names of G in the node names of the new graph L(G). |

graphNEL object.

Adrian Waddell and R. Wayne Oldford

`navGraph`

, `completegraph`

,
`newgraph`

1 2 | ```
G <- completegraph(LETTERS[1:4])
LG <- linegraph(G, sep = "xx")
``` |

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.