mirror of
https://github.com/Telecominfraproject/oopt-gnpy-web-gui.git
synced 2026-01-27 10:21:55 +00:00
518 lines
10 KiB
JSON
518 lines
10 KiB
JSON
{
|
|
"common": {
|
|
"background_color": "white",
|
|
"font": "14px Helvetica black",
|
|
"border": "1px solid black",
|
|
"font_variant": "normal"
|
|
},
|
|
"options": {
|
|
"physics": false,
|
|
|
|
"interaction": {
|
|
"navigationButtons": true,
|
|
"keyboard": false,
|
|
"dragView": true,
|
|
"multiselect": true,
|
|
"hover": true
|
|
},
|
|
"edges": {
|
|
"color": {
|
|
"color": "blue",
|
|
"highlight": "blue",
|
|
"hover": "blue",
|
|
"inherit": false,
|
|
"opacity": 1
|
|
},
|
|
"background": {
|
|
"color": "blue",
|
|
"dashes": false,
|
|
"enabled": false,
|
|
"size": 10
|
|
},
|
|
"arrows": {
|
|
"from": {
|
|
"enabled": false,
|
|
"type": "arrow"
|
|
},
|
|
"to": {
|
|
"enabled": true,
|
|
"type": "arrow",
|
|
"scaleFactor": ".5"
|
|
}
|
|
},
|
|
"font": {
|
|
"color": "gray",
|
|
"size": 11,
|
|
"face": "verdana",
|
|
"align": "top"
|
|
},
|
|
"smooth": {
|
|
"enabled": false,
|
|
"type": "continuous"
|
|
}
|
|
}
|
|
},
|
|
|
|
|
|
"Roadm": {
|
|
"shape": "image",
|
|
"size": 18,
|
|
"err_size": 22,
|
|
"image": "roadm.svg",
|
|
"err_image": "err_roadm.svg",
|
|
"w_image": "w_roadm.svg",
|
|
"h_image": "h_roadm.svg",
|
|
"fh_image": "fh_roadm.svg",
|
|
"node_type": "Roadm",
|
|
"component_type": "node",
|
|
"icon": {},
|
|
"font": "12px verdana black",
|
|
"color": {
|
|
"border": "#2B7CE9",
|
|
"background": "#97C2FC",
|
|
"highlight": {
|
|
"border": "green",
|
|
"background": "green"
|
|
},
|
|
"hover": {
|
|
"border": "yellow",
|
|
"background": "yellow"
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
"ILA": {
|
|
"shape": "image",
|
|
"size": 18,
|
|
"err_size": 22,
|
|
"image": "ILA.svg",
|
|
"err_image": "ILA.svg",
|
|
"w_image": "ILA.svg",
|
|
"h_image": "ILA.svg",
|
|
"fh_image": "ILA.svg",
|
|
"node_type": "Amplifier",
|
|
"amp_category": "ILA",
|
|
"component_type": "node",
|
|
"icon": {},
|
|
"font": "12px verdana black",
|
|
"color": {
|
|
"border": "#2B7CE9",
|
|
"background": "#97C2FC",
|
|
"highlight": {
|
|
"border": "green",
|
|
"background": "green"
|
|
},
|
|
"hover": {
|
|
"border": "yellow",
|
|
"background": "yellow"
|
|
}
|
|
|
|
}
|
|
},
|
|
"Amplifier": {
|
|
"shape": "image",
|
|
"size": 18,
|
|
"err_size": 22,
|
|
"image": "amp.svg",
|
|
"err_image": "err_amplifier.svg",
|
|
"w_image": "w_amplifier.svg",
|
|
"h_image": "h_amplifier.svg",
|
|
"fh_image": "fh_amplifier.svg",
|
|
"node_type": "Amplifier",
|
|
"amp_category": "Amplifier",
|
|
"component_type": "node",
|
|
"icon": {},
|
|
"font": "12px verdana black",
|
|
"color": {
|
|
"border": "#2B7CE9",
|
|
"background": "#97C2FC",
|
|
"highlight": {
|
|
"border": "green",
|
|
"background": "green"
|
|
},
|
|
"hover": {
|
|
"border": "yellow",
|
|
"background": "yellow"
|
|
}
|
|
|
|
}
|
|
},
|
|
"RamanAmplifier": {
|
|
"shape": "image",
|
|
"size": 18,
|
|
"err_size": 22,
|
|
"image": "ramanamp.svg",
|
|
"err_image": "err_raman.svg",
|
|
"w_image": "w_raman.svg",
|
|
"h_image": "h_raman.svg",
|
|
"fh_image": "fh_raman.svg",
|
|
"node_type": "Amplifier",
|
|
"amp_category": "RamanAmplifier",
|
|
"component_type": "node",
|
|
"icon": {},
|
|
"font": "12px verdana black",
|
|
"color": {
|
|
"border": "#2B7CE9",
|
|
"background": "#97C2FC",
|
|
"highlight": {
|
|
"border": "green",
|
|
"background": "green"
|
|
},
|
|
"hover": {
|
|
"border": "yellow",
|
|
"background": "yellow"
|
|
}
|
|
|
|
}
|
|
},
|
|
"Fused": {
|
|
"shape": "image",
|
|
"size": 18,
|
|
"err_size": 22,
|
|
"image": "attenuator.svg",
|
|
"err_image": "err_attenuator.svg",
|
|
"w_image": "w_attenuator.svg",
|
|
"h_image": "h_attenuator.svg",
|
|
"fh_image": "fh_attenuator.svg",
|
|
"node_type": "Fused",
|
|
"component_type": "node",
|
|
"icon": {},
|
|
"font": "12px verdana black",
|
|
"color": {
|
|
"border": "#2B7CE9",
|
|
"background": "#97C2FC",
|
|
"highlight": {
|
|
"border": "green",
|
|
"background": "green"
|
|
},
|
|
"hover": {
|
|
"border": "yellow",
|
|
"background": "yellow"
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
"Transceiver": {
|
|
"shape": "image",
|
|
"size": 18,
|
|
"err_size": 22,
|
|
"image": "transceiver.svg",
|
|
"err_image": "err_transceiver.svg",
|
|
"w_image": "w_transceiver.svg",
|
|
"h_image": "h_transceiver.svg",
|
|
"fh_image": "fh_transceiver.svg",
|
|
"node_type": "Transceiver",
|
|
"component_type": "node",
|
|
"icon": {},
|
|
"font": "12px verdana black",
|
|
"color": {
|
|
"border": "#2B7CE9",
|
|
"background": "#97C2FC",
|
|
"highlight": {
|
|
"border": "green",
|
|
"background": "green"
|
|
},
|
|
"hover": {
|
|
"border": "yellow",
|
|
"background": "yellow"
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
"Fiber": {
|
|
"options": {
|
|
"smooth": {
|
|
"enabled": false,
|
|
"roundness": 0.5,
|
|
"type": "continuous"
|
|
|
|
}
|
|
}
|
|
},
|
|
"DualFiber": {
|
|
"dashes": false,
|
|
"component_type": "Fiber",
|
|
"fiber_category": "Dual Fiber",
|
|
"width": 2,
|
|
"options": {
|
|
"shadow": {
|
|
"enabled": true,
|
|
"color": "orange",
|
|
"size": 2,
|
|
"x": 2,
|
|
"y": 2
|
|
},
|
|
"color": {
|
|
"color": "blue",
|
|
"highlight": "blue",
|
|
"hover": "blue",
|
|
"inherit": false,
|
|
"opacity": 1
|
|
},
|
|
"background": {
|
|
"color": "blue",
|
|
"dashes": false,
|
|
"enabled": false,
|
|
"size": 10
|
|
},
|
|
"arrows": {
|
|
"from": {
|
|
"enabled": false,
|
|
"type": "arrow"
|
|
},
|
|
"to": {
|
|
"enabled": false,
|
|
"type": "arrow"
|
|
}
|
|
},
|
|
"font": {
|
|
"color": "gray",
|
|
"size": 11,
|
|
"face": "verdana",
|
|
"align": "top"
|
|
},
|
|
"smooth": {
|
|
"enabled": true,
|
|
"roundness": 0.1,
|
|
"type": "curvedCW"
|
|
|
|
}
|
|
}
|
|
},
|
|
"SingleFiber": {
|
|
"dashes": true,
|
|
"component_type": "Fiber",
|
|
"fiber_category": "Single Fiber",
|
|
"width": 2,
|
|
"options": {
|
|
"shadow": {
|
|
"enabled": true,
|
|
"color": "orange",
|
|
"size": 2,
|
|
"x": 2,
|
|
"y": 2
|
|
},
|
|
"w_color": {
|
|
"color": "gray",
|
|
"highlight": "gray",
|
|
"hover": "gray",
|
|
"inherit": false,
|
|
"opacity": 1
|
|
},
|
|
"err_color": {
|
|
"color": "orange",
|
|
"highlight": "orange",
|
|
"hover": "orange",
|
|
"inherit": false,
|
|
"opacity": 1
|
|
},
|
|
"h_color": {
|
|
"color": "brown",
|
|
"highlight": "brown",
|
|
"hover": "brown",
|
|
"inherit": false,
|
|
"opacity": 1
|
|
},
|
|
"fh_color": {
|
|
"color": "green",
|
|
"highlight": "green",
|
|
"hover": "green",
|
|
"inherit": false,
|
|
"opacity": 1
|
|
},
|
|
"color": {
|
|
"color": "blue",
|
|
"highlight": "blue",
|
|
"hover": "blue",
|
|
"inherit": false,
|
|
"opacity": 1
|
|
},
|
|
"background": {
|
|
"color": "blue",
|
|
"dashes": false,
|
|
"enabled": false,
|
|
"size": 10
|
|
},
|
|
"arrows": {
|
|
"from": {
|
|
"enabled": false,
|
|
"type": "arrow"
|
|
},
|
|
"to": {
|
|
"enabled": true,
|
|
"type": "arrow",
|
|
"scaleFactor": ".5"
|
|
}
|
|
},
|
|
"font": {
|
|
"color": "gray",
|
|
"size": 11,
|
|
"face": "verdana",
|
|
"align": "top"
|
|
},
|
|
"smooth": {
|
|
"enabled": true,
|
|
"roundness": 0.1,
|
|
"type": "curvedCW"
|
|
|
|
}
|
|
}
|
|
},
|
|
|
|
"Service": {
|
|
"dashes": true,
|
|
"component_type": "Service",
|
|
"width": 2,
|
|
"options": {
|
|
"shadow": {
|
|
"enabled": true,
|
|
"color": "orange",
|
|
"size": 2,
|
|
"x": 2,
|
|
"y": 2
|
|
},
|
|
"color": {
|
|
"color": "red",
|
|
"highlight": "red",
|
|
"hover": "red",
|
|
"inherit": false,
|
|
"opacity": 1
|
|
},
|
|
"background": {
|
|
"color": "red",
|
|
"dashes": false,
|
|
"enabled": false,
|
|
"size": 10
|
|
},
|
|
"arrows": {
|
|
"from": {
|
|
"enabled": true,
|
|
"type": "arrow",
|
|
"scaleFactor": ".5"
|
|
},
|
|
"to": {
|
|
"enabled": true,
|
|
"type": "arrow",
|
|
"scaleFactor": ".5"
|
|
}
|
|
},
|
|
"font": {
|
|
"color": "gray",
|
|
"size": 11,
|
|
"face": "verdana",
|
|
"align": "top"
|
|
},
|
|
"smooth": {
|
|
"enabled": true,
|
|
"roundness": "0.1",
|
|
"type": "curvedCW"
|
|
}
|
|
}
|
|
},
|
|
|
|
"SinglePatch": {
|
|
"dashes": true,
|
|
"component_type": "Patch",
|
|
"patch_category": "Single Patch",
|
|
"width": 2,
|
|
"options": {
|
|
"shadow": {
|
|
"enabled": true,
|
|
"color": "orange",
|
|
"size": 2,
|
|
"x": 2,
|
|
"y": 2
|
|
},
|
|
"color": {
|
|
"color": "black",
|
|
"highlight": "black",
|
|
"hover": "black",
|
|
"inherit": false,
|
|
"opacity": 1
|
|
},
|
|
"background": {
|
|
"color": "black",
|
|
"dashes": false,
|
|
"enabled": false,
|
|
"size": 10
|
|
},
|
|
"arrows": {
|
|
"from": {
|
|
"enabled": false,
|
|
"type": "arrow"
|
|
},
|
|
"to": {
|
|
"enabled": true,
|
|
"type": "arrow",
|
|
"scaleFactor": ".5"
|
|
}
|
|
},
|
|
"font": {
|
|
"color": "gray",
|
|
"size": 11,
|
|
"face": "verdana",
|
|
"align": "top"
|
|
},
|
|
"smooth": {
|
|
"enabled": false,
|
|
"roundness": 0.1,
|
|
"type": "curvedCW"
|
|
}
|
|
}
|
|
},
|
|
|
|
"DualPatch": {
|
|
"dashes": false,
|
|
"component_type": "Patch",
|
|
"patch_category": "Dual Patch",
|
|
"width": 2,
|
|
"options": {
|
|
"shadow": {
|
|
"enabled": true,
|
|
"color": "orange",
|
|
"size": 2,
|
|
"x": 2,
|
|
"y": 2
|
|
},
|
|
"color": {
|
|
"color": "black",
|
|
"highlight": "black",
|
|
"hover": "black",
|
|
"inherit": false,
|
|
"opacity": 1
|
|
},
|
|
"background": {
|
|
"color": "black",
|
|
"dashes": false,
|
|
"enabled": false,
|
|
"size": 10
|
|
},
|
|
"arrows": {
|
|
"from": {
|
|
"enabled": false,
|
|
"type": "arrow"
|
|
},
|
|
"to": {
|
|
"enabled": false,
|
|
"type": "arrow"
|
|
}
|
|
},
|
|
"font": {
|
|
"color": "gray",
|
|
"size": 11,
|
|
"face": "verdana",
|
|
"align": "top"
|
|
},
|
|
"smooth": {
|
|
"enabled": false,
|
|
"roundness": 0.1,
|
|
"type": "curvedCW"
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|