feat: expose igraph 0.10 functions - any_mutual(), invalidate_cache(), and 8 generator functions#2410
Draft
feat: expose igraph 0.10 functions - any_mutual(), invalidate_cache(), and 8 generator functions#2410
any_mutual(), invalidate_cache(), and 8 generator functions#2410Conversation
Co-authored-by: krlmlr <1741643+krlmlr@users.noreply.github.com>
…` and generator functions Co-authored-by: krlmlr <1741643+krlmlr@users.noreply.github.com>
Co-authored-by: krlmlr <1741643+krlmlr@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Expose new functions from version 0.10 of igraph
feat: expose igraph 0.10 functions - Oct 26, 2025
any_mutual(), invalidate_cache(), and 8 generator functions
Member
|
This is exposing stuff that there's already another PR for, such as full_multipartite. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exposes priority 0 functions and new graph generators from igraph 0.10 for the first R release based on 0.10.
Functions Added
Priority 0:
any_mutual()- checks if directed graph has any mutual edges (wrapsigraph_has_mutual)invalidate_cache()- invalidates cached properties for debuggingGenerators (with
make_prefix):make_wheel()- wheel graphmake_circulant()- circulant graphmake_turan()- Turán graphmake_generalized_petersen()- generalized Petersen graphmake_full_multipartite()- complete multipartite graphmake_regular_tree()- regular treemake_symmetric_tree()- symmetric tree with level-specific branchingmake_triangular_lattice()- triangular latticeImplementation
R/make.R,R/structural-properties.R,R/utils.Rtools/stimulus/functions-R.yamland regenerated bindings via Stimulusmake_turan,make_full_multipartite) that return both graph and vertex type attributesExample
Not Included
make_hexagonal_lattice()- not yet in cigraph'sinterfaces/functions.yamlis_forest(),is_acyclic(),graph_center(),hits_scores(), weightedradius()/eccentricity()Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.