Reset (Remove) all links & Remove link from non-existing layer
- It will be useful if there is a command Reset (or Remove) all created links.
- If you have a layer then link it to an artboard, then after deleting the layer the link remains, which is OK. But since the layer doesn't exist anymore, there is no way to remove the link coming from it.
@MayaS :
- Removing all links from a Page sounds like a good idea. Will add that in the next update.
- Use the
Redraw Connectionscommand to clean up any left over link attributes from the page after deleting a layer. It's a good idea to use that command often since it refreshes all UserFlow-related data on the current page.
@abynim - the Redraw Connections command does not work for m to remove connections from deleted layers. it keeps redrawing old connections even though the layer is gone. Any workarounds to remove these connections?
@idoshavit Does this happen in all Sketch documents or just one? Is it possible to email the document to me at abynimbalkar at gmail dot com? That will be the fastest way to debug it. Thanks!
@abynim I can't send you the document, but i just figured out what happened. When creating the flow i started with a group, not a single layer. At some point i deleted the layers in the group, but not the group itself. The flow was still valid, because the group was still there. however, when looking at the canvas there was nothing to select, so i thought the flow is connecting to nothing. After deleting the empty groups the Redraw worked as expected. I hope my description is clear enough.