<?php

declare(strict_types=1);

namespace Drupal\flowdrop\Constants;

/**
 * Constants for workflow edge metadata keys.
 *
 * Used across workflow DTOs, job generation, and pipeline services
 * for edge connection data.
 *
 * @api
 */
final class EdgeKeys {

  public const SOURCE_HANDLE = 'sourceHandle';
  public const TARGET_HANDLE = 'targetHandle';
  public const IS_TRIGGER = 'is_trigger';
  public const IS_LOOPBACK = 'is_loopback';
  public const BRANCH_NAME = 'branch_name';
  public const SOURCE = 'source';
  public const TARGET = 'target';
  public const EDGE_ID = 'edge_id';

}
