Add ImageExport renderer based on running node.js
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- fsharp, javascript, node.js
調査の方向性
まず src/Plotly.NET.ImageExport/PuppeteerSharpRenderer.fs を読み、リンクされている jsdom アプローチおよび edge の Node.js 実行モデルと、そのレンダリングフローを比較してください。Node.js ベースのレンダラーの統合方法を定義し、Plotly.NET JSON オブジェクトをヘッドレスブラウザーなしでレンダリングして画像として保存できることを検証してください。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- F#
- スター
- 860
- フォーク
- 99
- 平均マージ
- 22分
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plotly/Plotly.NET のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
plotly/Plotly.NET#498 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
plotly/Plotly.NET#495 · コメント 3 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
plotly/Plotly.NET#494 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
plotly/Plotly.NET#492 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
plotly/Plotly.NET#485 · コメント 1 件 ·