You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using NamedGraphs.NamedGraphGenerators: named_comb_tree
using ITensorGLMakie
let
g = named_comb_tree([3,3,3])
@visualize g
end
This is with the following package versions:
GraphMakie v0.5.6
GeometryBasics v0.4.11
UnicodePlots v3.6.4
ITensorNetworks v0.11.14
Graphs v1.11.1
GeometryBasics v0.4.11
The text was updated successfully, but these errors were encountered:
emstoudenmire
changed the title
[BUG] Visualize failing with newer GraphMakie
[BUG] Visualize failing with newer package versions (perhaps due to GeometryBasics)
Jun 12, 2024
Ideally we would have a VisualizationCore.jl or VisualizationInterface.jl package that is independent of ITensors.jl that defines the visualize/@visualize interface, and then we could add package extensions NamedGraphsVisualizationCore.jl, DataGraphsVisualizationCore.jl, ITensorsVisualizationCore.jl, ITensorMPSVisualizationCore.jl, ITensorNetworkVisualizationCore.jl, etc. Unfortunately for the time being without that the definitions for visualizing certain types are spread out a bit randomly.
mtfishman
changed the title
[BUG] Visualize failing with newer package versions (perhaps due to GeometryBasics)
Create VisualizationCore.jl and VisualizationBase.jl, allow visualizing NamedGraph and DataGraph without loading ITensorNetworks
Jun 12, 2024
Yes, I can confirm that adding using ITensorNetworks does fix the problem. I see, so there are sort of layers of features that are split across some packages. Not a problem for now, since this isn't so high-priority, but good to know what the issue is here and what a solution could be.
The following code is leading to an error:
This is with the following package versions:
GraphMakie v0.5.6
GeometryBasics v0.4.11
UnicodePlots v3.6.4
ITensorNetworks v0.11.14
Graphs v1.11.1
GeometryBasics v0.4.11
The text was updated successfully, but these errors were encountered: