agent-ecosystem/packages/agent-graph/src/index.ts
777genius aed08113e6 feat(agent-graph): integrate stable slot layout for improved node positioning and interaction
- Added stable slot layout support in various components, enhancing the layout and interaction of nodes.
- Updated TypeScript configuration to include new paths for the agent-graph package.
- Refactored layout logic in activity lanes and kanban to accommodate stable slot assignments.
- Enhanced GraphView and GraphControls to support sidebar visibility toggling and owner slot drop handling.
- Introduced new types for layout management in GraphDataPort and related files.
- Updated README to include stable slot layout documentation.
2026-04-15 16:18:11 +03:00

34 lines
1.4 KiB
TypeScript

/**
* @claude-teams/agent-graph
*
* Force-directed graph visualization for agent teams.
* Isolated package — depends only on React (peer) and d3-force.
* Uses Port/Adapter pattern: host project provides data through port interfaces.
*/
// ─── Components ──────────────────────────────────────────────────────────────
export { GraphView } from './ui/GraphView';
export type { GraphViewProps } from './ui/GraphView';
export { ACTIVITY_ANCHOR_LAYOUT, ACTIVITY_LANE } from './layout/activityLane';
// ─── Port Interfaces (for adapters in host project) ─────────────────────────
export type { GraphDataPort } from './ports/GraphDataPort';
export type { GraphEventPort } from './ports/GraphEventPort';
export type { GraphConfigPort } from './ports/GraphConfigPort';
// ─── Port Types ──────────────────────────────────────────────────────────────
export type {
GraphNode,
GraphEdge,
GraphParticle,
GraphActivityItem,
GraphOwnerSlotAssignment,
GraphLayoutPort,
GraphLayoutVersion,
GraphNodeKind,
GraphNodeState,
GraphLaunchVisualState,
GraphEdgeType,
GraphParticleKind,
GraphDomainRef,
} from './ports/types';