菜单

10. 视图场景类

下载

视图场景类

查看节点目录树

  • 接口描述:传入对象id,查看当前级和子级的目录树

  • URL地址:http://ip:port /wapi/v1 /tree_directory/{nodeId}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000000001 节点id
  • 响应示例:

[

{

"permissions": "need to configure permissions",

"id": 24000000426947,

"text": "3D",

"type_group": 26000000000004,

"parentId": 24000000000001

},

{

"permissions": "need to configure permissions",

"id": 24000000173160,

"text": "CAD",

"type_group": 26000000000004,

"parentId": 24000000000001

}

]

看子级目录树

  • 接口描述:传入对象id,查看当前级的目录树

  • URL地址:http://ip:port /wapi/v1/paths/drill_down/{nodeId}/node_id

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000000001 节点id
  • 响应示例:

[

{

"route": "24000000000001/24749000662560/24749000662568",

"parent_id": 24749000662560,

"permissions": "need to configure permissions",

"vis_node_id": 749006831566,

"name": "node",

"id": 24749000662568,

"type_group": 26000000000000

}

]

Excel数据形式明细表

  • 接口描述:传入视图id和型号名称以及类型分组id,获取包含当前视图以及当前视图子节点下匹配到对应型号名和型号分类的对象明细数据,可分页。

    在nVisual内用于数据-统计点击对应型号打开明细表时调用。

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

  • 访问方法::Post

  • 请求参数:

    Body参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000000001 视图id
typeGroupId integer 1 类型分组id
typeName String CIRCLE-BLUE 型号名称
skip integer 0 页码
take integer 1000 页码大小
  • 响应示例:

{

"data": [

{

"序号": 1,

"ID": 24000000430322,

"名称": "CIRCLE-BLUE",

"类型": "形状",

"品牌": "DEFAULT",

"型号": "CIRCLE-BLUE",

"父节点名称": "A",

"宽": 100,

"高": 100,

"系统OID": null,

"URL": "/diagram/24000000430219?blink=24000000430322",

"坐标": "285.68051536529896,257.917289776412",

"效果": null,

"生命周期": null,

"监测状态": null

},

{

"序号": 2,

"ID": 24000000430323,

"名称": "CIRCLE-BLUE",

"类型": "形状",

"品牌": "DEFAULT",

"型号": "CIRCLE-BLUE",

"父节点名称": "A",

"宽": 100,

"高": 100,

"系统OID": null,

"URL": "/diagram/24000000430219?blink=24000000430323",

"坐标": "1052.459126680808,531.9463743446447",

"效果": null,

"生命周期": null,

"监测状态": null

}

],

"totalCount": 2

}

Excel数据形式节点编辑表

  • 接口描述:传入视图id类型分组id,获取当前视图下对应型号分类的节点对象明细数据,可分页。。

    在nVisual内用于数据-编辑打开节点、机柜、设备编辑表时调用。

  • URL地址:http://ip:port /wapi/v1/diagram_excel/child_node

  • 访问方法::Post

  • 请求参数:

    Body参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000000001 视图id
typeGroup integer 1 类型分组id
skip integer 0 页码
take integer 1000 页码大小
  • 响应示例:

{

"data": [

{

"ID": 24000000431743,

"名称": "42U 600×1200F33",

"型号": "1U4M角型模块化配线架",

"父节点名称": "33号",

"起始U位": 33,

"安装方向": "F",

"重量": "0",

"监测状态": null,

"创建者": null,

"显示效果": null,

"生命周期": null,

"设备厂商": null,

"IP": null,

"state": null,

"状态": null

},

{

"ID": 24000000431738,

"名称": "42U 600×1200F36",

"型号": "1U4M角型模块化配线架",

"父节点名称": "33号",

"起始U位": 36,

"安装方向": "F",

"重量": "0",

"监测状态": null,

"创建者": null,

"显示效果": null,

"生命周期": null,

"设备厂商": null,

"IP": null,

"state": null,

"状态": null

}

],

"columns": [

"提交状态",

"提交反馈",

"ID",

"名称",

"型号",

"板卡",

"父节点名称",

"坐标",

"起始U位",

"安装方向",

"重量",

"监测状态",

"创建者",

"显示效果",

"生命周期",

"设备厂商",

"IP",

"state",

"状态"

],

"totalCount": 2

}

Excel数据形式线缆编辑表

  • 接口描述:传入视图id类型分组id,获取当前视图下对应型号分类的线缆对象明细数据,可分页。。

    在nVisual内用于数据-编辑打开线缆编辑表时调用。

  • URL地址:http://ip:port /wapi/v1/diagram_excel/child_link

  • 访问方法::Post

  • 请求参数:

    Body参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000000001 视图id
typeGroup integer 12 线缆分组id
skip integer 0 页码
take integer 1000 页码大小
  • 响应示例:

{

"data": [

{

"ID": 25000000134312,

"名称": "Shapeaaa:Tray_Node\\Shapeaaa:Tray_Node",

"型号": "管段PIPE",

"本端设备名称": "Tray_Node",

"本端插槽": "",

"本端端口": "",

"对端设备名称": "Tray_Node",

"对端插槽": "",

"对端端口": "",

"路径": "",

"维护单位": null,

"创建者": null,

"项目编号": null,

"项目备案号": null,

"建设单位": null,

"产权单位": null,

"竣工日期": null,

"长度(米)": null,

"生命周期": null,

"效果": null

}

],

"columns": [

"提交状态",

"提交反馈",

"ID",

"名称",

"型号",

"本端设备名称",

"本端插槽",

"本端端口",

"对端设备名称",

"对端插槽",

"对端端口",

"路径",

"维护单位",

"创建者",

"项目编号",

"项目备案号",

"建设单位",

"产权单位",

"竣工日期",

"长度(米)",

"生命周期",

"效果"

],

"totalCount": 1

}

