Edges between combos are not updated when combo size changes (using .update() method)
See original GitHub issue- [ V] I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
Click on Hide nodes
button and see that edge between combos (the blue one) is attached to the wrong position (not to the borders of combo and not to the anchor points defined above in graph options).
Environment | Info |
---|---|
g6 | 3.8.4 |
System | Windows 10 |
Browser | Chrome 86.0.4240.198 |
This happens when I change combos’ padding to visually fit in the label within combo when all the nodes are hidden by using combo.update({padding: ...})
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Microsoft PowerPoint | linkedin-skill-assessments-quizzes
When you create a new, blank presentation, you begin with one blank slide. ... Advanced -> Image Size and Quality -> Do not...
Read more >Solved: Combo box not updating field in edit mode
I have a series of cascading combo boxes. The first combo box is used to define the contents of the following combo boxes,...
Read more >MS Access 2010: Unbound combo box won't update
I have a popup form for data entry, a pop up for new testing sites, and a form that uses two unbound combos...
Read more >K maximum sum combinations from two arrays - GeeksforGeeks
A sum combination is made by adding one element from array A and ... Approach 1 (Naive Algorithm): We can use Brute force...
Read more >Visualization: Combo Chart - Google Developers
A chart that lets you render each series as a different marker type from the ... An array of sizes (as data values,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It might be a bug for rect type combo. We will try to fix it as soon as possible
update to v4.1.4 and see this demo pls: https://codesandbox.io/s/antv-g6-hide-nodes-forked-r1jr8?file=/src/App.tsx
note that call graph.data(data) graph.render() or graph.read(data) only at the first time you render the graph. If you wanna change the whole data, call graph.changeData(newData) instead.