refactor(nodes-edges): rename isHidden to hidden

This commit is contained in:
moklick
2021-11-18 13:06:14 +01:00
parent e6a4034747
commit fe9c1f02dc
12 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ const MiniMap = ({
className={mapClasses}
>
{Array.from(nodeInternals)
.filter(([_, node]) => !node.isHidden && node.width && node.height)
.filter(([_, node]) => !node.hidden && node.width && node.height)
.map(([_, node]) => {
const positionAbsolute = nodeInternals.get(node.id)?.positionAbsolute;