Const
Experimental
Portal group is a container for ports. It can be used to group ports together and apply transformations to them. This feature is experimental and may change in the future.
import { Port } from '@joint/react';<Port.Group id="group-one" angle={0}> <Port.Item id="port-one" x={0} y={0}> <rect width={10} height={10} fill="red" /> </Port.Item></Port.Group> Copy
import { Port } from '@joint/react';<Port.Group id="group-one" angle={0}> <Port.Item id="port-one" x={0} y={0}> <rect width={10} height={10} fill="red" /> </Port.Item></Port.Group>
Portal group is a container for ports. It can be used to group ports together and apply transformations to them. This feature is experimental and may change in the future.