deep-foundation / deep-foundation/deepcase-app

Links spawn at strange positions in deep-d3-force layout

Open
#191 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
10
Forks
6
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

Why are links going too far from the link that is connected with them?

[Screencast from 07-11-2023 07:50:34 PM.webm](https://github.com/deep-foundation/deepcase/assets/66206278/99afff5a-6c68-409c-977a-e3231dbdd3b1)

### Expected Behavior

Promise links "spawn" near to the `Get` link

### Current Behavior

Promise links "spawn" far to the `Get` link

### To Reproduce

_No response_

### Package Version

21fe367

### Node.js Version

16.20.0

### OS

Ubuntu 22.04

### Additional Library Versions

_No response_

### Additional context/Screenshots

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the deep-d3-force layout entry point and reproduce the graph shown in the screencast using Promise and Get links. Trace how link positions are initialized and compare the expected nearby placement with the current distant placement. Done means Promise links consistently spawn near their connected Get link on the reported package version.

Written by the indexing model from the issue text.

Assessment

Tech stack
d3js, typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.