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
Please describe the feature that you want to propose
The deletable property exists on Nodes and Edges, but isn't exposed to NodeProps and EdgeProps. This means you can't use the deletable property for conditional rendering for Node and Edge types.
In my specific case, I want to hide the delete icon I normally show on Edges in my EdgeType if deletable is false. I tried to access deletable anyway, hoping it was just at the type level, but it's always undefined.
As a workaround, I'm adding my own deletable property in my Edge's data property.
The text was updated successfully, but these errors were encountered:
TimmyTango
changed the title
Add 'deletable' property to EdgeProps and NodeProps types
Expose 'deletable' property to EdgeProps and NodeProps
May 9, 2024
TimmyTango
changed the title
Expose 'deletable' property to EdgeProps and NodeProps
Include 'deletable' property with EdgeProps and NodeProps
May 10, 2024
Please describe the feature that you want to propose
The
deletable
property exists on Nodes and Edges, but isn't exposed to NodeProps and EdgeProps. This means you can't use thedeletable
property for conditional rendering for Node and Edge types.In my specific case, I want to hide the delete icon I normally show on Edges in my EdgeType if
deletable
is false. I tried to accessdeletable
anyway, hoping it was just at the type level, but it's always undefined.As a workaround, I'm adding my own
deletable
property in my Edge'sdata
property.The text was updated successfully, but these errors were encountered: