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:
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
combinatorial-optimizationgraph-generatorminimum-spanning-treemulti-objective-optimizationoptimization
Last updated from:715a2d2d25. Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | NOTE | 186 | ||
| source / vignettes | OK | 207 | ||
| linux-release-x86_64 | NOTE | 179 | ||
| macos-release-arm64 | NOTE | 210 | ||
| macos-oldrel-arm64 | NOTE | 175 | ||
| windows-devel | NOTE | 150 | ||
| windows-release | NOTE | 98 | ||
| windows-oldrel | NOTE | 109 | ||
| wasm-release | OK | 116 |
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 page | Topics |
|---|---|
| grapherator: A modular multi-step graph generator | grapherator-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 |
