Rotatable Node
This example shows how to implement a custom node that can be rotated using CSS transforms.
Last updated on
This example shows how to implement a custom node that can be rotated using CSS transforms.
import { Position } from '@xyflow/react';
export const nodes = [
{
id: '1',
position: { x: 0, y: 0 },