Skip to content

Define a generic is_directed(::Type{<:AbstractDataGraph}) #3

Closed
@mtfishman

Description

@mtfishman

Define a generic is_directed(G::Type{<:AbstractDataGraph}) = is_directed(underlying_graph_type(G)). This would then rely on concrete subtypes implementing underlying_graph_type.

Inspired by ITensor/ITensorNetworks.jl#9, since it seems like in general we should be able to deduce whether a DataGraph is directed or not from other information.

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