refactor(edges): Make edge updating optional
* add an option to enable edge updating globally * pass an option to an edge to enable updating for a single edge Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -31,6 +31,7 @@ export interface Edge<T = any> {
|
||||
data?: T
|
||||
class?: string
|
||||
isHidden?: boolean
|
||||
updatable?: boolean
|
||||
}
|
||||
|
||||
export interface GraphEdge<T = any> extends Edge<T> {
|
||||
|
||||
Reference in New Issue
Block a user