grid.to.igraph: grid.to.igraph

Description Usage Arguments Details Value

Description

makes an igraph out of grid$lines. as result various functions of the large package "igraph" are applicable. e.g. different plots or shortest path calculations

Usage

1
grid.to.igraph(lines, directed = F)

Arguments

lines

lines_data frame of package SimTOOL

directed

logical giving if the graph shall be handled as. F is the default value and signifies undirected.

Details

possible extensions: solutions for the different data formats provided by igraph –> additional argument "format" printing: new vertice shape for Grid and Trafo nodes (manual page 279+) use argument layout to generate reproduceable plots (coordinates are recently random)

Value

igraph graph object


asiono/rein documentation built on May 25, 2019, 2:26 p.m.