/cmr/layout/node
当前显示英文原文,切换到「中文」可查看译文。
node
Configuration for a specific node in a topology.
cmr/layout/node
Package: cmr Type: Directory
Configuration for a specific node in a topology.
| Argument | Type | Description |
|---|---|---|
name | string | Name of the node. |
layout * | enum | Name of the layout where the node will be displayed. |
device | enum | Name of the device that the node will represent in the topology. Mutually exclusive with target-layout parameter. |
target-layout | enum | Name of the layout that the node will represent in the topology. Mutually exclusive with device parameter. |
x | num | X coordinate of the node in a topology. Default X value is incremented by 200 each time a new node is added, to prevent overlapping when no coordinates are specified. (default value: 0+200*n) |
y | num | Y coordinate of the node in a topology. (default value: 0) |