Visual bug for nodes with fixed position in Sankey plot
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
There seems to be a visual bug for nodes with fixed positions that makes it hard to differentiate between incomming and outgoing links.
It would be great if this would be solves the same way it is solved with loops. In my example the left side that has no loop therefore would likely be read as a link from node B to A. The right side however has a loop and solves the issue by implementing a visual that shows clearly that the link from node D to C is outgoing at D terefore on the right side and incomming at C therefore on the left side.
fig = go.Figure(data=[go.Sankey(
arrangement="snap",
node=dict(
label=["A", "B", "C", "D", "E", "F", "G", "H"],
x=[0.3, 0.4, 0.6, 0.7],
y=[0.5, 0.5, 0.5, 0.5]
),
link=dict(
source=[1, 2, 3],
target=[0, 3, 2],
value=[1, 1, 1]
))])
fig.show()

コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、提供された Python Sankey の再現コードを実行し、例に示されているループ描画と固定位置のリンクを比較します。Sankey 描画のエントリーポイントを追跡し、各ノードでリンクの方向がどのように伝達されるかを特定します。完了の条件は、ループ描画を後退させることなく、報告されたレイアウトで入力リンクと出力リンクを視覚的に区別できることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- plotly, python
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100