jakobbossek / grapherator Goto Github PK
View Code? Open in Web Editor NEWA modular multi-step graph generator
License: BSD 2-Clause "Simplified" License
A modular multi-step graph generator
License: BSD 2-Clause "Simplified" License
Rename intercluster
to intercenter
. For intercluster
, we select each k random nodes from each cluster and apply the generator to these.
Many new features are not covered yet.
Only relevant if by.centers is TRUE. Applies edge generator only to the subset of clusters
Bascially this one should return a string concatenation of node, edge and weiht types.
We pass addEdges{...} or addNodes{...} functions to addEdges and addNodes respectively. However, we pass a character to specify the method in addWeights.
The following vignettes are needed:
addEdgesThreshold
)Regarding the review openjournals/joss-reviews#528 I have the following comments:
In the vignette "Graph generation with grapherator", there are some references missing. In particular, the MOST paper, which is linked to, but not mentioned in the list of references.
To improve documentation, I suggest adding links from the addEdges
, addNodes
, and addWeights
to their respective set of generator functions. A single link in the parameter description should work.
The tag @title
shows in the name of edgeGenerators
(see here). Removing the @title
tag should be OK.
Other than that, everything looks OK to me. I was able to install the package from github and CRAN and compile/test it myself without any problem.
Graphs with only one weight are possible as well. Come up with a new S3 class name
Implement rounding of weights to next integer in addWeights
.
xhi, nu and M should be parameters.
Symmetry property should be ensured by addWeights, not by each weight generator itself.
Implement at least the following getters:
Should call addEdgesComplete if no edge generator has been called by the user.
Code is already there. Rafactor, add docs and export.
Most flexible and consistent with node/weight generators.
At the moment we have 1e6 as a magic number. Should be infinity or max double value.
Since addCoordinates was renamed to addNodes we need to use the word nodes instead of coordinates in the docs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.