Skip to content

@morph-mapper/source


@morph-mapper/source / GraphOperation

Enumeration: GraphOperation

Defined in: graph/index.ts:41

Determines the type of operation that is performed on the graph.

Enumeration Members

Add

Add: "add"

Defined in: graph/index.ts:44

A new node is added to the graph, where the action originated from a node.


Dependency

Dependency: "dependency"

Defined in: graph/index.ts:45

A dependency is added to the graph. Dependencies are used to differentiate between multiple nodes that are connected to the same node, but that are consumed by different options,


Insert

Insert: "insert"

Defined in: graph/index.ts:43

A new node is inserted into the graph, where the action originated from an edge.


Replace

Replace: "replace"

Defined in: graph/index.ts:42

The selected node is replaced with a new node.