Excel数据形式分类统计表

  • 接口描述:传入视图id类型分组id,获取当前视图下对应型号分类的对象的统计数据。

    在nVisual内用于数据-统计打开统计表时调用。

  • URL地址:http://ip:port /wapi/v1/diagram_excel/group_by_type

  • 访问方法::Post

  • 请求参数:

    Body参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000431720 视图id
typeGroupId integer 12 类型分组id
  • 响应示例:

{

"data": [

{

"序号": 1,

"描述": "管段PIPE",

"型号": "管段PIPE",

"数量": 1,

"长度": 0,

"单位": null,

"单价": null,

"小计": 0,

"品牌": null,

"产地": null

}

],

"totalCount": 1

}

查询分析字段选择

  • 接口描述:旧版本的excel数据统计表是需要自己选择想看的字段,现在已经不再调用此接口。此接口原本功能是传入类型分组id,获取此类型分组所有重名的字段名。

  • URL地址:http://ip:port /wapi/v1 /diagram_excel_properties/type_group/{typeGroupId}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
typeGroupId Integer 1 类型分组id

业务列表

  • 接口描述:输入父节点id和类型分组id以及业务id查询业务列表。接口已废弃,nvisual暂时不拥有业务相关功能。

  • URL地址:http://ip:port /wapi/v1 /diagram_resources/{nodeId}/type_group/{typeGroupId}/business/{businessId}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
typeGroupId Integer 1 类型分组id
nodeId Long 24000000431720 父节点id
businessId Long 32000000000009 业务id

面包屑导航表

  • 接口描述:输入当前节点id,获取当前节点的面包屑导航数据,用在数据统计表和编辑表的面包屑导航,主视图没有用这个接口,主视图调用的是diagram接口的breadcrumbs对象值。

  • URL地址:http://ip:port /wapi/v1/diagram_breadcrumbs/{nodeId}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000429790 节点id
  • 响应示例:

{

"breadcrumbs": [

{

"顶层": "24000000000001"

},

{

"node": "24000000429790"

}

]

}

视图场景页面数据

  • 接口描述:输入当前场景节点id,获取当前节点的场景和子节点数据,是nVisual最重要的接口之一,负责给页面显示提供数据,非地图节点只需传入场景节点id,地图场景还需提供当前视图范围和地图层级。

  • URL地址:http://ip:port /wapi/v1/diagram/{nodeId}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000433093 场景节点id

Params参数

参数名 类型 示例值 必填 说明
top_left_x Double 12952091.011048233 地图场景必填,其余普通场景不填 当前视图范围左上角坐标
top_left_y Double 4860354.294744323
bottom_right_x Double 12952313.67868 当前视图范围右下角坐标
bottom_right_y Double 4860027.0487169
map_zoom integer 19 地图层级
  • 回参:
回参参数名 类型 说明
code int 响应状态码,200 表示请求成功。
breadcrumbs List 面包屑导航路径,记录当前视图所在的位置层级。每个元素表示一个层级。
node_diagram Map<String, Object> 节点图的相关信息,包括图的 ID、类型、父级 ID、背景图等。
node_diagram.id Long 图的唯一标识符。
node_diagram.typeId Long 图类型的唯一标识符。
node_diagram.parentId Long 父级图的 ID。
node_diagram.name String 图的名称。
node_diagram.background String 背景图的文件名。
node_diagram.route String 节点的路径信息,包含多个节点的 ID。
node_diagram.diagramWidth Double 图的宽度。
node_diagram.diagramHeight Double 图的高度。
node_type_diagram Map<String, Object> 节点类型图的相关信息,包括图的 ID、名称、背景图等。
node_type_diagram.id Long 节点类型图的唯一标识符。
node_type_diagram.name String 节点类型的名称。
node_type_diagram.image String 节点类型的图标。
node_type_diagram.width Double 节点类型的宽度。
node_type_diagram.height Double 节点类型的高度。
vis_links List<Map<String, Object>> 可视化链接信息,当前为空。
vis_nodes List<Map<String, Object>> 可视化节点信息,包含节点的详细属性,例如位置、大小、名称等。
vis_nodes.id Long 节点的唯一标识符。
vis_nodes.nodeId Long 节点在图中的 ID。
vis_nodes.diagramId Long 节点所属图的 ID。
vis_nodes.x Double 节点的 X 坐标。
vis_nodes.y Double 节点的 Y 坐标。
vis_nodes.width Double 节点的宽度。
vis_nodes.height Double 节点的高度。
vis_nodes.nodeTypeName String 节点类型的名称。
vis_nodes.nodeTypeImage String 节点类型的图标。
vis_node_fields List<Map<String, Object>> 节点字段的相关信息,例如名称、字体、颜色等。
vis_node_fields.value String 节点字段的值。
vis_node_fields.state Boolean 节点字段的显示状态。
containerChildren List<Map<String, Object>> 容器中的子元素信息。
containerChildren.id Long 容器子元素的唯一标识符。
containerChildren.typeId Long 容器子元素类型的标识符。
containerChildren.name String 容器子元素的名称。
containerChildren.x Double 容器子元素的 X 坐标。
containerChildren.y Double 容器子元素的 Y 坐标。
containerChildren.width Double 容器子元素的宽度。
containerChildren.height Double 容器子元素的高度。
diagram_permissions String 当前图的权限设置,表示用户的权限级别(如 Admin)。
cloud_directory String 云端文件存储路径。
  • 响应示例:

{

"code": 200,

"breadcrumbs": [

"顶层",

"node",

"node",

"node",

"42U 600×1200"

],

"node_diagram": {

"id": 24000000433093,

"typeId": 26000000131132,

"parentId": 24000000433079,

"name": "42U 600×1200",

"background": "busd6yjv.svg",

"route": "24000000000001/24000000429790/24000000432449/24000000433079/24000000433093",

"diagramWidth": 1000,

"diagramHeight": 750,

"diagramMarginSize": null,

"hidden": null,

"slotId": null,

"masterId": null,

"insertUserId": 94000000000432,

"templateId": null,

"adaNodeId": null,

"connectorCode": null,

"rackOverrideType": null,

"showContainerChildren": true,

"doubleClickBehavior": "default",

"mapCoordinateLeft": null,

"mapCoordinateTop": null,

"mapCoordinateRight": null,

"mapCoordinateBottom": null,

"mapUnitsType": null,

"dinamicMapSupport": null,

"autoLayoutState": null,

"mapSource": null,

"displayGrid": null,

"snapToGrid": null,

"gridSpacingY": null,

"gridSpacingX": null,

"pageColor": "#FFFFFF",

"overrideTemplateGrid": null,

"readOnlyForNonAdmins": null,

"collectorId": null,

"diagramScale": null,

"mapZoom": 3,

"enableMvtLevel": null,

"blocked": false

},

"node_type_diagram": {

"id": 26000000131132,

"name": "42U 600×1200",

"image": "zcrtx5na.svg",

"image2": null,

"background": "busd6yjv.svg",

"defaultWidth": 600,

"defaultHeight": 1200,

"typeGroup": 8,

"hierarchyBrowserLabel": 28000000240024,

"width": 600,

"height": 1200,

"templateId": null,

"vendorId": 962,

"description": "42U 600×1200",

"keepAspectRatio": null,

"showContainerChildren": true,

"doubleClickBehavior": "0",

"categoryId": null,

"snmpOid": null,

"independentMounting": true,

"inStock": -1,

"nodeClassGroupId": 180000,

"nodeClassId": 180001,

"creator": null,

"createDate": null,

"deep": 2000,

"topLeftX": null,

"topLeftY": null,

"bottomRightX": null,

"bottomRightY": null,

"enabled": true,

"system": false,

"favourite": true

},

"vis_links": [

{

"linkId": 25000000134313,

"typeId": 27000000000197,

"name": "From: 42U 600×1200F38 - To: 42U 600×1200F31",

"fromNode": 24000000433129,

"toNode": 24000000433136,

"fromRoute": "24000000000001/24000000429790/24000000432449/24000000433079/24000000433093/24000000433129",

"toRoute": "24000000000001/24000000429790/24000000432449/24000000433079/24000000433093/24000000433136",

"visLinkId": 284877,

"diagramId": 24000000433093,

"routepath": null,

"fromAnchorPointX": 0.5,

"fromAnchorPointY": 0.5,

"toAnchorPointX": 0.5,

"toAnchorPointY": 0.5,

"canDelete": true,

"canMove": true,

"zOrder": -1,

"displayed": true,

"color": "#ea5606",

"thickness": 1,

"linkStyle": 0,

"htLinkType": null,

"displayedVisLinkFields2": null,

"table": [

"名称:From: 42U 600×1200F38 - To: 42U 600×1200F31"

]

}

],

"vis_nodes": [

{

"id": 3221031,

"nodeId": 24000000433129,

"diagramId": 24000000433093,

"x": 363.0992289641301,

"y": 105.68219912839423,

"z": null,

"width": 171.37941496358843,

"height": 33.37579792501778,

"imageOverride": null,

"keepAspectRatio": false,

"angle": 0,

"canMove": true,

"canResize": true,

"canRotate": true,

"canDelete": true,

"zOrder": 0,

"displayed": true,

"typeId": 26000000017606,

"name": "42U 600×1200F38",

"parentId": 24000000433093,

"slotId": null,

"masterId": null,

"route": "24000000000001/24000000429790/24000000432449/24000000433079/24000000433093/24000000433129",

"mapZoom": 3,

"nodeTypeName": "Huawei FusionServer 2288H V5",

"nodeTypeImage": "m5k7rmh2.png",

"nodeTypeTypeGroup": 7,

"nodeTypeHeight": 88.9,

"nodeTypeWidth": 482,

"mountedNodesData": {

"nodeId": 24000000433129,

"diagramId": 24000000433093,

"containerChildId": 305,

"rackPosition": 38,

"units": 2

},

"shapes": null,

"diagramSublink": null,

"diagramSublinks": null,

"unitsHeight": 2,

"hasEmbeddedFile": false,

"clusterSize": null,

"table": [

"名称:42U 600×1200F38",

"型号:Huawei FusionServer 2288H V5",

"IP:"

],

"depth": 0,

"blocked": false,

"master": true,

"cluster": null

},

{

"id": 3221046,

"nodeId": 24000000433136,

"diagramId": 24000000433093,

"x": 363.0992289641301,

"y": 222.51089507207507,

"z": null,

"width": 171.37941496358843,

"height": 33.37579792501778,

"imageOverride": null,

"keepAspectRatio": false,

"angle": 0,

"canMove": true,

"canResize": true,

"canRotate": true,

"canDelete": true,

"zOrder": 0,

"displayed": true,

"typeId": 26000000017606,

"name": "42U 600×1200F31",

"parentId": 24000000433093,

"slotId": null,

"masterId": null,

"route": "24000000000001/24000000429790/24000000432449/24000000433079/24000000433093/24000000433136",

"mapZoom": 3,

"nodeTypeName": "Huawei FusionServer 2288H V5",

"nodeTypeImage": "m5k7rmh2.png",

"nodeTypeTypeGroup": 7,

"nodeTypeHeight": 88.9,

"nodeTypeWidth": 482,

"mountedNodesData": {

"nodeId": 24000000433136,

"diagramId": 24000000433093,

"containerChildId": 305,

"rackPosition": 31,

"units": 2

},

"shapes": null,

"diagramSublink": null,

"diagramSublinks": null,

"unitsHeight": 2,

"hasEmbeddedFile": false,

"clusterSize": null,

"table": [

"名称:42U 600×1200F31",

"型号:Huawei FusionServer 2288H V5",

"IP:"

],

"depth": 0,

"blocked": false,

"master": true,

"cluster": null

}

],

"vis_node_fields": [

{

"value": "42U 600×1200F38",

"state": true,

"propertyName": "名称",

"nodeId": 24000000433129,

"fontSize": 7.6128668785095215,

"color": "#000000",

"backgroundColor": "#FFFFFF",

"canMove": true,

"angle": 0,

"offsetX": -126.94844055175781,

"offsetY": 15.11443042755127,

"mapZoom": 3,

"visNodeId": 3221031,

"propertyValueId": 7986505

}

],

"vis_link_fields": [],

"ports": [],

"containerChildren": [

{

"id": 305,

"typeId": 26000000131132,

"name": "F",

"x": 277.964,

"y": 22.8548,

"width": 171.37941496358843,

"height": 700.8917564253733,

"physicalWidth": 482.6,

"physicalHeight": 1866.9,

"capacity": 42

},

{

"id": 306,

"typeId": 26000000131132,

"name": "B",

"x": 550.287,

"y": 22.8548,

"width": 170.99458905773542,

"height": 700.8917564253733,

"physicalWidth": 482.6,

"physicalHeight": 1866.9,

"capacity": 42

}

],

"slots": [],

"diagram_node_properties": [

{

"propertyId": 28000000240024,

"nodeTypeId": 26000000131132,

"name": "名称",

"defaultValue": null,

"position": -1,

"mandatory": true,

"displayed": false,

"fontSize": 75.882385,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 4.910426,

"offsetY": 6.3455796,

"angle": 0,

"anchorPointX": 1,

"anchorPointY": 1,

"bold": false,

"italic": false,

"underline": false,

"fontFamily": "Arial",

"fillColor": "#FFFFFF",

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": 7986301,

"nodeId": 24000000433093,

"value": "42U 600×1200",

"hasPropertyValue": true,

"nodeOverrides": [],

"visNodeFields": {

"visNodeId": 3220963,

"propertyValueId": 7986301,

"offsetY": 6.345579624176025,

"offsetX": 4.910426139831543,

"fontSize": 7.588238716125488,

"canMove": true,

"color": "#000000",

"state": false,

"angle": 0,

"bold": false,

"italic": false,

"underline": false,

"fontFamily": "Arial",

"backgroundColor": "#FFFFFF",

"align": false,

"anchor": false,

"uprightAlignment": null,

"justification": false,

"mapZoom": 3,

"new": true

},

"system": false,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000240025,

"nodeTypeId": 26000000131132,

"name": "型号",

"defaultValue": null,

"position": 0,

"mandatory": true,

"displayed": null,

"fontSize": 100,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": -15,

"angle": 0,

"anchorPointX": 0,

"anchorPointY": 0,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": 7986299,

"nodeId": 24000000433093,

"value": "42U 600×1200",

"hasPropertyValue": true,

"nodeOverrides": [],

"visNodeFields": {

"visNodeId": 3220963,

"propertyValueId": 7986299,

"offsetY": -15,

"offsetX": 0,

"fontSize": 10,

"canMove": true,

"color": "#000000",

"state": null,

"angle": 0,

"bold": false,

"italic": false,

"underline": false,

"fontFamily": "Arial",

"backgroundColor": "#FFFFFF",

"align": false,

"anchor": false,

"uprightAlignment": null,

"justification": false,

"mapZoom": 3,

"new": true

},

"system": true,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000240018,

"nodeTypeId": 26000000131132,

"name": "额定承载功率W",

"defaultValue": null,

"position": 1,

"mandatory": true,

"displayed": null,

"fontSize": 100,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": 0,

"angle": 0,

"anchorPointX": 1,

"anchorPointY": 1,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [],

"visNodeFields": null,

"system": false,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000240020,

"nodeTypeId": 26000000131132,

"name": "承重Kg",

"defaultValue": null,

"position": 2,

"mandatory": true,

"displayed": null,

"fontSize": 100,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": -15,

"angle": 0,

"anchorPointX": 0,

"anchorPointY": 0,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [],

"visNodeFields": null,

"system": true,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000240021,

"nodeTypeId": 26000000131132,

"name": "监测状态",

"defaultValue": null,

"position": 4,

"mandatory": true,

"displayed": null,

"fontSize": 100,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": -15,

"angle": 0,

"anchorPointX": 0,

"anchorPointY": 0,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [],

"visNodeFields": null,

"system": true,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000240023,

"nodeTypeId": 26000000131132,

"name": "生命周期",

"defaultValue": null,

"position": 5,

"mandatory": true,

"displayed": null,

"fontSize": 100,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": -15,

"angle": 0,

"anchorPointX": 0,

"anchorPointY": 0,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [],

"visNodeFields": null,

"system": false,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000259053,

"nodeTypeId": 26000000131132,

"name": "机柜分组",

"defaultValue": null,

"position": 6,

"mandatory": true,

"displayed": false,

"fontSize": 100,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": -15,

"angle": 0,

"anchorPointX": 0,

"anchorPointY": 0,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [],

"visNodeFields": null,

"system": true,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000331335,

"nodeTypeId": 26000000131132,

"name": "布线路由",

"defaultValue": "DEMO1",

"position": 7,

"mandatory": true,

"displayed": false,

"fontSize": 100,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": 0,

"angle": 0,

"anchorPointX": 1,

"anchorPointY": 1,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": 7986300,

"nodeId": 24000000433093,

"value": "DEMO1",

"hasPropertyValue": true,

"nodeOverrides": [],

"visNodeFields": {

"visNodeId": 3220963,

"propertyValueId": 7986300,

"offsetY": 0,

"offsetX": 0,

"fontSize": 10,

"canMove": true,

"color": "#000000",

"state": false,

"angle": 0,

"bold": false,

"italic": false,

"underline": false,

"fontFamily": "Arial",

"backgroundColor": "#FFFFFF",

"align": false,

"anchor": false,

"uprightAlignment": null,

"justification": false,

"mapZoom": 3,

"new": true

},

"system": false,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000240017,

"nodeTypeId": 26000000131132,

"name": "温度℃",

"defaultValue": null,

"position": 8,

"mandatory": true,

"displayed": null,

"fontSize": 100,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": -15,

"angle": 0,

"anchorPointX": 0,

"anchorPointY": 0,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [],

"visNodeFields": null,

"system": true,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000332103,

"nodeTypeId": 26000000131132,

"name": "实际使用功率W",

"defaultValue": null,

"position": 9,

"mandatory": true,

"displayed": null,

"fontSize": 100,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": -15,

"angle": 0,

"anchorPointX": 0,

"anchorPointY": 0,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [],

"visNodeFields": null,

"system": false,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000332246,

"nodeTypeId": 26000000131132,

"name": "实际设备重量",

"defaultValue": null,

"position": 10,

"mandatory": true,

"displayed": false,

"fontSize": 100,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": 0,

"angle": 0,

"anchorPointX": 1,

"anchorPointY": 1,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [],

"visNodeFields": null,

"system": false,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000336941,

"nodeTypeId": 26000000131132,

"name": "管理人员",

"defaultValue": null,

"position": 11,

"mandatory": true,

"displayed": null,

"fontSize": 100,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": -15,

"angle": 0,

"anchorPointX": 0,

"anchorPointY": 0,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [],

"visNodeFields": null,

"system": false,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000342981,

"nodeTypeId": 26000000131132,

"name": "效果",

"defaultValue": null,

"position": 12,

"mandatory": true,

"displayed": null,

"fontSize": 10,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": -15,

"angle": 0,

"anchorPointX": 0,

"anchorPointY": 0,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [],

"visNodeFields": null,

"system": false,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000343108,

"nodeTypeId": 26000000131132,

"name": "密码",

"defaultValue": null,

"position": 13,

"mandatory": true,

"displayed": false,

"fontSize": 10,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": -15,

"angle": 0,

"anchorPointX": 0,

"anchorPointY": 0,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [],

"visNodeFields": null,

"system": false,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

},

{

"propertyId": 28000000344068,

"nodeTypeId": 26000000131132,

"name": "走线方式",

"defaultValue": null,

"position": 14,

"mandatory": true,

"displayed": null,

"fontSize": 10,

"fontColor": "#000000",

"notEditable": false,

"offsetX": 0,

"offsetY": -15,

"angle": 0,

"anchorPointX": 0,

"anchorPointY": 0,

"bold": null,

"italic": null,

"underline": null,

"fontFamily": null,

"fillColor": null,

"align": 0,

"lockList": false,

"justification": 0,

"snmpOid": null,

"propertyValueId": null,

"nodeId": null,

"value": null,

"hasPropertyValue": false,

"nodeOverrides": [

{

"id": 101,

"propertyId": 28000000344068,

"ruleId": 0,

"value": "上走线",

"image": null,

"instanceEffect": 0,

"parentEffect": 0,

"upwardsPropagation": 0,

"override": false

},

{

"id": 102,

"propertyId": 28000000344068,

"ruleId": 0,

"value": "下走线",

"image": null,

"instanceEffect": 0,

"parentEffect": 0,

"upwardsPropagation": 0,

"override": false

},

{

"id": 103,

"propertyId": 28000000344068,

"ruleId": 0,

"value": "理线器",

"image": null,

"instanceEffect": 0,

"parentEffect": 0,

"upwardsPropagation": 0,

"override": false

}

],

"visNodeFields": null,

"system": false,

"inProperties": true,

"typeField": false,

"uniqueForThisType": null,

"uniqueForAllTypes": null

}

],

"free_texts": [],

"diagram_permissions": "Admin",

"cloud_directory": "/cloud-files/nvisual_admin"

}

