Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualize AbstractTensorNetworks interactively with ECharts #211

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

mofeing
Copy link
Member

@mofeing mofeing commented Sep 24, 2024

To do

  •  Refactor into a draw function (just like quimb)
    • It should be customizable
  •  Take defaults from GraphMakie extension
tenet-echarts.mp4

@mofeing mofeing marked this pull request as ready for review September 25, 2024 04:31
@mofeing mofeing added the enhancement New feature or request label Sep 25, 2024
@mofeing mofeing linked an issue Sep 25, 2024 that may be closed by this pull request
@@ -7,7 +7,9 @@ version = "0.8.0-DEV"
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
DeltaArrays = "10b0fc19-5ccc-4427-889b-d75dd6306188"
ECharts_jll = "ffd69456-1935-58d2-abba-ba12e8909167"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be an extension? Since we have the visualization libraries GraphMakie and Makie as an extension too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your point but in this case no. The reason is that package extensions are there to avoid precompile and load time overheads.

In this case, ECharts is a JavaScript library (so only gets loaded on the web browser/notebook/VSCode, it doesn't get loaded to the Julia session). Furthermore, JLL packages don't load anything to memory... they are just wrappers over some "binary" files stored on disk. And the minified file just weights 1MiB...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interactive plots
2 participants