Determines the center position of the node's shape. The position depends on if the node has in and out-annotations.
Calculate layout for a graph using dagre
the graph to be laid out
layout parameters
width and height of the core graph
Returns the intersection of a line between the provided point and the provided rectangle.
Returns if a line going through the specified points is a straight line.
Calculate layout for annotations of a given node. This will modify positions of the given node and its annotations.
Update layout, size, and annotations of its children nodes and edges.
Layout a metanode. Only called for an expanded node.
Calculate layout for a scene of a group node.
Calculate layout for series node's core graph. Only called for an expanded series.
Set size of an annotation node.
Updates the total width of an unexpanded node which includes the size of its in and out annotations.
Set of parameters that define the look and feel of the graph.
Default duration for graph animations in ms.
Maximum possible width of the bounding box for in annotations
X-space between each annotation-node and its label.
Defines the max width for annotation label
Maximum possible width of the bounding box for out annotations
X-space between the shape and each annotation-node.
Y-space between each annotation-node.
Graph parameter for metanode.
Dagre's edgesep param - number of pixels that separate edges horizontally in the layout.
Dagre's nodesep param - number of pixels that separate nodes horizontally in the layout.
See https://github.com/cpettitt/dagre/wiki#configuring-the-layout
Dagre's ranksep param - number of pixels between each rank in the layout.
See https://github.com/cpettitt/dagre/wiki#configuring-the-layout
Padding is used to correctly position the graph SVG inside of its parent element. The padding amounts are applied using an SVG transform of X and Y coordinates.
Graph parameter for metanode.
Dagre's edgesep param - number of pixels that separate edges horizontally in the layout.
Dagre's nodesep param - number of pixels that separate nodes horizontally in the layout.
See https://github.com/cpettitt/dagre/wiki#configuring-the-layout
Dagre's ranksep param - number of pixels between each rank in the layout.
See https://github.com/cpettitt/dagre/wiki#configuring-the-layout
The maximum width/height the minimap can have.
Size of bridge nodes.
Size of meta nodes.
The radius of the circle denoting the expand button.
A scale for the node's height based on number of nodes inside
Size of op nodes.
Size of series nodes.
Maximum number of repeated item for unexpanded series node.
Positioning offset ratio for collapsed stack of parallel series (series without edges between its members).
Positioning offset ratio for collapsed stack of tower series (series with edges between its members).
Size of shortcuts for meta nodes
Size of shortcuts for op nodes
Size of shortcuts for series nodes
X-space between each extracted node and the core graph.
Y-space between each extracted node.
Used to leave room for the label on top of the highest node in the core graph.
Generated using TypeDoc
Returns the angle (in degrees) between two points.