当前视图权限

  • 接口描述:输入当前视图节点id,获取当前登录的用户在当前视图的权限等级,当前登录的用户是根据token判断的。

  • URL地址:http://ip:port /wapi/v1 /diagram/permissions/{nodeId}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000433093 视图节点id
  • 响应示例:

{

"diagram_permissions": "Admin"

}

获取MVT数据

  • 接口描述:输入当前视图节点id和地图瓦片范围位置数据,获取当前瓦片内MVT数据。

  • URL地址:http://ip:port /wapi/v1/diagram/{nodeId}/mvt/{x}/{y}/{z}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000433093 视图节点id
x integer 0 瓦片位置和范围
y integer 0
z integer 0

Param参数

参数名 类型 示例值 必填 说明
token string asdxzcfdwsfddfzbgvfegcxvefvg 此接口认证方式特殊,token要在param内传参
  • 响应示例:

/ �3� default " �;� " �:� " �:�(� x

统计视图下对象数量

  • 接口描述:输入当前视图节点id,统计当前视图包含子视图的节点数量,用于nVisual底部栏统计数量。

  • URL地址:http://ip:port /wapi/v1/diagram/{nodeId}/diagram_properties

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000433093 视图节点id
  • 响应示例:

{

"code": 200,

"message": "success",

"data": {

"racks_count": 1336,

"nodes_count": 1626,

"devices_count": 2748,

"links_count": 9569

}

}

