FCTGraph
FCTGraph
Properties
g
: A directed, acyclic instance from thegraphlib
library.chainId
: A string representing the Chain ID.
Constructor
The constructor initializes the graph and sets the chain ID.
addNodeEdge
This method adds a new edge to the graph.
startWith
This method sets the starting point of the graph by connecting the given node to the 'start' node.
connectNodes
This method creates a connection between two nodes.
hasNodeEdge
This method checks if there's an edge between the source and target nodes.
hasConnectedNodes
This method checks if two nodes are connected.
addPointer
This method adds a pointer between two parameters.
hasPointer
This method checks if there's a pointer between two parameters.
removeNodeEdge
This method removes an edge between the source and target nodes.
isReachable
This method checks if a node is reachable in the graph.
add
This method adds a new plugin to the graph.
remove
This method removes a node from the graph.
compile
This method compiles the graph, prepares the plugins, and generates the batch calls.
Last updated