Description Usage Arguments Details Value
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
1 | grid.to.igraph(lines, directed = F)
|
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. |
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)
igraph graph object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.