不同型号对象显示情况

  • 接口描述:输入当前视图节点id,查看当前视图不同型号对象的隐藏显示情况。

  • URL地址:http://ip:port /wapi/v1/diagram/{nodeId}/diagram_properties

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000433093 视图节点id
  • 响应示例:

{

"code": 200,

"message": "success",

"data": {

"nodes": {

"Huawei FusionServer 2288H V5": {

"node_type_id": 26000000017606,

"24000000433129": true,

"24000000433136": true

}

},

"links": {

"管段PIPE": {

"link_type_id": 27000000000197,

"25000000134313": true

}

}

}

}

修改对象隐藏显示状态

  • 接口描述:输入当前视图节点id、显示隐藏状态、选择对象模式、对象列表修改传入对象的显示隐藏状态,如果是地图内还需要传入控制范围。

  • URL地址:http://ip:port /wapi/v1/diagramDisplay/{diagramId}

  • 访问方法::Put

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
nodeId Long 24000000433093 视图节点id

Body参数

参数名 类型 示例值 必填 说明
displayMode integer 8 选择对象模式:1.当前页面全部 2.根据visNodeId 3.根据visLinkId 4.根据NodeTypeId 5.根据LinkTypeId 6.节点字 7.线路字 8.根据NodeId 9.根据LinkId
hidden boolean true
id array[Long] [24000000433136, 24000000433129]
top_left_x Double 12952091.011048233 地图场景必填,其余普通场景不填 当前视图范围左上角坐标
top_left_y Double 4860354.294744323
bottom_right_x Double 12952313.67868 当前视图范围右下角坐标
bottom_right_y Double 4860027.0487169
map_zoom integer 19 地图层级
  • 响应示例:

