@eventcatalog/visualiser 4.1.3 → 4.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -22,7 +22,10 @@ SOFTWARE.
22
22
 
23
23
  ---
24
24
 
25
- Note: Source code within `packages/core/eventcatalog/src/enterprise/` is
26
- licensed under the EventCatalog Commercial License and is NOT covered by the
27
- MIT License above. See `packages/core/eventcatalog/src/enterprise/LICENSE`
28
- for the full terms.
25
+ Note: Source code within the following directories is licensed under the
26
+ EventCatalog Commercial License and is NOT covered by the MIT License above:
27
+
28
+ - `packages/core/eventcatalog/src/enterprise/`
29
+ - `packages/core/src/federation/`
30
+
31
+ See the `LICENSE` file in each directory for the full terms.
package/dist/index.d.mts CHANGED
@@ -903,6 +903,16 @@ declare const getEdgeLabelForServiceAsTarget: (data: MessageCollectionItem) => "
903
903
  declare const getEdgeLabelForMessageAsSource: (data: MessageCollectionItem, throughChannel?: boolean) => "sends to" | "accepts" | "subscribed to" | "subscribed by";
904
904
  declare const calculatedNodes: (flow: dagre.graphlib.Graph, nodes: Node[]) => any[];
905
905
  declare const createDagreGraph: ({ ranksep, nodesep, ...rest }: any) => dagre.graphlib.Graph<{}>;
906
+ /**
907
+ * network-simplex produces the nicest layered layout but is O(V·E) and hangs on
908
+ * large architecture maps. tight-tree keeps the same LR layering with far less
909
+ * work. Callers can still force a ranker via createDagreGraph({ ranker }).
910
+ */
911
+ declare const LARGE_GRAPH_NODE_THRESHOLD = 80;
912
+ declare const LARGE_GRAPH_EDGE_THRESHOLD = 200;
913
+ declare const LARGE_GRAPH_RANKER = "tight-tree";
914
+ declare const selectDagreRanker: (nodeCount: number, edgeCount: number, explicitRanker?: string) => string | undefined;
915
+ declare const layoutDagreGraph: (flow: dagre.graphlib.Graph) => void;
906
916
  declare const createEdge: (edgeOptions: Edge) => Edge;
907
917
  declare const createNode: (values: Node) => Node;
908
918
  type DagreGraph = any;
