Port layouts
layout.Port import provides special layout functions for the port layout.
JointJS also contains mechanisms to define one's own custom port layouts.
Built-in port layouts
Absolute
A layout function which lays all ports at a given point (defined as x, y coordinates or percentage of the element dimensions).
| name | string |
| |||||||
| args | object |
|
{
name: 'absolute',
args: {
x: '10%',
y: 10,
angle: 45
}
}