Descent respects a collection of locks over nodes that should not move
Locks
01 Syntax
Microsoft.VisualBasic.Data.visualize.Network.Layouts.Cola.Locks
02 Methods
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| isEmpty | 1 |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| locks | 1 |
05 Members
add(
Int32, Double())add a lock on the node at index id
Parameters
| Name | Type | Description |
|---|---|---|
id | Int32 | index of node to be locked |
x | Double() | required position for node |
clear
clear all locks
apply(
Action(Of Int32, Double()))perform an operation on each lock
Parameters
| Name | Type | Description |
|---|---|---|
f | Action(Of Int32, Double()) | - |
isEmpty
Returns
false if no locks exist
locks