Add ImageExport renderer based on running node.js
まだ誰も着手していません。
- 主要言語
- F#
- スター
- 860
- フォーク
- 99
- 平均マージ
- 22分
- マージ済み PR(30日)
- 1
説明
Description
As plotly.js, the underlying library that Plotly.NET is using needs an environment that can execute javascript to render images programmatically.
https://github.com/tjanczuk/edge seems to be able to run javascript code in node.js from .NET, meaning it should be possible to use plotly.js to render our json objects and save them to a file via node. This would be a big addition, because it would not need a headless browser to achieve this, just a node installation.
Pointers
- here is an answer that shows how to do this with
jsdom: https://stackoverflow.com/a/76070903/5675597 - A reference implementation for this using PuppeteerSharp can be seen here
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず src/Plotly.NET.ImageExport/PuppeteerSharpRenderer.fs を読み、リンクされている jsdom アプローチおよび edge の Node.js 実行モデルと、そのレンダリングフローを比較してください。Node.js ベースのレンダラーの統合方法を定義し、Plotly.NET JSON オブジェクトをヘッドレスブラウザーなしでレンダリングして画像として保存できることを検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- fsharp, javascript, node.js
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100