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.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'))

Peer review:

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

On CRAN:

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

6.04 score 9 stars 1 packages 27 scripts 118 downloads 32 exports 42 dependencies

Last updated 3 years agofrom:715a2d2d25. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winNOTENov 02 2024
R-4.5-linuxNOTENov 02 2024
R-4.4-winNOTENov 02 2024
R-4.4-macNOTENov 02 2024
R-4.3-winNOTENov 02 2024
R-4.3-macNOTENov 02 2024

Exports:addEdgesaddEdgesCompleteaddEdgesDelauneyaddEdgesErdosRenyiaddEdgesGilbertaddEdgesGridaddEdgesOnionaddEdgesSpanningTreeaddEdgesToPlotaddEdgesWaxmanaddNodesaddNodesGridaddNodesLHSaddNodesNormaladdNodesTriangularaddNodesUniformaddWeightsaddWeightsConcaveaddWeightsCorrelatedaddWeightsDistanceaddWeightsRandomgetAdjacencyMatrixgetNodeCoordinatesgetNodeDegreesgetNumberOfClustersgetNumberOfEdgesgetNumberOfNodesgetNumberOfWeightsgetWeightMatrixgraphreadGPwriteGP

Dependencies:backportsBBmisccheckmatecliclustercolorspacedata.tabledeldirfansifarverggplot2gluegtableisobandlabelinglatticelhslifecyclemagrittrMASSMatrixmgcvmunsellnlmepermutepillarpkgconfigplyrR6RColorBrewerRcppreshape2rlangscalesstringistringrtibbleutf8vctrsveganviridisLitewithr

Graph generation with grapherator

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Nov 02 2024.

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

HowTo build custom generators

Rendered fromcustom_generators.Rmdusingknitr::rmarkdownon Nov 02 2024.

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

Using magrittr pipes

Rendered frompiping.Rmdusingknitr::rmarkdownon Nov 02 2024.

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