Skip to content

@vue-flow/monorepo • Docs


Type Alias: ToGraphNode<T> ​

ToGraphNode<T>: GraphNode<T extends Node<infer Data> ? Data : never, T extends Node<any, infer Events> ? Events : never, T extends Node<any, any, infer Type> ? Type : never>

Transform a Node type to a GraphNode type

Type Parameters ​

• T extends Node

Released under the MIT License.