https://github.com/igraph/rigraph/pull/1626#discussion_r1888493735 by @szhorvat
#1626 (comment) by @szhorvat