Package: grapherator 1.0.1

grapherator: A Modular Multi-Step Graph Generator

Set of functions for step-wise generation of (weighted) graphs. Aimed for research in the field of single- and multi-objective combinatorial optimization. Graphs are generated adding nodes, edges and weights. Each step may be repeated multiple times with different predefined and custom generators resulting in high flexibility regarding the graph topology and structure of edge weights.

Authors:Jakob Bossek [aut, cre]

grapherator_1.0.1.tar.gz
grapherator_1.0.1.zip(r-4.7)grapherator_1.0.1.zip(r-4.6)grapherator_1.0.1.zip(r-4.5)
grapherator_1.0.1.tgz(r-4.6-any)grapherator_1.0.1.tgz(r-4.5-any)
grapherator_1.0.1.tar.gz(r-4.7-any)grapherator_1.0.1.tar.gz(r-4.6-any)
grapherator_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
grapherator/json (API)

# Install 'grapherator' in R:
install.packages('grapherator', repos = c('https://jakobbossek.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jakobbossek/grapherator/issues

On CRAN:

Conda:

combinatorial-optimizationgraph-generatorminimum-spanning-treemulti-objective-optimizationoptimization

6.14 score 9 stars 1 packages 34 scripts 204 downloads 32 exports 37 dependencies

Last updated from:715a2d2d25. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE155
source / vignettesOK197
linux-release-x86_64NOTE159
macos-release-arm64NOTE116
macos-oldrel-arm64NOTE93
windows-develNOTE115
windows-releaseNOTE106
windows-oldrelNOTE119
wasm-releaseOK115

Exports:addEdgesaddEdgesCompleteaddEdgesDelauneyaddEdgesErdosRenyiaddEdgesGilbertaddEdgesGridaddEdgesOnionaddEdgesSpanningTreeaddEdgesToPlotaddEdgesWaxmanaddNodesaddNodesGridaddNodesLHSaddNodesNormaladdNodesTriangularaddNodesUniformaddWeightsaddWeightsConcaveaddWeightsCorrelatedaddWeightsDistanceaddWeightsRandomgetAdjacencyMatrixgetNodeCoordinatesgetNodeDegreesgetNumberOfClustersgetNumberOfEdgesgetNumberOfNodesgetNumberOfWeightsgetWeightMatrixgraphreadGPwriteGP

Dependencies:backportsBBmisccheckmatecliclustercpp11data.tabledeldirfarverggplot2gluegtableisobandlabelinglatticelhslifecyclemagrittrMASSMatrixmgcvnlmepermuteplyrR6RColorBrewerRcppreshape2rlangS7scalesstringistringrvctrsveganviridisLitewithr

Graph generation with grapherator
Introduction | Grapherator workflow | Generators | Node generators | Edge generators | Weight generators | Examples | References

Last update: 2018-02-13
Started: 2017-12-06

HowTo build custom generators
Custom generators

Last update: 2017-12-11
Started: 2017-12-06

Using magrittr pipes
Improving code readability

Last update: 2017-12-07
Started: 2017-12-06

Readme and manuals

Help Manual

Help pageTopics
grapherator: A modular multi-step graph generatorgrapherator-package
Add edges to graph.addEdges
Highlight edges in graph.addEdgesToPlot
Add nodes to graph.addNodes
Add weights to graph.addWeights
Graph string representation.as.character.grapherator
Edge generators.addEdgesComplete addEdgesDelauney addEdgesErdosRenyi addEdgesGilbert addEdgesGrid addEdgesOnion addEdgesSpanningTree addEdgesWaxman edgeGenerators
Getter functions.getAdjacencyMatrix getNodeCoordinates getNodeDegrees getNumberOfClusters getNumberOfEdges getNumberOfNodes getNumberOfWeights getter getWeightMatrix
Generate a bare graph.graph
Graph object.grapherator
Node generators.addNodesGrid addNodesLHS addNodesNormal addNodesTriangular addNodesUniform nodeGenerators
Visualize graph.plot.grapherator
Weight generators.addWeightsConcave addWeightsCorrelated addWeightsDistance addWeightsRandom weightGenerators
Export/import graph.readGP writeGP