Flow Board Shape Node

Type: object

AttributeTypeDescription
idstringThe unique id of the shape node
typestring ("ShapeNode")-
shape_typestring ("rectangle", "pill" or "diamond")-
positionFlow Board Position-
textstring-
widthnumber-
heightnumber-
colorFlow Board Node Color-

Example

{
  "id": "610cd30ff252160033aa5ab9",
  "type": "ShapeNode",
  "shape_type": "rectangle",
  "text": "Login",
  "width": 100,
  "height": 100,
  "color": {
    "r": 255,
    "g": 255,
    "b": 0,
    "a": 1
  },
  "position": {
    "x": 23,
    "y": 45
  }
}