- vertexify<GraphSchema, NodeName, Node>(db: DB<GraphSchema>, name: NodeName, node: Node<Integer, Properties, string>): Vertex<GraphSchema, NodeName, Node>
-
Type Parameters
-
GraphSchema extends FullGraph
-
NodeName extends string | number | symbol
-
Node extends NodeShape<string, readonly string[], Record<string, PropValue | RelationShape<boolean, string, readonly string[], Record<string, PropValue>>>, {}, {}, Node> = GraphSchema[NodeName]
Parameters
-
db: DB<GraphSchema>
-
name: NodeName
-
node: Node<Integer, Properties, string>
Returns Vertex<GraphSchema, NodeName, Node>