refactor(types)!: change node and edge types to extend element
* element type provides intersection interface of nodes and edges * rename isHidden to hidden Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -25,7 +25,7 @@ const updateNode = () => {
|
||||
label: opts.value.name,
|
||||
}
|
||||
el.style = { backgroundColor: opts.value.bg }
|
||||
el.isHidden = opts.value.hidden
|
||||
el.hidden = opts.value.hidden
|
||||
}
|
||||
|
||||
return el
|
||||
|
||||
Reference in New Issue
Block a user