fix(core): do not render edges connected to a hidden node
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -68,7 +68,7 @@ const EdgeWrapper = defineComponent({
|
|||||||
const sourceNode = findNode(edge.source)
|
const sourceNode = findNode(edge.source)
|
||||||
const targetNode = findNode(edge.target)
|
const targetNode = findNode(edge.target)
|
||||||
|
|
||||||
if (!sourceNode || !targetNode || !edge) {
|
if (!sourceNode || !targetNode || !edge || sourceNode.hidden || targetNode.hidden) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user