AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { describe, it, expect } from 'vitest';
import { flowCanvasLayoutConsts } from '@/app/builder/flow-canvas/utils/layout-consts';
describe('flowCanvasLayoutConsts', () => {
it('keeps horizontal step labels narrower than the node center-to-center distance so adjacent labels cannot overlap', () => {
const { stepAlongSize, spaceAlongBetweenSteps } =
flowCanvasLayoutConsts.ORIENTATION_LAYOUT.horizontal;
const centerToCenterDistance = stepAlongSize + spaceAlongBetweenSteps;
expect(flowCanvasLayoutConsts.HORIZONTAL_STEP_LABEL_WIDTH).toBeLessThan(
centerToCenterDistance,
);
});
});