loon (version 1.4.1)

linegraph.loongraph: Create a linegraph of a graph

Description

Create a lingraph of a loongraph

Usage

# S3 method for loongraph
linegraph(x, separator = ":", ...)

Value

graph object of class loongraph

Arguments

x

loongraph object

separator

one character - node names in x get concatenated with this character

...

additional arguments are not used for this methiod

Details

linegraph.loongraph needs the code part for directed graphs (i.e. isDirected=TRUE)

Examples

Run this code
g <- loongraph(letters[1:4], letters[1:3], letters[2:4], FALSE)

linegraph(g)

Run the code above in your browser using DataLab