Files
oopt-gnpy-web-gui/docs/module-node.html

4643 lines
48 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Module: node</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Module: node</h1>
<section>
<header>
</header>
<article>
<div class="container-overview">
<div class="description"><p>node.js
The node can be defined as the connection point of &quot;ROADM, Attenuator, Transceiver, Amplifier, and Raman Amplifier&quot; and defines the node manipulations.</p></div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1">line 1</a>
</li></ul></dd>
</dl>
</div>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id="~addNodeHighlight"><span class="type-signature">(inner) </span>addNodeHighlight<span class="signature">(nodeID)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Set warning icons to imcompleted node by node ID.
Update node size, image by node ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>Node ID.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1596">line 1596</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~AddNodeMode"><span class="type-signature">(inner) </span>AddNodeMode<span class="signature">(nodemode)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Check node Mode 1-roadm, 2-amp, 3-fused, 4-transceiver, 6- raman amp</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodemode</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="description last"><p>Mode of the component.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line11">line 11</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~addNodes"><span class="type-signature">(inner) </span>addNodes<span class="signature">(data, callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Node creation by node mode.
Node will be placed based on co-ordidate points x,y.
Node style and configuration data loaded from configurationdata, styledata json.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>data</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last"><p>The data of the component.</p></td>
</tr>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
</td>
<td class="description last"><p>The callback that handles the response.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line27">line 27</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~amplifierEdit"><span class="type-signature">(inner) </span>amplifierEdit<span class="signature">(nodeID, callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Populate Amplifier component details by node ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the Amplifier component.</p></td>
</tr>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
</td>
<td class="description last"><p>The callback that handles the response.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line459">line 459</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~applyRoadmTemplate"><span class="type-signature">(inner) </span>applyRoadmTemplate<span class="signature">(nodeID, roadm_type)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Apply copied template to specified ROADM node.
Check node rules and update check-errors summary.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the destination node.</p></td>
</tr>
<tr>
<td class="name"><code>roadm_type</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>Coponent type.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1300">line 1300</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~applyTemplate"><span class="type-signature">(inner) </span>applyTemplate<span class="signature">(nodes, callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Apply copied template to specified node.
Apply node rules.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodes</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last"><p>Selected destination nodes for apply template.</p></td>
</tr>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
</td>
<td class="description last"><p>The callback that handles the response.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1387">line 1387</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~applyTransceiverTemplate"><span class="type-signature">(inner) </span>applyTransceiverTemplate<span class="signature">(nodeID, node_type, trans_type)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Apply copied template to specified Transceiver node.
Check node rules and update check-errors summary.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the destination node.</p></td>
</tr>
<tr>
<td class="name"><code>node_type</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>Node type.</p></td>
</tr>
<tr>
<td class="name"><code>trans_type</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>Transceiver type.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1314">line 1314</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~attenuatorEdit"><span class="type-signature">(inner) </span>attenuatorEdit<span class="signature">(nodeID, callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Populate Attenuator component details by node ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the Attenuator component.</p></td>
</tr>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
</td>
<td class="description last"><p>The callback that handles the response.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line333">line 333</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~clearAmplifier"><span class="type-signature">(inner) </span>clearAmplifier<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
<p>Clear input/teporary data and other settings.</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line571">line 571</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~clearAttenuator"><span class="type-signature">(inner) </span>clearAttenuator<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
<p>Clear input/teporary data and other settings.</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line378">line 378</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~clearNodeTemplate"><span class="type-signature">(inner) </span>clearNodeTemplate<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
<p>Reset the copied template data.</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1480">line 1480</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~clearRamanAmp"><span class="type-signature">(inner) </span>clearRamanAmp<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
<p>Clear input/teporary data and other settings.</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line747">line 747</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~clearRoadm"><span class="type-signature">(inner) </span>clearRoadm<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
<p>Clear input/teporary data and other settings.</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line284">line 284</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~clearTransceiver"><span class="type-signature">(inner) </span>clearTransceiver<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
<p>Clear input/teporary data and other settings.</p>
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1007">line 1007</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~copyNode"><span class="type-signature">(inner) </span>copyNode<span class="signature">(nodeID, callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Bind pasteNode method.
Copy node parameters by selected node ID</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>Component ID.</p></td>
</tr>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
</td>
<td class="description last"><p>The callback that handles the response.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1152">line 1152</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~copyNodeTemplate"><span class="type-signature">(inner) </span>copyNodeTemplate<span class="signature">(nodeID, callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Copy node template by selected node ID.
Validate the node template by type, category</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of Copied node template.</p></td>
</tr>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
</td>
<td class="description last"><p>The callback that handles the response.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1259">line 1259</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~displayNodesHover"><span class="type-signature">(inner) </span>displayNodesHover<span class="signature">(params)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Displays node name, type parameter when hover the mouse near the node.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>params</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last"><p>Node details.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1494">line 1494</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~nodeName"><span class="type-signature">(inner) </span>nodeName<span class="signature">(node_type, amp_category)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Get next level of node label name by node type/amplifer category.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>node_type</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>Node type.</p></td>
</tr>
<tr>
<td class="name"><code>amp_category</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>Amplifier category.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1520">line 1520</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~pasteNode"><span class="type-signature">(inner) </span>pasteNode<span class="signature">(nodeId)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Create new node by copied node parameters.
Node will be placed based on co-ordidates.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>Copied node ID.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1169">line 1169</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~ramanAmpEdit"><span class="type-signature">(inner) </span>ramanAmpEdit<span class="signature">(nodeID, callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Populate Raman Amplifier component details by node ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the Raman Amplifier component.</p></td>
</tr>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
</td>
<td class="description last"><p>The callback that handles the response.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line618">line 618</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~realUpdate_Amplifier"><span class="type-signature">(inner) </span>realUpdate_Amplifier<span class="signature">(id, rtype)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Check Amplifier component rules and update check-errors summary.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>id</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of Amplifier component.</p></td>
</tr>
<tr>
<td class="name"><code>rtype</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The type of Amplifier component.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line583">line 583</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~realUpdate_RamanAmp"><span class="type-signature">(inner) </span>realUpdate_RamanAmp<span class="signature">(id, rtype)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Check Raman Amplifier component rules and update check-errors summary.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>id</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of Raman Amplifier component.</p></td>
</tr>
<tr>
<td class="name"><code>rtype</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The type of Raman Amplifier component.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line760">line 760</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~realUpdate_Roadm"><span class="type-signature">(inner) </span>realUpdate_Roadm<span class="signature">(id, rtype)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Check ROADM component rules and update check-errors summary.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>id</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of ROADM component.</p></td>
</tr>
<tr>
<td class="name"><code>rtype</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The type of ROADM component.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line298">line 298</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~realUpdate_Transceiver"><span class="type-signature">(inner) </span>realUpdate_Transceiver<span class="signature">(id, rtype)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Check Transceiver component rules and update check-errors summary.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>id</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of Transceiver component.</p></td>
</tr>
<tr>
<td class="name"><code>rtype</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The type of Transceiver component.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1020">line 1020</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~removeNodes"><span class="type-signature">(inner) </span>removeNodes<span class="signature">(nodeID, isMultiple)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Remove node by node ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>Component ID.</p></td>
</tr>
<tr>
<td class="name"><code>isMultiple</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="description last"><p>Remove multiple node.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line1091">line 1091</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~roadmEdit"><span class="type-signature">(inner) </span>roadmEdit<span class="signature">(nodeID, callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Populate ROADM component details by node ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the ROADM component.</p></td>
</tr>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
</td>
<td class="description last"><p>The callback that handles the response.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line134">line 134</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~transceiverEdit"><span class="type-signature">(inner) </span>transceiverEdit<span class="signature">(nodeID, callback)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Populate Transceiver component details by node ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the Transceiver component.</p></td>
</tr>
<tr>
<td class="name"><code>callback</code></td>
<td class="type">
</td>
<td class="description last"><p>The callback that handles the response.</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line798">line 798</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~updateAmplifier"><span class="type-signature">(inner) </span>updateAmplifier<span class="signature">(nodeID)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Update Amplifier.
Update Amplifier label, type by Amplifier ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the Amplifier component</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line509">line 509</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~updateAttenuator"><span class="type-signature">(inner) </span>updateAttenuator<span class="signature">(nodeID)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Update Attenuator.
Update Attenuator label, type by Attenuator ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the Attenuator component</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line354">line 354</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~updateRamanAmp"><span class="type-signature">(inner) </span>updateRamanAmp<span class="signature">(nodeID)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Update Raman Amplifier.
Update Raman Amplifier label, type by Raman Amplifier ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the Raman Amplifier component</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line681">line 681</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~updateRoadm"><span class="type-signature">(inner) </span>updateRoadm<span class="signature">(nodeID)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Update ROADM.
Update ROADM label, type by ROADM ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the ROADM component</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line204">line 204</a>
</li></ul></dd>
</dl>
<h4 class="name" id="~updateTransceiver"><span class="type-signature">(inner) </span>updateTransceiver<span class="signature">(nodeID)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Update Transceiver.
Update Transceiver label, type by Transceiver ID.</p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>nodeID</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>The ID of the Transceiver component</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="networkgraph_node.js.html">networkgraph/node.js</a>, <a href="networkgraph_node.js.html#line848">line 848</a>
</li></ul></dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">oopt-gnpy-web-gui-main</a></h2><h3>Modules</h3><ul><li><a href="module-alea.html">alea</a></li><li><a href="module-constraints.html">constraints</a></li><li><a href="module-exampleUtil.html">exampleUtil</a></li><li><a href="module-fiber.html">fiber</a></li><li><a href="module-filesaver.html">filesaver</a></li><li><a href="module-main.html">main</a></li><li><a href="module-mynetwork.html">mynetwork</a></li><li><a href="module-node.html">node</a></li><li><a href="module-patch.html">patch</a></li><li><a href="module-service.html">service</a></li><li><a href="module-validation.html">validation</a></li></ul><h3>Tutorials</h3><ul><li><a href="tutorial-LICENSE.html">LICENSE</a></li><li><a href="tutorial-technical_document.html">technical_document</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>