Please enable JavaScript to view this site.

Knowledge Bridge Documentation

Help version: 3.3.8

NodeGraph Design wraps the Graphology graph theory library. The graph can be created either by supplying the nodeData and edgeData, or by directly calling addNode and edgeNode to build the graph.

 

 

Parameter Rules

edgeData: An array of edge descriptions, where each edge is an array of three items: a source index, a target index, and an object containing custom data for the edge. The indexes are into the nodeData array. For a weighted graph, the custom data should contain a property with the [[weightAttributeName]], for use by the algorithms to compute the cost of routes. This can only be supplied if [[nodeData]] is supplied. This is optional; if no edges are supplied, the graph starts without any, and they can be created using calls to [[addEdge]] or [[addDirectedEdge]].

 

 

isDirected: If true, creates directed edges when building the graph.

 

 

nodeData: An array of data objects, one for each node. The objects do not have any required content. This is optional; if no nodes are supplied, the graph starts empty, and can be created using calls to [[addNode]].

 

 

weightAttributeName: The name of the weight attribute in the edge data, for used in weighted graphs.

 

 

Mixins

BaseNode

BaseModel

 

RULE NAME

TYPE

DEFAULTS

CATEGORY

FLAGS

edgeData

array

[]

Inputs

Cached
Parameter

isDirected

boolean

false

Inputs

Cached
Parameter

nodeData

array

[]

Inputs

Cached
Parameter

weightAttributeName

string

"weight"

Inputs

Cached
Parameter

 

 

 

kBridgeExampleIcon

 

Future Example Here.

 

 

 

Knowledge Bridge from Engingeering Intent is a full-featured engineering and sales automation environment