onthebridgetonowhere commented on PR #301: URL: https://github.com/apache/arrow-ballista/pull/301#issuecomment-1264555794
I made it work! :fireworks: I found the `wasm` error to be hard to grasp and hard to find understandable solutions. I went a different route by having a new backend API and rendering the SVG by reusing a React component. There are a few tradeoffs though, which we need to consider: - a new API that creates an SVG from the DOT string - the new API requires a new crate, the `graphviz-rust` crate - a new React dependency that allows us to easily render the SVG (`react-inlinesvg`) - the backend does the conversion; I do not know of the performance of the `graphviz-rust` crate. I suggest we experiment with it, and optimize later if needed. @andygrove let me know what you think, and thanks for your previous help. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