{

"code": 200,

"hidden": {

"自由文本隐藏数量": 0,

"线缆隐藏数量": 0,

"对象隐藏数量": 2

}

}

对端

  • 接口描述:输入节点投影id即visNodeId,获取当前视图内与此节点有连接关系的对象,用于nVisual内分析-查看对端功能。

  • URL地址:http://ip:port /wapi/v1/DiagramVisNodesConnect/{visNodeId}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
visNodeId Long 3221061 节点投影id
  • 响应示例:

{

"slots": [],

"code": 200,

"vis_nodes": [

{

"id": 3221061,

"nodeId": 24000000433143,

"diagramId": 24000000433093,

"x": 363.64798381558353,

"y": 139.65729020737894,

"z": null,

"width": 171.37941496358843,

"height": 33.37579792501778,

"imageOverride": null,

"keepAspectRatio": false,

"angle": 0,

"canMove": true,

"canResize": true,

"canRotate": true,

"canDelete": true,

"zOrder": 0,

"displayed": true,

"typeId": 26000000017606,

"name": "42U 600×1200F36",

"parentId": 24000000433093,

"slotId": null,

"masterId": null,

"route": "24000000000001/24000000429790/24000000432449/24000000433079/24000000433093/24000000433143",

"mapZoom": 3,

"nodeTypeName": "Huawei FusionServer 2288H V5",

"nodeTypeImage": "m5k7rmh2.png",

"nodeTypeTypeGroup": 7,

"nodeTypeHeight": 88.9,

"nodeTypeWidth": 482,

"mountedNodesData": {

"nodeId": 24000000433143,

"diagramId": 24000000433093,

"containerChildId": 305,

"rackPosition": 36,

"units": 2

},

"shapes": null,

"diagramSublink": null,

"diagramSublinks": null,

"unitsHeight": 2,

"hasEmbeddedFile": false,

"clusterSize": null,

"table": [

"名称:42U 600×1200F36",

"型号:Huawei FusionServer 2288H V5",

"IP:"

],

"depth": 0,

"blocked": false,

"master": true,

"cluster": null

}

],

"free_texts": [],

"containerChildren": [

{

"id": 305,

"typeId": 26000000131132,

"name": "F",

"x": 277.964,

"y": 22.8548,

"width": 171.37941496358843,

"height": 700.8917564253733,

"physicalWidth": 482.6,

"physicalHeight": 1866.9,

"capacity": 42

},

{

"id": 306,

"typeId": 26000000131132,

"name": "B",

"x": 550.287,

"y": 22.8548,

"width": 170.99458905773542,

"height": 700.8917564253733,

"physicalWidth": 482.6,

"physicalHeight": 1866.9,

"capacity": 42

}

],

"node_type_diagram": {

"id": 26000000131132,

"name": "42U 600×1200",

"image": "zcrtx5na.svg",

"image2": null,

"background": "busd6yjv.svg",

"defaultWidth": 600,

"defaultHeight": 1200,

"typeGroup": 8,

"hierarchyBrowserLabel": 28000000240024,

"width": 600,

"height": 1200,

"templateId": null,

"vendorId": 962,

"description": "42U 600×1200",

"keepAspectRatio": null,

"showContainerChildren": true,

"doubleClickBehavior": "0",

"categoryId": null,

"snmpOid": null,

"independentMounting": true,

"inStock": -1,

"nodeClassGroupId": 180000,

"nodeClassId": 180001,

"creator": null,

"createDate": null,

"deep": 2000,

"topLeftX": null,

"topLeftY": null,

"bottomRightX": null,

"bottomRightY": null,

"enabled": true,

"system": false,

"favourite": true

},

"node_diagram": {

"id": 24000000433093,

"typeId": 26000000131132,

"parentId": 24000000433079,

"name": "42U 600×1200",

"background": "busd6yjv.svg",

"route": "24000000000001/24000000429790/24000000432449/24000000433079/24000000433093",

"diagramWidth": 1000,

"diagramHeight": 750,

"diagramMarginSize": null,

"hidden": null,

"slotId": null,

"masterId": null,

"insertUserId": 94000000000432,

"templateId": null,

"adaNodeId": null,

"connectorCode": null,

"rackOverrideType": null,

"showContainerChildren": true,

"doubleClickBehavior": "default",

"mapCoordinateLeft": null,

"mapCoordinateTop": null,

"mapCoordinateRight": null,

"mapCoordinateBottom": null,

"mapUnitsType": null,

"dinamicMapSupport": null,

"autoLayoutState": null,

"mapSource": null,

"displayGrid": null,

"snapToGrid": null,

"gridSpacingY": null,

"gridSpacingX": null,

"pageColor": "#FFFFFF",

"overrideTemplateGrid": null,

"readOnlyForNonAdmins": null,

"collectorId": null,

"diagramScale": null,

"mapZoom": 3,

"enableMvtLevel": null,

"blocked": false

},

"vis_links": [],

"ports": []

}

