Skip to content

Allow passing a Graphs.SimpleGraph to siteinds #7

Open
@mtfishman

Description

@mtfishman

Allow passing Graphs.SimpleGraph to siteinds(site_type::String, graph).

Also define a default constructor NamedDimGraph(g::SimpleGraph) = NamedDimGraph(g, 1:nv(g)) which could be used internally in siteinds(::String, graph).

Originally posted by @mtfishman in #6 (comment)

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