In the shell:
tools/update-cigraph.sh <path-to-cigraph-working-copy>
There is a CI/CD workflow that runs this very frequently.
Currently, there are only two files generated by Stimulus.
They are version-controlled and depend on various input files.
The logic is governed by the Makefile-cigraph
file.
For igraph/C < 0.10, this requires the cigraph
submodule.
After the update, the code will be taken from src/vendor/cigraph
(search for a FIXME in the Makefile-cigraph
file).
sh
git submodule init
git submodule update
Update the generated code.
sh
make -f Makefile-cigraph src/rinterface.c R/aaa-auto.R
Optional: Clean submodule
sh
git submodule deinit --all
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.