获取闪烁对象

  • 接口描述:传入视图id和对象id用于nVisual内跳转闪烁功能。

  • URL地址:http://ip:port /wapi/v1/diagram/{diagramId}/blinkId/{blinkId}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
diagramId Long 24000000433093 视图id
blinkId Long 24000000433143 闪烁对象id
  • 响应示例:

{

"code": 200,

"data": {

"diagramId": 24000000433093,

"blinkId": 24000000433143

}

}

将闪烁对象显示

  • 接口描述:传入视图id和对象id的list,返回隐藏的对象的投影数据,用于nVisual内批量闪烁隐藏的节点的功能,请注意id对应的对象必须是隐藏的否则不返回数据。

  • URL地址:http://ip:port /wapi/v1 /diagram/{diagramId}/blinkIdList/{blinkIdList}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
diagramId Long 24000000433093 视图id
blinkIdList Array[Long] [24000000433143] 闪烁对象id
  • 响应示例:

{

"vis_nodes": [

{

"id": 3221061,

"nodeId": 24000000433143,

"diagramId": 24000000433093,

"x": 363.64798381558353,

"y": 139.65729020737894,

"z": null,

"width": 171.37941496358843,

"height": 33.37579792501778,

"imageOverride": null,

"keepAspectRatio": false,

"angle": 0,

"canMove": true,

"canResize": true,

"canRotate": true,

"canDelete": true,

"zOrder": 0,

"displayed": false,

"typeId": 26000000017606,

"name": "42U 600×1200F36",

"parentId": 24000000433093,

"slotId": null,

"masterId": null,

"route": "24000000000001/24000000429790/24000000432449/24000000433079/24000000433093/24000000433143",

"mapZoom": 3.0,

"nodeTypeName": "Huawei FusionServer 2288H V5",

"nodeTypeImage": "m5k7rmh2.png",

"nodeTypeTypeGroup": 7,

"nodeTypeHeight": 88.9,

"nodeTypeWidth": 482.0,

"mountedNodesData": {

"nodeId": 24000000433143,

"diagramId": 24000000433093,

"containerChildId": 305,

"rackPosition": 36,

"units": 2

},

"shapes": null,

"diagramSublink": null,

"diagramSublinks": null,

"unitsHeight": 2,

"hasEmbeddedFile": false,

"clusterSize": null,

"table": [

"名称:42U 600×1200F36",

"型号:Huawei FusionServer 2288H V5",

"IP:"

],

"depth": 0.0,

"blocked": false,

"master": true,

"cluster": null

}

],

"vis_links": []

}

显示某图层隐藏的对象

  • 接口描述:传入视图id和对象id,返回隐藏的对象的投影数据,用于nVisual内闪烁隐藏的节点的功能,请注意id对应的对象必须是隐藏的否则不返回数据,与上一个接口区别是这个不支持批量。

  • URL地址:http://ip:port /wapi/v1 /diagram/getNotDisplayDiagramObject/{objectId}/diagramId/{diagramId}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
objectId Long 24000000433143 视图id
diagramId Long 24000000433093 闪烁对象id
  • 响应示例:

