Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

节点移动的格子数可以去除吗?同时保留画布grid样式? #4272

Open
jennyxu520 opened this issue Apr 23, 2024 · 1 comment
Open

Comments

@jennyxu520
Copy link

功能描述

1、我想要节点和边在画布上移动丝滑
2、设置了grid size为1或者更小点是可以的,但是网格线没有了
3、有没有办法两者兼有

期望解决方案

节点移动的格子数可以去除,同时保留画布grid样式.

@F-loat
Copy link
Contributor

F-loat commented Apr 29, 2024

可以用 css 写一个,不过没法随着画布缩放

background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
background-size: 16px 16px;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants