@eventcatalog/visualiser 3.22.1 → 4.0.0-beta.0
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/dist/index.d.mts +56 -22
- package/dist/index.d.ts +56 -22
- package/dist/index.js +1529 -1189
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1195 -837
- package/dist/index.mjs.map +1 -1
- package/dist/styles-core.css +55 -0
- package/dist/styles.css +55 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -350,6 +350,13 @@ interface NodeGraphProps {
|
|
|
350
350
|
resourceKey?: string;
|
|
351
351
|
/** Controls whether message flow animation is enabled. When set, overrides URL params and localStorage. */
|
|
352
352
|
animated?: boolean;
|
|
353
|
+
/**
|
|
354
|
+
* When true, message-flow animation is unsupported for this graph: it is forced
|
|
355
|
+
* off (ignoring the `animated` prop, URL params and localStorage) and the
|
|
356
|
+
* "Simulate Messages" toggle is hidden. Used by graphs that aren't message
|
|
357
|
+
* flows, e.g. the System Diagram.
|
|
358
|
+
*/
|
|
359
|
+
disableMessageAnimation?: boolean;
|
|
353
360
|
/** When set, the graph will zoom to this node id. */
|
|
354
361
|
focusNodeId?: string;
|
|
355
362
|
/** Optional token to force repeated focus for the same node id. */
|
|
@@ -401,6 +408,9 @@ interface NodeDataContent extends Record<string, unknown> {
|
|
|
401
408
|
domain?: {
|
|
402
409
|
data?: DomainData;
|
|
403
410
|
} & DomainData;
|
|
411
|
+
system?: {
|
|
412
|
+
data?: ResourceData;
|
|
413
|
+
} & ResourceData;
|
|
404
414
|
entity?: {
|
|
405
415
|
data?: EntityData;
|
|
406
416
|
} & EntityData;
|
|
@@ -486,7 +496,7 @@ interface StepWalkthroughProps {
|
|
|
486
496
|
onStepChange: (nodeId: string | null, highlightPaths?: string[], shouldZoomOut?: boolean) => void;
|
|
487
497
|
mode?: "full" | "simple";
|
|
488
498
|
}
|
|
489
|
-
declare const _default$
|
|
499
|
+
declare const _default$w: react__default.NamedExoticComponent<StepWalkthroughProps>;
|
|
490
500
|
|
|
491
501
|
interface FocusModeModalProps {
|
|
492
502
|
isOpen: boolean;
|
|
@@ -503,7 +513,7 @@ interface NodeContextMenuProps {
|
|
|
503
513
|
items: ContextMenuItem[];
|
|
504
514
|
children: React.ReactNode;
|
|
505
515
|
}
|
|
506
|
-
declare const _default$
|
|
516
|
+
declare const _default$v: react.NamedExoticComponent<NodeContextMenuProps>;
|
|
507
517
|
|
|
508
518
|
type MessageGroupNodeData = {
|
|
509
519
|
mode?: string;
|
|
@@ -521,7 +531,7 @@ type MessageGroupNodeData = {
|
|
|
521
531
|
};
|
|
522
532
|
};
|
|
523
533
|
type MessageGroupNode = Node<MessageGroupNodeData, "messageGroup">;
|
|
524
|
-
declare const _default$
|
|
534
|
+
declare const _default$u: react.NamedExoticComponent<MessageGroupNode>;
|
|
525
535
|
|
|
526
536
|
type MessageGroupExpandedNodeData = {
|
|
527
537
|
groupName: string;
|
|
@@ -529,7 +539,7 @@ type MessageGroupExpandedNodeData = {
|
|
|
529
539
|
messageCount: number;
|
|
530
540
|
onCollapse?: string;
|
|
531
541
|
};
|
|
532
|
-
declare const _default$
|
|
542
|
+
declare const _default$t: react.NamedExoticComponent<{
|
|
533
543
|
data: MessageGroupExpandedNodeData;
|
|
534
544
|
}>;
|
|
535
545
|
|
|
@@ -555,13 +565,13 @@ type DataProductNodeData = EventCatalogResource & {
|
|
|
555
565
|
};
|
|
556
566
|
};
|
|
557
567
|
type DataProductNode = Node<DataProductNodeData, "data-product">;
|
|
558
|
-
declare const _default$
|
|
568
|
+
declare const _default$s: react.NamedExoticComponent<DataProductNode>;
|
|
559
569
|
|
|
560
570
|
type FlowExpandedNodeData = {
|
|
561
571
|
flowName?: string;
|
|
562
572
|
version?: string;
|
|
563
573
|
};
|
|
564
|
-
declare const _default$
|
|
574
|
+
declare const _default$r: react.NamedExoticComponent<{
|
|
565
575
|
data: FlowExpandedNodeData;
|
|
566
576
|
}>;
|
|
567
577
|
|
|
@@ -571,9 +581,9 @@ type FieldNodeData = {
|
|
|
571
581
|
mode?: "simple" | "full";
|
|
572
582
|
};
|
|
573
583
|
type FieldNode = Node<FieldNodeData, "field">;
|
|
574
|
-
declare const _default$
|
|
584
|
+
declare const _default$q: react.NamedExoticComponent<FieldNode>;
|
|
575
585
|
|
|
576
|
-
declare const _default$
|
|
586
|
+
declare const _default$p: NodeConfiguration;
|
|
577
587
|
|
|
578
588
|
type ActorNodeData = EventCatalogResource & {
|
|
579
589
|
name: string;
|
|
@@ -583,9 +593,9 @@ type ActorNodeData = EventCatalogResource & {
|
|
|
583
593
|
notes?: Note[];
|
|
584
594
|
};
|
|
585
595
|
type ActorNode = Node<ActorNodeData, "actor">;
|
|
586
|
-
declare const _default$
|
|
596
|
+
declare const _default$o: react.NamedExoticComponent<ActorNode>;
|
|
587
597
|
|
|
588
|
-
declare const _default$
|
|
598
|
+
declare const _default$n: NodeConfiguration;
|
|
589
599
|
|
|
590
600
|
type ViewNodeData = EventCatalogResource & {
|
|
591
601
|
view: View;
|
|
@@ -597,7 +607,7 @@ type DataNodeData = EventCatalogResource & {
|
|
|
597
607
|
};
|
|
598
608
|
type DataNode = Node<DataNodeData, "data">;
|
|
599
609
|
|
|
600
|
-
declare const _default$
|
|
610
|
+
declare const _default$m: NodeConfiguration;
|
|
601
611
|
|
|
602
612
|
type ExternalSystemNodeData = EventCatalogResource & {
|
|
603
613
|
externalSystem: ExternalSystem & {
|
|
@@ -607,7 +617,7 @@ type ExternalSystemNodeData = EventCatalogResource & {
|
|
|
607
617
|
};
|
|
608
618
|
type ExternalSystemNode = Node<ExternalSystemNodeData, "external-system">;
|
|
609
619
|
|
|
610
|
-
declare const _default$
|
|
620
|
+
declare const _default$l: NodeConfiguration;
|
|
611
621
|
|
|
612
622
|
type NoteNodeData = {
|
|
613
623
|
id: string;
|
|
@@ -622,7 +632,7 @@ interface NoteNodeProps extends NoteNode {
|
|
|
622
632
|
showResizer?: boolean;
|
|
623
633
|
readOnly?: boolean;
|
|
624
634
|
}
|
|
625
|
-
declare const _default$
|
|
635
|
+
declare const _default$k: react__default.NamedExoticComponent<NoteNodeProps>;
|
|
626
636
|
|
|
627
637
|
type ChannelNodeData = EventCatalogResource & {
|
|
628
638
|
channel: Channel;
|
|
@@ -641,7 +651,7 @@ type AgentToolData = EventCatalogResource & {
|
|
|
641
651
|
};
|
|
642
652
|
type AgentToolNode = Node<AgentToolData, "agentTool">;
|
|
643
653
|
declare function AgentTool(props: AgentToolNode): react_jsx_runtime.JSX.Element;
|
|
644
|
-
declare const _default$
|
|
654
|
+
declare const _default$j: react.MemoExoticComponent<typeof AgentTool>;
|
|
645
655
|
|
|
646
656
|
type AgentNodeData = EventCatalogResource & {
|
|
647
657
|
agent: {
|
|
@@ -669,33 +679,33 @@ type AgentNodeData = EventCatalogResource & {
|
|
|
669
679
|
};
|
|
670
680
|
type AgentNode = Node<AgentNodeData, "agent">;
|
|
671
681
|
declare function Agent(props: AgentNode): react_jsx_runtime.JSX.Element;
|
|
672
|
-
declare const _default$
|
|
682
|
+
declare const _default$i: react.MemoExoticComponent<typeof Agent>;
|
|
673
683
|
|
|
674
684
|
type ServiceNodeData = EventCatalogResource & {
|
|
675
685
|
service: Service;
|
|
676
686
|
};
|
|
677
687
|
type ServiceNode = Node<ServiceNodeData, "service">;
|
|
678
|
-
declare const _default$
|
|
688
|
+
declare const _default$h: react.NamedExoticComponent<ServiceNode>;
|
|
679
689
|
|
|
680
690
|
type QueryNodeData = EventCatalogResource & {
|
|
681
691
|
message: Message;
|
|
682
692
|
};
|
|
683
693
|
type QueryNode = Node<QueryNodeData, "query">;
|
|
684
|
-
declare const _default$
|
|
694
|
+
declare const _default$g: react.NamedExoticComponent<QueryNode>;
|
|
685
695
|
|
|
686
696
|
type CommandNodeData = EventCatalogResource & {
|
|
687
697
|
message: Message;
|
|
688
698
|
};
|
|
689
699
|
type CommandNode = Node<CommandNodeData, "command">;
|
|
690
|
-
declare const _default$
|
|
700
|
+
declare const _default$f: react.NamedExoticComponent<CommandNode>;
|
|
691
701
|
|
|
692
702
|
type MessageNodeData = EventCatalogResource & {
|
|
693
703
|
message: Message;
|
|
694
704
|
};
|
|
695
705
|
type EventNode = Node<MessageNodeData, "event">;
|
|
696
|
-
declare const _default$
|
|
706
|
+
declare const _default$e: react.NamedExoticComponent<EventNode>;
|
|
697
707
|
|
|
698
|
-
declare const _default$
|
|
708
|
+
declare const _default$d: NodeConfiguration;
|
|
699
709
|
|
|
700
710
|
declare const NotesIndicator: react.NamedExoticComponent<{
|
|
701
711
|
notes: Note[];
|
|
@@ -721,9 +731,30 @@ declare const OwnerIndicator: react.NamedExoticComponent<{
|
|
|
721
731
|
iconClass?: string;
|
|
722
732
|
}>;
|
|
723
733
|
|
|
734
|
+
declare const _default$c: react.NamedExoticComponent<any>;
|
|
735
|
+
|
|
736
|
+
declare const _default$b: react.NamedExoticComponent<any>;
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* A system rendered on the System Diagram.
|
|
740
|
+
*
|
|
741
|
+
* Styled to match the other resource nodes (e.g. the service node): a rounded,
|
|
742
|
+
* bordered card with a floating type badge + icon on the top-left border.
|
|
743
|
+
* Left-clicking the node navigates to the system's architecture map.
|
|
744
|
+
* Right-click (handled by the NodeGraph context-menu wrapper) offers docs / map / context.
|
|
745
|
+
*/
|
|
746
|
+
declare const _default$a: react.NamedExoticComponent<any>;
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* An actor (person/role) on the System Diagram.
|
|
750
|
+
*
|
|
751
|
+
* Deliberately styled differently from the boxy resource nodes: a soft, pill-ish
|
|
752
|
+
* card with the actor icon in a circular badge centered at the top and the actor
|
|
753
|
+
* name centered below. This reads as "a person", not "a system", at a glance.
|
|
754
|
+
*/
|
|
724
755
|
declare const _default$9: react.NamedExoticComponent<any>;
|
|
725
756
|
|
|
726
|
-
declare const _default$8: react.NamedExoticComponent<
|
|
757
|
+
declare const _default$8: react.NamedExoticComponent<NodeProps>;
|
|
727
758
|
|
|
728
759
|
declare const _default$7: react.NamedExoticComponent<any>;
|
|
729
760
|
|
|
@@ -766,6 +797,9 @@ declare const nodeComponents: {
|
|
|
766
797
|
field: react.NamedExoticComponent<FieldNode>;
|
|
767
798
|
custom: react.NamedExoticComponent<any>;
|
|
768
799
|
domain: react.NamedExoticComponent<any>;
|
|
800
|
+
system: react.NamedExoticComponent<any>;
|
|
801
|
+
"context-actor": react.NamedExoticComponent<any>;
|
|
802
|
+
"system-group": react.NamedExoticComponent<_xyflow_react.NodeProps>;
|
|
769
803
|
entity: react.NamedExoticComponent<any>;
|
|
770
804
|
flow: react.NamedExoticComponent<any>;
|
|
771
805
|
flowExpanded: react.NamedExoticComponent<{
|
|
@@ -864,4 +898,4 @@ declare function layoutGraph(nodes: GraphNode[], edges: GraphEdge[], options?: {
|
|
|
864
898
|
edges: Edge[];
|
|
865
899
|
};
|
|
866
900
|
|
|
867
|
-
export { ACTOR, AGENT, AGENT_TOOL, _default$
|
|
901
|
+
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$9 as ContextActorNode, type ContextMenuItem, _default$c as CustomNode, DATA, type Data, type DataNode, _default$s as DataProductNode, _default$b as DomainNode, type DslGraph, EVENT, type EdgeType, _default$7 as EntityNode, _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, 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$8 as SystemGroupNode, _default$a 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, getNodesAndEdgesFromDagre, layoutGraph, nodeComponents, nodeConfigs, normalizeOwners };
|
package/dist/index.d.ts
CHANGED
|
@@ -350,6 +350,13 @@ interface NodeGraphProps {
|
|
|
350
350
|
resourceKey?: string;
|
|
351
351
|
/** Controls whether message flow animation is enabled. When set, overrides URL params and localStorage. */
|
|
352
352
|
animated?: boolean;
|
|
353
|
+
/**
|
|
354
|
+
* When true, message-flow animation is unsupported for this graph: it is forced
|
|
355
|
+
* off (ignoring the `animated` prop, URL params and localStorage) and the
|
|
356
|
+
* "Simulate Messages" toggle is hidden. Used by graphs that aren't message
|
|
357
|
+
* flows, e.g. the System Diagram.
|
|
358
|
+
*/
|
|
359
|
+
disableMessageAnimation?: boolean;
|
|
353
360
|
/** When set, the graph will zoom to this node id. */
|
|
354
361
|
focusNodeId?: string;
|
|
355
362
|
/** Optional token to force repeated focus for the same node id. */
|
|
@@ -401,6 +408,9 @@ interface NodeDataContent extends Record<string, unknown> {
|
|
|
401
408
|
domain?: {
|
|
402
409
|
data?: DomainData;
|
|
403
410
|
} & DomainData;
|
|
411
|
+
system?: {
|
|
412
|
+
data?: ResourceData;
|
|
413
|
+
} & ResourceData;
|
|
404
414
|
entity?: {
|
|
405
415
|
data?: EntityData;
|
|
406
416
|
} & EntityData;
|
|
@@ -486,7 +496,7 @@ interface StepWalkthroughProps {
|
|
|
486
496
|
onStepChange: (nodeId: string | null, highlightPaths?: string[], shouldZoomOut?: boolean) => void;
|
|
487
497
|
mode?: "full" | "simple";
|
|
488
498
|
}
|
|
489
|
-
declare const _default$
|
|
499
|
+
declare const _default$w: react__default.NamedExoticComponent<StepWalkthroughProps>;
|
|
490
500
|
|
|
491
501
|
interface FocusModeModalProps {
|
|
492
502
|
isOpen: boolean;
|
|
@@ -503,7 +513,7 @@ interface NodeContextMenuProps {
|
|
|
503
513
|
items: ContextMenuItem[];
|
|
504
514
|
children: React.ReactNode;
|
|
505
515
|
}
|
|
506
|
-
declare const _default$
|
|
516
|
+
declare const _default$v: react.NamedExoticComponent<NodeContextMenuProps>;
|
|
507
517
|
|
|
508
518
|
type MessageGroupNodeData = {
|
|
509
519
|
mode?: string;
|
|
@@ -521,7 +531,7 @@ type MessageGroupNodeData = {
|
|
|
521
531
|
};
|
|
522
532
|
};
|
|
523
533
|
type MessageGroupNode = Node<MessageGroupNodeData, "messageGroup">;
|
|
524
|
-
declare const _default$
|
|
534
|
+
declare const _default$u: react.NamedExoticComponent<MessageGroupNode>;
|
|
525
535
|
|
|
526
536
|
type MessageGroupExpandedNodeData = {
|
|
527
537
|
groupName: string;
|
|
@@ -529,7 +539,7 @@ type MessageGroupExpandedNodeData = {
|
|
|
529
539
|
messageCount: number;
|
|
530
540
|
onCollapse?: string;
|
|
531
541
|
};
|
|
532
|
-
declare const _default$
|
|
542
|
+
declare const _default$t: react.NamedExoticComponent<{
|
|
533
543
|
data: MessageGroupExpandedNodeData;
|
|
534
544
|
}>;
|
|
535
545
|
|
|
@@ -555,13 +565,13 @@ type DataProductNodeData = EventCatalogResource & {
|
|
|
555
565
|
};
|
|
556
566
|
};
|
|
557
567
|
type DataProductNode = Node<DataProductNodeData, "data-product">;
|
|
558
|
-
declare const _default$
|
|
568
|
+
declare const _default$s: react.NamedExoticComponent<DataProductNode>;
|
|
559
569
|
|
|
560
570
|
type FlowExpandedNodeData = {
|
|
561
571
|
flowName?: string;
|
|
562
572
|
version?: string;
|
|
563
573
|
};
|
|
564
|
-
declare const _default$
|
|
574
|
+
declare const _default$r: react.NamedExoticComponent<{
|
|
565
575
|
data: FlowExpandedNodeData;
|
|
566
576
|
}>;
|
|
567
577
|
|
|
@@ -571,9 +581,9 @@ type FieldNodeData = {
|
|
|
571
581
|
mode?: "simple" | "full";
|
|
572
582
|
};
|
|
573
583
|
type FieldNode = Node<FieldNodeData, "field">;
|
|
574
|
-
declare const _default$
|
|
584
|
+
declare const _default$q: react.NamedExoticComponent<FieldNode>;
|
|
575
585
|
|
|
576
|
-
declare const _default$
|
|
586
|
+
declare const _default$p: NodeConfiguration;
|
|
577
587
|
|
|
578
588
|
type ActorNodeData = EventCatalogResource & {
|
|
579
589
|
name: string;
|
|
@@ -583,9 +593,9 @@ type ActorNodeData = EventCatalogResource & {
|
|
|
583
593
|
notes?: Note[];
|
|
584
594
|
};
|
|
585
595
|
type ActorNode = Node<ActorNodeData, "actor">;
|
|
586
|
-
declare const _default$
|
|
596
|
+
declare const _default$o: react.NamedExoticComponent<ActorNode>;
|
|
587
597
|
|
|
588
|
-
declare const _default$
|
|
598
|
+
declare const _default$n: NodeConfiguration;
|
|
589
599
|
|
|
590
600
|
type ViewNodeData = EventCatalogResource & {
|
|
591
601
|
view: View;
|
|
@@ -597,7 +607,7 @@ type DataNodeData = EventCatalogResource & {
|
|
|
597
607
|
};
|
|
598
608
|
type DataNode = Node<DataNodeData, "data">;
|
|
599
609
|
|
|
600
|
-
declare const _default$
|
|
610
|
+
declare const _default$m: NodeConfiguration;
|
|
601
611
|
|
|
602
612
|
type ExternalSystemNodeData = EventCatalogResource & {
|
|
603
613
|
externalSystem: ExternalSystem & {
|
|
@@ -607,7 +617,7 @@ type ExternalSystemNodeData = EventCatalogResource & {
|
|
|
607
617
|
};
|
|
608
618
|
type ExternalSystemNode = Node<ExternalSystemNodeData, "external-system">;
|
|
609
619
|
|
|
610
|
-
declare const _default$
|
|
620
|
+
declare const _default$l: NodeConfiguration;
|
|
611
621
|
|
|
612
622
|
type NoteNodeData = {
|
|
613
623
|
id: string;
|
|
@@ -622,7 +632,7 @@ interface NoteNodeProps extends NoteNode {
|
|
|
622
632
|
showResizer?: boolean;
|
|
623
633
|
readOnly?: boolean;
|
|
624
634
|
}
|
|
625
|
-
declare const _default$
|
|
635
|
+
declare const _default$k: react__default.NamedExoticComponent<NoteNodeProps>;
|
|
626
636
|
|
|
627
637
|
type ChannelNodeData = EventCatalogResource & {
|
|
628
638
|
channel: Channel;
|
|
@@ -641,7 +651,7 @@ type AgentToolData = EventCatalogResource & {
|
|
|
641
651
|
};
|
|
642
652
|
type AgentToolNode = Node<AgentToolData, "agentTool">;
|
|
643
653
|
declare function AgentTool(props: AgentToolNode): react_jsx_runtime.JSX.Element;
|
|
644
|
-
declare const _default$
|
|
654
|
+
declare const _default$j: react.MemoExoticComponent<typeof AgentTool>;
|
|
645
655
|
|
|
646
656
|
type AgentNodeData = EventCatalogResource & {
|
|
647
657
|
agent: {
|
|
@@ -669,33 +679,33 @@ type AgentNodeData = EventCatalogResource & {
|
|
|
669
679
|
};
|
|
670
680
|
type AgentNode = Node<AgentNodeData, "agent">;
|
|
671
681
|
declare function Agent(props: AgentNode): react_jsx_runtime.JSX.Element;
|
|
672
|
-
declare const _default$
|
|
682
|
+
declare const _default$i: react.MemoExoticComponent<typeof Agent>;
|
|
673
683
|
|
|
674
684
|
type ServiceNodeData = EventCatalogResource & {
|
|
675
685
|
service: Service;
|
|
676
686
|
};
|
|
677
687
|
type ServiceNode = Node<ServiceNodeData, "service">;
|
|
678
|
-
declare const _default$
|
|
688
|
+
declare const _default$h: react.NamedExoticComponent<ServiceNode>;
|
|
679
689
|
|
|
680
690
|
type QueryNodeData = EventCatalogResource & {
|
|
681
691
|
message: Message;
|
|
682
692
|
};
|
|
683
693
|
type QueryNode = Node<QueryNodeData, "query">;
|
|
684
|
-
declare const _default$
|
|
694
|
+
declare const _default$g: react.NamedExoticComponent<QueryNode>;
|
|
685
695
|
|
|
686
696
|
type CommandNodeData = EventCatalogResource & {
|
|
687
697
|
message: Message;
|
|
688
698
|
};
|
|
689
699
|
type CommandNode = Node<CommandNodeData, "command">;
|
|
690
|
-
declare const _default$
|
|
700
|
+
declare const _default$f: react.NamedExoticComponent<CommandNode>;
|
|
691
701
|
|
|
692
702
|
type MessageNodeData = EventCatalogResource & {
|
|
693
703
|
message: Message;
|
|
694
704
|
};
|
|
695
705
|
type EventNode = Node<MessageNodeData, "event">;
|
|
696
|
-
declare const _default$
|
|
706
|
+
declare const _default$e: react.NamedExoticComponent<EventNode>;
|
|
697
707
|
|
|
698
|
-
declare const _default$
|
|
708
|
+
declare const _default$d: NodeConfiguration;
|
|
699
709
|
|
|
700
710
|
declare const NotesIndicator: react.NamedExoticComponent<{
|
|
701
711
|
notes: Note[];
|
|
@@ -721,9 +731,30 @@ declare const OwnerIndicator: react.NamedExoticComponent<{
|
|
|
721
731
|
iconClass?: string;
|
|
722
732
|
}>;
|
|
723
733
|
|
|
734
|
+
declare const _default$c: react.NamedExoticComponent<any>;
|
|
735
|
+
|
|
736
|
+
declare const _default$b: react.NamedExoticComponent<any>;
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* A system rendered on the System Diagram.
|
|
740
|
+
*
|
|
741
|
+
* Styled to match the other resource nodes (e.g. the service node): a rounded,
|
|
742
|
+
* bordered card with a floating type badge + icon on the top-left border.
|
|
743
|
+
* Left-clicking the node navigates to the system's architecture map.
|
|
744
|
+
* Right-click (handled by the NodeGraph context-menu wrapper) offers docs / map / context.
|
|
745
|
+
*/
|
|
746
|
+
declare const _default$a: react.NamedExoticComponent<any>;
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* An actor (person/role) on the System Diagram.
|
|
750
|
+
*
|
|
751
|
+
* Deliberately styled differently from the boxy resource nodes: a soft, pill-ish
|
|
752
|
+
* card with the actor icon in a circular badge centered at the top and the actor
|
|
753
|
+
* name centered below. This reads as "a person", not "a system", at a glance.
|
|
754
|
+
*/
|
|
724
755
|
declare const _default$9: react.NamedExoticComponent<any>;
|
|
725
756
|
|
|
726
|
-
declare const _default$8: react.NamedExoticComponent<
|
|
757
|
+
declare const _default$8: react.NamedExoticComponent<NodeProps>;
|
|
727
758
|
|
|
728
759
|
declare const _default$7: react.NamedExoticComponent<any>;
|
|
729
760
|
|
|
@@ -766,6 +797,9 @@ declare const nodeComponents: {
|
|
|
766
797
|
field: react.NamedExoticComponent<FieldNode>;
|
|
767
798
|
custom: react.NamedExoticComponent<any>;
|
|
768
799
|
domain: react.NamedExoticComponent<any>;
|
|
800
|
+
system: react.NamedExoticComponent<any>;
|
|
801
|
+
"context-actor": react.NamedExoticComponent<any>;
|
|
802
|
+
"system-group": react.NamedExoticComponent<_xyflow_react.NodeProps>;
|
|
769
803
|
entity: react.NamedExoticComponent<any>;
|
|
770
804
|
flow: react.NamedExoticComponent<any>;
|
|
771
805
|
flowExpanded: react.NamedExoticComponent<{
|
|
@@ -864,4 +898,4 @@ declare function layoutGraph(nodes: GraphNode[], edges: GraphEdge[], options?: {
|
|
|
864
898
|
edges: Edge[];
|
|
865
899
|
};
|
|
866
900
|
|
|
867
|
-
export { ACTOR, AGENT, AGENT_TOOL, _default$
|
|
901
|
+
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$9 as ContextActorNode, type ContextMenuItem, _default$c as CustomNode, DATA, type Data, type DataNode, _default$s as DataProductNode, _default$b as DomainNode, type DslGraph, EVENT, type EdgeType, _default$7 as EntityNode, _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, 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$8 as SystemGroupNode, _default$a 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, getNodesAndEdgesFromDagre, layoutGraph, nodeComponents, nodeConfigs, normalizeOwners };
|