菜单

12.连线左侧模型库类

下载

连线左侧模型库类

查看左侧连线模型库

  • 接口描述:获取nVisual内主视图区连线模型库数据,支持筛选和分页。

  • URL地址:http://ip:port /wapi/v1/diagram_link_types

  • 访问方法::Get

  • 请求参数:

    Parame参数

参数名 类型 示例值 必填 说明
keyword String Link3 连线类型名称筛选,支持模糊查询
favorite bool false 是否收藏筛选
per_page integer 50 页面大小
page integer 0 页码
  • 响应示例:

{

"page_size": 50,

"page": 0,

"page_count": 0,

"number_of_elements": 1,

"total_elements": 1,

"items": [

{

"id": 27000000000067,

"name": "Link3-Blue",

"color": "#2a4bf4",

"thickness": 3,

"linkStyle": 0,

"categoryId": 130006,

"snappedToEdge": true,

"matchingPortConnectors": null,

"useForAcraPatch": null,

"excludableFromAcra": true,

"mode": null,

"vendorId": 782,

"description": "IP链路(蓝色)",

"background": "0kpjm23w.png",

"htLinkType": "{\"linkType\":\"h.v\",\"startArrowHead\":null,\"endArrowHead\":null,\"autoArrangement\":false}",

"topLeftX": null,

"topLeftY": null,

"bottomRightX": null,

"bottomRightY": null,

"enabled": true,

"system": false,

"favourite": true

}

]

}

最近修改: 2025-02-27