Comments (6)
Kinda works now. I rewrote some primitives of Graphics
package and rewrote MakeBoxes
definition to apply GraphPlot
to any Graph
symbol on output. Works as a syntax sugar, the inner expression is still the same.
I checked some of examples from WM refs page
PS: To get new version click on Check Updates
in settings menu. On the next startup it will fetch and install them.
from wolfram-js-frontend.
Thanks! The output is no longer wrong, so I think this issue should now be closed.
from wolfram-js-frontend.
Thank you for your feedback!
In general all Graphs-related plotting functions are not supported for now. Please, check this page (Plotting function
section), where we listed all tested functions (there are probably more...). Since Wolfram Language uses higher-order function, that produce low-level Graphics
primitives with million options used, we can't really say in advance which is going to work correctly and which isnt. In this sense, feel free to post anything you found working incorrectly to Issues. Then we can also know how to distribute our attention as developers.
Since you requested Graphs
here, we will try to fix it 😀
In principle, Graphs relies on Graphics
primitives, which are mostly implemented. We need to work a bit on converting Mathematica's boxes to our format.
from wolfram-js-frontend.
I see, an issue mostly connected with Arrow
and GraphicsComplex
functions
and any Graph
object being wrapped into GraphPlot
kinda works...
from wolfram-js-frontend.
Thanks for your quick answer and your effort developing this project. Yes, I noticed that Graph
is not supported yet. That is why I tried GraphPlot
which returns a Graphics
instead of a Graph
.
For the future, maybe graphs could be rendered using https://github.com/DerYeger/yeger/tree/main/packages/d3-graph-controller
from wolfram-js-frontend.
Thanks for your quick answer and your effort developing this project. Yes, I noticed that
Graph
is not supported yet. That is why I triedGraphPlot
which returns aGraphics
instead of aGraph
.For the future, maybe graphs could be rendered using https://github.com/DerYeger/yeger/tree/main/packages/d3-graph-controller
Awesome! It might be even better than Wolfram's implementation
Thank you
from wolfram-js-frontend.
Related Issues (20)
- Remove Quirk mode
- Error whe starting HOT 8
- DateListPlot not outputing expected plot HOT 14
- Offload large data to a file in ArrangedSummaryBox
- Unable to launch WLJS HOT 9
- License Error when Running Wolfram Engine 14 with WLJS HOT 7
- Dataset implementation HOT 4
- Graphics autoscale HOT 1
- Can't use Azure OpenAI endpoint HOT 3
- Show hotkeys labels on UI elements HOT 1
- Quantity missing Box
- ChartLabels HOT 2
- Output from Planets Dataset funky
- Support for Neural Networks output
- Fail to load HOT 6
- WLJS Notebook.app won't open under Sonoma, reports as damaged HOT 4
- Example full html code requested to integrate wolfram language in JS framework HOT 14
- Support Codespace and Devcontainer HOT 1
- Wider styles support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wolfram-js-frontend.