You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use graph with my cusomt nodes. Some nodes amd edges are hided by graph.hideItem. When i call toFullDataURL all hided nodes and edges are visible on result svg
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
create graph with renderer='svg'
used layout = dagre
add some nodes and edge
call graph.layout
hide some nodes using graph.hideItem
call graph.toFullDataURL( svgUrl => {do something with svg})
extent of svgUrl will be correct - only for visible nodes, but all invisible nodes wich lies inside extent will be visible in the svgUrl
G6 Version / G6 版本
4.x
Operating System / 操作系统
Windows
Browser / 浏览器
Chrome, Firefox
Additional context / 补充说明
No response
The text was updated successfully, but these errors were encountered:
Reproduction code - after mounted call hideNodes, - there is only 4 nodes visible .
After call exportSvg - in downloaded svg will be visible all 6 nodes
Describe the bug / 问题描述
use graph with my cusomt nodes. Some nodes amd edges are hided by graph.hideItem. When i call toFullDataURL all hided nodes and edges are visible on result svg
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
create graph with renderer='svg'
used layout = dagre
add some nodes and edge
call graph.layout
hide some nodes using graph.hideItem
call graph.toFullDataURL( svgUrl => {do something with svg})
extent of svgUrl will be correct - only for visible nodes, but all invisible nodes wich lies inside extent will be visible in the svgUrl
G6 Version / G6 版本
4.x
Operating System / 操作系统
Windows
Browser / 浏览器
Chrome, Firefox
Additional context / 补充说明
No response
The text was updated successfully, but these errors were encountered: