Skip to content

Function for extracting node positions from attributes #624

@nwlandry

Description

@nwlandry

Related to #623 and #179.

It would be great to have a function to do the following:

H = xgi.ring_lattice(n, d, k, l, store_pos=True)
pos = xgi.pos_from_attributes(H, attr="pos")
xgi.draw(H, pos=pos)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions