Skip to main content
100%

Hide Connector Nodes

✓ Published0🌍 Public
KKevinGutowski
Last edited Nov 12, 2021
Created on Nov 12, 2021

This example hides all connector nodes in a Figma file to declutter a diagram or flow view. The script filters the current page’s children for layers with type `"CONNECTOR"` and toggles their `visible` property to `false`. It uses the Figma JavaScript API (`figma.currentPage.children`) to access the document hierarchy. The visualization focuses on the canvas state before and after execution, demonstrating a simple, programmatic way to clear line-based metadata from the scene without altering underlying content.

AI-generated description

Similar vizzes