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
@@ -48,7 +48,7 @@ const useZoomPanHelper = (): ZoomPanHelperFunctions => {
return;
}
const bounds = getRectOfNodes(options.includeHiddenNodes ? nodes : nodes.filter((node) => !node.isHidden));
const bounds = getRectOfNodes(options.includeHiddenNodes ? nodes : nodes.filter((node) => !node.hidden));
const [x, y, zoom] = getTransformForBounds(
bounds,
width,