NodeLayout
Ce contenu n’est pas encore disponible dans votre langue.
Classes
NodeLayout
Extends
Constructors
new NodeLayout()
Parameters
• __namedParameters
• __namedParameters.owner: NodeFactory
Returns
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/components/BaseComponent.ts:8
Properties
cleanup()?
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/components/BaseComponent.ts:13
Methods
alignBottom()
Returns
Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:91
alignMiddle()
Returns
Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:87
alignTop()
Returns
Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:83
applyLayout()
Parameters
• offsetFunction
Returns
Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:60
applyOffsets()
Parameters
• nodes: Node
<Record
<string
, Socket
<SocketType
, "scalar"
| "array"
>>, object
, object
, Record
<string
, unknown
>, Record
<string
, unknown
>>[]
• offsets: Vector2D
[]
Returns
Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:8
getLayoutRectsAndRefPos()
Returns
object
rects
refPos
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:24
getOffsets()
Parameters
• offsetFunction
Returns
Vector2D
[]
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:53
justifyBetween()
Returns
Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:79
justifyCenter()
Returns
Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:75
justifyLeft()
Returns
Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:67
justifyRight()
Returns
Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:71
spaceVertical()
Returns
Promise
<void
>
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeLayout.ts:95