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.5)grapherator_1.0.1.zip(r-4.4)grapherator_1.0.1.zip(r-4.3)
grapherator_1.0.1.tgz(r-4.5-any)grapherator_1.0.1.tgz(r-4.4-any)grapherator_1.0.1.tgz(r-4.3-any)
grapherator_1.0.1.tar.gz(r-4.5-noble)grapherator_1.0.1.tar.gz(r-4.4-noble)
grapherator_1.0.1.tgz(r-4.4-emscripten)grapherator_1.0.1.tgz(r-4.3-emscripten)
grapherator.pdf |grapherator.html
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 153 downloads 32 exports 42 dependencies

Last updated 4 years agofrom:715a2d2d25. Checks:1 OK, 7 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 02 2025
R-4.5-winNOTEMar 02 2025
R-4.5-macNOTEMar 02 2025
R-4.5-linuxNOTEMar 02 2025
R-4.4-winNOTEMar 02 2025
R-4.4-macNOTEMar 02 2025
R-4.3-winNOTEMar 02 2025
R-4.3-macNOTEMar 02 2025

Exports:addEdgesaddEdgesCompleteaddEdgesDelauneyaddEdgesErdosRenyiaddEdgesGilbertaddEdgesGridaddEdgesOnionaddEdgesSpanningTreeaddEdgesToPlotaddEdgesWaxmanaddNodesaddNodesGridaddNodesLHSaddNodesNormaladdNodesTriangularaddNodesUniformaddWeightsaddWeightsConcaveaddWeightsCorrelatedaddWeightsDistanceaddWeightsRandomgetAdjacencyMatrixgetNodeCoordinatesgetNodeDegreesgetNumberOfClustersgetNumberOfEdgesgetNumberOfNodesgetNumberOfWeightsgetWeightMatrixgraphreadGPwriteGP

Dependencies:backportsBBmisccheckmatecliclustercolorspacedata.tabledeldirfansifarverggplot2gluegtableisobandlabelinglatticelhslifecyclemagrittrMASSMatrixmgcvmunsellnlmepermutepillarpkgconfigplyrR6RColorBrewerRcppreshape2rlangscalesstringistringrtibbleutf8vctrsveganviridisLitewithr

Graph generation with grapherator

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Mar 02 2025.

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

HowTo build custom generators

Rendered fromcustom_generators.Rmdusingknitr::rmarkdownon Mar 02 2025.

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

Using magrittr pipes

Rendered frompiping.Rmdusingknitr::rmarkdownon Mar 02 2025.

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