From 47387e6ee7d4f47c71d281e8cd6851cd11da1f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szabolcs=20Horva=CC=81t?= Date: Wed, 12 Mar 2025 14:16:45 +0000 Subject: [PATCH 1/2] docs: document negative/infinite order neighborhood after the corresponding change in the C core --- src/_igraph/graphobject.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/_igraph/graphobject.c b/src/_igraph/graphobject.c index 894e35d26..49e025003 100644 --- a/src/_igraph/graphobject.c +++ b/src/_igraph/graphobject.c @@ -15854,7 +15854,8 @@ struct PyMethodDef igraphmodule_Graph_methods[] = { "@param vertices: a single vertex ID or a list of vertex IDs, or\n" " C{None} meaning all the vertices in the graph.\n" "@param order: the order of the neighborhood, i.e. the maximum number of\n" - " steps to take from the seed vertex.\n" + " steps to take from the seed vertex. Negative values are interpreted as\n" + " an infinite order, i.e. no limit on the number of steps.\n" "@param mode: specifies how to take into account the direction of\n" " the edges if a directed graph is analyzed. C{\"out\"} means that\n" " only the outgoing edges are followed, so all vertices reachable\n" @@ -15882,7 +15883,8 @@ struct PyMethodDef igraphmodule_Graph_methods[] = { "@param vertices: a single vertex ID or a list of vertex IDs, or\n" " C{None} meaning all the vertices in the graph.\n" "@param order: the order of the neighborhood, i.e. the maximum number of\n" - " steps to take from the seed vertex.\n" + " steps to take from the seed vertex. Negative values are interpreted as\n" + " an infinite order, i.e. no limit on the number of steps.\n" "@param mode: specifies how to take into account the direction of\n" " the edges if a directed graph is analyzed. C{\"out\"} means that\n" " only the outgoing edges are followed, so all vertices reachable\n" From fe3f23b98af53e859455624ce94d4556e143892c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szabolcs=20Horva=CC=81t?= Date: Wed, 12 Mar 2025 14:18:39 +0000 Subject: [PATCH 2/2] chore: update C core --- vendor/source/igraph | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/source/igraph b/vendor/source/igraph index 635b432ef..662abbdfa 160000 --- a/vendor/source/igraph +++ b/vendor/source/igraph @@ -1 +1 @@ -Subproject commit 635b432eff0a89580ac9bb98068d2fbc8ef374f2 +Subproject commit 662abbdfa467a6436bad650c31a8360787d75379