Skip to content

Expose igraph_product() #1908

@szhorvat

Description

@szhorvat

@gulshan-123 implemented a graph product feature in the C core as igraph_product(). It would be great to expose this in R/igraph. Two product types are already released and two more will land soon.

https://igraph.org/c/html/latest/igraph-Operators.html#igraph_product

@schochastics, what do you think a nice interface could be for this? Do we want an operator like * or %*% for the classic Cartesian product, or do we restrict this to a plain function? Other graph operators, such as union, have operators such as %u%.

For the explicit function, what's a better name? Just product() (risk of collision, but short) or graph_product()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    expose 🏖️Make igraph/C functionality available in R

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions