Skip to content

Lists as vertex/edge attributes #5

Open

Description

@mbojan

asNetwork and asIgraph do not handle lists as vertex or edge attributes.

Need to add tests so that errors/warnings are triggered when trying to convert objects containing such attributes.

Think of ways of properly handling them: are they supported by both igraph and network?

Activity

  1. self-assigned this
    on Jul 9, 2014
  2. mbojan commented on Apr 10, 2016

    @mbojan
    OwnerAuthor

    igraph does support lists as vertex/edge attributes:

    g <- make_graph(~ A --+ B:C)
    V(g)$x <- list(1:2, 3:4, letters[1:5])
    V(g)$x
    
    E(g)$w <- list(1:2, letters[1:4])
    g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions