A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
import { forwardRef } from 'react'
import { Handle, type HandleProps } from '@xyflow/react'
import { cn } from '@/lib/utils'
export type BaseHandleProps = HandleProps
export const BaseHandle = forwardRef<HTMLDivElement, BaseHandleProps>(
({ className, children, ...props }, ref) => {
return (
<Handle
ref={ref}
{...props}
className={cn(
'!h-[11px] !w-[11px] rounded-full border border-slate-300 transition dark:border-secondary dark:bg-secondary',
className
)}
{...props}
>
{children}
</Handle>
)
}
)
BaseHandle.displayName = 'BaseHandle'