ITensor / DataGraphs.jl

A simple graph type with data on the vertices and edges.
MIT License
12 stars 3 forks source link

Add `assigned_vertices` and `assigned_edges` iterators #16

Open mtfishman opened 1 year ago

mtfishman commented 1 year ago

Add assigned_vertices and assigned_edges iterators, which iterate over the vertices and edges that have assigned data, which in general can be a subset of the vertices and edges of the underlying graph.