maltego_apply_layout
Arranges entities on the active graph by computing and assigning layout positions using hierarchical, radial, or force algorithms.
Instructions
Compute and assign (x, y) layout positions to entities on the active graph.
Positions are stored on the graph and persisted into the .mtgx on save. Re-run after adding entities to refresh the layout. Layouts are deterministic.
Args: params (ApplyLayoutInput): - algorithm (str): 'hierarchical', 'radial', or 'force'.
Returns: str: Confirmation with the number of entities positioned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |