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
card.svg |card.png
grapherator/json (API)
NEWS

# 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.04 score 9 stars 1 packages 27 scripts 222 downloads 32 exports 37 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE186
source / vignettesOK207
linux-release-x86_64NOTE179
macos-release-arm64NOTE210
macos-oldrel-arm64NOTE175
windows-develNOTE150
windows-releaseNOTE98
windows-oldrelNOTE109
wasm-releaseOK116

Exports:addEdgesaddEdgesCompleteaddEdgesDelauneyaddEdgesErdosRenyiaddEdgesGilbertaddEdgesGridaddEdgesOnionaddEdgesSpanningTreeaddEdgesToPlotaddEdgesWaxmanaddNodesaddNodesGridaddNodesLHSaddNodesNormaladdNodesTriangularaddNodesUniformaddWeightsaddWeightsConcaveaddWeightsCorrelatedaddWeightsDistanceaddWeightsRandomgetAdjacencyMatrixgetNodeCoordinatesgetNodeDegreesgetNumberOfClustersgetNumberOfEdgesgetNumberOfNodesgetNumberOfWeightsgetWeightMatrixgraphreadGPwriteGP

Dependencies:backportsBBmisccheckmatecliclustercpp11data.tabledeldirfarverggplot2gluegtableisobandlabelinglatticelhslifecyclemagrittrMASSMatrixmgcvnlmepermuteplyrR6RColorBrewerRcppreshape2rlangS7scalesstringistringrvctrsveganviridisLitewithr

Graph generation with grapherator

Rendered fromintroduction.Rmdusingknitr::rmarkdownon May 06 2026.

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

HowTo build custom generators

Rendered fromcustom_generators.Rmdusingknitr::rmarkdownon May 06 2026.

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

Using magrittr pipes

Rendered frompiping.Rmdusingknitr::rmarkdownon May 06 2026.

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