Skip to content

Construct graph from adjacency list #433

@szhorvat

Description

@szhorvat

What is the feature or improvement you would like to see?

A function to construct a graph from its adjacency list.

It should work with general vertex names (e.g. a mapping from vertex names to their neighbours as a Python dictionary), not just vertex IDs.

Use cases for the feature

The adjacency list is probably the most used graph representation when implementing various graph algorithms. igraph should have full support for it.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions