Skip to content

Visualize AbstractTensorNetworks interactively with ECharts#211

Closed
mofeing wants to merge 7 commits into
masterfrom
echarts
Closed

Visualize AbstractTensorNetworks interactively with ECharts#211
mofeing wants to merge 7 commits into
masterfrom
echarts

Conversation

@mofeing

@mofeing mofeing commented Sep 24, 2024

Copy link
Copy Markdown
Collaborator

To do

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

@mofeing mofeing requested a review from jofrevalles September 25, 2024 04:31
@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
Comment thread Project.toml
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
Copy Markdown
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
Copy Markdown
Collaborator 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...

@mofeing

mofeing commented Nov 23, 2024

Copy link
Copy Markdown
Collaborator Author

closed in favor of #261

@mofeing mofeing closed this Nov 23, 2024
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