Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

336 B
Raw Blame
export const getHoveredParallelId = (relatedTarget: EventTarget | null) => {
  const element = relatedTarget as Element | null
  if (element && 'closest' in element) {
    const closestParallel = element.closest('[data-parallel-id]')
    if (closestParallel) return closestParallel.getAttribute('data-parallel-id')
  }

  return null
}