@@ -926,4 +936,4 @@ declare function layoutGraph(nodes: GraphNode[], edges: GraphEdge[], options?: {
926
936
  edges: Edge[];
927
937
  };
928
938
 
929
- export { ACTOR, AGENT, AGENT_TOOL, _default$o as Actor, type ActorNode, type Agent$1 as Agent, _default$i as AgentNode, type AgentTool$1 as AgentTool, _default$j as AgentToolNode, type AgentToolNode as AgentToolNodeType, AnimatedMessageEdge, type BaseNodeData, CHANNEL, COMMAND, type Channel, type ChannelNode, _default$f as Command, type CommandNode, _default$8 as ContextActorNode, type ContextMenuItem, _default$b as CustomNode, DATA, type Data, type DataNode, _default$s as DataProductNode, _default$a as DomainNode, type DslGraph, ENTITY_TARGET_HANDLE_ID, EVENT, type EdgeType, _default$c as EntityNode, type EntityProperty, _default$e as Event, type EventCatalogResource, type EventNode, type ExternalSystem, _default$2 as ExternalSystem2Node, type ExternalSystemNode, _default$q as Field, type FieldNode as FieldNodeType, _default$1 as FlowEdge, _default$r as FlowExpandedNode, _default$6 as FlowNode, FocusModeModal, type GraphEdge, type GraphEdgeType, type GraphNode, _default$5 as GroupNode, LabelledDefaultEdge, LabelledSmoothStepEdge, LabelledStepEdge, MESSAGE, type MermaidExportOptions, MermaidView, type Message, _default$t as MessageGroupExpandedNode, type MessageGroupExpandedNodeData, _default$u as MessageGroupNode, type MessageGroupNodeData, type MessageGroupNode as MessageGroupNodeType, _default as MultilineEdgeLabel, type NodeCategory, type NodeConfiguration, _default$v as NodeContextMenu, NodeGraph, type NodeGraphProps, type NodeType, _default$k as Note, type NoteNode, NotesIndicator, OwnerIndicator, QUERY, _default$g as Query, type QueryNode, type RegisteredNode, SERVICE, _default$h as Service, type ServiceNode, type Service as ServiceType, _default$4 as StepNode, _default$w as StepWalkthrough, _default$7 as SystemGroupNode, _default$9 as SystemNode, _default$3 as UserNode, VIEW, type View, type ViewNode, VisualiserSearch, type VisualizerCallbacks, type VisualizerLink, type VisualizerMode, _default$n as actorConfig, buildNodeData, calculatedNodes, convertToMermaid, createDagreGraph, createEdge, createNode, _default$m as dataNodeConfig, edgeTypes, _default$d as eventConfig, exportNodeGraphForStudio, _default$l as externalSystemConfig, _default$p as fieldConfig, generateIdForNode, generateIdForNodes, generatedIdForEdge, getColorFromString, getEdgeLabelForMessageAsSource, getEdgeLabelForServiceAsTarget, getNestedEntityProperties, getNodesAndEdgesFromDagre, getPropertyTypeLabel, layoutGraph, nodeComponents, nodeConfigs, normalizeOwners };
939
+ export { ACTOR, AGENT, AGENT_TOOL, _default$o as Actor, type ActorNode, type Agent$1 as Agent, _default$i as AgentNode, type AgentTool$1 as AgentTool, _default$j as AgentToolNode, type AgentToolNode as AgentToolNodeType, AnimatedMessageEdge, type BaseNodeData, CHANNEL, COMMAND, type Channel, type ChannelNode, _default$f as Command, type CommandNode, _default$8 as ContextActorNode, type ContextMenuItem, _default$b as CustomNode, DATA, type Data, type DataNode, _default$s as DataProductNode, _default$a as DomainNode, type DslGraph, ENTITY_TARGET_HANDLE_ID, EVENT, type EdgeType, _default$c as EntityNode, type EntityProperty, _default$e as Event, type EventCatalogResource, type EventNode, type ExternalSystem, _default$2 as ExternalSystem2Node, type ExternalSystemNode, _default$q as Field, type FieldNode as FieldNodeType, _default$1 as FlowEdge, _default$r as FlowExpandedNode, _default$6 as FlowNode, FocusModeModal, type GraphEdge, type GraphEdgeType, type GraphNode, _default$5 as GroupNode, LARGE_GRAPH_EDGE_THRESHOLD, LARGE_GRAPH_NODE_THRESHOLD, LARGE_GRAPH_RANKER, LabelledDefaultEdge, LabelledSmoothStepEdge, LabelledStepEdge, MESSAGE, type MermaidExportOptions, MermaidView, type Message, _default$t as MessageGroupExpandedNode, type MessageGroupExpandedNodeData, _default$u as MessageGroupNode, type MessageGroupNodeData, type MessageGroupNode as MessageGroupNodeType, _default as MultilineEdgeLabel, type NodeCategory, type NodeConfiguration, _default$v as NodeContextMenu, NodeGraph, type NodeGraphProps, type NodeType, _default$k as Note, type NoteNode, NotesIndicator, OwnerIndicator, QUERY, _default$g as Query, type QueryNode, type RegisteredNode, SERVICE, _default$h as Service, type ServiceNode, type Service as ServiceType, _default$4 as StepNode, _default$w as StepWalkthrough, _default$7 as SystemGroupNode, _default$9 as SystemNode, _default$3 as UserNode, VIEW, type View, type ViewNode, VisualiserSearch, type VisualizerCallbacks, type VisualizerLink, type VisualizerMode, _default$n as actorConfig, buildNodeData, calculatedNodes, convertToMermaid, createDagreGraph, createEdge, createNode, _default$m as dataNodeConfig, edgeTypes, _default$d as eventConfig, exportNodeGraphForStudio, _default$l as externalSystemConfig, _default$p as fieldConfig, generateIdForNode, generateIdForNodes, generatedIdForEdge, getColorFromString, getEdgeLabelForMessageAsSource, getEdgeLabelForServiceAsTarget, getNestedEntityProperties, getNodesAndEdgesFromDagre, getPropertyTypeLabel, layoutDagreGraph, layoutGraph, nodeComponents, nodeConfigs, normalizeOwners, selectDagreRanker };
package/dist/index.d.ts CHANGED
@@ -903,6 +903,16 @@ declare const getEdgeLabelForServiceAsTarget: (data: MessageCollectionItem) => "
903
903
  declare const getEdgeLabelForMessageAsSource: (data: MessageCollectionItem, throughChannel?: boolean) => "sends to" | "accepts" | "subscribed to" | "subscribed by";
904
904
  declare const calculatedNodes: (flow: dagre.graphlib.Graph, nodes: Node[]) => any[];
905
905
  declare const createDagreGraph: ({ ranksep, nodesep, ...rest }: any) => dagre.graphlib.Graph<{}>;
906
+ /**
907
+ * network-simplex produces the nicest layered layout but is O(V·E) and hangs on
908
+ * large architecture maps. tight-tree keeps the same LR layering with far less
909
+ * work. Callers can still force a ranker via createDagreGraph({ ranker }).
910
+ */
911
+ declare const LARGE_GRAPH_NODE_THRESHOLD = 80;
912
+ declare const LARGE_GRAPH_EDGE_THRESHOLD = 200;
913
+ declare const LARGE_GRAPH_RANKER = "tight-tree";
914
+ declare const selectDagreRanker: (nodeCount: number, edgeCount: number, explicitRanker?: string) => string | undefined;
915
+ declare const layoutDagreGraph: (flow: dagre.graphlib.Graph) => void;
906
916
  declare const createEdge: (edgeOptions: Edge) => Edge;
907
917
  declare const createNode: (values: Node) => Node;
908
918
  type DagreGraph = any;
@@ -926,4 +936,4 @@ declare function layoutGraph(nodes: GraphNode[], edges: GraphEdge[], options?: {
926
936
  edges: Edge[];
927
937
  };
928
938
 
929
- export { ACTOR, AGENT, AGENT_TOOL, _default$o as Actor, type ActorNode, type Agent$1 as Agent, _default$i as AgentNode, type AgentTool$1 as AgentTool, _default$j as AgentToolNode, type AgentToolNode as AgentToolNodeType, AnimatedMessageEdge, type BaseNodeData, CHANNEL, COMMAND, type Channel, type ChannelNode, _default$f as Command, type CommandNode, _default$8 as ContextActorNode, type ContextMenuItem, _default$b as CustomNode, DATA, type Data, type DataNode, _default$s as DataProductNode, _default$a as DomainNode, type DslGraph, ENTITY_TARGET_HANDLE_ID, EVENT, type EdgeType, _default$c as EntityNode, type EntityProperty, _default$e as Event, type EventCatalogResource, type EventNode, type ExternalSystem, _default$2 as ExternalSystem2Node, type ExternalSystemNode, _default$q as Field, type FieldNode as FieldNodeType, _default$1 as FlowEdge, _default$r as FlowExpandedNode, _default$6 as FlowNode, FocusModeModal, type GraphEdge, type GraphEdgeType, type GraphNode, _default$5 as GroupNode, LabelledDefaultEdge, LabelledSmoothStepEdge, LabelledStepEdge, MESSAGE, type MermaidExportOptions, MermaidView, type Message, _default$t as MessageGroupExpandedNode, type MessageGroupExpandedNodeData, _default$u as MessageGroupNode, type MessageGroupNodeData, type MessageGroupNode as MessageGroupNodeType, _default as MultilineEdgeLabel, type NodeCategory, type NodeConfiguration, _default$v as NodeContextMenu, NodeGraph, type NodeGraphProps, type NodeType, _default$k as Note, type NoteNode, NotesIndicator, OwnerIndicator, QUERY, _default$g as Query, type QueryNode, type RegisteredNode, SERVICE, _default$h as Service, type ServiceNode, type Service as ServiceType, _default$4 as StepNode, _default$w as StepWalkthrough, _default$7 as SystemGroupNode, _default$9 as SystemNode, _default$3 as UserNode, VIEW, type View, type ViewNode, VisualiserSearch, type VisualizerCallbacks, type VisualizerLink, type VisualizerMode, _default$n as actorConfig, buildNodeData, calculatedNodes, convertToMermaid, createDagreGraph, createEdge, createNode, _default$m as dataNodeConfig, edgeTypes, _default$d as eventConfig, exportNodeGraphForStudio, _default$l as externalSystemConfig, _default$p as fieldConfig, generateIdForNode, generateIdForNodes, generatedIdForEdge, getColorFromString, getEdgeLabelForMessageAsSource, getEdgeLabelForServiceAsTarget, getNestedEntityProperties, getNodesAndEdgesFromDagre, getPropertyTypeLabel, layoutGraph, nodeComponents, nodeConfigs, normalizeOwners };
939
+ export { ACTOR, AGENT, AGENT_TOOL, _default$o as Actor, type ActorNode, type Agent$1 as Agent, _default$i as AgentNode, type AgentTool$1 as AgentTool, _default$j as AgentToolNode, type AgentToolNode as AgentToolNodeType, AnimatedMessageEdge, type BaseNodeData, CHANNEL, COMMAND, type Channel, type ChannelNode, _default$f as Command, type CommandNode, _default$8 as ContextActorNode, type ContextMenuItem, _default$b as CustomNode, DATA, type Data, type DataNode, _default$s as DataProductNode, _default$a as DomainNode, type DslGraph, ENTITY_TARGET_HANDLE_ID, EVENT, type EdgeType, _default$c as EntityNode, type EntityProperty, _default$e as Event, type EventCatalogResource, type EventNode, type ExternalSystem, _default$2 as ExternalSystem2Node, type ExternalSystemNode, _default$q as Field, type FieldNode as FieldNodeType, _default$1 as FlowEdge, _default$r as FlowExpandedNode, _default$6 as FlowNode, FocusModeModal, type GraphEdge, type GraphEdgeType, type GraphNode, _default$5 as GroupNode, LARGE_GRAPH_EDGE_THRESHOLD, LARGE_GRAPH_NODE_THRESHOLD, LARGE_GRAPH_RANKER, LabelledDefaultEdge, LabelledSmoothStepEdge, LabelledStepEdge, MESSAGE, type MermaidExportOptions, MermaidView, type Message, _default$t as MessageGroupExpandedNode, type MessageGroupExpandedNodeData, _default$u as MessageGroupNode, type MessageGroupNodeData, type MessageGroupNode as MessageGroupNodeType, _default as MultilineEdgeLabel, type NodeCategory, type NodeConfiguration, _default$v as NodeContextMenu, NodeGraph, type NodeGraphProps, type NodeType, _default$k as Note, type NoteNode, NotesIndicator, OwnerIndicator, QUERY, _default$g as Query, type QueryNode, type RegisteredNode, SERVICE, _default$h as Service, type ServiceNode, type Service as ServiceType, _default$4 as StepNode, _default$w as StepWalkthrough, _default$7 as SystemGroupNode, _default$9 as SystemNode, _default$3 as UserNode, VIEW, type View, type ViewNode, VisualiserSearch, type VisualizerCallbacks, type VisualizerLink, type VisualizerMode, _default$n as actorConfig, buildNodeData, calculatedNodes, convertToMermaid, createDagreGraph, createEdge, createNode, _default$m as dataNodeConfig, edgeTypes, _default$d as eventConfig, exportNodeGraphForStudio, _default$l as externalSystemConfig, _default$p as fieldConfig, generateIdForNode, generateIdForNodes, generatedIdForEdge, getColorFromString, getEdgeLabelForMessageAsSource, getEdgeLabelForServiceAsTarget, getNestedEntityProperties, getNodesAndEdgesFromDagre, getPropertyTypeLabel, layoutDagreGraph, layoutGraph, nodeComponents, nodeConfigs, normalizeOwners, selectDagreRanker };
package/dist/index.js CHANGED
@@ -59,6 +59,9 @@ __export(index_exports, {
59
59
  FlowNode: () => Flow_default,
60
60
  FocusModeModal: () => FocusModeModal_default,
61
61
  GroupNode: () => GroupNode_default,
62
+ LARGE_GRAPH_EDGE_THRESHOLD: () => LARGE_GRAPH_EDGE_THRESHOLD,
63
+ LARGE_GRAPH_NODE_THRESHOLD: () => LARGE_GRAPH_NODE_THRESHOLD,
64
+ LARGE_GRAPH_RANKER: () => LARGE_GRAPH_RANKER,
62
65
  LabelledDefaultEdge: () => LabelledDefaultEdge,
63
66
  LabelledSmoothStepEdge: () => LabelledSmoothStepEdge,
64
67
  LabelledStepEdge: () => LabelledStepEdge,
@@ -106,10 +109,12 @@ __export(index_exports, {
106
109
  getNestedEntityProperties: () => getNestedEntityProperties,
107
110
  getNodesAndEdgesFromDagre: () => getNodesAndEdgesFromDagre,
108
111
  getPropertyTypeLabel: () => getPropertyTypeLabel,
112
+ layoutDagreGraph: () => layoutDagreGraph,
109
113
  layoutGraph: () => layoutGraph,
110
114
  nodeComponents: () => nodeComponents,
111
115
  nodeConfigs: () => nodeConfigs,
112
- normalizeOwners: () => normalizeOwners
116
+ normalizeOwners: () => normalizeOwners,
117
+ selectDagreRanker: () => selectDagreRanker
113
118
  });
114
119
  module.exports = __toCommonJS(index_exports);
115
120
 
@@ -5900,6 +5905,7 @@ var System_default = (0, import_react54.memo)(function SystemNode({ data }) {
5900
5905
  const { id, version, name, summary, scope } = system;
5901
5906
  const isExternal = scope === "external";
5902
5907
  const isDark = useDarkMode();
5908
+ const isFlowStep = Boolean(data.step);
5903
5909
  const stats = [
5904
5910
  { icon: import_lucide_react26.Server, label: "Services", count: servicesCount },
5905
5911
  { icon: import_lucide_react26.MessageSquare, label: "Messages", count: messagesCount },
@@ -5913,15 +5919,18 @@ var System_default = (0, import_react54.memo)(function SystemNode({ data }) {
5913
5919
  return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
5914
5920
  "div",
5915
5921
  {
5916
- role: "button",
5917
- tabIndex: 0,
5918
- onClick: goToMap,
5919
- onKeyDown: (e) => {
5920
- if (e.key === "Enter" || e.key === " ") goToMap();
5922
+ ...isFlowStep ? {} : {
5923
+ role: "button",
5924
+ tabIndex: 0,
5925
+ onClick: goToMap,
5926
+ onKeyDown: (e) => {
5927
+ if (e.key === "Enter" || e.key === " ") goToMap();
5928
+ },
5929
+ title: `Open the ${name} map`
5921
5930
  },
5922
- title: `Open the ${name} map`,
5923
5931
  className: classNames18(
5924
- "relative min-w-48 max-w-60 rounded-xl border-2 overflow-visible cursor-pointer",
5932
+ "relative min-w-48 max-w-60 rounded-xl border-2 overflow-visible",
5933
+ !isFlowStep && "cursor-pointer",
5925
5934
  isExternal ? "border-dashed border-violet-400" : "border-violet-500"
5926
5935
  ),
5927
5936
  style: {
@@ -9006,6 +9015,8 @@ var NODE_SHAPE_MAP = {
9006
9015
  flows: ["([", "])"],
9007
9016
  // stadium (rounded)
9008
9017
  flow: ["([", "])"],
9018
+ systems: ["[[", "]]"],
9019
+ system: ["[[", "]]"],
9009
9020
  step: ["[", "]"],
9010
9021
  // rectangle
9011
9022
  user: ["((", "))"],
@@ -9055,6 +9066,8 @@ var NODE_STYLE_CLASSES = {
9055
9066
  domain: "fill:#eab308,stroke:#a16207,color:#000",
9056
9067
  flows: "fill:#14b8a6,stroke:#0f766e,color:#fff",
9057
9068
  flow: "fill:#14b8a6,stroke:#0f766e,color:#fff",
9069
+ systems: "fill:#8b5cf6,stroke:#6d28d9,color:#fff",
9070
+ system: "fill:#8b5cf6,stroke:#6d28d9,color:#fff",
9058
9071
  step: "fill:#374151,stroke:#1f2937,color:#fff",
9059
9072
  user: "fill:#8b5cf6,stroke:#6d28d9,color:#fff",
9060
9073
  actor: "fill:#eab308,stroke:#a16207,color:#000",
@@ -9126,6 +9139,12 @@ function getNodeLabel(node) {
9126
9139
  const version = domainData?.version || domain?.version;
9127
9140
  return formatLabelWithVersion(name, version);
9128
9141
  }
9142
+ if (type === "systems" || type === "system") {
9143
+ const system = data.system;
9144
+ const name = system?.name || system?.id || node.id;
9145
+ const version = system?.data?.version || system?.version;
9146
+ return formatLabelWithVersion(name, version);
9147
+ }
9129
9148
  if (type === "flows" || type === "flow") {
9130
9149
  const flow = data.flow;
9131
9150
  const name = flow?.name || flow?.id || node.id;
@@ -9545,6 +9564,26 @@ var createDagreGraph = ({
9545
9564
  graph.setDefaultEdgeLabel(() => ({}));
9546
9565
  return graph;
9547
9566
  };
9567
+ var LARGE_GRAPH_NODE_THRESHOLD = 80;
9568
+ var LARGE_GRAPH_EDGE_THRESHOLD = 200;
9569
+ var LARGE_GRAPH_RANKER = "tight-tree";
9570
+ var selectDagreRanker = (nodeCount, edgeCount, explicitRanker) => {
9571
+ if (explicitRanker) return explicitRanker;
9572
+ if (nodeCount >= LARGE_GRAPH_NODE_THRESHOLD || edgeCount >= LARGE_GRAPH_EDGE_THRESHOLD) {
9573
+ return LARGE_GRAPH_RANKER;
9574
+ }
9575
+ return void 0;
9576
+ };
9577
+ var layoutDagreGraph = (flow) => {
9578
+ const label = flow.graph() || {};
9579
+ const nodeCount = flow.nodeCount();
9580
+ const edgeCount = flow.edgeCount();
9581
+ const ranker = selectDagreRanker(nodeCount, edgeCount, label.ranker);
9582
+ if (ranker && label.ranker !== ranker) {
9583
+ flow.setGraph({ ...label, ranker });
9584
+ }
9585
+ import_dagre.default.layout(flow);
9586
+ };
9548
9587
  var createEdge = (edgeOptions) => {
9549
9588
  return {
9550
9589
  label: "subscribed by",
@@ -9587,7 +9626,7 @@ var getNodesAndEdgesFromDagre = ({
9587
9626
  edges.forEach((edge) => {
9588
9627
  flow.setEdge(edge.source, edge.target);
9589
9628
  });
9590
- import_dagre.default.layout(flow);
9629
+ layoutDagreGraph(flow);
9591
9630
  return {
9592
9631
  nodes: calculatedNodes(flow, nodes),
9593
9632
  edges
@@ -11552,7 +11591,7 @@ function AllNotesModal({
11552
11591
  var import_dagre3 = __toESM(require("dagre"));
11553
11592
  var import_jsx_runtime52 = require("react/jsx-runtime");
11554
11593
  var POSITION_CHANGE_THRESHOLD = 1;
11555
- var LARGE_GRAPH_NODE_THRESHOLD = 30;
11594
+ var LARGE_GRAPH_NODE_THRESHOLD2 = 30;
11556
11595
  var NODE_ORIGIN = [0.1, 0.1];
11557
11596
  var INITIAL_FIT_VIEW_OPTIONS = { padding: 0.2, duration: 0 };
11558
11597
  var MINIMAP_STYLE = {
@@ -11991,7 +12030,7 @@ var NodeGraphBuilder = ({
11991
12030
  g.setEdge(sourceTop, targetTop);
11992
12031
  }
11993
12032
  });
11994
- import_dagre3.default.layout(g);
12033
+ layoutDagreGraph(g);
11995
12034
  const positioned = nextNodes.map((node) => {
11996
12035
  if (node.parentId) {
11997
12036
  const parent = nextNodes.find((n) => n.id === node.parentId);
@@ -12082,7 +12121,7 @@ var NodeGraphBuilder = ({
12082
12121
  g.setEdge(e.source, e.target);
12083
12122
  }
12084
12123
  });
12085
- import_dagre3.default.layout(g);
12124
+ layoutDagreGraph(g);
12086
12125
  let minX = Infinity;
12087
12126
  let minY = Infinity;
12088
12127
  let maxX = -Infinity;
@@ -12701,7 +12740,7 @@ var NodeGraphBuilder = ({
12701
12740
  if (storedAnimateMessages !== null) {
12702
12741
  setAnimateMessages(storedAnimateMessages === "true");
12703
12742
  } else {
12704
- setAnimateMessages(initialNodes.length <= LARGE_GRAPH_NODE_THRESHOLD);
12743
+ setAnimateMessages(initialNodes.length <= LARGE_GRAPH_NODE_THRESHOLD2);
12705
12744
  }
12706
12745
  }
12707
12746
  }, [animated, disableMessageAnimation, initialNodes.length]);
@@ -13699,6 +13738,9 @@ var edgeTypes = {
13699
13738
  FlowNode,
13700
13739
  FocusModeModal,
13701
13740
  GroupNode,
13741
+ LARGE_GRAPH_EDGE_THRESHOLD,
13742
+ LARGE_GRAPH_NODE_THRESHOLD,
13743
+ LARGE_GRAPH_RANKER,
13702
13744
  LabelledDefaultEdge,
13703
13745
  LabelledSmoothStepEdge,
13704
13746
  LabelledStepEdge,
@@ -13746,9 +13788,11 @@ var edgeTypes = {
13746
13788
  getNestedEntityProperties,
13747
13789
  getNodesAndEdgesFromDagre,
13748
13790
  getPropertyTypeLabel,
13791
+ layoutDagreGraph,
13749
13792
  layoutGraph,
13750
13793
  nodeComponents,
13751
13794
  nodeConfigs,
13752
- normalizeOwners
13795
+ normalizeOwners,
13796
+ selectDagreRanker
13753
13797
  });
13754
13798
  //# sourceMappingURL=index.js.map