{

"vis_nodes": [

{

"id": 3221061,

"nodeId": 24000000433143,

"diagramId": 24000000433093,

"x": 363.64798381558353,

"y": 139.65729020737894,

"z": null,

"width": 171.37941496358843,

"height": 33.37579792501778,

"imageOverride": null,

"keepAspectRatio": false,

"angle": 0,

"canMove": true,

"canResize": true,

"canRotate": true,

"canDelete": true,

"zOrder": 0,

"displayed": false,

"typeId": 26000000017606,

"name": "42U 600×1200F36",

"parentId": 24000000433093,

"slotId": null,

"masterId": null,

"route": "24000000000001/24000000429790/24000000432449/24000000433079/24000000433093/24000000433143",

"mapZoom": 3.0,

"nodeTypeName": "Huawei FusionServer 2288H V5",

"nodeTypeImage": "m5k7rmh2.png",

"nodeTypeTypeGroup": 7,

"nodeTypeHeight": 88.9,

"nodeTypeWidth": 482.0,

"mountedNodesData": {

"nodeId": 24000000433143,

"diagramId": 24000000433093,

"containerChildId": 305,

"rackPosition": 36,

"units": 2

},

"shapes": null,

"diagramSublink": null,

"diagramSublinks": null,

"unitsHeight": 2,

"hasEmbeddedFile": false,

"clusterSize": null,

"table": [

"名称:42U 600×1200F36",

"型号:Huawei FusionServer 2288H V5",

"IP:"

],

"depth": 0.0,

"blocked": false,

"master": true,

"cluster": null

}

],

"vis_links": []

}

获取对象和其连接对象

  • 接口描述:传入视图id和对象id,返回视图内对象数据和对象所连接的对象的数据,nVisual内用作地图上点击mvt点/线显示ht点/线。

  • URL地址:http://ip:port /wapi/v1/diagram/{diagramId}/Object/{objectId}

  • 访问方法::Get

  • 请求参数:

    Path参数

参数名 类型 示例值 必填 说明
diagramId Long 24000000051255 视图id
objectId Long 25000000124915 对象id
  • 响应示例:

{

"code": 200,

"data": {

"vis_nodes": [

{

"id": 2783807,

"nodeId": 24000000055290,

"diagramId": 24000000051255,

"x": 1.2001514356985636E7,

"y": 4607710.471543911,

"z": null,

"width": 50.0,

"height": 50.0,

"imageOverride": null,

"keepAspectRatio": false,

"angle": 0,

"canMove": true,

"canResize": true,

"canRotate": true,

"canDelete": true,

"zOrder": 0,

"displayed": true,

"typeId": 26000000000000,

"name": "node",

"parentId": 24000000051255,

"slotId": null,

"masterId": null,

"route": "24000000000001/24000000000693/24000000051254/24000000051255/24000000055290",

"mapZoom": 10.0,

"nodeTypeName": "node",

"nodeTypeImage": "xejh0pfy.svg",

"nodeTypeTypeGroup": 1,

"nodeTypeHeight": 500.0,

"nodeTypeWidth": 500.0,

"mountedNodesData": null,

"shapes": null,

"diagramSublink": null,

"diagramSublinks": null,

"unitsHeight": null,

"hasEmbeddedFile": false,

"clusterSize": null,

"table": [

"型号:node",

"系统描述:",

"生命周期:"

],

"depth": 0.0,

"master": true,

"blocked": false,

"cluster": null

},

{

"id": 2783808,

"nodeId": 24000000055291,

"diagramId": 24000000051255,

"x": 1.1981334981518352E7,

"y": 4513692.926753144,

"z": null,

"width": 50.0,

"height": 50.0,

"imageOverride": null,

"keepAspectRatio": false,

"angle": 0,

"canMove": true,

"canResize": true,

"canRotate": true,

"canDelete": true,

"zOrder": 0,

"displayed": true,

"typeId": 26000000000000,

"name": "node",

"parentId": 24000000051255,

"slotId": null,

"masterId": null,

"route": "24000000000001/24000000000693/24000000051254/24000000051255/24000000055291",

"mapZoom": 10.0,

"nodeTypeName": "node",

"nodeTypeImage": "xejh0pfy.svg",

"nodeTypeTypeGroup": 1,

"nodeTypeHeight": 500.0,

"nodeTypeWidth": 500.0,

"mountedNodesData": null,

"shapes": null,

"diagramSublink": null,

"diagramSublinks": null,

"unitsHeight": null,

"hasEmbeddedFile": false,

"clusterSize": null,

"table": [

"型号:node",

"系统描述:",

"生命周期:"

],

"depth": 0.0,

"master": true,

"blocked": false,

"cluster": null

}

],

"vis_links": [

{

"linkId": 25000000124915,

"typeId": 27000000000000,

"name": "earth:node\\earth:node",

"fromNode": 24000000055290,

"toNode": 24000000055291,

"fromRoute": "24000000000001/24000000000693/24000000051254/24000000051255/24000000055290",

"toRoute": "24000000000001/24000000000693/24000000051254/24000000051255/24000000055291",

"visLinkId": 223681,

"diagramId": 24000000051255,

"routepath": null,

"fromAnchorPointX": 0.5,

"fromAnchorPointY": 0.5,

"toAnchorPointX": 0.5,

"toAnchorPointY": 0.5,

"canDelete": true,

"canMove": true,

"zOrder": -1,

"displayed": true,

"color": "#43d64d",

"thickness": 1.0,

"linkStyle": 0,

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

"displayedVisLinkFields2": null,

"table": [

"名称:earth:node\\earth:node"

]

}

]

}

}

最近修改: 2025-02-27