linegraph.loongraph: Create a linegraph of a graph

View source: R/graphutils.R

linegraph.loongraphR Documentation

Create a linegraph of a graph

Description

Create a lingraph of a loongraph

Usage

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

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)

Value

graph object of class loongraph

Examples

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

linegraph(g)

loon documentation built on July 9, 2023, 5:48 p.m.