From f0992ca1940eb87679306b8886eb0aab814cb3bf Mon Sep 17 00:00:00 2001 From: sakv2e10204 Date: Fri, 8 Jul 2022 16:51:37 +0530 Subject: [PATCH] docs folder removed --- docs/Activator.html | 224 - docs/Network.html | 268 - docs/alea.js.html | 170 - docs/constraints.js.html | 671 - docs/exampleUtil.js.html | 203 - docs/fiber.js.html | 1229 - docs/filesaver.js.html | 226 - docs/fonts/OpenSans-Bold-webfont.eot | Bin 19544 -> 0 bytes docs/fonts/OpenSans-Bold-webfont.svg | 1830 - docs/fonts/OpenSans-Bold-webfont.woff | Bin 22432 -> 0 bytes docs/fonts/OpenSans-BoldItalic-webfont.eot | Bin 20133 -> 0 bytes docs/fonts/OpenSans-BoldItalic-webfont.svg | 1830 - docs/fonts/OpenSans-BoldItalic-webfont.woff | Bin 23048 -> 0 bytes docs/fonts/OpenSans-Italic-webfont.eot | Bin 20265 -> 0 bytes docs/fonts/OpenSans-Italic-webfont.svg | 1830 - docs/fonts/OpenSans-Italic-webfont.woff | Bin 23188 -> 0 bytes docs/fonts/OpenSans-Light-webfont.eot | Bin 19514 -> 0 bytes docs/fonts/OpenSans-Light-webfont.svg | 1831 - docs/fonts/OpenSans-Light-webfont.woff | Bin 22248 -> 0 bytes docs/fonts/OpenSans-LightItalic-webfont.eot | Bin 20535 -> 0 bytes docs/fonts/OpenSans-LightItalic-webfont.svg | 1835 - docs/fonts/OpenSans-LightItalic-webfont.woff | Bin 23400 -> 0 bytes docs/fonts/OpenSans-Regular-webfont.eot | Bin 19836 -> 0 bytes docs/fonts/OpenSans-Regular-webfont.svg | 1831 - docs/fonts/OpenSans-Regular-webfont.woff | Bin 22660 -> 0 bytes docs/global.html | 448 - docs/index.html | 165 - docs/main.js.html | 580 - docs/module-alea.html | 166 - docs/module-constraints.html | 1041 - docs/module-exampleUtil.html | 590 - docs/module-fiber.html | 1458 - docs/module-filesaver.html | 166 - docs/module-main.html | 806 - docs/module-mynetwork.html | 7507 --- docs/module-node.html | 4643 -- docs/module-patch.html | 1030 - docs/module-service.html | 1095 - docs/module-validation.html | 483 - docs/mynetwork.js.html | 3800 -- docs/networkgraph_alea.js.html | 166 - docs/networkgraph_constraints.js.html | 668 - docs/networkgraph_exampleUtil.js.html | 204 - docs/networkgraph_fiber.js.html | 1225 - docs/networkgraph_filesaver.js.html | 227 - docs/networkgraph_mynetwork.js.html | 3796 -- docs/networkgraph_node.js.html | 1662 - docs/networkgraph_patch.js.html | 334 - docs/networkgraph_service.js.html | 243 - docs/networkgraph_validation.js.html | 193 - docs/node.js.html | 1667 - docs/patch.js.html | 337 - docs/scripts/linenumber.js | 25 - docs/scripts/prettify/Apache-License-2.0.txt | 202 - docs/scripts/prettify/lang-css.js | 2 - docs/scripts/prettify/prettify.js | 28 - docs/service.js.html | 251 - docs/styles/jsdoc-default.css | 358 - docs/styles/prettify-jsdoc.css | 111 - docs/styles/prettify-tomorrow.css | 132 - docs/thirdparty_vis.js.html | 45770 ----------------- docs/tutorial-LICENSE.html | 119 - docs/tutorial-calculator-tutorial.html | 107 - docs/tutorial-program-tutorial.html | 70 - docs/tutorial-readme.html | 97 - docs/tutorial-technical_document.html | 97 - docs/validation.js.html | 196 - 67 files changed, 96243 deletions(-) delete mode 100644 docs/Activator.html delete mode 100644 docs/Network.html delete mode 100644 docs/alea.js.html delete mode 100644 docs/constraints.js.html delete mode 100644 docs/exampleUtil.js.html delete mode 100644 docs/fiber.js.html delete mode 100644 docs/filesaver.js.html delete mode 100644 docs/fonts/OpenSans-Bold-webfont.eot delete mode 100644 docs/fonts/OpenSans-Bold-webfont.svg delete mode 100644 docs/fonts/OpenSans-Bold-webfont.woff delete mode 100644 docs/fonts/OpenSans-BoldItalic-webfont.eot delete mode 100644 docs/fonts/OpenSans-BoldItalic-webfont.svg delete mode 100644 docs/fonts/OpenSans-BoldItalic-webfont.woff delete mode 100644 docs/fonts/OpenSans-Italic-webfont.eot delete mode 100644 docs/fonts/OpenSans-Italic-webfont.svg delete mode 100644 docs/fonts/OpenSans-Italic-webfont.woff delete mode 100644 docs/fonts/OpenSans-Light-webfont.eot delete mode 100644 docs/fonts/OpenSans-Light-webfont.svg delete mode 100644 docs/fonts/OpenSans-Light-webfont.woff delete mode 100644 docs/fonts/OpenSans-LightItalic-webfont.eot delete mode 100644 docs/fonts/OpenSans-LightItalic-webfont.svg delete mode 100644 docs/fonts/OpenSans-LightItalic-webfont.woff delete mode 100644 docs/fonts/OpenSans-Regular-webfont.eot delete mode 100644 docs/fonts/OpenSans-Regular-webfont.svg delete mode 100644 docs/fonts/OpenSans-Regular-webfont.woff delete mode 100644 docs/global.html delete mode 100644 docs/index.html delete mode 100644 docs/main.js.html delete mode 100644 docs/module-alea.html delete mode 100644 docs/module-constraints.html delete mode 100644 docs/module-exampleUtil.html delete mode 100644 docs/module-fiber.html delete mode 100644 docs/module-filesaver.html delete mode 100644 docs/module-main.html delete mode 100644 docs/module-mynetwork.html delete mode 100644 docs/module-node.html delete mode 100644 docs/module-patch.html delete mode 100644 docs/module-service.html delete mode 100644 docs/module-validation.html delete mode 100644 docs/mynetwork.js.html delete mode 100644 docs/networkgraph_alea.js.html delete mode 100644 docs/networkgraph_constraints.js.html delete mode 100644 docs/networkgraph_exampleUtil.js.html delete mode 100644 docs/networkgraph_fiber.js.html delete mode 100644 docs/networkgraph_filesaver.js.html delete mode 100644 docs/networkgraph_mynetwork.js.html delete mode 100644 docs/networkgraph_node.js.html delete mode 100644 docs/networkgraph_patch.js.html delete mode 100644 docs/networkgraph_service.js.html delete mode 100644 docs/networkgraph_validation.js.html delete mode 100644 docs/node.js.html delete mode 100644 docs/patch.js.html delete mode 100644 docs/scripts/linenumber.js delete mode 100644 docs/scripts/prettify/Apache-License-2.0.txt delete mode 100644 docs/scripts/prettify/lang-css.js delete mode 100644 docs/scripts/prettify/prettify.js delete mode 100644 docs/service.js.html delete mode 100644 docs/styles/jsdoc-default.css delete mode 100644 docs/styles/prettify-jsdoc.css delete mode 100644 docs/styles/prettify-tomorrow.css delete mode 100644 docs/thirdparty_vis.js.html delete mode 100644 docs/tutorial-LICENSE.html delete mode 100644 docs/tutorial-calculator-tutorial.html delete mode 100644 docs/tutorial-program-tutorial.html delete mode 100644 docs/tutorial-readme.html delete mode 100644 docs/tutorial-technical_document.html delete mode 100644 docs/validation.js.html diff --git a/docs/Activator.html b/docs/Activator.html deleted file mode 100644 index f34e5c0..0000000 --- a/docs/Activator.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - JSDoc: Class: Activator - - - - - - - - - - -
- -

Class: Activator

- - - - - - -
- -
- -

Activator(container)

- - -
- -
-
- - - - - - -

new Activator(container)

- - - - - - -
-

Turn an element into an clickToUse element. -When not active, the element has a transparent overlay. When the overlay is -clicked, the mode is changed to active. -When active, the element is displayed with a blue border around it, and -the interactive contents of the element can be used. When clicked outside -the element, the elements mode is changed to inactive.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
container - - -Element - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- - - - - - - \ No newline at end of file diff --git a/docs/Network.html b/docs/Network.html deleted file mode 100644 index b50fa50..0000000 --- a/docs/Network.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - JSDoc: Class: Network - - - - - - - - - - -
- -

Class: Network

- - - - - - -
- -
- -

Network(container, data, options)

- - -
- -
-
- - - - - - -

new Network(container, data, options)

- - - - - - -
-

Create a network visualization, displaying nodes and edges.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
container - - -Element - - - -

The DOM element in which the Network will -be created. Normally a div element.

data - - -object - - - -

An object containing parameters -{Array} nodes -{Array} edges

options - - -object - - - -

Options

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- - - - - - - \ No newline at end of file diff --git a/docs/alea.js.html b/docs/alea.js.html deleted file mode 100644 index 006fe35..0000000 --- a/docs/alea.js.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - JSDoc: Source: alea.js - - - - - - - - - - -
- -

Source: alea.js

- - - - - - -
-
-

- /**
- * alea module
- * @module alea
- */
-
-/**
- * alea.js.
- * Alea library is a pseudo-random number generator (PRNG).
- */
-
-(function (root, factory) {
-    if (typeof exports === 'object') {
-        module.exports = factory();
-    } else if (typeof define === 'function' && define.amd) {
-        define(factory);
-    } else {
-        root.Alea = factory();
-    }
-}(this, function () {
-
-    'use strict';
-
-    // From http://baagoe.com/en/RandomMusings/javascript/
-
-    // importState to sync generator states
-    Alea.importState = function (i) {
-        var random = new Alea();
-        random.importState(i);
-        return random;
-    };
-
-    return Alea;
-
-    function Alea() {
-        return (function (args) {
-            // Johannes Baagøe <baagoe@baagoe.com>, 2010
-            var s0 = 0;
-            var s1 = 0;
-            var s2 = 0;
-            var c = 1;
-
-            if (args.length == 0) {
-                args = [+new Date];
-            }
-            var mash = Mash();
-            s0 = mash(' ');
-            s1 = mash(' ');
-            s2 = mash(' ');
-
-            for (var i = 0; i < args.length; i++) {
-                s0 -= mash(args[i]);
-                if (s0 < 0) {
-                    s0 += 1;
-                }
-                s1 -= mash(args[i]);
-                if (s1 < 0) {
-                    s1 += 1;
-                }
-                s2 -= mash(args[i]);
-                if (s2 < 0) {
-                    s2 += 1;
-                }
-            }
-            mash = null;
-
-            var random = function () {
-                var t = 2091639 * s0 + c * 2.3283064365386963e-10; // 2^-32
-                s0 = s1;
-                s1 = s2;
-                return s2 = t - (c = t | 0);
-            };
-            random.uint32 = function () {
-                return random() * 0x100000000; // 2^32
-            };
-            random.fract53 = function () {
-                return random() +
-                    (random() * 0x200000 | 0) * 1.1102230246251565e-16; // 2^-53
-            };
-            random.version = 'Alea 0.9';
-            random.args = args;
-
-            // my own additions to sync state between two generators
-            random.exportState = function () {
-                return [s0, s1, s2, c];
-            };
-            random.importState = function (i) {
-                s0 = +i[0] || 0;
-                s1 = +i[1] || 0;
-                s2 = +i[2] || 0;
-                c = +i[3] || 0;
-            };
-
-            return random;
-
-        }(Array.prototype.slice.call(arguments)));
-    }
-
-    function Mash() {
-        var n = 0xefc8249d;
-
-        var mash = function (data) {
-            data = data.toString();
-            for (var i = 0; i < data.length; i++) {
-                n += data.charCodeAt(i);
-                var h = 0.02519603282416938 * n;
-                n = h >>> 0;
-                h -= n;
-                h *= n;
-                n = h >>> 0;
-                h -= n;
-                n += h * 0x100000000; // 2^32
-            }
-            return (n >>> 0) * 2.3283064365386963e-10; // 2^-32
-        };
-
-        mash.version = 'Mash 0.9';
-        return mash;
-    }
-}));
-
-
- - - - -
- - - -
- - - - - - - diff --git a/docs/constraints.js.html b/docs/constraints.js.html deleted file mode 100644 index 39b81cc..0000000 --- a/docs/constraints.js.html +++ /dev/null @@ -1,671 +0,0 @@ - - - - - JSDoc: Source: constraints.js - - - - - - - - - - -
- -

Source: constraints.js

- - - - - - -
-
-

- /**
- * constraints module
- * @module constraints
- */
-
-/**
- * constraints.js
- * The constraints library a list of rules for components. It is defining the network topology validation.
- */
-
-/**
- * Check connections rules between nodes.
- * @param {string} from - Source node.
- * @param {string} to - Destination node.
- * @param {string} nodeType - Node type.
- */
-function nodeRule(from, to, nodeType) {
-    var fromConnections = network.getConnectedEdges(from);
-    var toConnections = network.getConnectedEdges(to);
-    var connections = [];
-    connections.push(fromConnections);
-
-    $.each(toConnections, function (index, item) {
-        connections.push(item);
-    });
-
-    var fromDetails = network.body.data.nodes.get(from);
-    var toDetails = network.body.data.nodes.get(to);
-
-    var message = "";
-    var flag = false;
-    var connectedNodes;
-    var fromType;
-    var toType;
-    //to check connection b/w roadm and amplifier
-    if ((fromDetails.node_type == roadmJSON.node_type && toDetails.node_type == nodeType) || (toDetails.node_type == roadmJSON.node_type && fromDetails.node_type == nodeType) || (fromDetails.node_type == transceiverJSON.node_type && toDetails.node_type == nodeType) || (toDetails.node_type == transceiverJSON.node_type && fromDetails.node_type == nodeType)) {
-        $.each(connections, function (index, item) {
-            connectedNodes = network.getConnectedNodes(item);
-            if (connectedNodes) {
-                if ((connectedNodes[0] == fromDetails.id && connectedNodes[1] == toDetails.id) || connectedNodes[1] == fromDetails.id && connectedNodes[0] == toDetails.id) {
-                    message = "We cannot add more than one " + singleFiberJSON.component_type + "/" + singlePatchJSON.component_type + " connection between " + fromDetails.label + " and " + toDetails.label;
-                    flag = true;
-                }
-            }
-        });
-    }
-
-    // to check connection b/w amplifier and amplifier
-    if (fromDetails.node_type == nodeType && toDetails.node_type == nodeType) {
-        $.each(connections, function (index, item) {
-            connectedNodes = network.getConnectedNodes(item);
-            if (connectedNodes) {
-                if ((connectedNodes[0] == fromDetails.id && connectedNodes[1] == toDetails.id) || connectedNodes[1] == fromDetails.id && connectedNodes[0] == toDetails.id) {
-                    message = "We cannot add more than one " + singleFiberJSON.component_type + "/" + singlePatchJSON.component_type + " connection between " + fromDetails.label + " and " + toDetails.label;
-                    flag = true;
-                }
-            }
-        });
-    }
-
-    var edgeDetails;
-    var nodetype;
-    if (!flag) {
-        message = "";
-        if (fromDetails.node_type == nodeType) {
-            if (fromConnections.length > 1) {
-                message = fromDetails.label + ' can only support 2 links, one outgoing, and one incoming. ';
-                flag = true;
-            }
-            else {
-                $.each(fromConnections, function (index, item) {
-                    edgeDetails = network.body.data.edges.get(item);
-                    if (edgeDetails.from == from) {
-                        message = 'Links wrongly connected. ';
-                        flag = true;
-                    }
-                });
-            }
-        }
-        if (toDetails.node_type == nodeType) {
-            if (toConnections.length > 1) {
-
-                if (message != "")
-                    message += "<br /> <br />" + toDetails.label + ' can only support 2 links, one outgoing, and one incoming';
-                else
-                    message += toDetails.label + ' can only support 2 links, one outgoing, and one incoming';
-                flag = true;
-            }
-            else {
-                $.each(toConnections, function (index, item) {
-                    edgeDetails = network.body.data.edges.get(item);
-                    if (edgeDetails.to == to) {
-                        message = 'Links wrongly connected. ';
-                        flag = true;
-                    }
-                });
-            }
-        }
-    }
-
-    return { message: message, flag: flag };
-}
-
-/** Check the ROADM, transceiver link and type rules. */
-function checkLink() {
-
-    var roadmList = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.node_type == roadmJSON.node_type || item.node_type == transceiverJSON.node_type);
-        }
-    });
-
-    var connectedEdges;
-    var fromCount = 0;
-    var toCount = 0;
-    var edgeDetails;
-    var message;
-    var flag = false;
-    var msg = [];
-    var tempEdge = [];
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item.id);
-
-        tempEdge = [];
-        $.each(connectedEdges, function (index, item1) {
-            if (network.body.data.edges.get(item1).component_type != serviceJSON.component_type)
-                tempEdge.push(item1);
-        });
-
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < tempEdge.length; i++) {
-            edgeDetails = network.body.data.edges.get(tempEdge[i]);
-            if (edgeDetails.from == item.id)
-                fromCount++;
-            else if (edgeDetails.to == item.id)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-            msg.push('<p class="focusNode" title="Click here to focus the node" id=\'span' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> must have an even number of links with an equal number of incoming and outgoing links.</p>');
-            flag = true;
-        }
-        if (item.node_type == transceiverJSON.node_type) {
-            if (!item.transceiver_type) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + transceiverJSON.node_type + ' type not entered by the user.</p>');
-                flag = true;
-            }
-        }
-        else if (item.node_type == roadmJSON.node_type) {
-            if (!item.roadm_type) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + roadmJSON.node_type.toUpperCase() + ' type not entered by the user.</p>');
-                flag = true;
-            }
-        }
-
-    });
-
-
-    //message = msg.join(' ') + " must have an even number of links with an equal number of incoming and outgoing links";
-    message = msg.join(' ');
-    return { message: message, flag: flag };
-}
-
-/** check the limits of amplifier, attenuator link rules. */
-function checkMisLink() {
-
-    var roadmList = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.node_type == amplifierJSON.node_type || item.node_type == fusedJSON.node_type);
-        }
-    });
-
-    var connectedEdges;
-    var message;
-    var flag = false;
-    var msg = [];
-    var tempEdge = [];
-    var fromCount;
-    var toCount;
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item.id);
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < connectedEdges.length; i++) {
-            edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-            if (edgeDetails.from == item.id)
-                fromCount++;
-            else if (edgeDetails.to == item.id)
-                toCount++;
-        }
-
-        //if (fromCount != toCount || (fromCount == 0 && toCount == 0) || fromCount > 1 || toCount > 1 ) {
-        //    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'span' + item.id.replace(/\s/g, '') + '\' onClick="focusNode(\'' + item.id + '\')"><img width="25" src="./Assets/img/error-listing-icon.svg"> One or more links to <b>' + item.label + '</b> is missing.</p>');
-        //    flag = true;
-        //}
-        if (connectedEdges.length <= 1) {
-            msg.push('<p class="focusNode" title="Click here to focus the node" id=\'span' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> One or more links to <b>' + item.label + '</b> is missing.</p>');
-            flag = true;
-        }
-        else if (connectedEdges.length > 1) {
-
-            if ((connectedEdges.length == 2 && fromCount == 2) || (connectedEdges.length == 2 && toCount == 2)) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'span' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"><b>' + item.label + '</b> cannot support 2 links of the same type, must have one incoming and one outgoing link</p>');
-                flag = true;
-            }
-            else if (fromCount != toCount || connectedEdges.length > 2) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'span' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"><b>' + item.label + '</b> cannot support more than 2 links</p>');
-                flag = true;
-            }
-        }
-
-        if (item.node_type == amplifierJSON.node_type) {
-            if (item.amp_category == amplifierJSON.amp_category) {
-                if (!item.amp_type) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + amplifierJSON.amp_category + ' type not entered by the user.</p>');
-                    flag = true;
-                }
-
-            }
-            else if (item.amp_category == ramanampJSON.amp_category) {
-                if (!item.amp_type) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - Raman amplifier type not entered by the user.</p>');
-                    flag = true;
-                }
-                if (!item.category) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - Raman amplifier category not entered by the user.</p>');
-                    flag = true;
-                }
-
-            }
-        }
-
-    });
-
-    message = msg.join(' ');
-    return { message: message, flag: flag };
-}
-
-/** To check the node type force rules. */
-function checkTypeForce() {
-
-    var transList = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.node_type == transceiverJSON.node_type || item.node_type == amplifierJSON.node_type || item.node_type == roadmJSON.node_type);
-        }
-    });
-
-    var message;
-    var msg = [];
-    var flag = false;
-    $.each(transList, function (index, item) {
-
-        if (item.node_type == transceiverJSON.node_type) {
-            if (!item.transceiver_type) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + transceiverJSON.node_type + ' type not entered by the user.</p>');
-                flag = true;
-            }
-        }
-        else if (item.node_type == roadmJSON.node_type) {
-            if (!item.roadm_type) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + roadmJSON.node_type.toUpperCase() + ' type not entered by the user.</p>');
-                flag = true;
-            }
-        }
-        else if (item.node_type == amplifierJSON.node_type) {
-            if (item.amp_category == amplifierJSON.amp_category) {
-                if (!item.amp_type) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + amplifierJSON.amp_category + ' type not entered by the user.</p>');
-                    flag = true;
-                }
-
-            }
-            else if (item.amp_category == ramanampJSON.amp_category) {
-                if (!item.amp_type) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - Raman amplifier type not entered by the user.</p>');
-                    flag = true;
-                }
-                if (!item.category) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - Raman amplifier category not entered by the user.</p>');
-                    flag = true;
-                }
-            }
-        }
-
-
-
-    });
-
-    message = msg.join(' ');
-    return { message: message, flag: flag };
-}
-
-/** check the fiber properties rules. */
-function checkFiberPro() {
-
-    var fiberList = network.body.data.edges.get({
-        filter: function (item) {
-            return (item.fiber_category == singleFiberJSON.fiber_category);
-        }
-    });
-
-    var message;
-    var msg = [];
-    var flag = false;
-    var spanlen;
-    var span_length;
-    $.each(fiberList, function (index, item) {
-        span_length = item.span_length;
-        spanlen = parseFloat(span_length);
-        if (item.fiber_type == "") {
-            msg.push('<p class="focusNode" title="Click here to focus the fiber" id=\'spanFP' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',2)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + singleFiberJSON.component_type + ' type not entered by the user.</p>');
-            flag = true;
-        }
-        if (isNaN(span_length) || spanlen <= 0 || span_length == "") {
-            msg.push('<p class="focusNode" title="Click here to focus the fiber" id=\'spanFP' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',2)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + singleFiberJSON.component_type + ' length not entered by the user.</p>');
-            flag = true;
-        }
-
-    });
-
-    message = msg.join(' ');
-    return { message: message, flag: flag };
-}
-
-/** Check the node link and type rules on import network JSON file. */
-function nodeRuleOnImportJSON() {
-    //checkLink
-    var roadmList = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.node_type == roadmJSON.node_type || item.node_type == transceiverJSON.node_type);
-        }
-    });
-
-    var connectedEdges;
-    var fromCount = 0;
-    var toCount = 0;
-    var edgeDetails;
-    var tempEdge = [];
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item.id);
-        tempEdge = [];
-        $.each(connectedEdges, function (index, item1) {
-            if (network.body.data.edges.get(item1).component_type != serviceJSON.component_type)
-                tempEdge.push(item1);
-        });
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < tempEdge.length; i++) {
-            edgeDetails = network.body.data.edges.get(tempEdge[i]);
-            if (edgeDetails.from == item.id)
-                fromCount++;
-            else if (edgeDetails.to == item.id)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-            addNodeHighlight(item.id);
-        }
-        else {
-            if (item.node_type == transceiverJSON.node_type && item.transceiver_type == "") {
-                addNodeHighlight(item.id);
-            }
-            else if (item.node_type == roadmJSON.node_type && item.roadm_type == "") {
-                addNodeHighlight(item.id);
-            }
-        }
-
-    });
-
-    //checkMisLink
-
-    roadmList = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.node_type == amplifierJSON.node_type || item.node_type == fusedJSON.node_type);
-        }
-    });
-
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item.id);
-
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < connectedEdges.length; i++) {
-            edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-            if (edgeDetails.from == item.id)
-                fromCount++;
-            else if (edgeDetails.to == item.id)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0) || fromCount > 1 || toCount > 1) {
-            addNodeHighlight(item.id);
-        }
-        else {
-            if (item.node_type == amplifierJSON.node_type) {
-                if (item.amp_category == ramanampJSON.amp_category && item.amp_type == "" && !(item.category)) {
-                    addNodeHighlight(item.id);
-                }
-                else if (item.amp_category == amplifierJSON.amp_category && item.amp_type == "") {
-                    addNodeHighlight(item.id);
-                }
-            }
-
-        }
-    });
-}
-
-/** Set fiber/patch/service smooth while on import network JSON file. */
-function edgeStyleOnImportJSON() {
-    var edgeList = network.body.data.edges.get();
-    var cfrom;
-    var cto;
-    var fiberData = [];
-    for (var i = 0; i < edgeList.length; i++) {
-
-        cfrom = edgeList[i].from;
-        cto = edgeList[i].to;
-
-        var connectedFiber = network.getConnectedEdges(cfrom);
-        connectedFiber.push(network.getConnectedEdges(cto));
-        var fromFiberCount = 0;
-        var toFiberCount = 0;
-        var fiberCount = 0;
-
-        $.each(connectedFiber, function (index, item) {
-            var fiberDetails = network.body.data.edges.get(item);
-            if (fiberDetails.fiber_category == dualFiberJSON.fiber_category || fiberDetails.fiber_category == singleFiberJSON.fiber_category || fiberDetails.component_type == serviceJSON.component_type || fiberDetails.component_type == dualPatchJSON.component_type) {
-                var fiberSmooth = singleFiberJSON.options.smooth;
-                if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                    fiberCount++;
-
-                    if (fiberCount == 1) {
-                        fiberSmooth = fiberJSON.options.smooth;
-                    }
-                    else {
-                        fromFiberCount++;
-                        fiberSmooth.roundness = "0." + fromFiberCount;
-                    }
-                    network.body.data.edges.update({
-                        id: fiberDetails.id, smooth: fiberSmooth
-
-                    });
-                }
-                if (fiberDetails.from == cto && fiberDetails.to == cfrom) {
-                    fiberCount++;
-                    fiberSmooth.roundness = "0." + toFiberCount;
-                    if (fiberCount == 1) {
-                        fiberSmooth = fiberJSON.options.smooth;
-                    }
-                    else {
-                        toFiberCount++;
-                        fiberSmooth.roundness = "0." + toFiberCount;
-                    }
-                    network.body.data.edges.update({
-                        id: fiberDetails.id, smooth: fiberSmooth
-
-                    });
-                }
-            }
-        });
-
-    }
-}
-
-/**
- * Check the node connections and fiber/patch/service rules on import network JSON file.
- * @param {string} cfrom - Source node.
- * @param {string} cto - Destination node.
- */
-function nodeValidationInEdge(cfrom, cto) {
-    // start remove highlight once roadm have equal in/out conn
-    var roadmList = [];
-
-    if (network.body.data.nodes.get(cfrom).node_type == roadmJSON.node_type)
-        roadmList.push(cfrom);
-
-    if (network.body.data.nodes.get(cto).node_type == roadmJSON.node_type)
-        roadmList.push(cto);
-
-    var connectedEdges;
-    var fromCount = 0;
-    var toCount = 0;
-    var edgeDetails;
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item);
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < connectedEdges.length; i++) {
-            edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-            if (edgeDetails.from == item)
-                fromCount++;
-            else if (edgeDetails.to == item)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-            addNodeHighlight(item);
-        }
-        else {
-            if (network.body.data.nodes.get(item).roadm_type != "") {
-                removeSpanInError(item, true);
-                removeSpanInError(item);
-            }
-            else {
-                var removeID = "#span" + item.replace(/\s/g, '');
-                $(removeID).remove();
-            }
-
-        }
-
-    });
-    // end
-
-    //start mislink
-    roadmList = [];
-    if (network.body.data.nodes.get(cfrom).node_type == fusedJSON.node_type || network.body.data.nodes.get(cfrom).node_type == amplifierJSON.node_type)
-        roadmList.push(cfrom);
-
-    if (network.body.data.nodes.get(cto).node_type == fusedJSON.node_type || network.body.data.nodes.get(cto).node_type == amplifierJSON.node_type)
-        roadmList.push(cto);
-
-
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item);
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < connectedEdges.length; i++) {
-            edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-            if (edgeDetails.from == item)
-                fromCount++;
-            else if (edgeDetails.to == item)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0) || fromCount > 1 || toCount > 1) {
-            addNodeHighlight(item);
-        }
-        else {
-
-            if (network.body.data.nodes.get(item).node_type == amplifierJSON.node_type) {
-
-
-                if (network.body.data.nodes.get(item).amp_category == amplifierJSON.amp_category) {
-                    if (network.body.data.nodes.get(item).amp_type != "") {
-                        removeSpanInError(item, true);
-                        removeSpanInError(item);
-                    }
-                    else {
-                        var removeID = "#span" + item.replace(/\s/g, '');
-                        $(removeID).remove();
-                    }
-                }
-                else if (network.body.data.nodes.get(item).amp_category == ramanampJSON.amp_category) {
-                    if (network.body.data.nodes.get(item).amp_type != "" && (network.body.data.nodes.get(item).category)) {
-                        removeSpanInError(item, true);
-                        removeSpanInError(item);
-                    }
-                    else {
-                        var removeID = "#span" + item.replace(/\s/g, '');
-                        $(removeID).remove();
-                    }
-                }
-            }
-            else {
-                removeSpanInError(item);
-            }
-        }
-    });
-    //
-    // start remove highlight once transceiver have equal in/out conn
-    var tempEdge = [];
-    roadmList = [];
-    if (network.body.data.nodes.get(cfrom).node_type == transceiverJSON.node_type)
-        roadmList.push(cfrom);
-
-    if (network.body.data.nodes.get(cto).node_type == transceiverJSON.node_type)
-        roadmList.push(cto);
-
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item);
-        tempEdge = [];
-        $.each(connectedEdges, function (index, item1) {
-            if (network.body.data.edges.get(item1).component_type != serviceJSON.component_type)
-                tempEdge.push(item1);
-        });
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < tempEdge.length; i++) {
-            edgeDetails = network.body.data.edges.get(tempEdge[i]);
-            if (edgeDetails.from == item)
-                fromCount++;
-            else if (edgeDetails.to == item)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-            addNodeHighlight(item);
-        }
-        else {
-            //removeSpanInError(item);
-            if (network.body.data.nodes.get(item).transceiver_type != "") {
-                removeSpanInError(item, true);
-                removeSpanInError(item);
-            }
-            else {
-                var removeID = "#span" + item.replace(/\s/g, '');
-                $(removeID).remove();
-            }
-
-        }
-    });
-    // end
-
-    realUpdate();
-    checkErrorFree();
-
-    //end
-}
-
-
-
- - - - -
- - - -
- - - - - - - diff --git a/docs/exampleUtil.js.html b/docs/exampleUtil.js.html deleted file mode 100644 index da8a1fb..0000000 --- a/docs/exampleUtil.js.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - JSDoc: Source: exampleUtil.js - - - - - - - - - - -
- -

Source: exampleUtil.js

- - - - - - -
-
-
 /**
- * exampleUtil module
- * @module exampleUtil
- */
-
-// These globals will be injected into a page that will use them.
-/* eslint no-unused-vars: "off" */
-
-// This is quite old and I don't want to waste too much time here. We probably
-// should stop using this altogether as the examples should be easy and
-// straightforward to understand and this only obscures it.
-/* eslint require-jsdoc: "off" */
-
-/* global Alea:false seededRandom:true */
-
-/**
- * Created by Alex on 5/20/2015.
- *
- * @remarks
- * This depends on Alea from https://unpkg.com/alea@1.0.0/alea.js.
- */
-
-/**
- * @param path
- * @param success
- * @param error
- */
-function loadJSON(path, success, error) {
-    const xhr = new XMLHttpRequest();
-    xhr.onreadystatechange = function () {
-        if (xhr.readyState === 4) {
-            if (xhr.status === 200) {
-                success(JSON.parse(xhr.responseText));
-            } else {
-                error(xhr);
-            }
-        }
-    };
-    xhr.open("GET", path, true);
-    xhr.send();
-}
-
-/**
- * @param nodeCount
- */
-function getScaleFreeNetwork(nodeCount) {
-    const nodes = [];
-    const edges = [];
-    const connectionCount = [];
-   
-    // Add child nodes, change styles…
-    // randomly create some nodes and edges
-    for (let i = 0; i < nodeCount; i++) {
-        nodes.push({
-            id: i,
-            label: String(i),
-        });
-
-        connectionCount[i] = 0;
-
-        // create edges in a scale-free-network way
-        if (i == 1) {
-            const from = i;
-            const to = 0;
-            edges.push({
-                from: from,
-                to: to,
-            });
-            connectionCount[from]++;
-            connectionCount[to]++;
-        } else if (i > 1) {
-            const conn = edges.length * 2;
-            const rand = Math.floor(seededRandom() * conn);
-            let cum = 0;
-            let j = 0;
-            while (j < connectionCount.length && cum < rand) {
-                cum += connectionCount[j];
-                j++;
-            }
-
-            const from = i;
-            const to = j;
-            edges.push({
-                from: from,
-                to: to,
-            });
-            connectionCount[from]++;
-            connectionCount[to]++;
-        }
-    }
-
-    return { nodes: nodes, edges: edges };
-}
-
-seededRandom = Alea("SEED");
-
-/**
- * @param nodeCount
- */
-function getScaleFreeNetworkSeeded(nodeCount) {
-    const nodes = [];
-    const edges = [];
-    const connectionCount = [];
-    let edgesId = 0;
-
-    // randomly create some nodes and edges
-    for (let i = 0; i < nodeCount; i++) {
-        nodes.push({
-            id: i,
-            label: String(i),
-            title: element(i),
-        });
-
-        connectionCount[i] = 0;
-
-        // create edges in a scale-free-network way
-        if (i == 1) {
-            const from = i;
-            const to = 0;
-            edges.push({
-                id: edgesId++,
-                from: from,
-                to: to,
-            });
-            connectionCount[from]++;
-            connectionCount[to]++;
-        } else if (i > 1) {
-            const conn = edges.length * 2;
-            const rand = Math.floor(seededRandom() * conn);
-            let cum = 0;
-            let j = 0;
-            while (j < connectionCount.length && cum < rand) {
-                cum += connectionCount[j];
-                j++;
-            }
-
-            const from = i;
-            const to = j;
-            edges.push({
-                id: edgesId++,
-                from: from,
-                to: to,
-            });
-            connectionCount[from]++;
-            connectionCount[to]++;
-        }
-    }
-
-    return { nodes: nodes, edges: edges };
-
-}
-
-
-
-
- - - - -
- - - -
- - - - - - - diff --git a/docs/fiber.js.html b/docs/fiber.js.html deleted file mode 100644 index adf1e62..0000000 --- a/docs/fiber.js.html +++ /dev/null @@ -1,1229 +0,0 @@ - - - - - JSDoc: Source: fiber.js - - - - - - - - - - -
- -

Source: fiber.js

- - - - - - -
-
-
 /**
- * fiber module
- * @module fiber
- */
-
-/**
- * fiber.js.
- * The fiber library describes to add a fiber connection between any 2 nodes by dragging from source node to destination and defines the fiber manipulation.
- */
-
-var addEdgeData = {
-    from: '',
-    to: ''
-};
-var isSingleFiberMode = 0;
-var isDualFiberMode = 0;
-function dualFiberMode() {
-    UnSelectAll();
-    isDualFiberMode = 1;
-    isSingleFiberMode = 0;
-    isAddService = 0;
-    isSinglePatchMode = 0;
-    isDualPatchMode = 0;
-    addEdgeData = {
-        from: '',
-        to: ''
-    };
-}
-/**
- * Enable settings for fiber and reset other settings.
- * Set fiber 1 = enable, 0 = disable.
- */
-function singleFiberMode() {
-    UnSelectAll();
-    isSingleFiberMode = 1;
-    isDualFiberMode = 0;
-    isAddService = 0;
-    isDualPatchMode = 0;
-    isSinglePatchMode = 0;
-    addEdgeData = {
-        from: '',
-        to: ''
-    };
-}
-
-/** Check connections rule for dual fiber not single fiber before add it. */
-function addFiber() {
-    var srcNode = network.body.data.nodes.get(addEdgeData.from);
-    var DestNode = network.body.data.nodes.get(addEdgeData.to);
-    var isSrcOk = false;
-    var isDestOk = false;
-    //to restrict pre amp and boost amp on dualfiber connection
-    if (isDualFiberMode == 1) {
-        var msg = "";
-        if (srcNode.amp_category == amplifierJSON.amp_category) {
-            msg = srcNode.amp_category + " type : " + srcNode.label + " to ";
-        }
-        else {
-            isSrcOk = true;
-            if (srcNode.amp_category)
-                msg = srcNode.amp_category + " type : " + srcNode.label + " to ";
-            else
-                msg = srcNode.node_type + " type : " + srcNode.label + " to ";
-        }
-        if (DestNode.amp_category == amplifierJSON.amp_category) {
-            msg += DestNode.amp_category + " type : " + DestNode.label;
-        }
-        else {
-            isDestOk = true;
-            msg += DestNode.node_type + " type : " + DestNode.label;
-        }
-
-        if (!isSrcOk || !isDestOk) {
-            showMessage(alertType.Error, "<p>Cannot add " + dualFiberJSON.fiber_category + " from " + msg + '</p>');
-            addEdgeData = {
-                from: '',
-                to: ''
-            };
-            UnSelectAll();
-            return;
-        }
-    }
-
-    var labelvalue = getLabel(addEdgeData.from, addEdgeData.to, singleFiberJSON.component_type);
-    var textvalue = roadmJSON.node_type + "- [ " + network.body.data.nodes.get(addEdgeData.from).label + ' - ' + network.body.data.nodes.get(addEdgeData.to).label + " ]";
-    addFiberComponent(1, addEdgeData.from, addEdgeData.to, labelvalue, textvalue, false);
-    addEdgeData = {
-        from: '',
-        to: ''
-    };
-    UnSelectAll();
-    network.addEdgeMode();
-}
-
-/**
- * Fiber creation.
- * Fiber style and configuration data loaded from configurationdata, styledata json.
- * Check connections rules.
- * @param {number} cmode - Fiber mode 1 for add.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- * @param {string} clabel - The Label of the service.
- * @param {string} ctext - The Text of the service.
- * @param {boolean} isImport - false -> manual add, true -> automattically added while import json.
- */
-function addFiberComponent(cmode, cfrom, cto, clabel, ctext, isImport) {
-    if (cmode == 1) {
-
-        var nodeDetails = network.body.data.nodes.get(cfrom);
-        var toNodeDetails = network.body.data.nodes.get(cto);
-        var fiberID = token();
-        //amplifier and attenuator fiber connection conditions - max limit 2
-        if (isDualFiberMode == 1)//removed restriction for single fiber mode, so check fiber mode
-        {
-            //add roadm list for from roadm node or ILA
-            if (nodeDetails.node_type == roadmJSON.node_type || nodeDetails.amp_category == ILAJSON.amp_category) {
-                arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-
-                var roadm_label = "";
-                var roadm_type = "";
-                var pre_amp_type = "";
-                var booster_type = "";
-                if (nodeDetails.node_type == roadmJSON.node_type) {
-                    roadm_label = ctext;
-                    var roadm_config = configData.node[nodeDetails.node_type].default;
-                    roadm_type = roadm_config.roadm_type;
-                    pre_amp_type = roadm_config.pre_amp_type;
-                    booster_type = roadm_config.booster_type;
-                }
-                if (nodeDetails.amp_category == ILAJSON.amp_category) {
-                    roadm_label = ILAJSON.amp_category + "- [ " + network.body.data.nodes.get(cfrom).label + ' - ' + network.body.data.nodes.get(cto).label + " ]";;
-                    var ILA_config = configData.node[nodeDetails.amp_category].default;
-                    roadm_type = "";
-                    pre_amp_type = ILA_config.pre_amp_type;//Amp A
-                    booster_type = ILA_config.booster_type;//Amp B
-                }
-
-                var roadmTypePro = {
-                    roadm_fiber_id: fiberID,
-                    roadm_label: roadm_label,
-                    roadm_type: roadm_type,
-                    pre_amp_type: pre_amp_type,
-                    booster_type: booster_type
-                };
-
-                arrRoadmTypePro.push(roadmTypePro);
-                network.body.data.nodes.update({
-                    id: cfrom, roadm_type_pro: arrRoadmTypePro
-                });
-            }
-            //add roadm list to to roadm node or ILA
-            if (toNodeDetails.node_type == roadmJSON.node_type || toNodeDetails.amp_category == ILAJSON.amp_category) {
-                arrRoadmTypePro = toNodeDetails.roadm_type_pro ? toNodeDetails.roadm_type_pro : [];
-
-                var roadm_label = "";
-                var roadm_type = "";
-                var pre_amp_type = "";
-                var booster_type = "";
-                if (toNodeDetails.node_type == roadmJSON.node_type) {
-                    roadm_label = roadmJSON.node_type + "- [ " + network.body.data.nodes.get(cto).label + ' - ' + network.body.data.nodes.get(cfrom).label + " ]";
-                    var roadm_config = configData.node[toNodeDetails.node_type].default;
-                    roadm_type = roadm_config.roadm_type;
-                    pre_amp_type = roadm_config.pre_amp_type;
-                    booster_type = roadm_config.booster_type;
-                }
-                if (toNodeDetails.amp_category == ILAJSON.amp_category) {
-                    roadm_label = ILAJSON.amp_category + "- [ " + network.body.data.nodes.get(cto).label + ' - ' + network.body.data.nodes.get(cfrom).label + " ]";;
-                    var ILA_config = configData.node[toNodeDetails.amp_category].default;
-                    roadm_type = "";
-                    pre_amp_type = ILA_config.pre_amp_type;//Amp A
-                    booster_type = ILA_config.booster_type;//Amp B
-                }
-
-                var roadmTypePro = {
-                    roadm_fiber_id: fiberID,
-                    roadm_label: roadm_label,
-                    roadm_type: roadm_type,
-                    pre_amp_type: pre_amp_type,
-                    booster_type: booster_type
-                };
-
-                arrRoadmTypePro.push(roadmTypePro);
-                network.body.data.nodes.update({
-                    id: cto, roadm_type_pro: arrRoadmTypePro
-                });
-            }
-
-            if (nodeDetails.node_type == fusedJSON.node_type || nodeDetails.node_type == ILAJSON.node_type || toNodeDetails.node_type == fusedJSON.node_type || toNodeDetails.node_type == ILAJSON.node_type) {
-                var connectedEdges = network.getConnectedEdges(cfrom);
-                var fromCount = network.getConnectedEdges(cfrom).length;
-                var toCount = network.getConnectedEdges(cto).length;
-                var fromDegree = configData.node[nodeDetails.node_type].default.node_degree;
-                var toDegree = configData.node[toNodeDetails.node_type].default.node_degree;
-                var msg = "";
-                var isLimit = false;
-                if (fromCount >= fromDegree) {
-                    isLimit = true;
-                    if (nodeDetails.node_type == fusedJSON.node_type) {
-                        msg = 'Attenuator ' + roadmJSON.component_type + ' : ' + nodeDetails.label + ' cannot have more than ' + fromDegree + ' ' + dualFiberJSON.component_type + ' connection';
-                    }
-                    else if (nodeDetails.node_type == ILAJSON.node_type) {
-                        msg = nodeDetails.amp_category + ' ' + roadmJSON.component_type + ' : ' + nodeDetails.label + ' cannot have more than ' + fromDegree + ' ' + dualFiberJSON.component_type + ' connection';
-                    }
-
-                }
-                if (toCount >= toDegree) {
-                    if (isLimit)
-                        msg += " and ";
-                    isLimit = true;
-                    if (toNodeDetails.node_type == fusedJSON.node_type) {
-                        msg += 'Attenuator ' + roadmJSON.component_type + ' : ' + toNodeDetails.label + ' cannot have more than ' + toDegree + ' ' + dualFiberJSON.component_type + ' connection';
-                    }
-                    else if (toNodeDetails.node_type == ILAJSON.node_type) {
-                        msg += toNodeDetails.amp_category + ' ' + roadmJSON.component_type + ' : ' + toNodeDetails.label + ' cannot have more than ' + toDegree + ' ' + dualFiberJSON.component_type + ' connection';
-                    }
-                }
-
-                if (isLimit) {
-                    showMessage(alertType.Error, msg);
-                    return;
-                }
-            }
-        }
-        //end
-
-        var fiberSmooth = multipleFiberService1(cfrom, cto);
-        if (!fiberSmooth)
-            fiberSmooth = fiberJSON.options.smooth;
-
-        var elabel = "";
-        if (isDualFiberMode == 1) {
-            var fiber_config = configData[dualFiberJSON.fiber_category.replace(' ', '')].default;
-            clabel = countFiberService(true, false, false, false, cfrom, cto) + '-' + clabel;
-            elabel = clabel;
-            network.body.data.edges.add({
-                id: fiberID, from: cfrom, to: cto, label: elabel, text: clabel, dashes: dualFiberJSON.dashes, fiber_category: dualFiberJSON.fiber_category,
-                component_type: dualFiberJSON.component_type, color: dualFiberJSON.options.color, background: dualFiberJSON.options.background,
-                arrows: dualFiberJSON.options.arrows,
-                smooth: fiberSmooth,
-                width: dualFiberJSON.width,
-                view: topologyView.NE_View, hidden: false,
-                fiber_type: fiber_config.fiber_type, span_length: fiber_config.Span_length,
-                loss_coefficient: fiber_config.Loss_coefficient, connector_in: fiber_config.Connector_in, connector_out: fiber_config.Connector_out, span_loss: fiber_config.Span_loss,
-                RxToTxFiber: {
-                    from: cto, to: cfrom, label: clabel, text: clabel, fiber_category: dualFiberJSON.fiber_category,
-                    component_type: dualFiberJSON.component_type,
-                    fiber_type: fiber_config.fiber_type, span_length: fiber_config.Span_length,
-                    loss_coefficient: fiber_config.Loss_coefficient, connector_in: fiber_config.Connector_in, connector_out: fiber_config.Connector_out, span_loss: fiber_config.Span_loss,
-                }
-
-            });
-        }
-        if (isSingleFiberMode == 1) {
-            var flag = false;
-            var message = [];
-            var response = nodeRule(cfrom, cto, amplifierJSON.node_type);
-            if (response.flag) {
-                flag = true
-                message.push(response.message);
-            }
-            response = nodeRule(cfrom, cto, fusedJSON.node_type);
-            if (response.flag) {
-                flag = true;
-                message.push(response.message);
-            }
-
-            if (flag) {
-                showMessage(alertType.Error, message.join('. <br /><br /> '));
-                return;
-            }
-
-            var fiber_config = configData[singleFiberJSON.fiber_category.replace(' ', '')].default;
-            if (!isImport)
-                clabel = countFiberService(false, true, false, false, cfrom, cto) + '-' + clabel;
-            elabel = clabel;
-            var span_Length = fiber_config.Span_length;
-            var loss_Coefficient = fiber_config.Loss_coefficient;
-            var span_Loss = fiber_config.Span_loss;
-            var fiber_Type = fiber_config.fiber_type;
-            var connector_IN = fiber_config.Connector_in;
-            var connector_OUT = fiber_config.Connector_out;
-
-            if (isImport) {
-                span_Length = tSpanLength;
-                loss_Coefficient = loss_Coefficient;
-                span_Loss = parseFloat(span_Length * loss_Coefficient);
-                fiber_Type = tType;
-                connector_IN = tConnector_in;
-                connector_OUT = tConnector_out;
-
-            }
-            network.body.data.edges.add({
-                id: fiberID, from: cfrom, to: cto, label: elabel, text: clabel,
-                view: topologyView.Functional_View, hidden: false,
-                dashes: singleFiberJSON.dashes, fiber_category: singleFiberJSON.fiber_category,
-                component_type: singleFiberJSON.component_type,
-                color: singleFiberJSON.options.w_color,
-                width: singleFiberJSON.width,
-                background: singleFiberJSON.options.background,
-                arrows: singleFiberJSON.options.arrows,
-                //font: singleFiberJSON.options.font,
-                smooth: fiberSmooth,
-                fiber_type: fiber_Type, span_length: span_Length,
-                loss_coefficient: loss_Coefficient, connector_in: connector_IN, connector_out: connector_OUT,
-                span_loss: span_Loss
-            });
-
-            realUpdate();
-            nodeValidationInEdge(cfrom, cto);
-        }
-
-        multipleFiberService(cfrom, cto);
-        var tedge = network.body.data.edges.get(fiberID);
-        tedge.isUpdate = false;
-        tempUndo.push(tedge);
-    }
-}
-
-function dualFiberInsertNode(fiberID, node_type, callback) {
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    var fromNode = network.body.nodes[fiberDetails.from];
-    var toNode = network.body.nodes[fiberDetails.to];
-
-    var newX = (fromNode.x + toNode.x) / 2;
-    var newY = network.body.edges[fiberID].labelModule.size.yLine;
-    insertNodeX = newX;
-    insertNodeY = newY;
-
-    var nodeID = token();
-    nodeDetails = configData.node[node_type];
-
-    var result = nodeName(node_type, nodeDetails.default.amp_category);
-
-    var nodelength = result.nodeLength;
-    var nodeLabel = result.label;
-
-    var fiberStyle = network.body.data.edges.get(fiberID);
-    var smooth = fiberStyle.smooth;
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    if (node_type == roadmJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + roadmJSON.image, number: nodelength,
-            shape: roadmJSON.shape, color: roadmJSON.color,
-            font: roadmJSON.font,
-            size: roadmJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: roadmJSON.component_type,
-        });
-    }
-    else if (node_type == fusedJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + fusedJSON.image, number: nodelength,
-            shape: fusedJSON.shape, color: fusedJSON.color,
-            size: fusedJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: fusedJSON.component_type,
-        });
-    }
-    else if (node_type == transceiverJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + transceiverJSON.image, number: nodelength,
-            shape: transceiverJSON.shape, color: transceiverJSON.color,
-            size: transceiverJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: transceiverJSON.component_type,
-            transceiver_type: nodeDetails.transceiver_type
-        });
-    }
-    else if (node_type == ILAJSON.amp_category) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + ILAJSON.image, number: nodelength,
-            shape: ILAJSON.shape, color: ILAJSON.color,
-            size: ILAJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: ILAJSON.component_type,
-            pre_amp_type: nodeDetails.default.pre_amp_type, booster_type: nodeDetails.default.booster_type, amp_category: nodeDetails.default.amp_category
-        });
-    }
-    network.body.data.edges.remove(fiberID);
-    var labelvalue = dualFiberJSON.component_type + " " + network.body.data.nodes.get(fiberDetails.from).number + ' - ' + network.body.data.nodes.get(nodeID).number;
-    labelvalue = countFiberService(true, false, false, false, fiberDetails.from, nodeID) + '-' + labelvalue;
-    var elabel = "";
-    elabel = labelvalue;
-
-    network.body.data.edges.add({
-        id: fiberID, from: fiberDetails.from, to: nodeID, label: elabel, text: labelvalue, dashes: dualFiberJSON.dashes, fiber_category: dualFiberJSON.fiber_category,
-        component_type: dualFiberJSON.component_type, color: dualFiberJSON.options.color, background: dualFiberJSON.options.background,
-        arrows: dualFiberJSON.options.arrows,
-        smooth: smooth,
-        width: dualFiberJSON.width,
-        view: $("#ddlNetworkView").val(), hidden: false,
-        fiber_type: fiberDetails.fiber_type, span_length: fiberDetails.span_length,
-        loss_coefficient: fiberDetails.loss_coefficient, connector_in: fiberDetails.connector_in, connector_out: fiberDetails.connector_out, span_loss: fiberDetails.span_loss,
-        RxToTxFiber: {
-            from: nodeID, to: fiberDetails.from, fiber_category: fiberDetails.fiber_category, component_type: fiberDetails.component_type,
-            label: labelvalue, fiber_type: fiberDetails.RxToTxFiber.fiber_type, span_length: fiberDetails.RxToTxFiber.span_length,
-            loss_coefficient: fiberDetails.RxToTxFiber.loss_coefficient, connector_in: fiberDetails.RxToTxFiber.connector_in, connector_out: fiberDetails.RxToTxFiber.connector_out, span_loss: fiberDetails.RxToTxFiber.span_loss,
-        }
-
-    });
-
-    //add roadm list for left side fiber - new node
-    if (node_type == roadmJSON.node_type || node_type == ILAJSON.amp_category) {
-
-        var textvalue = node_type.toUpperCase() + "- [ " + nodeLabel + ' - ' + network.body.data.nodes.get(fiberDetails.from).label + " ]";
-        arrRoadmTypePro = [];
-        var roadm_label = textvalue;
-        var roadm_config = configData.node[node_type].default;
-
-        var roadm_type = "";
-        if (roadm_config.roadm_type)
-            roadm_type = roadm_config.roadm_type;
-
-        var pre_amp_type = roadm_config.pre_amp_type;
-        var booster_type = roadm_config.booster_type;
-
-        var roadmTypePro = {
-            roadm_fiber_id: fiberID,
-            roadm_label: roadm_label,
-            roadm_type: roadm_type,
-            pre_amp_type: pre_amp_type,
-            booster_type: booster_type
-        };
-
-        arrRoadmTypePro.push(roadmTypePro);
-
-        network.body.data.nodes.update({
-            id: nodeID, roadm_type_pro: arrRoadmTypePro
-        });
-
-    }
-    var newFiberID = token();
-    labelvalue = dualFiberJSON.component_type + " " + network.body.data.nodes.get(nodeID).number + ' - ' + network.body.data.nodes.get(fiberDetails.to).number;
-    labelvalue = countFiberService(true, false, false, false, nodeID, fiberDetails.to) + '-' + labelvalue;
-    elabel = labelvalue;
-    var fiber_config = configData[dualFiberJSON.fiber_category.replace(' ', '')].default;
-    network.body.data.edges.add({
-        id: newFiberID, from: nodeID, to: fiberDetails.to, label: elabel, text: labelvalue, dashes: dualFiberJSON.dashes, fiber_category: dualFiberJSON.fiber_category,
-        component_type: dualFiberJSON.component_type, color: dualFiberJSON.options.color, background: dualFiberJSON.options.background,
-        arrows: dualFiberJSON.options.arrows,
-        smooth: smooth,
-        width: dualFiberJSON.width,
-        view: $("#ddlNetworkView").val(), hidden: false,
-        fiber_type: fiber_config.fiber_type, span_length: fiber_config.Span_length,
-        loss_coefficient: fiber_config.Loss_coefficient, connector_in: fiber_config.Connector_in, connector_out: fiber_config.Connector_out, span_loss: fiber_config.Span_loss,
-
-        RxToTxFiber: {
-            from: fiberDetails.to, to: nodeID, fiber_category: fiberDetails.fiber_category, component_type: fiberDetails.component_type,
-            label: labelvalue,
-            fiber_type: fiber_config.fiber_type, span_length: fiber_config.Span_length,
-            loss_coefficient: fiber_config.Loss_coefficient, connector_in: fiber_config.Connector_in, connector_out: fiber_config.Connector_out, span_loss: fiber_config.Span_loss,
-        }
-
-    });
-
-
-    //add roadm list for newly added fiber right side - new node
-    nodeDetails = network.body.data.nodes.get(nodeID);
-    if (node_type == roadmJSON.node_type || node_type == ILAJSON.amp_category) {
-        var textvalue = node_type.toUpperCase() + "- [ " + nodeLabel + ' - ' + network.body.data.nodes.get(fiberDetails.to).label + " ]";
-        arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-        var roadm_label = textvalue;
-        var roadm_config = configData.node[node_type].default;
-        var roadm_type = "";
-        if (roadm_config.roadm_type)
-            roadm_type = roadm_config.roadm_type;
-
-        var pre_amp_type = roadm_config.pre_amp_type;
-        var booster_type = roadm_config.booster_type;
-
-        var roadmTypePro = {
-            roadm_fiber_id: newFiberID,
-            roadm_label: roadm_label,
-            roadm_type: roadm_type,
-            pre_amp_type: pre_amp_type,
-            booster_type: booster_type
-        };
-
-        arrRoadmTypePro.push(roadmTypePro);
-
-        network.body.data.nodes.update({
-            id: nodeID, roadm_type_pro: arrRoadmTypePro
-        });
-
-    }
-
-    //add roadm list for right side roadm node
-    nodeDetails = network.body.data.nodes.get(fiberDetails.to);
-    if (nodeDetails.node_type == roadmJSON.node_type || nodeDetails.amp_category == ILAJSON.amp_category) {
-        var textvalue = "";
-        var roadm_config = "";
-        var roadm_type = "";
-
-        if (nodeDetails.node_type == roadmJSON.node_type) {
-            textvalue = nodeDetails.node_type.toUpperCase() + "- [ " + network.body.data.nodes.get(fiberDetails.to).label + ' - ' + nodeLabel + " ]";
-            roadm_config = configData.node[nodeDetails.node_type].default;
-            roadm_type = roadm_config.roadm_type;
-        }
-        if (nodeDetails.amp_category == ILAJSON.amp_category) {
-            textvalue = nodeDetails.amp_category.toUpperCase() + "- [ " + network.body.data.nodes.get(fiberDetails.to).label + ' - ' + nodeLabel + " ]";
-            roadm_config = configData.node[nodeDetails.amp_category].default;
-        }
-
-        arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-        var roadm_label = textvalue;
-
-        var pre_amp_type = roadm_config.pre_amp_type;
-        var booster_type = roadm_config.booster_type;
-
-        var roadmTypePro = {
-            roadm_fiber_id: newFiberID,
-            roadm_label: roadm_label,
-            roadm_type: roadm_type,
-            pre_amp_type: pre_amp_type,
-            booster_type: booster_type
-        };
-
-        arrRoadmTypePro.push(roadmTypePro);
-
-        network.body.data.nodes.update({
-            id: fiberDetails.to, roadm_type_pro: arrRoadmTypePro
-        });
-
-    }
-
-    document.getElementById("dualFiberMenu").style.display = "none";
-    enableEdgeIndicator();
-}
-
-/**
- * Insert a node (ROADM/Attenuator/Amplifier/Raman Amplifier) in the middle of selected fiber.
- * @param {string} fiberID - Selected fiber ID
- * @param {string} node_type - Type of node.
- * @param callback - The callback that handles the response..
- */
-function singleFiberInsertNode(fiberID, node_type, callback) {
-
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    var fromNode = network.body.nodes[fiberDetails.from];
-    var toNode = network.body.nodes[fiberDetails.to];
-
-    var newX = (fromNode.x + toNode.x) / 2;
-    var newY = network.body.edges[fiberID].labelModule.size.yLine;
-    insertNodeX = newX;
-    insertNodeY = newY;
-
-    var nodeID = token();
-    nodeDetails = configData.node[node_type];
-
-    var result = nodeName(node_type, nodeDetails.default.amp_category);
-
-    var nodelength = result.nodeLength;
-    var nodeLabel = result.label;
-
-    var fiberStyle = network.body.data.edges.get(fiberID);
-    var smooth = fiberStyle.smooth;
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    if (node_type == roadmJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + roadmJSON.w_image, number: nodelength,
-            shape: roadmJSON.shape, color: roadmJSON.color,
-            font: roadmJSON.font,
-            size: roadmJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: roadmJSON.component_type,
-            roadm_type: nodeDetails.default.roadm_type
-        });
-    }
-    else if (node_type == fusedJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + fusedJSON.image, number: nodelength,
-            shape: fusedJSON.shape, color: fusedJSON.color,
-            size: fusedJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: fusedJSON.component_type,
-        });
-    }
-    else if (node_type == transceiverJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + transceiverJSON.w_image, number: nodelength,
-            shape: transceiverJSON.shape, color: transceiverJSON.color,
-            size: transceiverJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: transceiverJSON.component_type,
-            transceiver_type: nodeDetails.transceiver_type
-        });
-    }
-    else if (node_type == amplifierJSON.amp_category) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + amplifierJSON.w_image, number: nodelength,
-            shape: amplifierJSON.shape, color: amplifierJSON.color,
-            size: amplifierJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: amplifierJSON.component_type,
-            pre_amp_type: nodeDetails.default.pre_amp_type, booster_type: nodeDetails.default.booster_type, amp_category: nodeDetails.default.amp_category
-        });
-    }
-    else if (node_type == ramanampJSON.amp_category) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + ramanampJSON.w_image, number: nodelength,
-            shape: ramanampJSON.shape, color: ramanampJSON.color,
-            size: ramanampJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: ramanampJSON.component_type,
-            amp_type: nodeDetails.default.amp_type,
-            amp_category: nodeDetails.default.amp_category,
-            category: nodeDetails.default.category
-        });
-    }
-
-    network.body.data.edges.remove(fiberID);
-    var labelvalue = getLabel(fiberDetails.from, nodeID, singleFiberJSON.component_type);
-    labelvalue = countFiberService(false, true, false, false, fiberDetails.from, nodeID) + '-' + labelvalue;
-    var elabel = "";
-    elabel = labelvalue;
-
-    var tempcolor;
-
-    if (fiberDetails.fiber_type != null && parseFloat(fiberDetails.span_length) > 0)
-        tempcolor = singleFiberJSON.options.color;
-    else
-        tempcolor = singleFiberJSON.options.w_color;
-
-    network.body.data.edges.add({
-        id: fiberID, from: fiberDetails.from, to: nodeID, label: elabel, text: labelvalue, dashes: singleFiberJSON.dashes, fiber_category: singleFiberJSON.fiber_category,
-        component_type: singleFiberJSON.component_type, color: tempcolor, background: singleFiberJSON.options.background,
-        arrows: singleFiberJSON.options.arrows,
-        smooth: smooth,
-        width: singleFiberJSON.width,
-        view: $("#ddlNetworkView").val(), hidden: false,
-        fiber_type: fiberDetails.fiber_type, span_length: fiberDetails.span_length,
-        loss_coefficient: fiberDetails.loss_coefficient, connector_in: fiberDetails.connector_in, connector_out: fiberDetails.connector_out, span_loss: fiberDetails.span_loss,
-
-    });
-
-    var newFiberID = token();
-    var labelvalue = getLabel(nodeID, fiberDetails.to, singleFiberJSON.component_type);
-    labelvalue = countFiberService(false, true, false, false, nodeID, fiberDetails.to) + '-' + labelvalue;
-    elabel = labelvalue;
-
-    var fiber_config = configData[singleFiberJSON.fiber_category.replace(' ', '')].default;
-    network.body.data.edges.add({
-        id: newFiberID, from: nodeID, to: fiberDetails.to, label: elabel, text: labelvalue, dashes: singleFiberJSON.dashes, fiber_category: singleFiberJSON.fiber_category,
-        component_type: singleFiberJSON.component_type, color: singleFiberJSON.options.w_color, background: singleFiberJSON.options.background,
-        arrows: singleFiberJSON.options.arrows,
-        smooth: smooth,
-        width: singleFiberJSON.width,
-        view: $("#ddlNetworkView").val(), hidden: false,
-        fiber_type: fiber_config.fiber_type, span_length: fiber_config.Span_length,
-        loss_coefficient: fiber_config.Loss_coefficient, connector_in: fiber_config.Connector_in, connector_out: fiber_config.Connector_out, span_loss: fiber_config.Span_loss,
-    });
-
-    //add roadm list for newly added fiber right side - new node --- comment for functional view also roadm have only roadm type
-    nodeDetails = network.body.data.nodes.get(nodeID);
-    fiberDetails.isUpdate = false;
-    fiberDetails.isDelete = true;
-    tempUndo.push(fiberDetails);
-
-    nodeDetails.isUpdate = false;
-    tempUndo.push(nodeDetails);
-
-    fDetails = network.body.data.edges.get(fiberID);
-    fDetails.isUpdate = false;
-    tempUndo.push(fDetails);
-
-    nDetails = network.body.data.edges.get(newFiberID);
-    nDetails.isUpdate = false;
-    tempUndo.push(nDetails);
-
-    document.getElementById("singleFiberMenu").style.display = "none";
-    realUpdate();
-    enableEdgeIndicator();
-}
-function dualFiberEdit(fiberID, callback) {
-    document.getElementById("dualFiberMenu").style.display = "none";
-
-    clearCbxandAccordian();
-    openDrawer('dualfiber');
-    var edgeDetails = network.body.data.edges.get(fiberID);
-    var connectedNode = network.getConnectedNodes(fiberID);
-    $("#txtFiberName").val(edgeDetails.text);
-    //fiber A details
-    $("#ddlFiberAType").val(edgeDetails.fiber_type);
-    $("#txtFiberASL").val(edgeDetails.span_length);
-    $("#txtFiberALC").val(edgeDetails.loss_coefficient);
-    $("#txtFiberACIN").val(edgeDetails.connector_in);
-    $("#txtFiberACOUT").val(edgeDetails.connector_out);
-    $("#txtFiberASpanLoss").val(edgeDetails.span_loss);
-    //fiber B details
-    if (edgeDetails.RxToTxFiber) {
-        $("#ddlFiberBType").val(edgeDetails.RxToTxFiber.fiber_type);
-        $("#txtFiberBSL").val(edgeDetails.RxToTxFiber.span_length);
-        $("#txtFiberBLC").val(edgeDetails.RxToTxFiber.loss_coefficient);
-        $("#txtFiberBCIN").val(edgeDetails.RxToTxFiber.connector_in);
-        $("#txtFiberBCOUT").val(edgeDetails.RxToTxFiber.connector_out);
-        $("#txtFiberBSpanLoss").val(edgeDetails.RxToTxFiber.span_loss);
-    }
-    $("#pFiberA").text("Fiber A [" + network.body.data.nodes.get(connectedNode[0]).label + ' - ' + network.body.data.nodes.get(connectedNode[1]).label + "]");
-    $("#pFiberB").text("Fiber B [" + network.body.data.nodes.get(connectedNode[1]).label + ' - ' + network.body.data.nodes.get(connectedNode[0]).label + "]");
-
-    document.getElementById("btnDualFiberUpdate").onclick = updateDualFiber.bind(
-        this,
-        fiberID,
-        callback
-    );
-    document.getElementById("btnCloseDualFiber").onclick = clearDualFiber.bind(
-    );
-}
-function updateDualFiber(fiberID) {
-    var id = fiberID;
-    var label = $("#txtFiberName").val().trim();
-    var fiber_type = $("#ddlFiberAType").val();
-    var span_length = $("#txtFiberASL").val();
-    var loss_coefficient = $("#txtFiberALC").val();
-    var connector_in = $("#txtFiberACIN").val();
-    var connector_out = $("#txtFiberACOUT").val();
-    var span_loss = $("#txtFiberASpanLoss").val();
-
-    var fiber_typeB = $("#ddlFiberBType").val();
-    var span_lengthB = $("#txtFiberBSL").val();
-    var loss_coefficientB = $("#txtFiberBLC").val();
-    var connector_inB = $("#txtFiberBCIN").val();
-    var connector_outB = $("#txtFiberBCOUT").val();
-    var span_lossB = $("#txtFiberBSpanLoss").val();
-
-    var spanlen = parseFloat(span_length);
-    if (spanlen <= 0) {
-        showMessage(alertType.Error, dualFiberJSON.component_type + ' A : please enter valid span length.');
-        return;
-    }
-
-    var Bspan_length = parseFloat($("#txtFiberBSL").val());
-    spanlen = parseFloat(Bspan_length);
-    if (spanlen <= 0) {
-        showMessage(alertType.Error, dualFiberJSON.component_type + ' B : please enter valid span length.');
-        return;
-    }
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    if (nameLengthValidation("txtFiberName")) {
-        if (fiberDetails.component_type == dualFiberJSON.component_type && fiberDetails.fiber_category == dualFiberJSON.fiber_category) {
-
-            var elabel = "";
-            elabel = label;
-
-            network.body.data.edges.update({
-                id: id, label: elabel, text: label, fiber_type: fiber_type, span_length: span_length,
-                loss_coefficient: loss_coefficient, connector_in: connector_in, connector_out: connector_out, span_loss: span_loss,
-                RxToTxFiber: {
-                    from: fiberDetails.to, to: fiberDetails.from, fiber_category: fiberDetails.fiber_category, component_type: fiberDetails.component_type,
-                    label: label, text: label, fiber_type: fiber_typeB, span_length: span_lengthB,
-                    loss_coefficient: loss_coefficientB, connector_in: connector_inB, connector_out: connector_outB, span_loss: span_lossB,
-                }
-            });
-            multipleFiberService(fiberDetails.from, fiberDetails.to);
-            clearDualFiber();
-        }
-
-    }
-}
-function clearDualFiber() {
-    $("#txtfiberName").val('');
-    $("#ddlFiberAType").val('');
-    $("#txtFiberASL").val('');
-    $("#txtFiberALC").val('');
-    $("#txtFiberACIN").val('');
-    $("#txtFiberACOUT").val('');
-    $("#ddlFiberBType").val('');
-    $("#txtFiberBSL").val('');
-    $("#txtFiberBLC").val('');
-    $("#txtFiberBCIN").val('');
-    $("#txtFiberBCOUT").val('');
-    clearCbxandAccordian();
-    closeDrawer('dualfiber');
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-function clearCbxandAccordian() {
-    if ($("#aFiberA").text() == "-")
-        $("#aFiberA").click();
-    if ($("#aFiberB").text() == "-")
-        $("#aFiberB").click();
-
-    $('#cbx_FiberALBL').prop('checked', false);
-    $('#cbx_FiberBLBL').prop('checked', false);
-    $('#cbx_clone').prop('checked', false);
-}
-
-/**
- * Populate fiber details by fiber ID.
- * @param {string} fiberID - Selected Fiber ID.
- * @param callback - The callback that handles the response.
- */
-function singleFiberEdit(fiberID, callback) {
-    $("#txtLoss_Coefficient").removeClass('input_error');
-    $('#cbxLength_Based_Loss').prop('checked', false);
-    $("#txtSinlgeFiberName").val('');
-    $("#txtSource").val('');
-    $("#txtDestination").val('');
-    $("#ddlSingleFiberType").val('');
-    $("#txtSpan_Length").val('');
-    $("#txtLoss_Coefficient").val('');
-    $("#txtConnector_IN").val('');
-    $("#txtConnector_OUT").val('');
-    $("#txtSpan_Loss").val('');
-    document.getElementById("singleFiberMenu").style.display = "none";
-    var edgeDetails = network.body.data.edges.get(fiberID[fiberID.length - 1].id);
-    var connectedNode = network.getConnectedNodes(fiberID[fiberID.length - 1].id);
-    $("#txtSinlgeFiberName").val(edgeDetails.text);
-    $("#txtSource").val(network.body.data.nodes.get(connectedNode[0]).label);
-    $("#txtDestination").val(network.body.data.nodes.get(connectedNode[1]).label);
-    $("#divFiberNameCon").show();
-    if (fiberID.length > 1) {
-        $("#divFiberNameCon").hide();
-        var matchCount = 1;
-        for (var i = 0; i < fiberID.length - 1; i++) {
-            if (network.body.data.edges.get(fiberID[i].id).fiber_type == edgeDetails.fiber_type) {
-                matchCount++;
-            }
-        }
-        if (matchCount == fiberID.length) {
-            if (edgeDetails.fiber_type) {
-                $("#ddlSingleFiberType").val(edgeDetails.fiber_type);
-            }
-        }
-
-    }
-    else {
-        $("#ddlSingleFiberType").val(edgeDetails.fiber_type);
-        $("#txtSpan_Length").val(edgeDetails.span_length);
-        $("#txtLoss_Coefficient").val(edgeDetails.loss_coefficient);
-        $("#txtConnector_IN").val(edgeDetails.connector_in);
-        $("#txtConnector_OUT").val(edgeDetails.connector_out);
-        $("#txtSpan_Loss").val(edgeDetails.span_loss);
-    }
-    var span_length = $("#txtSpan_Length").val().trim();
-    var spanlen = parseFloat(span_length);
-    if (isNaN(span_length) || spanlen <= 0 || span_length == "") {
-        $("#txtSpan_Length").addClass('input_error');
-    }
-    else
-        $("#txtSpan_Length").removeClass('input_error');
-
-    if ($("#ddlSingleFiberType").val() == null) {
-        $("#ddlSingleFiberType").addClass('input_error');
-    }
-    else
-        $("#ddlSingleFiberType").removeClass('input_error');
-
-    openDrawer('singlefiber');
-    document.getElementById("btnSingleFiberUpdate").onclick = updateSingleFiber.bind(
-        this,
-        fiberID,
-        callback
-    );
-    document.getElementById("btnCloseSingleFiber").onclick = clearSingleFiber.bind(
-    );
-}
-
-/**
- * Update fiber.
- * Update fiber by fiber ID.
- * Apply connections rules.
- * @param {string} fiberID - Fiber ID.
- */
-function updateSingleFiber(fiberID) {
-    removeEdgeList = [];
-    var id = fiberID[fiberID.length - 1].id;
-    var label = $("#txtSinlgeFiberName").val().trim();
-    var fiber_type = $("#ddlSingleFiberType").val();
-    var span_length = $("#txtSpan_Length").val().trim();
-    var loss_coefficient = $("#txtLoss_Coefficient").val().trim();
-    var connector_in = $("#txtConnector_IN").val();
-    var connector_out = $("#txtConnector_OUT").val();
-    var span_loss = $("#txtSpan_Loss").val();
-
-    if ($("#ddlSingleFiberType").val() == null) {
-        showMessage(alertType.Error, 'Please select fiber type');
-        $("#ddlSingleFiberType").addClass('input_error');
-        return;
-    }
-    else
-        $("#ddlSingleFiberType").removeClass('input_error');
-
-    var spanlen = parseFloat(span_length);
-    if (isNaN(span_length) || spanlen <= 0 || span_length == "") {
-        showMessage(alertType.Error, 'Please enter valid span length.');
-        $("#txtSpan_Length").addClass('input_error');
-        return;
-    }
-    else
-        $("#txtSpan_Length").removeClass('input_error');
-
-    if ($('#cbxLength_Based_Loss').is(":checked")) {
-        var lossCoeff = parseFloat(loss_coefficient);
-        if (isNaN(loss_coefficient) || lossCoeff <= 0 || loss_coefficient == "") {
-            showMessage(alertType.Error, "Length based loss requires span length and loss coefficient to be entered");
-            return;
-        }
-    }
-
-    var fiberDetails = network.body.data.edges.get(id);
-    if (nameLengthValidation("txtSinlgeFiberName")) {
-
-        if (fiberDetails.component_type == singleFiberJSON.component_type && fiberDetails.fiber_category == singleFiberJSON.fiber_category) {
-
-            var elabel = "";
-            elabel = label;
-
-            var preUpdateList = [];
-            if (fiberID.length > 1) {
-
-                for (var i = 0; i < fiberID.length; i++) {
-                    if (network.body.data.edges.get(fiberID[i].id).shadow == singleFiberJSON.options.shadow) {
-
-                        var fiber = network.body.data.edges.get(fiberID[i].id);
-                        preUpdateList.push(fiber);
-                        network.body.data.edges.update({
-                            id: fiberID[i].id, fiber_type: fiber_type, span_length: span_length, color: singleFiberJSON.options.color,
-                            h_color: singleFiberJSON.options.color,
-                            pre_color: singleFiberJSON.options.color,
-                            loss_coefficient: loss_coefficient, connector_in: connector_in, connector_out: connector_out, span_loss: span_loss
-                        });
-
-                        multipleFiberService(fiber.from, fiber.to);
-                        removeID = "#spanFP" + fiberID[i].id.replace(/\s/g, '');
-                        $(removeID).remove();
-                        $(removeID).remove();
-                        checkErrorFree();
-                        var tdata = network.body.data.edges.get(fiberID[i].id);
-                        removeEdgeList.push(tdata);
-                    }
-                }
-                if (removeEdgeList.length > 0) {
-                    var updateList = {
-                        isMultiple: true,
-                        isUpdate: true,
-                        preList: preUpdateList,
-                        list: removeEdgeList
-                    }
-                    tempUndo.push(updateList);
-                }
-
-            }
-            else {
-                network.body.data.edges.update({
-                    id: id, label: elabel, text: label, fiber_type: fiber_type, span_length: span_length, color: singleFiberJSON.options.color,
-                    h_color: singleFiberJSON.options.color,
-                    pre_color: singleFiberJSON.options.color,
-                    loss_coefficient: loss_coefficient, connector_in: connector_in, connector_out: connector_out, span_loss: span_loss
-                });
-                multipleFiberService(fiberDetails.from, fiberDetails.to);
-                removeID = "#spanFP" + id.replace(/\s/g, '');
-                $(removeID).remove();
-                $(removeID).remove();
-                checkErrorFree();
-                var tdata = network.body.data.edges.get(id);
-                tdata.isUpdate = true;
-                tempUndo.push(tdata);
-            }
-
-            clearSingleFiber();
-        }
-
-    }
-}
-
-/** Clear input/teporary data and other settings. */
-function clearSingleFiber() {
-
-    $("#txtSinlgeFiberName").val('');
-    $("#txtSource").val('');
-    $("#txtDestination").val('');
-    $("#ddlSingleFiberType").val('');
-    $("#txtSpan_Length").val('');
-    $("#txtLoss_Coefficient").val('');
-    $("#txtConnector_IN").val('');
-    $("#txtConnector_OUT").val('');
-    $("#txtSpan_Loss").val('');
-    $("#ddlSingleFiberType").removeClass('input_error');
-    $("#txtSpan_Length").removeClass('input_error');
-    $('#cbxLength_Based_Loss').prop('checked', false);
-    closeDrawer('singlefiber');
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-
-function deleteFiber(fiberList) {
-
-    removeEdgeList = [];
-    var shadow;
-    for (var i = 0; i < fiberList.length; i++) {
-        if (fiberList.length > 1) {
-            shadow = network.body.data.edges.get(fiberList[i].id).shadow;
-
-            if (shadow == singleFiberJSON.options.shadow)
-                removeFiber(fiberList[i].id, true);
-
-        }
-        else {
-            removeFiber(fiberList[i].id);
-        }
-    }
-
-    if (fiberList.length > 1 && removeEdgeList.length > 0) {
-        var reList = {
-            isMultiple: true,
-            isUpdate: false,
-            list: removeEdgeList
-        }
-        tempUndo.push(reList);
-    }
-
-    UnSelectAll();
-    enableEdgeIndicator();
-
-}
-
-/**
- * Remove fiber by fiber ID.
- * @param {string} fiberID - Component ID.
- * @param {boolean} isMultiple - Remove multiple fiber.
- */
-function removeFiber(fiberID, isMultiple) {
-    var fiber = network.body.data.edges.get(fiberID);
-
-    var fiberLabel = fiber.label;
-    if (fiber.label.trim() == "")
-        fiberLabel = fiber.text
-
-    var nodeDetails = network.body.data.nodes.get(fiber.from);
-    var toNodeDetails = network.body.data.nodes.get(fiber.to);
-
-    if (checkFiberPatchServiceCon(fiber.from, fiber.to, fiber.component_type))
-        return;
-
-
-    document.getElementById("dualFiberMenu").style.display = "none";
-    document.getElementById("singleFiberMenu").style.display = "none";
-    //remove roadm list from from roadm node
-
-    arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-    _roadmListDB.insert(JSON.stringify(arrRoadmTypePro));
-
-    _roadmListDB({
-        roadm_fiber_id: fiberID
-    }).remove();
-    arrRoadmTypePro = _roadmListDB().get();
-    network.body.data.nodes.update({
-        id: nodeDetails.id, roadm_type_pro: arrRoadmTypePro
-    });
-    //remove roadm list from to roadm node
-
-    arrRoadmTypePro = toNodeDetails.roadm_type_pro ? toNodeDetails.roadm_type_pro : [];
-    _roadmListDB.insert(JSON.stringify(arrRoadmTypePro));
-
-    _roadmListDB({
-        roadm_fiber_id: fiberID
-    }).remove();
-    arrRoadmTypePro = _roadmListDB().get();
-    network.body.data.nodes.update({
-        id: toNodeDetails.id, roadm_type_pro: arrRoadmTypePro
-    });
-
-    var tedge = network.body.data.edges.get(fiberID);
-    network.body.data.edges.remove(fiberID);
-    multipleFiberService(fiber.from, fiber.to);
-    nodeValidationInEdge(fiber.from, fiber.to);
-
-    if (isMultiple) {
-        removeEdgeList.push(tedge);
-    }
-    else {
-        tedge.isDelete = true;
-        tedge.isUpdate = false;
-        tempUndo.push(tedge);
-    }
-}
-
-/**
- * Displays fiber details when hover the mouse near the single fiber.
- * @param {object} params - Fiber details.
- */
-function displayFiberHover(params) {
-    var fiberDetails = network.body.data.edges.get(params.edge);
-    var fiber_type = "";
-    var span_length = "";
-    var span_loss = "";
-    if (fiberDetails.component_type == dualPatchJSON.component_type)
-        return;
-    if (fiberDetails.component_type == singleFiberJSON.component_type) {
-        if (fiberDetails.fiber_category == dualFiberJSON.fiber_category) {
-            var fromlabel = "(" + network.body.data.nodes.get(fiberDetails.from).label + " -> " + network.body.data.nodes.get(fiberDetails.to).label + ")";
-            var hoverData = fiberDetails.component_type + " name : " + fiberDetails.text + "\n";
-            hoverData += "--------------------------\n";
-            var fromlabel = "Fiber A [" + network.body.data.nodes.get(fiberDetails.from).label + " -> " + network.body.data.nodes.get(fiberDetails.to).label + " ]";
-            hoverData += fromlabel + "\n";
-
-            if (fiberDetails.fiber_type)
-                fiber_type = fiberDetails.fiber_type;
-            if (fiberDetails.span_length)
-                span_length = fiberDetails.span_length;
-            if (fiberDetails.loss_coefficient)
-                loss_coefficient = fiberDetails.loss_coefficient;
-            if (fiberDetails.connector_in)
-                connector_in = fiberDetails.connector_in;
-            if (fiberDetails.connector_out)
-                connector_out = fiberDetails.connector_out;
-            if (fiberDetails.span_loss)
-                span_loss = fiberDetails.span_loss;
-
-            hoverData += "Fiber type : " + fiber_type + "\n";
-            hoverData += "Span length(in km) : " + span_length + "\n";
-            hoverData += "Span loss : " + span_loss + "\n";
-            hoverData += "--------------------------\n";
-
-            var rxToTx = fiberDetails.RxToTxFiber;
-            var fromlabel = "Fiber B [" + network.body.data.nodes.get(fiberDetails.to).label + " -> " + network.body.data.nodes.get(fiberDetails.from).label + " ]";
-            hoverData += fromlabel + "\n";
-
-            if (rxToTx.fiber_type)
-                fiber_type = rxToTx.fiber_type;
-            if (rxToTx.span_length)
-                span_length = rxToTx.span_length;
-            if (rxToTx.loss_coefficient)
-                loss_coefficient = rxToTx.loss_coefficient;
-            if (rxToTx.connector_in)
-                connector_in = rxToTx.connector_in;
-            if (rxToTx.connector_out)
-                connector_out = rxToTx.connector_out;
-            if (rxToTx.span_loss)
-                span_loss = rxToTx.span_loss;
-
-            hoverData += "Fiber type : " + fiber_type + "\n";
-            hoverData += "Span length(in km) : " + span_length + "\n";
-            hoverData += "Span loss : " + span_loss + "\n";
-        }
-        else if (fiberDetails.fiber_category == singleFiberJSON.fiber_category) {
-            var hoverData = fiberDetails.component_type + " name : " + fiberDetails.text + "\n";
-            hoverData += "Source(Tx) : " + network.body.data.nodes.get(fiberDetails.from).label + "\n";
-            hoverData += "Destination(Rx) : " + network.body.data.nodes.get(fiberDetails.to).label + "\n";
-
-            if (fiberDetails.fiber_type)
-                fiber_type = fiberDetails.fiber_type;
-            if (fiberDetails.span_length)
-                span_length = fiberDetails.span_length;
-            if (fiberDetails.loss_coefficient)
-                loss_coefficient = fiberDetails.loss_coefficient;
-            if (fiberDetails.connector_in)
-                connector_in = fiberDetails.connector_in;
-            if (fiberDetails.connector_out)
-                connector_out = fiberDetails.connector_out;
-            if (fiberDetails.span_loss)
-                span_loss = fiberDetails.span_loss;
-
-            if (fiber_type == "")
-                hoverData += "<span style='color:red;'>Fiber type : " + fiber_type + "</span>\n";
-            else
-                hoverData += "Fiber type : " + fiber_type + "\n";
-
-            var spanlen = parseFloat(span_length);
-
-            if (isNaN(span_length) || spanlen <= 0 || span_length == "")
-                hoverData += "<span style='color:red;'>Span length(in km) : " + span_length + "</span>\n";
-            else
-                hoverData += "Span length(in km) : " + span_length + "\n";
-
-            hoverData += "Span loss : " + span_loss + "\n";
-        }
-    }
-    if (fiberDetails.component_type == serviceJSON.component_type) {
-        var hoverData = fiberDetails.component_type + " name : " + fiberDetails.text + "\n";
-        hoverData += "Source : " + network.body.data.nodes.get(fiberDetails.from).label + "\n";
-        hoverData += "Destination : " + network.body.data.nodes.get(fiberDetails.to).label + "\n";
-        hoverData += "Bandwidth (in Gbps) : " + fiberDetails.band_width + "\n";
-    }
-    $('#hoverDiv').html(htmlTitle(hoverData, commonJSON.background_color));
-    showHoverDiv(params.event.pageX, params.event.pageY, "hoverDiv");
-}
-
-
-
- - - - -
- - - -
- - - - - - - diff --git a/docs/filesaver.js.html b/docs/filesaver.js.html deleted file mode 100644 index 0c2c009..0000000 --- a/docs/filesaver.js.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - JSDoc: Source: filesaver.js - - - - - - - - - - -
- -

Source: filesaver.js

- - - - - - -
-
-
 /**
- * filesaver module
- * @module filesaver
- */
-
-/*
-* FileSaver.js
-* A saveAs() FileSaver implementation.
-*
-* By Eli Grey, http://eligrey.com
-*
-* License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)
-* source  : http://purl.eligrey.com/github/FileSaver.js
-*/
-
-// The one and only way of getting global scope in all environments
-// https://stackoverflow.com/q/3277182/1008999
-var _global = typeof window === 'object' && window.window === window
-    ? window : typeof self === 'object' && self.self === self
-        ? self : typeof global === 'object' && global.global === global
-            ? global
-            : this
-
-function bom(blob, opts) {
-    if (typeof opts === 'undefined') opts = { autoBom: false }
-    else if (typeof opts !== 'object') {
-        console.warn('Deprecated: Expected third argument to be a object')
-        opts = { autoBom: !opts }
-    }
-
-    // prepend BOM for UTF-8 XML and text/* types (including HTML)
-    // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF
-    if (opts.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(blob.type)) {
-        return new Blob([String.fromCharCode(0xFEFF), blob], { type: blob.type })
-    }
-    return blob
-}
-
-function download(url, name, opts) {
-    var xhr = new XMLHttpRequest()
-    xhr.open('GET', url)
-    xhr.responseType = 'blob'
-    xhr.onload = function () {
-        saveAs(xhr.response, name, opts)
-    }
-    xhr.onerror = function () {
-        console.error('could not download file')
-    }
-    xhr.send()
-}
-
-function corsEnabled(url) {
-    var xhr = new XMLHttpRequest()
-    // use sync to avoid popup blocker
-    xhr.open('HEAD', url, false)
-    try {
-        xhr.send()
-    } catch (e) { }
-    return xhr.status >= 200 && xhr.status <= 299
-}
-
-// `a.click()` doesn't work for all browsers (#465)
-function click(node) {
-    try {
-        node.dispatchEvent(new MouseEvent('click'))
-    } catch (e) {
-        var evt = document.createEvent('MouseEvents')
-        evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80,
-            20, false, false, false, false, 0, null)
-        node.dispatchEvent(evt)
-    }
-}
-
-// Detect WebView inside a native macOS app by ruling out all browsers
-// We just need to check for 'Safari' because all other browsers (besides Firefox) include that too
-// https://www.whatismybrowser.com/guides/the-latest-user-agent/macos
-var isMacOSWebView = _global.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent)
-
-var saveAs = _global.saveAs || (
-    // probably in some web worker
-    (typeof window !== 'object' || window !== _global)
-        ? function saveAs() { /* noop */ }
-
-        // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView
-        : ('download' in HTMLAnchorElement.prototype && !isMacOSWebView)
-            ? function saveAs(blob, name, opts) {
-                var URL = _global.URL || _global.webkitURL
-                var a = document.createElement('a')
-                name = name || blob.name || 'download'
-
-                a.download = name
-                a.rel = 'noopener' // tabnabbing
-
-                // TODO: detect chrome extensions & packaged apps
-                // a.target = '_blank'
-
-                if (typeof blob === 'string') {
-                    // Support regular links
-                    a.href = blob
-                    if (a.origin !== location.origin) {
-                        corsEnabled(a.href)
-                            ? download(blob, name, opts)
-                            : click(a, a.target = '_blank')
-                    } else {
-                        click(a)
-                    }
-                } else {
-                    // Support blobs
-                    a.href = URL.createObjectURL(blob)
-                    setTimeout(function () { URL.revokeObjectURL(a.href) }, 4E4) // 40s
-                    setTimeout(function () { click(a) }, 0)
-                }
-            }
-
-            // Use msSaveOrOpenBlob as a second approach
-            : 'msSaveOrOpenBlob' in navigator
-                ? function saveAs(blob, name, opts) {
-                    name = name || blob.name || 'download'
-
-                    if (typeof blob === 'string') {
-                        if (corsEnabled(blob)) {
-                            download(blob, name, opts)
-                        } else {
-                            var a = document.createElement('a')
-                            a.href = blob
-                            a.target = '_blank'
-                            setTimeout(function () { click(a) })
-                        }
-                    } else {
-                        navigator.msSaveOrOpenBlob(bom(blob, opts), name)
-                    }
-                }
-
-                // Fallback to using FileReader and a popup
-                : function saveAs(blob, name, opts, popup) {
-                    // Open a popup immediately do go around popup blocker
-                    // Mostly only available on user interaction and the fileReader is async so...
-                    popup = popup || open('', '_blank')
-                    if (popup) {
-                        popup.document.title =
-                            popup.document.body.innerText = 'downloading...'
-                    }
-
-                    if (typeof blob === 'string') return download(blob, name, opts)
-
-                    var force = blob.type === 'application/octet-stream'
-                    var isSafari = /constructor/i.test(_global.HTMLElement) || _global.safari
-                    var isChromeIOS = /CriOS\/[\d]+/.test(navigator.userAgent)
-
-                    if ((isChromeIOS || (force && isSafari) || isMacOSWebView) && typeof FileReader !== 'undefined') {
-                        // Safari doesn't allow downloading of blob URLs
-                        var reader = new FileReader()
-                        reader.onloadend = function () {
-                            var url = reader.result
-                            url = isChromeIOS ? url : url.replace(/^data:[^;]*;/, 'data:attachment/file;')
-                            if (popup) popup.location.href = url
-                            else location = url
-                            popup = null // reverse-tabnabbing #460
-                        }
-                        reader.readAsDataURL(blob)
-                    } else {
-                        var URL = _global.URL || _global.webkitURL
-                        var url = URL.createObjectURL(blob)
-                        if (popup) popup.location = url
-                        else location.href = url
-                        popup = null // reverse-tabnabbing #460
-                        setTimeout(function () { URL.revokeObjectURL(url) }, 4E4) // 40s
-                    }
-                }
-)
-
-_global.saveAs = saveAs.saveAs = saveAs
-
-if (typeof module !== 'undefined') {
-    module.exports = saveAs;
-}
-
-
- - - - -
- - - -
- - - - - - - diff --git a/docs/fonts/OpenSans-Bold-webfont.eot b/docs/fonts/OpenSans-Bold-webfont.eot deleted file mode 100644 index 5d20d916338a5890a033952e2e07ba7380f5a7d3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19544 zcmZsBRZtvE7wqD@i!HFY1b24`kj35I-CYBL;O-Dy7Y*)i!Ciy9OMu`K2ubeuzujAP z&(u^;b@!=xJ5w`f^ppUAR7C&)@xOr#_z%&6s7NTth=|AtfF4A^f1HxqH6mcokP-l6 z{7?U16e0j9|A(M9nJ@pt|2J>}ssJ~DHNfRRlP19YKlJ?100c+?Tmeo1tN+$S0Gx`?s1CFN7eMUDk_WsHBTfGwNlSoSO;j5Y2+U^b7c?fa0Y^S_)w3$t3v&# z{~&TTlM zt?Lt*SHuem8SrEC@7zaU<-qSuQW-60?>}hkJOK8c63ZzHHJk8oZ^lJI@4J}J-UW#v z``};wWo2yOy5j-i>^G*aArwT)Vs*SHt6!%SuA2O<_J=(LpNDHvxaKh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aDeSfzkqv5z5qL zhV;?~%L4>c%M_s<4w8JkW|SHLF}4ntk)hHGA?L9ExfEv&1Ua3!5{ain#8Cm@-+Ea| zW4yEmUr0!%p}P%=)+dpJPDWLmPtM2S#aKAI;&DGXI@{;$;=1N-!(?WV%;v-S#dz`o j!x{jHm-dM!L@tgKC!1~`DFP}XH6$TyA!EyeVAY!l>$s0Q diff --git a/docs/fonts/OpenSans-Bold-webfont.svg b/docs/fonts/OpenSans-Bold-webfont.svg deleted file mode 100644 index 3ed7be4..0000000 --- a/docs/fonts/OpenSans-Bold-webfont.svg +++ /dev/null @@ -1,1830 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/fonts/OpenSans-Bold-webfont.woff b/docs/fonts/OpenSans-Bold-webfont.woff deleted file mode 100644 index 1205787b0ed50db71ebd4f8a7f85d106721ff258..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22432 zcmZsB1B@t5ubU^O|H%}V|IzIVNI zUovCM*w)bDm$Uix&jbJf0&20h={9zAA^05!;@9Ta9)O418En_g!QA$j%|T zg7y+LH+25>h2!|O`Oo%0Aeh^Dn*DMD0007R000ge0Uny~7N&+K0045Wzx^z~U;{Kx zUbpxqf4R$F{l9sTz@vgjSlGIF007AU#s~B}CU7TXuFRs1z45P|qR4N2OTXCll}{hH zHT3wsuJV8Pgy25_69Vzr8QPlua=-Bb&i}^9U_Kjd;b8CV0sx?j@XNjYjt5W_dcEY} zWcur?{$H$r|HFd_(WSeo(QnM^|9*9_|6rl7So13Ze*rMbn?LiP91}v%{ZCFUVQhP> z8ylDy80-QYL4qL|7#V={y9-PL9W(yUI~b4<0Kj9tDn(W%NgQM3r-SAi%{IQ-av{#b zm?Dp*nUWE(`7{EcC}s)ta^1+9Uj`lvS<-m^uZMv8f-v%ehSe}U)}pB5vjGC6Uy~pm zo)<1qh;kgVTrs$D``1)&z8ke|;_(>$1Je!j%!vOnt{S4G>G`aABr9vrN*+4@PrG+q zdH3aZlXjCg-utrN?)PA6A(Aic*r{P)fItNfh`QJTc? z3wgp|$4hT`N(iVlzs(@58kfEk!62o^Q$flqq@=t{xl6XxO=$TCkbN0bkG!jwEbQN4 zG2V(|AGxWwXsuk-^?T%XAZ@~-ovUcv=&a}s0@$uWPKYo9;IKW2M`U||9p*tE=o13y zAO}3UTRRB4eo~B3#8#jJ2h?E$oa*=!uFZf9hm1DKeep&;V=p~b&jPH{5LgBA@Apns zU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e0+iZ%GY-GJZ2*)&!Ll+pvijp%gUI zq)Y;LT*5IGH6qOzuu8Fbvb1`(`1iw#0AJ2u2pu&>NpWN+cYa(TdH`n;^FB|TQdFFR zi7^0RUyBq5RVD#j9xyA-rmm6+7*)OpKP|j+AX=duqBF^g77RZjqohWRmV?X+r0i;O zGZ-|<6xq>n{C6WTJxDLt5u#2=duJc2$#)vcyYx~Xk(OGNB+P?uVOGF<7csS04tW}o z!7f9)MOh}Ddon#Cz)ItRnM3F>sPm2leV`BSywZ-bFd!2PL}6}B9|AN38T0F?nkZg2 zyzw}KTvaFWbdpZjFQLqFHmy-y*dudB;Q1UcqST(o=Souq0*g^V#}+I77#l3iNRkaq zAOY)rrg+@pnkI5$c}qZoF)zue~9TD3i5T zC#B4rTa0Jnd^S+3-(OeKfCDcP1^kq=wjxGk3S%jy1ZzALoxY`PynGr(EUI#V(9n>! z78JHfIB!?_sfmFi-9mt((=#BEObAGL5D6~o)&6y|@&(D_H z0HBd;fW$Rs-c8XFl}efU5)6|TvnVdrR2AeU;E#}J@u zt3o(mtB&Lr_wK8Wq(2Hqwif7xx`q{2GXukjQ{W^8)%dOFBp9(&8qxK>|5|4BLg;-D*5V^bLaHha=EZkjz8oCx`BpT8riy5Fi6g2k`cqUu(-s==?WY)jd!r)&g5jC>H=-69rH^iFp&ev0`)UtRJ ztY&Qf7txD5n+2id0o({>6O4VPNzq3+n>U{lOfM%~a`O&dC(s z>WArpk|ru@D{7`Rrra{oAd0wJW~6Jq#gj6gK?rGp`eF@na#nofK*-jF2;uj-?tw2$ zK@);z)?}sn_{&Z8>)IVe!sOn9S(D&#%jRqnH3$fW86=Kl-MY?3U+Nlyy{By zOQxa+yBxB8p{?bi)T?Aag~SA0x#j7=9B-6?w3ok=D^Ui-20~!sxS2usVx}50sK{m^ ig3W - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/fonts/OpenSans-BoldItalic-webfont.woff b/docs/fonts/OpenSans-BoldItalic-webfont.woff deleted file mode 100644 index ed760c0628b6a0026041f5b8bba466a0471fd2e0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23048 zcmZsC18^o?(C!;28{4*R+s4MWZQHh;Y;4=c#x^##ar4z*x9Z-izo(w+)6aCD(=$_Z zX6j6jo4lA900{6SnvekG|8#os|JeVv|9=q^Q;`J#fXaVZod00t3i={0A}aR74gJ`7 zKOg|Y0f34t$SePFhX4R*5dZ*{OY4X(B(AI~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- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/fonts/OpenSans-Italic-webfont.woff b/docs/fonts/OpenSans-Italic-webfont.woff deleted file mode 100644 index ff652e64356b538c001423b6aedefcf1ee66cd17..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23188 zcmZsB1B@t5(Cyl`ZQHu*-MhAJ+qP}nwr%fS+qS*?_RF7_yqEkvIjOEQr@E_WlA2DY zU1dc@0RRDhn?@1<@_#l3=70SE`u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472c..0000000 --- a/docs/fonts/OpenSans-Light-webfont.svg +++ /dev/null @@ -1,1831 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/fonts/OpenSans-Light-webfont.woff b/docs/fonts/OpenSans-Light-webfont.woff deleted file mode 100644 index e786074813a27d0a7a249047832988d5bf0fe756..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22248 zcmZsh1B_-}@aEgLZQHi(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;E)$9N_%kx5Ku3R9WJbY?J++~YA1c*r9@hQIfWCp_f@ zzVOd>@{;Ggz|UvCvWYnan9DqBsbe4Y%%_1Mjf7ahLKg9f#VnzTr7UL|7unBBRON ztxB8Ht}IhJl;z5Q^PCYiHCNN(ya8V*SW{iq=#P|iPei-YVKcZx!TRRJt@iP_BKw5Z zl~$$A+;Xk>&S-A)R2moUsumK}PumdA-uop!jAWOIa z4pB?622)yCurwR6C|O`;Ac|F3umUAvumMG5BVw=uBSf+b0R}3v3 diff --git a/docs/fonts/OpenSans-LightItalic-webfont.eot b/docs/fonts/OpenSans-LightItalic-webfont.eot deleted file mode 100644 index 8f445929ffb03b50e98c2a2f7d831a0cb1b276a2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20535 zcmafZQ+ypx)a^O(iEWkGpb^r^29l-Wqjp_f>jr{-V1ptU^$o%)F{~gc(*CGHf4?y-E zz@Umba~?D9tFJR*Yv3jyddFod66X@Z0 z)6zUH6Vjr5hyB_yGNvf4)aw}K1E&#TQCt}D(zF?Y-wd8MxAavjpjWyH)H<$mm zxurwpRxdtGJjFhQ3#qJnt(hrQl)<;Zhb`-nJ`KW{OrW(;)CJ`y(J*misumjvqlS?C z<*p?0EEdIh&1&u);?5OH`X|1A)|#iW@j8v4s~HozYh zm{I0F|A2VHy?A4$90G;jE{Z6cv|W&kPRumH12QGg=(vztfiNlX!bxK*dC(lcV2BSI z(DBi12_+(#d#rev6tzFq_V$!C+c~W!t)QN4@6QBEWN}o*B2WOd5X;jLs%T;rsSI84 zg!0Jg7qRGQ0Qn)1B>tu_7+GzMPyU|>&3wkfs_O;#r0z2kBy38B-`KKUMUsr7Rs}@= zXfI{-qUiDUyDvK1E{A5NrY~nTY5QxFWbQ?QY~8ByK2=YPDn&iWsi_+Yge-(qo4|2H z)d?kHQuXBN1Q0j45|lA5OsOZ>aBUf;MBUErqtsKKaT9944)|~OM}W~Wb-}`7h4hA8 zQPB>ohzy@5woS4tZ_LAo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} zufzh^g(L^=Y@ifRI3jtK2<#!FGHkjER6M_))<^q#?4Alu-io<1EX_tvp zg3A!%#SprzJSDuTQ_O_))H8Ku+b&%~qAWmWKY>)}6bdueZ&`qVWEZ1=Y!LC_-N+yc Z%0#`NexefPFV?Xj51H#Y#AC7WXn+Jg($4?@ diff --git a/docs/fonts/OpenSans-LightItalic-webfont.svg b/docs/fonts/OpenSans-LightItalic-webfont.svg deleted file mode 100644 index 431d7e3..0000000 --- a/docs/fonts/OpenSans-LightItalic-webfont.svg +++ /dev/null @@ -1,1835 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/fonts/OpenSans-LightItalic-webfont.woff b/docs/fonts/OpenSans-LightItalic-webfont.woff deleted file mode 100644 index 43e8b9e6cc061ff17fd2903075cbde12715512b3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23400 zcmZ^}18`?e^d=nJb~3STXQGL1+qNgRZQHhO+n(6?g`2m&|5saEwcEFzI(?pdPWS2V zs@A=3a$;gYz(7Aq%Nz*xKbeL0|LOnb|IZ{QrYr*l1YGvR;{69BS5Sbsh^W{PH}s};C5xs-P6IW9C4Fm)c^Z$WI+_ zKQcZN)>FvL!0E>qLGZ^0>VJS_X6<46!~FpQ65av=a!IPXxTrTbF)#)KQY8JcVfg_& zkYSRf`49QSssHG|en5%<2CiXlQ!y~@gw>Vptzt$wgxsPKit}n&C^eeb)HbU-}ZJ+KkZVV`{6!+%7Y0f))BOK zH2Lw>{NaG&{=rYh?Cy_YwQWe{ zPm`CO&kC-(_gf(w6)-|{nERgZ6RsvdyBDG14<$j7ef=mZG#)(n>lL4E#HZjlVc1)u zE$o?o=hs&I8f%}n#!Jd5QQsI^F^s|XdjMN+=vx7U80tLS<>49BYcJ}2Zb7;_b4nCJ zI9d41UOqA%q|^$a44I?u9?(!IlvO}R(7HzO$8%uu_(8b?NqPGw{Ccr70u!NJ)vkg7 zhp7B?S$&K~Wvl`^BfprjTy+h>;>*@(im`>|`Y*yivKb~$1PxAL3WLAyfv-6fC*W;R zsrpck_UUee_TV)GP*DReSb?~V2&ndnysdleTmD{CGROi&GB~TS74%qSc@XTvbbt#O z)u&fBL6jcTFEnr1-Ts$3LjwZI$7HQHk2D3Q@r5)p`Gl4g)(EP8!p8*hPh^AZLg#s#C=Gl%^P zJ7FDs<5F)`G^+1eKEG>r$M;fKlaNuVi+|Xo@lYJW_CDD|S3dilT$2#hEH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I%uo&0%~u9_4h9f7dsRXnM*lPX$HX4QUd+J6zyZWS003g<3%vk%+GAj3VBpC7dk#o4 z{4@M#&K|^&!XV0k3_bt=iOB|R0001Z+HI3TNK{c2hW~r-c~4goBFL;lLR?4-32`BA z2D2e71{V^8v>0S~ErvlP28lt2!G#PVB1D8lM2HL`;>th*5eac2E@Frh7a}5vL`X=; zyZ!e~)*voE{`1ax_q}t^f3H48enO+_J1eWm$Sf+}0JRet^9332DW8YA?t<)x>yl=^f{Z_ftT)2?8kS_@znV+5o3GgL zQdp55Z2Jp1Gdp&|Y+*wJd#+>lvo2zfnv_-ym^S-Ra_U&J{O2SFO`giwyhBFEZL8d} zi;~Bn`sN5v%t|fxt4O%KjB;-UdmvLt>mNv%Uc_{OG1jtX5`i~{3G>FTnb)?%XqS=5&d(8bKdx1)^7bH4#Uux00k^P!%| zhdR6jQdd4)hkfl+%g&2>A}{Eb41~40-+&*d2l<*0_0)X$59gox=fic}85_l2=S4lv z3n|+Jr;(S(Sn}79j{3@}b$P41s44RiXcz~sRKK8C-$`E$oKXwZXRPr)Tw$t+H!P!H zb)p!tY3FqwMTcp$({w zoCW>>)uIZ&0001Z+GAi~(1F4Th6aWQjA@MTm@=4Jm{u`eV&-GEVvb|3VxGpliTMYM z97_z#HkNO!ZmcU`^GN7Zo?kJzKSD`V;aXRP9x4d&Uu{2xJ0<@xFWbZ zxVCX!dgvbn$SE4SWvqX=HiHJFgwTP_|XA{>D z?+`x)gx@4WB-TiBNrp(aNPd$lka{N_C*3B!Li&h|gG`i6pUf>;G1)xX335Dgc5)GN zU2x@x);bWiF2(bLmQ(wn89qQA_5#~{jJg~1QQS4L7sGmNv08;qZsWSLAb z*<
- -

Global

- - - - - - -
- -
- -

- - -
- -
-
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - -

Type Definitions

- - - - - - - -

ImageCallback(image)

- - - - - - -
-

This callback is a callback that accepts an Image.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
image - - -Image - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

MeasureText(text, mod) → {object}

- - - - - - -
-

Callback to determine text dimensions, using the parent label settings.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
text - - -text - - - -
mod - - -text - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
-

{ width, values} width in pixels and font attributes

-
- - - -
-
- Type -
-
- -object - - -
-
- - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 16:23:21 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index e44553e..0000000 --- a/docs/index.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - JSDoc: oopt-gnpy-web-gui-main - - - - - - - - - - -
- -

oopt-gnpy-web-gui-main

- - - - - - - - -

- - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- -
-
- - -

GNPy is a open source optical network planning tool which can be used to simulate multi-vendor open optical networks. Click below to explore the tool.

- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
See:
-
- -
- - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/main.js.html b/docs/main.js.html deleted file mode 100644 index ae46477..0000000 --- a/docs/main.js.html +++ /dev/null @@ -1,580 +0,0 @@ - - - - - JSDoc: Source: main.js - - - - - - - - - - -
- -

Source: main.js

- - - - - - -
-
-
/**
- * @file GNPy is a open source optical network planning tool which can be used to simulate multi-vendor open optical networks. Click below to explore the tool.
- * @see <a href="https://tiptool.vee-services.com/">GNPy Optical network planning tool</a>
- */
- 
- /**
- * main.js
- * The main.js library describes UI actions. like show/hide and update the HTML element with style based on user interaction.
- * @module main
- */
-
-
-let attenuator = document.querySelector('#attenuator');
-let roadm = document.querySelector('#roadm');
-let ILA = document.querySelector('#ILA');
-let amplifier = document.querySelector('#amplifier');
-let dualfiber = document.querySelector('#dualfiber');
-let service = document.querySelector('#service');
-let transceiver = document.querySelector('#transceiver');
-let singlefiber = document.querySelector('#singlefiber');
-let singlepatch = document.querySelector('#singlepatch');
-let dualpatch = document.querySelector('#dualpatch');
-let ramanamp = document.querySelector('#ramanamp');
-let drawerclose = document.getElementById('drawer-close')
-
-/**
- * Open drawer based on node/fiber/patch/service.
- * @param {string} node - The type of component.
- */
-function openDrawer(node) {
-    switch (node) {
-        case 'attenuator':
-            roadm.classList.remove('d-visible');
-            ILA.classList.remove('d-visible');
-            amplifier.classList.remove('d-visible');
-            dualfiber.classList.remove('d-visible');
-            service.classList.remove('d-visible');
-            attenuator.classList.add('d-visible');
-            transceiver.classList.remove('d-visible');
-            singlefiber.classList.remove('d-visible');
-            singlepatch.classList.remove('d-visible');
-            dualpatch.classList.remove('d-visible');
-            ramanamp.classList.remove('d-visible');
-
-            //  drawerclose.classList.add("drawerleft")
-            break;
-        case 'roadm':
-            attenuator.classList.remove('d-visible');
-            ILA.classList.remove('d-visible');
-            amplifier.classList.remove('d-visible');
-            dualfiber.classList.remove('d-visible');
-            service.classList.remove('d-visible');
-            transceiver.classList.remove('d-visible');
-            singlefiber.classList.remove('d-visible');
-            singlepatch.classList.remove('d-visible');
-            dualpatch.classList.remove('d-visible');
-            roadm.classList.add('d-visible');
-            ramanamp.classList.remove('d-visible');
-            // drawerclose.classList.add("drawerleft")
-            break;
-        case 'ILA':
-            attenuator.classList.remove('d-visible');
-            ILA.classList.add('d-visible');
-            amplifier.classList.remove('d-visible');
-            dualfiber.classList.remove('d-visible');
-            service.classList.remove('d-visible');
-            roadm.classList.remove('d-visible');
-            transceiver.classList.remove('d-visible');
-            singlefiber.classList.remove('d-visible');
-            singlepatch.classList.remove('d-visible');
-            // drawerclose.classList.add("drawerleft")
-            dualpatch.classList.remove('d-visible');
-            ramanamp.classList.remove('d-visible');
-            break;
-        case 'amplifier':
-            attenuator.classList.remove('d-visible');
-            ILA.classList.remove('d-visible');
-            amplifier.classList.add('d-visible');
-            dualfiber.classList.remove('d-visible');
-            service.classList.remove('d-visible');
-            roadm.classList.remove('d-visible');
-            transceiver.classList.remove('d-visible');
-            singlefiber.classList.remove('d-visible');
-            singlepatch.classList.remove('d-visible');
-            dualpatch.classList.remove('d-visible');
-            // drawerclose.classList.add("drawerleft")
-            ramanamp.classList.remove('d-visible');
-            break;
-        case 'dualfiber':
-            attenuator.classList.remove('d-visible');
-            ILA.classList.remove('d-visible');
-            amplifier.classList.remove('d-visible');
-            dualfiber.classList.add('d-visible');
-            service.classList.remove('d-visible');
-            roadm.classList.remove('d-visible');
-            transceiver.classList.remove('d-visible');
-            singlefiber.classList.remove('d-visible');
-            singlepatch.classList.remove('d-visible');
-            // drawerclose.classList.add("drawerleft")
-            dualpatch.classList.remove('d-visible');
-            ramanamp.classList.remove('d-visible');
-            break;
-        case 'create':
-            attenuator.classList.remove('d-visible');
-            ILA.classList.remove('d-visible');
-            amplifier.classList.remove('d-visible');
-            dualfiber.classList.remove('d-visible');
-            service.classList.remove('d-visible');
-            roadm.classList.remove('d-visible');
-            transceiver.classList.remove('d-visible');
-            singlefiber.classList.remove('d-visible');
-            singlepatch.classList.remove('d-visible');
-            dualpatch.classList.remove('d-visible');
-            // drawerclose.classList.add("drawerleft")
-            ramanamp.classList.remove('d-visible');
-            break;
-        case 'transceiver':
-            attenuator.classList.remove('d-visible');
-            ILA.classList.remove('d-visible');
-            amplifier.classList.remove('d-visible');
-            dualfiber.classList.remove('d-visible');
-            service.classList.remove('d-visible');
-            roadm.classList.remove('d-visible');
-            transceiver.classList.add('d-visible');
-            singlefiber.classList.remove('d-visible');
-            singlepatch.classList.remove('d-visible');
-            // drawerclose.classList.add("drawerleft")
-            dualpatch.classList.remove('d-visible');
-            ramanamp.classList.remove('d-visible');
-            break;
-        case 'singlefiber':
-            attenuator.classList.remove('d-visible');
-            ILA.classList.remove('d-visible');
-            amplifier.classList.remove('d-visible');
-            dualfiber.classList.remove('d-visible');
-            service.classList.remove('d-visible');
-            roadm.classList.remove('d-visible');
-            transceiver.classList.remove('d-visible');
-            singlefiber.classList.add('d-visible');
-            singlepatch.classList.remove('d-visible');
-            // drawerclose.classList.add("drawerleft")
-            dualpatch.classList.remove('d-visible');
-            ramanamp.classList.remove('d-visible');
-            break;
-        case 'dualpatch':
-            attenuator.classList.remove('d-visible');
-            ILA.classList.remove('d-visible');
-            amplifier.classList.remove('d-visible');
-            dualfiber.classList.remove('d-visible');
-            service.classList.remove('d-visible');
-            roadm.classList.remove('d-visible');
-            transceiver.classList.remove('d-visible');
-            singlefiber.classList.remove('d-visible');
-            singlepatch.classList.remove('d-visible');
-            dualpatch.classList.add('d-visible');
-            // drawerclose.classList.add("drawerleft")
-            ramanamp.classList.remove('d-visible');
-            break;
-        case 'singlepatch':
-            attenuator.classList.remove('d-visible');
-            ILA.classList.remove('d-visible');
-            amplifier.classList.remove('d-visible');
-            dualfiber.classList.remove('d-visible');
-            service.classList.remove('d-visible');
-            roadm.classList.remove('d-visible');
-            transceiver.classList.remove('d-visible');
-            singlefiber.classList.remove('d-visible');
-            singlepatch.classList.add('d-visible');
-            dualpatch.classList.remove('d-visible');
-            // drawerclose.classList.add("drawerleft")
-            ramanamp.classList.remove('d-visible');
-            break;
-        case 'service':
-            attenuator.classList.remove('d-visible');
-            ILA.classList.remove('d-visible');
-            amplifier.classList.remove('d-visible');
-            dualfiber.classList.remove('d-visible');
-            service.classList.add('d-visible');
-            roadm.classList.remove('d-visible');
-            transceiver.classList.remove('d-visible');
-            singlefiber.classList.remove('d-visible');
-            singlepatch.classList.remove('d-visible');
-            // drawerclose.classList.add("drawerleft")
-            dualpatch.classList.remove('d-visible');
-            ramanamp.classList.remove('d-visible');
-            break;
-        case 'ramanamp':
-            attenuator.classList.remove('d-visible');
-            ILA.classList.remove('d-visible');
-            amplifier.classList.remove('d-visible');
-            dualfiber.classList.remove('d-visible');
-            service.classList.remove('d-visible');
-            roadm.classList.remove('d-visible');
-            transceiver.classList.remove('d-visible');
-            singlefiber.classList.remove('d-visible');
-            singlepatch.classList.remove('d-visible');
-            // drawerclose.classList.add("drawerleft")
-            dualpatch.classList.remove('d-visible');
-            ramanamp.classList.add('d-visible');
-            break;
-    }
-}
-
-/**
- * Close drawer based on node/fiber/patch/service.
- * @param {string} node - The type of component.
- */
-function closeDrawer(node) {
-    switch (node) {
-        case 'attenuator':
-            attenuator.classList.remove('d-visible');
-            // drawerclose.classList.remove("drawerleft")
-            break;
-        case 'roadm':
-            roadm.classList.remove('d-visible');
-            // drawerclose.classList.remove("drawerleft")
-            break;
-        case 'ILA':
-            ILA.classList.remove('d-visible');
-            // drawerclose.classList.remove("drawerleft")
-            break;
-        case 'amplifier':
-            amplifier.classList.remove('d-visible');
-            // drawerclose.classList.remove("drawerleft")
-            break;
-        case 'create':
-            create.classList.remove('d-visible');
-            // drawerclose.classList.remove("drawerleft")
-            break;
-        case 'singlefiber':
-            singlefiber.classList.remove('d-visible');
-            // drawerclose.classList.remove("drawerleft")
-            break;
-        case 'transceiver':
-            transceiver.classList.remove('d-visible');
-            // drawerclose.classList.remove("drawerleft")
-            break;
-        case 'singlepatch':
-            singlepatch.classList.remove('d-visible');
-            // drawerclose.classList.remove("drawerleft")
-            break;
-        case 'dualpatch':
-            dualpatch.classList.remove('d-visible');
-            // drawerclose.classList.remove("drawerleft")
-            break;
-        case 'dualfiber':
-            dualfiber.classList.remove('d-visible');
-            // drawerclose.classList.remove("drawerleft")
-            break;
-        case 'service':
-            service.classList.remove('d-visible');
-        // drawerclose.classList.remove("drawerleft")
-        case 'ramanamp':
-            ramanamp.classList.remove('d-visible');
-        // drawerclose.classList.remove("drawerleft")
-    }
-}
-
-var tabcontent = document.querySelector(".stp-tab");
-var arrowbtn1 = document.querySelector("#toggle-arrow-1");
-var arrowbtn2 = document.querySelector("#toggle-arrow-2");
-var arrowbtn3 = document.querySelector("#toggle-arrow-3");
-var arrowbtn4 = document.querySelector("#toggle-arrow-4");
-var sidebartext = document.querySelectorAll(".sidebar-text");
-var sidebartext1 = document.querySelectorAll(".sidebar-text1");
-var sidebartext2 = document.querySelectorAll(".sidebar-text2");
-var sidebartext3 = document.querySelectorAll(".sidebar-text3");
-
-arrowbtn2.addEventListener("click", function () {
-    tabcontent.classList.toggle('left-59')
-    for (var i = 0; i < sidebartext1.length; i++) {
-        sidebartext1[i].classList.toggle("d-none")
-    }
-
-
-})
-
-arrowbtn3.addEventListener("click", function () {
-    tabcontent.classList.toggle('left-59')
-    for (var i = 0; i < sidebartext2.length; i++) {
-        sidebartext2[i].classList.toggle("d-none")
-    }
-
-})
-arrowbtn4.addEventListener("click", function () {
-    tabcontent.classList.toggle('left-59')
-    for (var i = 0; i < sidebartext3.length; i++) {
-        sidebartext3[i].classList.toggle("d-none")
-    }
-})
-
-/**
- * Highlight the steper menu by selection.
- * @param {number} index - The menu index.
- */
-function stepColor(index) {
-    showMenu = 0;
-    modeHighLight();
-    switch (index) {
-        case 1:
-            break;
-        case 2:
-
-            currentStepper = "stepCreateTopology";
-            showMenu = 1;
-            //let prev = document.querySelector("#step2").previousElementSibling;
-            //if (prev.id === "step1") {
-            //    let step1 = document.getElementById("step1").childNodes;
-            //    step1[1].classList.add("tab-nav-completed");
-            //    step1[1].classList.add("text-tab-completed")
-            //}
-            break;
-        case 3:
-            currentStepper = "stepAddService";
-            showMenu = 2;
-            //let prev1 = document.querySelector("#step3").previousElementSibling;
-            //if (prev1.id === "step2") {
-            //    let step1 = document.getElementById("step2").childNodes;
-            //    step1[1].classList.add("tab-nav-completed");
-            //    step1[1].classList.add("text-tab-completed")
-            //}
-            break;
-        case 4:
-            currentStepper = "stepSaveNetwork";
-            //let prev2 = document.querySelector("#step4").previousElementSibling;
-            //if (prev2.id === "step3") {
-            //    let step1 = document.getElementById("step3").childNodes;
-            //    step1[1].classList.add("tab-nav-completed");
-            //    step1[1].classList.add("text-tab-completed")
-            //}
-            break;
-    }
-}
-
-var btnAddRoadm = "#btnAddRoadm";
-var btnAddFused = "#btnAddFused";
-var btnAddILA = "#btnAddILA";
-var btnAddAmplifier = "#btnAddAmplifier";
-var btnAddTransceiver = "#btnAddTransceiver";
-var btnAddDualFiber = "#btnAddDualFiber";
-var btnAddSingleFiber = "#btnAddSingleFiber";
-var btnServiceActive = "#btnServiceActive";
-var btnAddSinglePatch = "#btnAddSinglePatch";
-var btnAddDualPatch = "#btnAddDualPatch";
-var btnAddRamAmp = "#btnAddRamAmp";
-
-/**
- * Highlight node/fiber/patch/service menu by name.
- * @param {string} node - The type on component.
- */
-function modeHighLight(node) {
-    disableFiberService();
-    showHideDrawerandMenu();
-    switch (node) {
-        case 'Roadm':
-            $(btnAddRoadm).addClass('highlight');
-            $(btnAddFused).removeClass('highlight');
-            $(btnAddILA).removeClass('highlight');
-            $(btnAddAmplifier).removeClass('highlight');
-            $(btnAddTransceiver).removeClass('highlight');
-            $(btnAddDualFiber).removeClass('highlight');
-            $(btnAddSingleFiber).removeClass('highlight');
-            $(btnAddSinglePatch).removeClass('highlight');
-            $(btnAddDualPatch).removeClass('highlight');
-            $(btnAddRamAmp).removeClass('highlight');
-            break;
-        case 'ILA':
-            $(btnAddRoadm).removeClass('highlight');
-            $(btnAddFused).removeClass('highlight');
-            $(btnAddILA).addClass('highlight');
-            $(btnAddAmplifier).removeClass('highlight');
-            $(btnAddTransceiver).removeClass('highlight');
-            $(btnAddDualFiber).removeClass('highlight');
-            $(btnAddSingleFiber).removeClass('highlight');
-            $(btnAddSinglePatch).removeClass('highlight');
-            $(btnAddDualPatch).removeClass('highlight');
-            $(btnAddRamAmp).removeClass('highlight');
-            break;
-        case 'amplifier':
-            $(btnAddRoadm).removeClass('highlight');
-            $(btnAddFused).removeClass('highlight');
-            $(btnAddILA).removeClass('highlight');
-            $(btnAddAmplifier).addClass('highlight');
-            $(btnAddTransceiver).removeClass('highlight');
-            $(btnAddDualFiber).removeClass('highlight');
-            $(btnAddSingleFiber).removeClass('highlight');
-            $(btnAddSinglePatch).removeClass('highlight');
-            $(btnAddDualPatch).removeClass('highlight');
-            $(btnAddRamAmp).removeClass('highlight');
-            break;
-        case 'fused':
-            $(btnAddRoadm).removeClass('highlight');
-            $(btnAddFused).addClass('highlight');
-            $(btnAddILA).removeClass('highlight');
-            $(btnAddAmplifier).removeClass('highlight');
-            $(btnAddTransceiver).removeClass('highlight');
-            $(btnAddDualFiber).removeClass('highlight');
-            $(btnAddSingleFiber).removeClass('highlight');
-            $(btnAddSinglePatch).removeClass('highlight');
-            $(btnAddDualPatch).removeClass('highlight');
-            $(btnAddRamAmp).removeClass('highlight');
-            break;
-        case 'transceiver':
-            $(btnAddRoadm).removeClass('highlight');
-            $(btnAddFused).removeClass('highlight');
-            $(btnAddILA).removeClass('highlight');
-            $(btnAddAmplifier).removeClass('highlight');
-            $(btnAddTransceiver).addClass('highlight');
-            $(btnAddDualFiber).removeClass('highlight');
-            $(btnAddSingleFiber).removeClass('highlight');
-            $(btnAddSinglePatch).removeClass('highlight');
-            $(btnAddDualPatch).removeClass('highlight');
-            $(btnAddRamAmp).removeClass('highlight');
-            break;
-        case 'dualfiber':
-            $(btnAddRoadm).removeClass('highlight');
-            $(btnAddFused).removeClass('highlight');
-            $(btnAddILA).removeClass('highlight');
-            $(btnAddAmplifier).removeClass('highlight');
-            $(btnAddTransceiver).removeClass('highlight');
-            $(btnAddDualFiber).addClass('highlight');
-            $(btnAddSingleFiber).removeClass('highlight');
-            $(btnAddSinglePatch).removeClass('highlight');
-            $(btnAddDualPatch).removeClass('highlight');
-            $(btnAddRamAmp).removeClass('highlight');
-            break;
-        case 'singlefiber':
-            $(btnAddRoadm).removeClass('highlight');
-            $(btnAddFused).removeClass('highlight');
-            $(btnAddILA).removeClass('highlight');
-            $(btnAddAmplifier).removeClass('highlight');
-            $(btnAddTransceiver).removeClass('highlight');
-            $(btnAddDualFiber).removeClass('highlight');
-            $(btnAddSingleFiber).addClass('highlight');
-            $(btnAddSinglePatch).removeClass('highlight');
-            $(btnAddDualPatch).removeClass('highlight');
-            $(btnAddRamAmp).removeClass('highlight');
-            break;
-        case 'singlepatch':
-            $(btnAddRoadm).removeClass('highlight');
-            $(btnAddFused).removeClass('highlight');
-            $(btnAddILA).removeClass('highlight');
-            $(btnAddAmplifier).removeClass('highlight');
-            $(btnAddTransceiver).removeClass('highlight');
-            $(btnAddDualFiber).removeClass('highlight');
-            $(btnAddSingleFiber).removeClass('highlight');
-            $(btnAddSinglePatch).addClass('highlight');
-            $(btnAddDualPatch).removeClass('highlight');
-            $(btnAddRamAmp).removeClass('highlight');
-            break;
-        case 'dualpatch':
-            $(btnAddRoadm).removeClass('highlight');
-            $(btnAddFused).removeClass('highlight');
-            $(btnAddILA).removeClass('highlight');
-            $(btnAddAmplifier).removeClass('highlight');
-            $(btnAddTransceiver).removeClass('highlight');
-            $(btnAddDualFiber).removeClass('highlight');
-            $(btnAddSingleFiber).removeClass('highlight');
-            $(btnAddSinglePatch).removeClass('highlight');
-            $(btnAddDualPatch).addClass('highlight');
-            $(btnAddRamAmp).removeClass('highlight');
-            break;
-        case 'ramanamp':
-            $(btnAddRoadm).removeClass('highlight');
-            $(btnAddFused).removeClass('highlight');
-            $(btnAddILA).removeClass('highlight');
-            $(btnAddAmplifier).removeClass('highlight');
-            $(btnAddTransceiver).removeClass('highlight');
-            $(btnAddDualFiber).removeClass('highlight');
-            $(btnAddSingleFiber).removeClass('highlight');
-            $(btnAddSinglePatch).removeClass('highlight');
-            $(btnAddDualPatch).removeClass('highlight');
-            $(btnAddRamAmp).addClass('highlight');
-            break;
-        case 'service':
-            $(btnServiceActive).addClass('highlight');
-            break;
-        default:
-            $(btnAddRoadm).removeClass('highlight');
-            $(btnAddFused).removeClass('highlight');
-            $(btnAddILA).removeClass('highlight');
-            $(btnAddAmplifier).removeClass('highlight');
-            $(btnAddTransceiver).removeClass('highlight');
-            $(btnAddDualFiber).removeClass('highlight');
-            $(btnAddSingleFiber).removeClass('highlight');
-            $(btnServiceActive).removeClass('highlight');
-            $(btnAddSinglePatch).removeClass('highlight');
-            $(btnAddDualPatch).removeClass('highlight');
-            $(btnAddRamAmp).removeClass('highlight');
-            try {
-                network.disableEditMode();
-            }
-            catch  {}
-
-    }
-}
-
-/** Show/Hide the context menu of node/fiber/patch/service.  */
-function showHideDrawerandMenu() {
-    document.getElementById("roadmMenu").style.display = "none";
-    document.getElementById("attenuatorMenu").style.display = "none";
-    document.getElementById("ILAMenu").style.display = "none";
-    document.getElementById("amplifierMenu").style.display = "none";
-    document.getElementById("transceiverMenu").style.display = "none";
-    document.getElementById("serviceMenu").style.display = "none";
-    document.getElementById("singleFiberMenu").style.display = "none";
-    document.getElementById("dualFiberMenu").style.display = "none";
-    document.getElementById("singlePatchMenu").style.display = "none";
-    document.getElementById("dualPatchMenu").style.display = "none";
-    document.getElementById("ramanAmpMenu").style.display = "none";
-    document.getElementById("templateMenu").style.display = "none";
-
-    closeDrawer('roadm');
-    closeDrawer('attenuator');
-    closeDrawer('ILA');
-    closeDrawer('amplifier');
-    closeDrawer('transceiver');
-    closeDrawer('service');
-    closeDrawer('dualfiber');
-    closeDrawer('singlefiber');
-    closeDrawer('singlepatch');
-    closeDrawer('dualpatch');
-    closeDrawer('ramanamp');
-}
-
-
-
-
-
-
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/module-alea.html b/docs/module-alea.html deleted file mode 100644 index 7104704..0000000 --- a/docs/module-alea.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - JSDoc: Module: alea - - - - - - - - - - -
- -

Module: alea

- - - - - - -
- -
- - - - - -
- -
-
- - -

alea.js -Alea library is a pseudo-random number generator (PRNG).

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/module-constraints.html b/docs/module-constraints.html deleted file mode 100644 index 332cd09..0000000 --- a/docs/module-constraints.html +++ /dev/null @@ -1,1041 +0,0 @@ - - - - - JSDoc: Module: constraints - - - - - - - - - - -
- -

Module: constraints

- - - - - - -
- -
- - - - - -
- -
-
- - -

constraints.js -The constraints library is a list of rules for components. It is defining the network topology validation.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

(inner) checkFiberPro()

- - - - - - -
-

check the fiber properties rules.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Check the ROADM, transceiver link and type rules.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

check the limits of amplifier, attenuator link rules.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) checkTypeForce()

- - - - - - -
-

To check the node type force rules.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) edgeStyleOnImportJSON()

- - - - - - -
-

Set fiber/patch/service smooth while on import network JSON file.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) nodeRule(from, to, nodeType)

- - - - - - -
-

Check connections rules between nodes.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
from - - -string - - - -

Source node.

to - - -string - - - -

Destination node.

nodeType - - -string - - - -

Node type.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) nodeRuleOnImportJSON()

- - - - - - -
-

Check the node link and type rules on import network JSON file.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) nodeValidationInEdge(cfrom, cto)

- - - - - - -
-

Check the node connections and fiber/patch/service rules on import network JSON file.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
cfrom - - -string - - - -

Source node.

cto - - -string - - - -

Destination node.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/module-exampleUtil.html b/docs/module-exampleUtil.html deleted file mode 100644 index a244c44..0000000 --- a/docs/module-exampleUtil.html +++ /dev/null @@ -1,590 +0,0 @@ - - - - - JSDoc: Module: exampleUtil - - - - - - - - - - -
- -

Module: exampleUtil

- - - - - - -
- -
- - - - - -
- -
-
- - -

exampleUtil.js -This library describes how to create some random nodes and fiber/patch/service.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

(inner) getScaleFreeNetwork(nodeCount)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeCount - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) getScaleFreeNetworkSeeded(nodeCount)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeCount - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) loadJSON(path, success, error)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
path - -
success - -
error - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/module-fiber.html b/docs/module-fiber.html deleted file mode 100644 index 1784978..0000000 --- a/docs/module-fiber.html +++ /dev/null @@ -1,1458 +0,0 @@ - - - - - JSDoc: Module: fiber - - - - - - - - - - -
- -

Module: fiber

- - - - - - -
- -
- - - - - -
- -
-
- - -

fiber.js -The fiber library describes how to add a fiber connection between any 2 nodes by dragging from source node to destination and defines the fiber manipulation.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

(inner) addFiber()

- - - - - - -
-

Check connections rule for dual fiber not single fiber before add it.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) addFiberComponent(cmode, cfrom, cto, clabel, ctext, isImport)

- - - - - - -
-

Fiber creation. -Fiber style and configuration data loaded from configurationdata, styledata json. -Check connections rules.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
cmode - - -number - - - -

Fiber mode 1 for add.

cfrom - - -string - - - -

Source node ID.

cto - - -string - - - -

Destination node ID.

clabel - - -string - - - -

The Label of the service.

ctext - - -string - - - -

The Text of the service.

isImport - - -boolean - - - -

false -> manual add, true -> automattically added while import json.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) clearSingleFiber()

- - - - - - -
-

Clear input/teporary data and other settings.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) displayFiberHover(params)

- - - - - - -
-

Displays fiber details when hover the mouse near the single fiber.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
params - - -object - - - -

Fiber details.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) removeFiber(fiberID, isMultiple)

- - - - - - -
-

Remove fiber by fiber ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
fiberID - - -string - - - -

Component ID.

isMultiple - - -boolean - - - -

Remove multiple fiber.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) singleFiberEdit(fiberID, callback)

- - - - - - -
-

Populate fiber details by fiber ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
fiberID - - -string - - - -

Selected Fiber ID.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) singleFiberInsertNode(fiberID, node_type, callback)

- - - - - - -
-

Insert a node (ROADM/Attenuator/Amplifier/Raman Amplifier) in the middle of selected fiber.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
fiberID - - -string - - - -

Selected fiber ID

node_type - - -string - - - -

Type of node.

callback - -

The callback that handles the response..

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) singleFiberMode()

- - - - - - -
-

Enable settings for fiber and reset other settings. -Set fiber 1 = enable, 0 = disable.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) updateSingleFiber(fiberID)

- - - - - - -
-

Update fiber. -Update fiber by fiber ID. -Apply connections rules.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
fiberID - - -string - - - -

Fiber ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/module-filesaver.html b/docs/module-filesaver.html deleted file mode 100644 index f1d2fee..0000000 --- a/docs/module-filesaver.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - JSDoc: Module: filesaver - - - - - - - - - - -
- -

Module: filesaver

- - - - - - -
- -
- - - - - -
- -
-
- - -

filesaver.js -Filesaver.js is the solution to saving files on the client-side and is perfect for web apps that generate files on the client.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/module-main.html b/docs/module-main.html deleted file mode 100644 index 9d17611..0000000 --- a/docs/module-main.html +++ /dev/null @@ -1,806 +0,0 @@ - - - - - JSDoc: Module: main - - - - - - - - - - -
- -

Module: main

- - - - - - -
- -
- - - - - -
- -
-
- - -

main.js -The main.js library describes UI actions. like show/hide and update the HTML element with style based on user interaction.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

(inner) closeDrawer(node)

- - - - - - -
-

Close drawer based on node/fiber/patch/service.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
node - - -string - - - -

The type of component.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) modeHighLight(node)

- - - - - - -
-

Highlight node/fiber/patch/service menu by name.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
node - - -string - - - -

The type on component.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) openDrawer(node)

- - - - - - -
-

Open drawer based on node/fiber/patch/service.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
node - - -string - - - -

The type of component.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) showHideDrawerandMenu()

- - - - - - -
-

Show/Hide the context menu of node/fiber/patch/service.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) stepColor(index)

- - - - - - -
-

Highlight the steper menu by selection.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
index - - -number - - - -

The menu index.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/module-mynetwork.html b/docs/module-mynetwork.html deleted file mode 100644 index 1d6f7b5..0000000 --- a/docs/module-mynetwork.html +++ /dev/null @@ -1,7507 +0,0 @@ - - - - - JSDoc: Module: mynetwork - - - - - - - - - - -
- -

Module: mynetwork

- - - - - - -
- -
- - - - - -
- -
-
- - -

mynetwork.js -The mynetwork library file describes how to initialize the network area using vis.js and defines common functionalities of network components.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -

Members

- - - -

(inner) hiddenEdgeTextOptions

- - - - -
-

Hide fiber/patch/service label.

-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - -

(inner) hiddenNodeTextOptions

- - - - -
-

Hide node label.

-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - -

Methods

- - - - - - - -

(inner) appendPreAmpandBoosterType(ddlID)

- - - - - - -
-

Append node, preamp, booster type for dynamically generate element.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
ddlID - - -string - - - -

The ID of dynamic input control. like dropdown.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) appendSinglePreAmpandBoosterType()

- - - - - - -
-

Append node,preamp and booster type to dropdown input control.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) captureImage()

- - - - - - -
-

Capture network topology as image file.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) checkErrorFree()

- - - - - - -
-

To clear summary error element if there is no any error.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) checkfiberconnection(fromNode, toNode)

- - - - - - -
-

Check source and destination node have same connections.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
fromNode - - -string - - - -

Source node ID.

toNode - - -string - - - -

Destination node ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) checkFiberPatchServiceCon(from, to, edgeType)

- - - - - - -
-

Restriction to remove transceiver node connection(fiber/patch) while transceiver having service.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
from - - -number - - - -

Source node ID.

to - - -number - - - -

Destination node ID.

edgeType - - -string - - - -

The type of fiber/patch/service.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) checkNodeConnection(from, to)

- - - - - - -
-

Check node component have connection.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
from - - -string - - - -

Source node ID.

to - - -string - - - -

Destination node ID .

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) checkNodeServiceConnection(from, to)

- - - - - - -
-

Check node component have a service connection.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
from - - -string - - - -

Source node ID.

to - - -string - - - -

Destination node ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) clearAndSetTimeout(targetEle, removeTimeout)

- - - - - - -
-

This function is used to set/remove time interval for alert message.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
targetEle - - -number - - - -

Target of toaster element like. Success/Warning/Error...

removeTimeout - - -number - - - -

Remove the interval time for alert message .

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) closeMenu(menuID)

- - - - - - -
-

Close context menu by menu ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
menuID - - -string - - - -

The ID of menu.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) countFiberService(isdualfiber, issinglefiber, isservice, ispatch, cfrom, cto)

- - - - - - -
-

Count fiber/patch and service connections between same set of node.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
isdualfiber - - -number - - - -

True -> Dual fiber connection count.

issinglefiber - - -number - - - -

True -> Single fiber connection count.

isservice - - -number - - - -

True - > Service connection count.

ispatch - - -number - - - -

True -> Single patch connection count.

cfrom - - -string - - - -

Source node ID.

cto - - -string - - - -

Destination node ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) disableFiberService()

- - - - - - -
-

Disable fiber/patch/service mode. -Reteset the data values.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) draw(isImport)

- - - - - - -
-

Initialize the vis.network,Data and options. -Define all component events.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
isImport - - -boolean - - - -

True -> Initialize while import network json file, False -> Initialize while page loading.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) enableDisableNode(mode, nodename)

- - - - - - -
-

Highlight/Un-Highlight the component menu by node mode and name.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
mode - - -string - - - -

Node mode.

nodename - - -string - - - -

Node name.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) enableEdgeIndicator()

- - - - - - -
-

To enable fiber/patch/service mode.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) expandAndCollapseView(view)

- - - - - - -
-

Show/Hide the node/fiber/patch/service label by network view.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
view - - -number - - - -

1 -> NE view, 2-> Functional view.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) exportNetwork(isSaveNetwork)

- - - - - - -
-

Export/Save the network topology as a JSON file. -The JSON file data's are loaded from network dataset. like nodes, edges. -The schema of the JSON file will match the given JSON file like Equipment_JSON_MOD2.json.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
isSaveNetwork - - -boolean - - - -

True -> Save network topology, False -> Export network topology.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) fiberLengthCal(eleSL, eleLC, eleSpanLoss)

- - - - - - -
-

Calculate the fiber span loss, length and coefficient.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
eleSL - - -string - - - -

The span length of fiber.

eleLC - - -string - - - -

The loss coefficient of fiber.

eleSpanLoss - - -string - - - -

The span loss of fiber.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) focusNodeFiber(ID, type)

- - - - - - -
-

Focus the error componets. -Focus the node/fiber/patch/service components by span error ID. -Update the components for highlight error component to set image, size, is_error, color properties by span error ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
ID - - -string - - - -

Node/Fiber ID.

type - - -number - - - -

Component type.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) generateAccordianEle(label, ddlEleID)

- - - - - - -
-

Generate accordian and dropdown element for loading type.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
label - - -string - - - -

The label of component.

ddlEleID - - -string - - - -

Dropdown element for loading component type.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) getEdgeData(data)

- - - - - - -
-

Loop through the edge dataset and assign some properties then store it into array list. -It is return edge dataset.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
data - - -object - - - -

Dataset of edge. edge like fiber/patch/service.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) getLabel(from, to, component_type)

- - - - - - -
-

Get next level of fiber/patch/service label.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
from - - -string - - - -

Source node ID.

to - - -string - - - -

Destination node ID.

component_type - - -string - - - -

The type of component.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) getNodeById(data, id)

- - - - - - -
-

Get node details by ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
data - - -object - - - -

Node details.

id - - -string - - - -

The ID of destination node component.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) getNodeData(data)

- - - - - - -
-

Loop through the node dataset and get some properties then store it into array list. -It is return node dataset.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
data - - -object - - - -

Dataset of node.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) getRandomNumberBetween(min, max)

- - - - - - -
-

Get random point to displays node if not available lat, long in import network json file.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
min - - -number - - - -

Minimum of random number.

max - - -number - - - -

Maximum of random number.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) getRoadmDetails(fiberID, node_type)

- - - - - - -
-

Get ROADM component details by fiber ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
fiberID - - -string - - - -

Fiber component ID.

node_type - - -string - - - -

The type of component.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) hideEdgeLabels()

- - - - - - -
-

This function is used to show/hide the nodes/fiber/patch/service labels except ROADM. -Here we udpate the network options. -Update the model of edge and node color as transparent then set it to network options.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) hideLoader()

- - - - - - -
-

Hide the loader after completion of action.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) htmlTitle(html)

- - - - - - -
-

Create container element for display component details when hover mouse on it.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
html - - -string - - - -

Html elements.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) importEdge(index)

- - - - - - -
-

This function is used to load all fiber/patch/service element data into dataset from import json file.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
index - - -number - - - -

Index number for get edge details from import json.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) importNetwork()

- - - - - - -
-

This is used to load the network component data from import network json file.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) importNode(index)

- - - - - - -
-

This function is used to load all nodes element data into dataset from import json file.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
index - - -number - - - -

Index number for get node details from import json.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) init(isImport)

- - - - - - -
-

Initiate the network initialize by the flag.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
isImport - - -boolean - - - -

True -> Initialize network while import network json file, False -> Will initialize while page loading.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) load_EqptConfig(isFileUpload)

- - - - - - -
-

This function is used to load the equipment configuration data from the import json file.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
isFileUpload - - -boolean - - - -

True -> Load data from import network json, False -> Load data from default equipment configuration json.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) loadRoadmType(fiberID, nodeID, node_type, appendElement)

- - - - - - -
-

To load ROADM component type to dropdown control.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
fiberID - - -string - - - -

The ID of fiber component.

nodeID - - -string - - - -

The ID of node component.

node_type - - -string - - - -

Type of ROADM component.

appendElement - - -string - - - -

Html element for loading component type.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) multipleFiberService(cfrom, cto)

- - - - - - -
-

This function is used to add multiple single fiber / patch and service between same set of nodes and re - arrange them one by one.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
cfrom - - -string - - - -

Source node ID.

cto - - -string - - - -

Destination node ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) multipleFiberService1(cfrom, cto)

- - - - - - -
-

This function is used to add multiple single fiber / patch and service between same set of nodes and re - arrange them one by one.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
cfrom - - -string - - - -

Source node ID.

cto - - -string - - - -

Destination node ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) networkValidation()

- - - - - - -
-

To check network topology have components.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) networkView(view)

- - - - - - -
-

Network view changes by selection. -Show/Hid the some components menu and options based on selected network view.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
view - - -number - - - -

1 -> NE view, 2-> Functional view.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) rand()

- - - - - - -
-

To create random text for token creation.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) realUpdate()

- - - - - - -
-

Realtime update of summary error list. -To do any action with component while error chec active on active, summary error list automatically update by component action.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) remove_NodeFiberHighlight()

- - - - - - -
-

To reset component selection/highlight. -Get all highlighted components by is_highlight. -Update the node components to set is_highlight, image properties by selected component ID. -Update the fiber/patch/service components to set is_highlight, shadow properties by selected component ID.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) removeHighlight()

- - - - - - -
-

To remove focused error component highlight. -Update node component to set image, size, is_error by focused component ID. -Update fiber/patch/service components to set color, is_error by focused component ID.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) removeSpanInError(item, transUpdate)

- - - - - - -
-

To remove span error element on error summary list.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
item - - -string - - - -

Node ID.

transUpdate - - -boolean - - - -

True -> remove span error element for transceiver, False -> remove rest of span error.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) SaveNetwork()

- - - - - - -
-

Save the network topology.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) saveSimulations(fre_min, frq_max, spacing, channel, margin)

- - - - - - -
-

This function is used to store simulation parameters in session storage as JSON format.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
fre_min - - -number - - - -

Frequency-max value.

frq_max - - -number - - - -

Frequency-min value.

spacing - - -number - - - -

Spacings.

channel - - -number - - - -

Number of channels.

margin - - -number - - - -

System margin.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) showContextMenu(x, y, menu)

- - - - - - -
-

show context menu near by selected component.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
x - - -string - - - -

The point of selected component.

y - - -string - - - -

The point of selected component.

menu - - -string - - - -

Html element ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) showHoverDiv(x, y, menu)

- - - - - - -
-

Show the element for displays fiber, service and node components details when hover the mouse over on it.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
x - - -string - - - -

left side menu.

y - - -string - - - -

bottom of the menu.

menu - - -string - - - -

Element ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) showMessage(messageType, textmsg, removeTimeout)

- - - - - - -
-

This function is used to show alert message.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
messageType - - -string - - - -

Type of message.ex : Success/Info/Error/Warning.

textmsg - - -string - - - -

Message content.

removeTimeout - - -boolean - - - -

Set timeout for alert message.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) token()

- - - - - - -
-

To generate token for component creation. -It will consider as component ID.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) topologyValidation(isTime)

- - - - - - -
-

This function is used to check the node link, mis-link, fiber properties and consolidate all error list.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
isTime - - -number - - - -

True -> remove time interval for error summary list.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) UnSelectAll()

- - - - - - -
-

Clear component selection.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/module-node.html b/docs/module-node.html deleted file mode 100644 index 068d605..0000000 --- a/docs/module-node.html +++ /dev/null @@ -1,4643 +0,0 @@ - - - - - JSDoc: Module: node - - - - - - - - - - -
- -

Module: node

- - - - - - -
- -
- - - - - -
- -
-
- - -

node.js -The node can be defined as the connection point of "ROADM, Attenuator, Transceiver, Amplifier, and Raman Amplifier" and defines the node manipulations.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

(inner) addNodeHighlight(nodeID)

- - - - - - -
-

Set warning icons to imcompleted node by node ID. -Update node size, image by node ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

Node ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) AddNodeMode(nodemode)

- - - - - - -
-

Check node Mode 1-roadm, 2-amp, 3-fused, 4-transceiver, 6- raman amp

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodemode - - -Number - - - -

Mode of the component.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) addNodes(data, callback)

- - - - - - -
-

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.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
data - - -object - - - -

The data of the component.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) amplifierEdit(nodeID, callback)

- - - - - - -
-

Populate Amplifier component details by node ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the Amplifier component.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) applyRoadmTemplate(nodeID, roadm_type)

- - - - - - -
-

Apply copied template to specified ROADM node. -Check node rules and update check-errors summary.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the destination node.

roadm_type - - -string - - - -

Coponent type.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) applyTemplate(nodes, callback)

- - - - - - -
-

Apply copied template to specified node. -Apply node rules.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodes - - -object - - - -

Selected destination nodes for apply template.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) applyTransceiverTemplate(nodeID, node_type, trans_type)

- - - - - - -
-

Apply copied template to specified Transceiver node. -Check node rules and update check-errors summary.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the destination node.

node_type - - -string - - - -

Node type.

trans_type - - -string - - - -

Transceiver type.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) attenuatorEdit(nodeID, callback)

- - - - - - -
-

Populate Attenuator component details by node ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the Attenuator component.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) clearAmplifier()

- - - - - - -
-

Clear input/teporary data and other settings.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) clearAttenuator()

- - - - - - -
-

Clear input/teporary data and other settings.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) clearNodeTemplate()

- - - - - - -
-

Reset the copied template data.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) clearRamanAmp()

- - - - - - -
-

Clear input/teporary data and other settings.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) clearRoadm()

- - - - - - -
-

Clear input/teporary data and other settings.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) clearTransceiver()

- - - - - - -
-

Clear input/teporary data and other settings.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) copyNode(nodeID, callback)

- - - - - - -
-

Bind pasteNode method. -Copy node parameters by selected node ID

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

Component ID.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) copyNodeTemplate(nodeID, callback)

- - - - - - -
-

Copy node template by selected node ID. -Validate the node template by type, category

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of Copied node template.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) displayNodesHover(params)

- - - - - - -
-

Displays node name, type parameter when hover the mouse near the node.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
params - - -object - - - -

Node details.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) nodeName(node_type, amp_category)

- - - - - - -
-

Get next level of node label name by node type/amplifer category.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
node_type - - -string - - - -

Node type.

amp_category - - -string - - - -

Amplifier category.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) pasteNode(nodeId)

- - - - - - -
-

Create new node by copied node parameters. -Node will be placed based on co-ordidates.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeId - - -string - - - -

Copied node ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) ramanAmpEdit(nodeID, callback)

- - - - - - -
-

Populate Raman Amplifier component details by node ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the Raman Amplifier component.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) realUpdate_Amplifier(id, rtype)

- - - - - - -
-

Check Amplifier component rules and update check-errors summary.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
id - - -string - - - -

The ID of Amplifier component.

rtype - - -string - - - -

The type of Amplifier component.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) realUpdate_RamanAmp(id, rtype)

- - - - - - -
-

Check Raman Amplifier component rules and update check-errors summary.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
id - - -string - - - -

The ID of Raman Amplifier component.

rtype - - -string - - - -

The type of Raman Amplifier component.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) realUpdate_Roadm(id, rtype)

- - - - - - -
-

Check ROADM component rules and update check-errors summary.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
id - - -string - - - -

The ID of ROADM component.

rtype - - -string - - - -

The type of ROADM component.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) realUpdate_Transceiver(id, rtype)

- - - - - - -
-

Check Transceiver component rules and update check-errors summary.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
id - - -string - - - -

The ID of Transceiver component.

rtype - - -string - - - -

The type of Transceiver component.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) removeNodes(nodeID, isMultiple)

- - - - - - -
-

Remove node by node ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

Component ID.

isMultiple - - -boolean - - - -

Remove multiple node.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) roadmEdit(nodeID, callback)

- - - - - - -
-

Populate ROADM component details by node ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the ROADM component.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) transceiverEdit(nodeID, callback)

- - - - - - -
-

Populate Transceiver component details by node ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the Transceiver component.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) updateAmplifier(nodeID)

- - - - - - -
-

Update Amplifier. -Update Amplifier label, type by Amplifier ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the Amplifier component

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) updateAttenuator(nodeID)

- - - - - - -
-

Update Attenuator. -Update Attenuator label, type by Attenuator ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the Attenuator component

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) updateRamanAmp(nodeID)

- - - - - - -
-

Update Raman Amplifier. -Update Raman Amplifier label, type by Raman Amplifier ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the Raman Amplifier component

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) updateRoadm(nodeID)

- - - - - - -
-

Update ROADM. -Update ROADM label, type by ROADM ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the ROADM component

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) updateTransceiver(nodeID)

- - - - - - -
-

Update Transceiver. -Update Transceiver label, type by Transceiver ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
nodeID - - -string - - - -

The ID of the Transceiver component

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/module-patch.html b/docs/module-patch.html deleted file mode 100644 index 06f7815..0000000 --- a/docs/module-patch.html +++ /dev/null @@ -1,1030 +0,0 @@ - - - - - JSDoc: Module: patch - - - - - - - - - - -
- -

Module: patch

- - - - - - -
- -
- - - - - -
- -
-
- - -

patch.js -The patch library describes how to add a patch connection between any 2 nodes by dragging from source node to destination and defines the patch manipulation.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

(inner) addPatchComponent(cmode, cfrom, cto, clabel, ctext, isImport)

- - - - - - -
-

Patch creation. -Patch style and configuration data loaded from configurationdata, styledata json.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
cmode - - -number - - - -

Service mode 1 for add.

cfrom - - -string - - - -

Source node ID.

cto - - -string - - - -

Destination node ID.

clabel - - -string - - - -

The Label of the service.

ctext - - -string - - - -

The Text of the service.

isImport - - -boolean - - - -

false -> manual add, true -> automattically added while import json.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) clearSinglePatch()

- - - - - - -
-

Clear input/teporary data and other settings.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) deletePatch(patchID)

- - - - - - -
-

Remove patch by patch ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
patchID - - -string - - - -

patch ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) singlePatchEdit(patchID, callback)

- - - - - - -
-

Populate patch details by patch ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
patchID - - -string - - - -

Patch ID.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) singlePatchMode()

- - - - - - -
-

Enable settings for patch and reset other settings. -Set patch 1 = enable, 0 = disable.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) updateSinglePatch(patchID)

- - - - - - -
-

Update patch. -Update patch label, text by patch ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
patchID - - -string - - - -

patch ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/module-service.html b/docs/module-service.html deleted file mode 100644 index 76ad4af..0000000 --- a/docs/module-service.html +++ /dev/null @@ -1,1095 +0,0 @@ - - - - - JSDoc: Module: service - - - - - - - - - - -
- -

Module: service

- - - - - - -
- -
- - - - - -
- -
-
- - -

service.js -The Service is also the same as the connectivity path between 2 transceiver nodes. This library file defines service manipulation.

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

(inner) addService()

- - - - - - -
-

Check service connections rule before add it.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) addServiceComponent(cmode, cfrom, cto, clabel, isImport)

- - - - - - -
-

Service creation. -Service style and configuration data loaded from configurationdata, styledata json.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
cmode - - -number - - - -

Service mode 1 for add.

cfrom - - -string - - - -

Source node ID.

cto - - -string - - - -

Destination node ID.

clabel - - -string - - - -

The Label of the service.

isImport - - -boolean - - - -

false -> manual add, true -> automattically added while import json.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) addServiceMode()

- - - - - - -
-

Enable settings for service and reset other settings. -Set service 1 = enable, 0 = disable.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) clearService()

- - - - - - -
-

Clear input/teporary data and other settings.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) deleteService(serviceID)

- - - - - - -
-

Remove service by service ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
serviceID - - -string - - - -

Service ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) serviceEdit(serviceID, callback)

- - - - - - -
-

Populate service details by service ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
serviceID - - -string - - - -

Service ID.

callback - -

The callback that handles the response.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) updateService(serviceID)

- - - - - - -
-

Update service. -Update service label, text, band_width by service ID.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
serviceID - - -string - - - -

Service ID.

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/module-validation.html b/docs/module-validation.html deleted file mode 100644 index 72f0339..0000000 --- a/docs/module-validation.html +++ /dev/null @@ -1,483 +0,0 @@ - - - - - JSDoc: Module: validation - - - - - - - - - - -
- -

Module: validation

- - - - - - -
- -
- - - - - -
- -
-
- - -

validation.js -The Validations library currently describes the validation of component name, length, and type

- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

(inner) exportFileValidation()

- - - - - - -
-

Validate export file name.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) nameLengthValidation(element)

- - - - - - -
-

Validate the node/fiber/patch/service name and name length.

-
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
element - - -HTMLElement - - - -

Input element

- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

(inner) roadmProVal()

- - - - - - -
-

Validate ROADM list, type and Amplifier type.

-
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/mynetwork.js.html b/docs/mynetwork.js.html deleted file mode 100644 index 645d9a5..0000000 --- a/docs/mynetwork.js.html +++ /dev/null @@ -1,3800 +0,0 @@ - - - - - JSDoc: Source: mynetwork.js - - - - - - - - - - -
- -

Source: mynetwork.js

- - - - - - -
-
-
 /**
- * mynetwork module
- * @module mynetwork
- */
-
-/**
- * mynetwork.js.
- * The mynetwork library file describes to initialize the network area using vis.js and defines common functionalities of network components.
- */
-
-var nodes = null;
-var edges = null;
-var network = null;
-var data = getScaleFreeNetwork(0);
-var seed = 2;
-var previousId = 0;
-var currentId = 0;
-var _nodesDB = new TAFFY();
-var _edgeDB = new TAFFY();
-var _insertnodeDB = new TAFFY();
-var container;
-var exportArea;
-var importButton;
-var exportButton;
-var dropdownshape;
-var isService = 0;
-var isCopy = false;
-var copyID;
-var isCopyPara = false;
-localStorage.setItem("copyedgeid", "");
-localStorage.setItem("copynodeid", "");
-localStorage.setItem("deletenodeconectededge", "");
-var optionsJSON = "";
-var roadmJSON = "";
-var ILAJSON = "";
-var amplifierJSON = "";
-var ramanampJSON = "";
-var fusedJSON = "";
-var transceiverJSON = "";
-var dualFiberJSON = "";
-var singleFiberJSON = "";
-var serviceJSON = "";
-var singlePatchJSON = "";
-var dualPatchJSON = "";
-var fiberJSON = "";
-var commonJSON = "";
-var configData = "";
-var styleData = "";
-var eqpt_config = "";
-var arrRoadmTypePro = [];
-var _roadmListDB = new TAFFY();
-var isLocalStorage = false;
-var nodeMode = "";
-var DIR = "";
-var eleroadmtype = "ddlroadmType";
-var elepreamptype = "ddlPreAmpType";
-var eleboostertype = "ddlBoosterType";
-var currentStepper = "";
-var insertNodeX = 0;
-var insertNodeY = 0;
-var isShow = false;
-var isExpandedView = false;
-var tSpanLength = "";
-var tType = "";
-var tConnector_in = "";
-var tConnector_out = "";
-var tBandwidth = "";
-var eqptData = "";
-var bullet = "&#9632; ";
-var nodeSelect = false;
-var tempUndo = [];
-var tempRedo = [];
-var removeNodeList = [];
-var removeEdgeList = [];
-var nofNode = 1;
-var hoverNodeData;
-var importNodes = [];
-var importEdges = [];
-var copiedNodeID;
-var showMenu = 0;
-var preScale;
-var prePosition;
-var _eqpt_json;
-var isEqptFile = false;
-var isImportJSON = false;
-
-var displayEdgeLabels = false;
-var hiddenNodeTextDisplayOptions;
-var displayNodeLabels = false;
-
-/**  Hide fiber/patch/service label. */
-var hiddenEdgeTextOptions = {
-    edges: {
-        font: {
-            // Set the colors to transparent
-            color: 'transparent',
-            strokeColor: 'transparent'
-        }
-    },
-    nodes: {
-        font: {
-            // Set the colors to transparent
-            color: 'transparent',
-            strokeColor: 'transparent'
-        }
-    },
-};
-
-/** Hide node label. */
-var hiddenNodeTextOptions = {
-    nodes: {
-        font: {
-            // Set the colors to transparent
-            color: 'transparent',
-            strokeColor: 'transparent'
-        }
-    }
-};
-
-$(document).ready(function () {
-
-    $.getJSON("/data/styledata.json", function (data) {
-        optionsJSON = data.options;
-        roadmJSON = data.Roadm;
-        hiddenNodeTextDisplayOptions = {
-            nodes: {
-                font: roadmJSON.font
-            }
-        };
-        ILAJSON = data.ILA;
-        amplifierJSON = data.Amplifier;
-        ramanampJSON = data.RamanAmplifier;
-        fusedJSON = data.Fused;
-        transceiverJSON = data.Transceiver;
-        dualFiberJSON = data.DualFiber;
-        singleFiberJSON = data.SingleFiber;
-        serviceJSON = data.Service;
-        singlePatchJSON = data.SinglePatch;
-        dualPatchJSON = data.DualPatch;
-        styleData = data;
-        fiberJSON = data.Fiber;
-        commonJSON = data.common;
-    }).fail(function () {
-        console.log("An error has occurred on style data json.");
-    });
-    $.getJSON("/data/configurationdata.json", function (data) {
-
-        configData = data;
-        DIR = configData.node.dir;
-        $("[id='siteLength']").each(function () {
-            $(this).text(' (Max Length ' + configData.node.site_length + ')');
-        })
-    }).fail(function () {
-        console.log("An error has occurred on configuration data json.");
-    });
-    $.getJSON("/data/Equipment_JSON_MOD2.json", function (data) {
-        eqpt_config = data;
-        load_EqptConfig();
-    }).fail(function () {
-        console.log("An error has occurred on Equipment_JSON_MOD2 json.");
-    });
-    $("#btncaptureimagenetwork").click(function () {
-        if (networkValidation())
-            captureImage();
-    });
-    $("#btnSaveNetwork, #btnSaveNetworkTop").click(function () {
-
-        if (networkValidation()) {
-            //exportNetwork(true);
-            $("*.ES").html("Save As");
-            $("#txtFileName").val('');
-            $("#staticBackdrop1").modal('show');
-        }
-    });
-    $("#btnExportPopup").click(function () {
-        if (networkValidation()) {
-            //topologyValidation();
-            $("*.ES").html("Export");
-            $("#txtFileName").val('');
-            $("#staticBackdrop1").modal('show');
-        }
-    });
-    $("#btnValidation").click(function () {
-        if (networkValidation()) {
-            preScale = network.getScale();
-            prePosition = network.getViewPosition();
-            if (!topologyValidation(true)) {
-                showMessage(alertType.Success, 'Successfully validated');
-            }
-        }
-    });
-    $("#exportNetwork").click(function () {
-        if (networkValidation()) {
-            $("#staticBackdrop1").modal('show');
-        }
-    });
-    $("#btnExportNetwork").click(function () {
-        if (networkValidation() && exportFileValidation()) {
-            exportNetwork(false);
-            $("#staticBackdrop1").modal('hide');
-        }
-    });
-    $("#errorClose").click(function () {
-
-        var errNodes = network.body.data.nodes.get({
-            filter: function (item) {
-                return (item.is_error == true);
-            }
-        });
-
-        var errFiber = network.body.data.edges.get({
-            filter: function (item) {
-                return (item.is_error == true);
-            }
-        });
-        if (errNodes.length > 0 || errFiber.length > 0) {
-            removeHighlight();
-            network.moveTo({
-                position: prePosition,
-                scale: preScale,
-            });
-
-        }
-
-
-    });
-    $("#btnAddRoadm").click(function () {
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(1, "Roadm");
-    });
-    $("#btnAddILA").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(2, "ILA");
-    });
-    $("#btnAddAmplifier").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(5, "amplifier");
-    });
-    $("#btnAddRamAmp").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(6, "ramanamp");
-    });
-    $("#btnAddFused").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(3, "fused");
-    });
-    $("#btnAddTransceiver").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(4, "transceiver");
-    });
-    $("#btnAddDualFiber").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        if (isDualFiberMode == 1) {
-            modeHighLight();
-            isDualFiberMode = 0;
-        }
-        else {
-            network.addEdgeMode();
-            modeHighLight('dualfiber');
-            dualFiberMode();
-        }
-    });
-    $("#btnAddSingleFiber").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        if (isSingleFiberMode == 1) {
-            modeHighLight();
-            isSingleFiberMode = 0;
-        }
-        else {
-            network.addEdgeMode();
-            modeHighLight('singlefiber');
-            singleFiberMode();
-        }
-    });
-    $("#btnServiceActive").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        if (networkValidation()) {
-            if (isAddService == 1) {
-                modeHighLight();
-                isAddService = 0;
-            }
-            else {
-                network.addEdgeMode();
-                modeHighLight('service');
-                addServiceMode();
-            }
-        }
-    });
-    $("#btnAddDualPatch").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        if (isDualPatchMode == 1) {
-            modeHighLight();
-            isDualPatchMode = 0;
-        }
-        else {
-            network.addEdgeMode();
-            modeHighLight('dualpatch');
-            dualPatchMode();
-        }
-    });
-    $("#btnAddSinglePatch").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        if (isSinglePatchMode == 1) {
-            modeHighLight();
-            isSinglePatchMode = 0;
-        }
-        else {
-            network.addEdgeMode();
-            modeHighLight('singlepatch');
-            singlePatchMode();
-        }
-    });
-    $("#stepGP").click(function () {
-        $("#staticBackdrop4").modal('show');
-        var simulationData = JSON.parse(sessionStorage.getItem("simulationParameters"));
-        $("#txtFrgMin").val(simulationData["frequency-min"]);
-        $("#txtFrqMax").val(simulationData["frequency-max"]);
-        $("#txtGridSpac").val(simulationData["spacing"]);
-        $("#txtNoOfChannel").val(simulationData["noOfChannel"]);
-        $("#txtAgeingMargin").val(simulationData["system-margin"]);
-    });
-    $("#btnSaveGP").click(function () {
-        saveSimulations($("#txtFrgMin").val(), $("#txtFrqMax").val(), $("#txtGridSpac").val(), $("#txtNoOfChannel").val(), $("#txtAgeingMargin").val());
-        $("#staticBackdrop4").modal('hide');
-    });
-    $("#btnCloseSP, #btnCloseGP").click(function () {
-        $("#staticBackdrop4").modal('hide');
-    });
-    $('#cbxLength_Based_Loss').change(function () {
-        if (this.checked) {
-            var span_length = $("#txtSpan_Length").val().trim();
-            var spanlen = parseFloat(span_length);
-            var loss_coeff = $("#txtLoss_Coefficient").val().trim();
-            var lossCoeff = parseFloat(loss_coeff);
-            if (isNaN(span_length) || spanlen <= 0 || span_length == "" || isNaN(loss_coeff) || lossCoeff <= 0 || loss_coeff == "") {
-                $('#cbxLength_Based_Loss').prop('checked', false);
-                showMessage(alertType.Error, "Length based loss requires span length and loss coefficient to be entered");
-            }
-            else {
-                fiberLengthCal('txtSpan_Length', 'txtLoss_Coefficient', 'txtSpan_Loss');
-            }
-        }
-        else {
-            $("#txtSpan_Loss").val('');
-        }
-
-    });
-    $('#cbx_FiberALBL').change(function () {
-        if (this.checked) {
-            fiberLengthCal('txtFiberASL', 'txtFiberALC', 'txtFiberASpanLoss');
-        }
-    });
-    $('#cbx_FiberBLBL').change(function () {
-        if (this.checked) {
-            fiberLengthCal('txtFiberBSL', 'txtFiberBLC', 'txtFiberBSpanLoss');
-        }
-    });
-    $('#cbx_clone').change(function () {
-        if (this.checked) {
-            $("#ddlFiberBType").val($("#ddlFiberAType").val());
-            $("#txtFiberBSL").val($("#txtFiberASL").val());
-            $("#txtFiberBLC").val($("#txtFiberALC").val());
-            $("#txtFiberBCIN").val($("#txtFiberACIN").val());
-            $("#txtFiberBCOUT").val($("#txtFiberACOUT").val());
-            $("#txtFiberBSpanLoss").val($("#txtFiberASpanLoss").val());
-        }
-    });
-    $("#importEqptLink").click(function () {
-        $("#importEqpt").click();
-    });
-
-    /**
-    * Read text from import json file.
-    * @param {string} file - Get path as file.
-    * @param callback - The callback that handles the response.
-    */
-    function readTextFile(file, callback) {
-        var rawFile = new XMLHttpRequest();
-        rawFile.overrideMimeType("application/json");
-        rawFile.open("GET", file, true);
-        rawFile.onreadystatechange = function () {
-            if (rawFile.readyState === 4 && rawFile.status == "200") {
-                callback(rawFile.responseText);
-            }
-            vper = vper + 10;
-            document.getElementById("per").innerText = vper + '%';
-        }
-        rawFile.send(null);
-    }
-    var vper = 30;
-    $("#importEqpt").on('change', function (e) {
-
-        var file = e.target.files[0];
-        if (file) {
-
-            $('#loader').show();
-            var path = (window.URL || window.webkitURL).createObjectURL(file);
-            document.getElementById("per").innerText = 20 + '%';
-            readTextFile(path, function (text) {
-
-                if (text) {
-                    try {
-                        document.getElementById("per").innerText = "80%";
-                        eqptData = JSON.parse(text);
-                        isEqptFile = true;
-                        eqpt_config = eqptData;
-                        load_EqptConfig(true);
-                        nodeRuleOnImportJSON();
-                        document.getElementById("per").innerText = "90%";
-                        edgeStyleOnImportJSON();
-                    }
-                    catch (e) {
-                        showMessage(alertType.Error, "KeyError:'elements', try again");
-                        hideLoader();
-                    }
-                }
-            });
-        }
-    });
-
-    /** 
-     *  Undo network actions. 
-     *  The redo function is used to restores any actions that were previously undone using an undo. 
-     *  We stored every undo action detail one by one into array list (tempRedo) like node creation/deletion/updating etc...
-     *  Ex: node creation/deletion/updating: tempRedo.push(nodedata).
-     *  we fetch latest one record from array list (tempRedo) then will check record whether creation/deletion/updating after that will call the relevant action. 
-     *  After will stored action details into new array list (tempUndo) then will using pop method to remove record from array list (tempRedo) ex: tempRedo.pop().
-     *  Ex: node deletion:
-     *  tempUndoo.push(nodedata).
-     *  data.nodes.remove (latest record of tempRedo).
-     */
-    
-    $("#button_undo").on("click", function () {
-        if (tempUndo.length > 0) {
-            var tempData = tempUndo[tempUndo.length - 1];
-            if (!tempData.isMultiple) {
-                var isBreak = false;
-                if (tempData.isUpdate) {
-                    var undoLength = tempUndo.length;
-                    for (var i = 1; i < undoLength; i++) {
-                        if (!tempUndo[undoLength - (i + 1)].isMultiple) {
-                            if (tempUndo[undoLength - 1].id == tempUndo[undoLength - (i + 1)].id) {
-                                if (tempData.component_type == roadmJSON.component_type) {
-                                    var redoupdate = data.nodes.get(tempUndo[undoLength - (i + 1)].id);
-                                    tempRedo.push(redoupdate);
-                                    data.nodes.update(tempUndo[undoLength - (i + 1)]);
-                                }
-                                else {
-                                    var redoupdate = data.edges.get(tempUndo[undoLength - (i + 1)].id);
-                                    tempRedo.push(redoupdate);
-
-                                    data.edges.update(tempUndo[undoLength - (i + 1)]);
-                                    nodeValidationInEdge(tempUndo[undoLength - (i + 1)].from, tempUndo[undoLength - (i + 1)].to);
-                                    multipleFiberService(tempUndo[undoLength - (i + 1)].from, tempUndo[undoLength - (i + 1)].to);
-                                }
-                                isBreak = true;
-                                break;
-                            }
-                        }
-                        else {
-                            for (var j = 0; j < tempUndo[undoLength - (i + 1)].list.length; j++) {
-                                if (tempUndo[undoLength - 1].id == tempUndo[undoLength - (i + 1)].list[j].id) {
-                                    if (tempData.component_type == roadmJSON.component_type) {
-                                        var redoupdate = data.nodes.get(tempUndo[undoLength - (i + 1)].list[j].id);
-                                        tempRedo.push(redoupdate);
-                                        data.nodes.update(tempUndo[undoLength - (i + 1)].list[j]);
-                                    }
-                                    else {
-                                        var redoupdate = data.edges.get(tempUndo[undoLength - (i + 1)].list[j].id);
-                                        tempRedo.push(redoupdate);
-
-                                        data.edges.update(tempUndo[undoLength - (i + 1)].list[j]);
-                                        nodeValidationInEdge(tempUndo[undoLength - (i + 1)].list[j].from, tempUndo[undoLength - (i + 1)].list[j].to);
-                                        multipleFiberService(tempUndo[undoLength - (i + 1)].list[j].from, tempUndo[undoLength - (i + 1)].list[j].to);
-                                    }
-                                    isBreak = true;
-                                    break;
-                                }
-                            }
-                            if (isBreak)
-                                break;
-                        }
-                    }
-                    if (!isBreak) {
-                        if (tempData.component_type == roadmJSON.component_type) {
-                            data.nodes.remove(tempUndo[undoLength - 1]);
-                            tempRedo.push(tempUndo[undoLength - 1]);
-                        }
-                        else {
-                            data.edges.remove(tempUndo[undoLength - 1]);
-                            tempRedo.push(tempUndo[undoLength - 1]);
-                            nodeValidationInEdge(tempUndo[undoLength - 1].from, tempUndo[undoLength - 1].to);
-                            multipleFiberService(tempUndo[undoLength - 1].from, tempUndo[undoLength - 1].to);
-                        }
-                    }
-                }
-                else if (tempData.isDelete) {
-                    if (tempData.component_type == roadmJSON.component_type) {
-                        data.nodes.update(tempData);
-                        var redoupdate = data.nodes.get(tempData.id);
-                        tempRedo.push(redoupdate);
-
-                    }
-                    else {
-                        data.edges.update(tempData);
-                        var redoupdate = data.edges.get(tempData.id);
-                        tempRedo.push(redoupdate);
-                        nodeValidationInEdge(tempData.from, tempData.to);
-                        multipleFiberService(tempData.from, tempData.to);
-                    }
-                    tempUndo[tempUndo.length - 1].isDelete = false;
-                    tempUndo[tempUndo.length - 1].isUpdate = true;
-
-                    tempRedo[tempRedo.length - 1].isDelete = true;
-                    tempRedo[tempRedo.length - 1].isUpdate = false;
-                }
-                else {
-                    if (tempData.component_type == roadmJSON.component_type) {
-                        data.nodes.remove(tempData);
-                        tempRedo.push(tempData);
-
-                    }
-                    else {
-                        data.edges.remove(tempData);
-                        tempRedo.push(tempData);
-                        nodeValidationInEdge(tempData.from, tempData.to);
-                        multipleFiberService(tempData.from, tempData.to);
-                    }
-                }
-                tempUndo.pop();
-            }
-            else {
-                if (tempData.isUpdate) {
-                    for (var i = 0; i < tempData.list.length; i++) {
-
-                        if (tempData.list[i].component_type == roadmJSON.component_type) {
-                            for (var j = 0; j < tempData.preList.length; j++) {
-                                if (tempData.list[i].id == tempData.preList[j].id) {
-                                    data.nodes.update(tempData.preList[j]);
-                                    break;
-                                }
-                            }
-                        }
-                        else if (tempData.list[i].component_type == singleFiberJSON.component_type) {
-                            for (var j = 0; j < tempData.preList.length; j++) {
-                                if (tempData.list[i].id == tempData.preList[j].id) {
-                                    data.edges.update(tempData.preList[j]);
-                                    nodeValidationInEdge(tempData.preList[j].from, tempData.preList[j].to);
-                                    multipleFiberService(tempData.preList[j].from, tempData.preList[j].to);
-                                    break;
-                                }
-                            }
-                        }
-                    }
-                    tempRedo.push(tempData);
-                }
-                else {
-                    for (var i = 0; i < tempData.list.length; i++) {
-                        if (tempData.list[i].component_type == roadmJSON.component_type)
-                            data.nodes.update(tempData.list[i]);
-                        else if (tempData.list[i].component_type == singleFiberJSON.component_type) {
-                            data.edges.update(tempData.list[i]);
-                            nodeValidationInEdge(tempData.list[i].from, tempData.list[i].to);
-                            multipleFiberService(tempData.list[i].from, tempData.list[i].to);
-                        }
-                    }
-
-                    tempRedo.push(tempData);
-                }
-                tempUndo.pop();
-            }
-        }
-        remove_NodeFiberHighlight();
-
-        $(btnAddRoadm).removeClass('highlight');
-        $(btnAddFused).removeClass('highlight');
-        $(btnAddILA).removeClass('highlight');
-        $(btnAddAmplifier).removeClass('highlight');
-        $(btnAddTransceiver).removeClass('highlight')
-        nodeMode = 0;
-        enableEdgeIndicator();
-
-    });
-
-    /** 
-     *  Redo network actions.
-     *  The undo function is used to reverse a mistake, such as deleting the wrong element in a network topology. 
-     *  We stored every action detail one by one into array list (tempUndo) like node creation/deletion/updating etc...
-     *  ex:node creation/deletion/updating: tempUndo.push(nodedata).
-     *  we fetch latest one record from array list (tempUndo) then will check record whether creation/deletion/updating after that will call the relevant action. 
-     *  After will stored action details into new array list (tempRedo) then will using pop method to remove record from array list (tempUndo) ex: tempUndo.pop().
-     *  Ex: node updating:
-     *  tempRedo.push(nodedata).
-     *  data.nodes.update (latest record of tempUndo).
-     */
-    $("#button_redo").on("click", function () {
-        if (tempRedo.length > 0) {
-            var tempData = tempRedo[tempRedo.length - 1];
-
-            if (!tempData.isMultiple) {
-
-                if (tempData.isDelete) {
-
-                    tempUndo.push(tempData);
-                    tempUndo[tempUndo.length - 1].isDelete = true;
-                    tempUndo[tempUndo.length - 1].isUpdate = false;
-
-                    if (tempData.component_type == roadmJSON.component_type) {
-                        data.nodes.remove(tempData);
-                    }
-                    else {
-                        data.edges.remove(tempData);
-                        nodeValidationInEdge(tempData.from, tempData.to);
-                        multipleFiberService(tempData.from, tempData.to);
-                    }
-                    tempRedo.pop();
-                }
-                else {
-                    tempUndo.push(tempData);
-                    tempUndo[tempUndo.length - 1].isDelete = false;
-                    tempUndo[tempUndo.length - 1].isUpdate = true;
-                    if (tempData.component_type == roadmJSON.component_type) {
-                        data.nodes.update(tempData);
-                    }
-                    else {
-                        data.edges.update(tempData);
-                        nodeValidationInEdge(tempData.from, tempData.to);
-                        multipleFiberService(tempData.from, tempData.to);
-                    }
-
-                    tempRedo.pop();
-                }
-            }
-            else {
-
-                if (!tempData.isUpdate) {
-                    for (var i = 0; i < tempData.list.length; i++) {
-                        if (tempData.list[i].component_type == roadmJSON.component_type)
-                            data.nodes.remove(tempData.list[i]);
-                        else if (tempData.list[i].component_type == singleFiberJSON.component_type) {
-                            data.edges.remove(tempData.list[i]);
-                            nodeValidationInEdge(tempData.list[i].from, tempData.list[i].to);
-                            multipleFiberService(tempData.list[i].from, tempData.list[i].to);
-                        }
-                    }
-                }
-                else {
-                    for (var i = 0; i < tempData.preList.length; i++) {
-                        if (tempData.preList[i].component_type == roadmJSON.component_type) {
-                            for (var j = 0; j < tempData.list.length; j++) {
-                                if (tempData.list[j].id == tempData.preList[i].id) {
-                                    data.nodes.update(tempData.list[i]);
-                                    break;
-                                }
-                            }
-                        }
-                        else if (tempData.preList[i].component_type == singleFiberJSON.component_type) {
-                            for (var j = 0; j < tempData.list.length; j++) {
-                                if (tempData.list[j].id == tempData.preList[i].id) {
-                                    data.edges.update(tempData.list[i]);
-                                    nodeValidationInEdge(tempData.list[i].from, tempData.list[i].to);
-                                    multipleFiberService(tempData.list[i].from, tempData.list[i].to);
-                                    break;
-                                }
-                            }
-                        }
-                    }
-                }
-                tempUndo.push(tempData);
-                tempRedo.pop();
-            }
-
-        }
-
-        remove_NodeFiberHighlight();
-
-        $(btnAddRoadm).removeClass('highlight');
-        $(btnAddFused).removeClass('highlight');
-        $(btnAddILA).removeClass('highlight');
-        $(btnAddAmplifier).removeClass('highlight');
-        $(btnAddTransceiver).removeClass('highlight')
-        nodeMode = 0;
-        enableEdgeIndicator();
-
-    });
-    $("#showHideEle").on("click", function () {
-        hideEdgeLabels();
-        enableEdgeIndicator();
-        if (nodeMode == nodeType.ROADM || nodeMode == nodeType.ILA || nodeMode == nodeType.Attenuator || nodeMode == nodeType.Transceiver || nodeMode == nodeType.Amplifier || nodeMode == nodeType.RamanAmplifier)
-            network.addNodeMode();
-    });
-    $("#hoverDiv").mouseover(function () {
-        $(this).hide();
-    });
-    $("#stepCreateTopology").click(function () {
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        $("#edit-topology").show();
-        $("#add-service").hide();
-    });
-    $("#stepAddService").click(function () {
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        $("#edit-topology").hide();
-        $("#add-service").show();
-    });
-    $("#stepSaveNetwork").click(function () {
-        $("#edit-topology").hide();
-        $("#add-service").hide();
-    });
-    $("#ddlNetworkView").change(function () {
-        networkView($(this).val());
-    });
-    $('#btn_CreateNetwork').click(function () {
-        $('#divSelection').hide();
-        $("#stepCreateTopology").click();
-    });
-    $('#cbxSingleFiber').change(function () {
-        if (this.checked) {
-            //alert();
-        }
-    });
-});
-
-/**
- * Network view changes by selection. 
- * Show/Hid the some components menu and options based on selected network view.
- * @param {number} view - 1 -> NE view, 2-> Functional view.
- */
-function networkView(view) {
-    if (view == topologyView.NE_View)//collapsed view /NE view
-    {
-        networkMenuHide();
-        $("#btnAddSingleFiber").hide();
-        $("#btnAddSinglePatch").hide();
-        $("#btnAddRamAmp").hide();
-        $("#btnAddAmplifier").hide();
-
-        $("#btnAddILA").show();
-        $("#btnAddDualFiber").show();
-        //$("#btnAddDualPatch").show();
-        //isExpandedView = false;
-
-        //if (isImportJSON) {
-        //    $("#edit-topology").hide();
-        //    $("#add-service").hide();
-        //}
-        expandAndCollapseView(topologyView.NE_View);
-    }
-    else if (view == topologyView.Functional_View)//expanded view/Functional View
-    {
-        networkMenuHide();
-        $("#btnAddSingleFiber").show();
-        $("#btnAddSinglePatch").show();
-        $("#btnAddRamAmp").show();
-        $("#btnAddAmplifier").show();
-
-        $("#btnAddILA").hide();
-        $("#btnAddDualFiber").hide();
-        //$("#btnAddDualPatch").hide();
-        //if (isImportJSON) {
-        //$("#edit-topology").hide();
-        //$("#add-service").hide();
-        //isExpandedView = true;
-
-        //disabled temp - increase performance in import json
-        //expandAndCollapseView(topologyView.Functional_View);
-
-        //}
-        //else {
-        //    isExpandedView = false;
-        //    expandAndCollapseView(false);
-        //}
-    }
-}
-
-/**
- * Show/Hide the node/fiber/patch/service label by network view.
- * @param {number} view - 1 -> NE view, 2-> Functional view.
- */
-function expandAndCollapseView(view) {
-    var FVEdges = network.body.data.edges.get({
-        filter: function (item) {
-            return (item.view == topologyView.Functional_View);
-        }
-    });
-    var FVNodes = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.view == topologyView.Functional_View);
-        }
-    });
-    var NVEdges = network.body.data.edges.get({
-        filter: function (item) {
-            return (item.view == topologyView.NE_View);
-        }
-    });
-    var NVNodes = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.view == topologyView.NE_View);
-        }
-    });
-    if (view == topologyView.Functional_View) {
-        $.each(FVEdges, function (index, item) {
-            network.body.data.edges.update({
-                id: item.id, hidden: false
-            });
-        });
-        $.each(FVNodes, function (index, item) {
-            network.body.data.nodes.update({
-                id: item.id, hidden: false
-            });
-        });
-
-        $.each(NVEdges, function (index, item) {
-            network.body.data.edges.update({
-                id: item.id, hidden: true
-            });
-        });
-        $.each(NVNodes, function (index, item) {
-            network.body.data.nodes.update({
-                id: item.id, hidden: true
-            });
-        });
-
-
-    }
-    else if (view == topologyView.NE_View) {
-        $.each(FVEdges, function (index, item) {
-            network.body.data.edges.update({
-                id: item.id, hidden: true
-            });
-        });
-        $.each(FVNodes, function (index, item) {
-            network.body.data.nodes.update({
-                id: item.id, hidden: true
-            });
-        });
-
-        $.each(NVEdges, function (index, item) {
-            network.body.data.edges.update({
-                id: item.id, hidden: false
-            });
-        });
-        $.each(NVNodes, function (index, item) {
-            network.body.data.nodes.update({
-                id: item.id, hidden: false
-            });
-        });
-    }
-}
-function networkMenuHide() {
-    if (currentStepper) {
-        if (currentStepper == "stepCreateTopology") {
-            showMenu = 1;
-            $("#stepCreateTopology").click();
-        }
-        else if (currentStepper == "stepAddService") {
-            showMenu = 2;
-            $("#stepAddService").click();
-        }
-    }
-    else {
-        showMenu = 1;
-        $("#stepCreateTopology").click();
-    }
-}
-/** This function is used to show/hide the nodes/fiber/patch/service labels except ROADM. 
- * Here we udpate the network options.
- * Update the model of edge and node color as transparent then set it to network options. 
- */
-
-function hideEdgeLabels() {
-    if (!displayEdgeLabels) {
-        // Apply options for hidden edge text
-        // This will override the existing options for text color
-        // This does not clear other options (e.g. node.color)
-        network.setOptions(hiddenEdgeTextOptions);
-        displayEdgeLabels = true;
-    } else {
-        // Apply standard options
-        options.physics = optionsJSON.physics;
-        network.setOptions(options);
-        displayEdgeLabels = false;
-    }
-    enableEdgeIndicator();
-}
-
-/**
- * Calculate the fiber span loss, length and coefficient.
- * @param {string} eleSL - The span length of fiber.
- * @param {string} eleLC - The loss coefficient of fiber.
- * @param {string} eleSpanLoss - The span loss of fiber.
- */
-function fiberLengthCal(eleSL, eleLC, eleSpanLoss) {
-    var spanLength = "#" + eleSL;
-    var lossCoefficient = "#" + eleLC;
-    var spanLoss = "#" + eleSpanLoss;
-    var span_length = parseFloat($(spanLength).val());
-    var loss_coefficient = parseFloat($(lossCoefficient).val());
-    $(spanLoss).val(span_length * loss_coefficient);
-}
-
-/**
- * Highlight/Un-Highlight the component menu by node mode and name.
- * @param {string} mode - Node mode.
- * @param {string} nodename - Node name.
- */
-function enableDisableNode(mode, nodename) {
-    if (nodeMode == mode) {
-        modeHighLight();
-        AddNodeMode();
-    }
-    else {
-        modeHighLight(nodename);
-        AddNodeMode(mode);
-    }
-}
-
-/**  Disable browser right click options. */
-$(document).bind("contextmenu", function (e) {
-    return false;
-});
-
-/** To create random text for token creation. */
-var rand = function () {
-    return Math.random().toString(36).substr(2); // remove `0.`
-};
-
-/** To generate token for component creation.
- * It will consider as component ID. */
-var token = function () {
-    return rand() + rand(); // to make it longer
-};
-
-/**
- * Initialize the vis.network,Data and options.
- * Define all component events.
- * @param {boolean} isImport - True -> Initialize while import network json file, False -> Initialize while page loading.
- */
-function draw(isImport) {
-    // create a network
-    var container = document.getElementById("mynetwork");
-    // create an array with nodes
-    nodes = new vis.DataSet([
-    ]);
-
-    // create an array with edges
-    edges = new vis.DataSet([
-
-    ]);
-    if (isImport) {
-        data = {
-            nodes: new vis.DataSet(importNodes),
-            edges: new vis.DataSet(importEdges)
-        }
-    }
-    else {
-        data = {
-            nodes: nodes,
-            edges: edges
-        }
-    }
-
-    var iteration = data.nodes.length + data.edges.length;
-    options = {
-        interaction: optionsJSON.interaction,
-        physics: {
-            stabilization: {
-                enabled: true,
-                iterations: 0,
-                updateInterval: 0,
-            },
-        },
-        edges: {
-            font: optionsJSON.edges.font,
-            smooth: optionsJSON.edges.smooth
-        },
-        nodes:
-        {
-            shape: roadmJSON.shape,
-            size: roadmJSON.size,
-            icon: roadmJSON.icon,
-            color: roadmJSON.color,
-            font: roadmJSON.font
-        },
-        manipulation: {
-            enabled: false,
-            addNode: function (data, callback) {
-                //if (isExpandedView || isImportJSON) {
-                //    return;
-                //}
-                if (nodeMode > 0 && nodeMode < 7) {
-                    addNodes(data, callback);
-                }
-            },
-            addEdge: function (data, callback) {
-                if (data.from == data.to)
-                    return;
-
-                if (isSingleFiberMode == 1 || isSingleFiberMode == 1) {
-                    addEdgeData = {
-                        from: data.from,
-                        to: data.to
-                    };
-                    addFiber();
-                }
-                else if (isSinglePatchMode == 1 || isDualPatchMode == 1) {
-                    addPatchData = {
-                        from: data.from,
-                        to: data.to
-                    };
-                    if (isSinglePatchMode == 1)
-                        addSinglePatch();
-                    else if (isDualPatchMode == 1)
-                        addDualPatch();
-
-                }
-                else if (isAddService == 1) {
-                    addServiceData = {
-                        from: data.from,
-                        to: data.to
-                    };
-                    addService();
-                }
-            },
-        },
-    };
-    network = new vis.Network(container, data, options);
-
-    network.on("click", function (params) {
-        $("#hoverDiv").hide();
-        if (!params.event.srcEvent.ctrlKey)
-            remove_NodeFiberHighlight();
-        else {
-            var clickedNode = this.body.nodes[this.getNodeAt(params.pointer.DOM)];
-            if (clickedNode != undefined) {
-                var nodeDetails = network.body.data.nodes.get(clickedNode.id);
-                if (!nodeSelect) {
-                    if (!network.body.nodes[clickedNode.id].selected) {
-                        if (nodeDetails.h_image) {
-                            network.body.data.nodes.update({
-                                id: nodeDetails.id, image: nodeDetails.h_image, h_image: nodeDetails.image, is_highlight: false
-                            });
-                        }
-                    }
-                }
-            }
-
-        }
-        var sNodes = network.body.data.nodes.get({
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-
-        if (sNodes.length == 0)
-            network.unselectAll();
-        nodeSelect = false;
-
-    });
-
-    network.on("selectEdge", function (params) {
-        if (params.nodes.length > 0)
-            return;
-
-        var selectedEdges = network.body.data.edges.get({
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        var clickedEdge = this.body.edges[this.getEdgeAt(params.pointer.DOM)];
-        var edgeDetails = network.body.data.edges.get(clickedEdge.id);
-        var copyDetails;
-        if (params.event.srcEvent.ctrlKey) {
-
-            var sEdges = network.body.data.edges.get({
-                filter: function (item) {
-                    return (item.is_highlight == true);
-                }
-            });
-            if (params.edges.length > 1) {
-                if (sEdges.length > 0)
-                    copyDetails = network.body.data.edges.get(sEdges[0].id);
-                else
-                    copyDetails = network.body.data.edges.get(params.edges[params.edges.length - 1]);
-            } else {
-                copyDetails = network.body.data.edges.get(params.edges[0]);
-            }
-
-            if (selectedEdges.length >= 0) {
-                if (selectedEdges.length > 0 && selectedEdges[selectedEdges.length - 1].component_type != selectedEdges.component_type) {
-                    copyDetails = selectedEdges[selectedEdges.length - 1];
-
-                    if (copyDetails.component_type != edgeDetails.component_type) {
-                        showMessage(alertType.Error, 'Please select same type of element (Fiber)');
-                        return;
-                    }
-                    else {
-                        $('#toast').toast('hide');
-                    }
-                }
-                else {
-                    $('#toast').toast('hide');
-                }
-            }
-            if (params.event.srcEvent.ctrlKey) {
-                var shadow;
-                if (edgeDetails.component_type == singleFiberJSON.component_type) {
-                    var highlight = false;
-                    if (edgeDetails.shadow == singleFiberJSON.options.shadow) {
-                        shadow = [];
-                    }
-                    else {
-                        shadow = singleFiberJSON.options.shadow;
-                        highlight = true;
-                    }
-
-                    network.body.data.edges.update({
-                        id: edgeDetails.id, shadow: shadow, is_highlight: highlight
-                    });
-                }
-
-            }
-        }
-    });
-    network.on("selectNode", function (params) {
-        var hEdges = network.body.data.edges.get({
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-
-        if (hEdges.length > 0) {
-            showMessage(alertType.Error, 'Please select same type of element (Fiber)');
-            return;
-        }
-
-        var selectedNodes = network.body.data.nodes.get({
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        var clickedNode = this.body.nodes[this.getNodeAt(params.pointer.DOM)];
-        var nodeDetails = network.body.data.nodes.get(clickedNode.id);
-        var copyDetails;
-        if (isCopyPara || (!isCopyPara && params.event.srcEvent.ctrlKey)) {
-
-            if (isCopyPara)
-                copyDetails = network.body.data.nodes.get(copiedNodeID);
-            else {
-                var sNodes = network.body.data.nodes.get({
-                    filter: function (item) {
-                        return (item.is_highlight == true);
-                    }
-                });
-                if (params.nodes.length > 1) {
-                    if (sNodes.length > 0)
-                        copyDetails = network.body.data.nodes.get(sNodes[0].id);
-                    else
-                        copyDetails = network.body.data.nodes.get(params.nodes[params.nodes.length - 1]);
-                } else {
-                    copyDetails = network.body.data.nodes.get(params.nodes[0]);
-                }
-            }
-
-            type_name = copyDetails.node_type;
-            if (copyDetails.node_type == amplifierJSON.node_type) {
-                if (copyDetails.amp_category == ramanampJSON.amp_category)
-                    type_name = 'Raman Amplifier';
-                else
-                    type_name = copyDetails.amp_category;
-            }
-            else if (copyDetails.node_type == roadmJSON.node_type)
-                type_name = copyDetails.node_type.toUpperCase();
-            else if (copyDetails.node_type == fusedJSON.node_type)
-                type_name = "Attenuator";
-
-
-            if ((isCopyPara && selectedNodes.length == 0) || (isCopyPara && selectedNodes.length > 0)) {
-                if (isCopyPara && selectedNodes.length > 0 && selectedNodes[selectedNodes.length - 1].node_type != nodeDetails.node_type) {
-                    copyDetails = selectedNodes[selectedNodes.length - 1];
-                    type_name = copyDetails.node_type;
-                    if (copyDetails.node_type == amplifierJSON.node_type) {
-                        if (copyDetails.amp_category == ramanampJSON.amp_category)
-                            type_name = 'Raman Amplifier';
-                        else
-                            type_name = copyDetails.amp_category;
-                    }
-                    else if (copyDetails.node_type == roadmJSON.node_type)
-                        type_name = copyDetails.node_type.toUpperCase();
-                    else if (copyDetails.node_type == fusedJSON.node_type)
-                        type_name = "Attenuator";
-
-                    if (copyDetails.node_type != nodeDetails.node_type) {
-                        showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                        nodeSelect = true;
-                        return;
-
-                    }
-                    else {
-                        if (copyDetails.amp_category && nodeDetails.amp_category) {
-                            if (copyDetails.amp_category != nodeDetails.amp_category) {
-                                showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                                nodeSelect = true;
-                                return;
-                            }
-                            else {
-                                $('#toast').toast('hide');
-                            }
-
-                        }
-                        else
-                            $('#toast').toast('hide');
-                    }
-                }
-                else {
-                    if (isCopyPara && selectedNodes.length > 0 && selectedNodes[selectedNodes.length - 1].amp_category != nodeDetails.amp_category) {
-
-                        copyDetails = selectedNodes[selectedNodes.length - 1];
-                        type_name = copyDetails.node_type;
-                        if (copyDetails.node_type == amplifierJSON.node_type) {
-                            if (copyDetails.amp_category == ramanampJSON.amp_category)
-                                type_name = 'Raman Amplifier';
-                            else
-                                type_name = copyDetails.amp_category;
-                        }
-                        else if (copyDetails.node_type == roadmJSON.node_type)
-                            type_name = copyDetails.node_type.toUpperCase();
-                        else if (copyDetails.node_type == fusedJSON.node_type)
-                            type_name = "Attenuator";
-
-                        showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                        nodeSelect = true;
-                        return;
-                    }
-                    else
-                        $('#toast').toast('hide');
-                }
-
-            }
-            else {
-
-                if (copyDetails.node_type != nodeDetails.node_type) {
-                    showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                    nodeSelect = true;
-                    return;
-                }
-                else {
-                    if (copyDetails.amp_category && nodeDetails.amp_category) {
-                        if (copyDetails.amp_category != nodeDetails.amp_category) {
-                            showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                            nodeSelect = true;
-                            return;
-                        }
-                        else {
-                            $('#toast').toast('hide');
-                        }
-
-                    }
-                    else
-                        $('#toast').toast('hide');
-                }
-            }
-
-            if (params.event.srcEvent.ctrlKey) {
-                var image;
-                if (nodeDetails.node_type == roadmJSON.node_type) {
-                    if (nodeDetails.image == DIR + roadmJSON.h_image) {
-                        image = nodeDetails.h_image;
-                    }
-                    else {
-                        if (nodeDetails.image == DIR + roadmJSON.w_image)
-                            image = DIR + roadmJSON.h_image;
-                        else if (nodeDetails.image == DIR + roadmJSON.image)
-                            image = DIR + roadmJSON.fh_image;
-                    }
-                }
-                else if (nodeDetails.node_type == fusedJSON.node_type) {
-                    if (nodeDetails.image == DIR + fusedJSON.h_image) {
-                        image = nodeDetails.h_image;
-                    }
-                    else {
-                        if (nodeDetails.image == DIR + fusedJSON.w_image)
-                            image = DIR + fusedJSON.h_image;
-                        else if (nodeDetails.image == DIR + fusedJSON.image)
-                            image = DIR + fusedJSON.fh_image;
-                    }
-                }
-                else if (nodeDetails.node_type == transceiverJSON.node_type) {
-                    if (nodeDetails.image == DIR + transceiverJSON.h_image) {
-                        image = nodeDetails.h_image;
-                    }
-                    else {
-                        if (nodeDetails.image == DIR + transceiverJSON.w_image)
-                            image = DIR + transceiverJSON.h_image;
-                        else if (nodeDetails.image == DIR + transceiverJSON.image)
-                            image = DIR + transceiverJSON.fh_image;
-                    }
-                }
-                else if (nodeDetails.node_type == amplifierJSON.node_type) {
-                    if (nodeDetails.amp_category == amplifierJSON.amp_category) {
-                        if (nodeDetails.image == DIR + amplifierJSON.h_image) {
-                            image = nodeDetails.h_image;
-                        }
-                        else {
-                            if (nodeDetails.image == DIR + amplifierJSON.w_image)
-                                image = DIR + amplifierJSON.h_image;
-                            else if (nodeDetails.image == DIR + amplifierJSON.image)
-                                image = DIR + amplifierJSON.fh_image;
-                        }
-                    }
-                    else if (nodeDetails.amp_category == ramanampJSON.amp_category) {
-                        if (nodeDetails.image == DIR + ramanampJSON.h_image) {
-                            image = nodeDetails.h_image;
-                        }
-                        else {
-                            if (nodeDetails.image == DIR + ramanampJSON.w_image)
-                                image = DIR + ramanampJSON.h_image;
-                            else if (nodeDetails.image == DIR + ramanampJSON.image)
-                                image = DIR + ramanampJSON.fh_image;
-                        }
-                    }
-                }
-
-                if (image) {
-                    var highlight = true;
-                    if (image == DIR + roadmJSON.image || image == DIR + roadmJSON.w_image)
-                        highlight = false;
-                    else if (image == DIR + fusedJSON.image || image == DIR + fusedJSON.w_image)
-                        highlight = false;
-                    else if (image == DIR + transceiverJSON.image || image == DIR + transceiverJSON.w_image)
-                        highlight = false;
-                    else if (image == DIR + amplifierJSON.image || image == DIR + amplifierJSON.w_image)
-                        highlight = false;
-                    else if (image == DIR + ramanampJSON.image || image == DIR + ramanampJSON.w_image)
-                        highlight = false;
-
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: image, h_image: nodeDetails.image, is_highlight: highlight
-                    });
-                }
-
-                nodeSelect = true;
-            }
-            else {
-                nodeSelect = false;
-            }
-        }
-    });
-    network.on("oncontext", function (data, callback) {
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        //nodeMode = "";
-        var tempNodeType;
-        if (isCopyPara)
-            tempNodeType = network.body.data.nodes.get(copiedNodeID).node_type;
-
-        insertNodeX = data.pointer.canvas.x;
-        insertNodeY = data.pointer.canvas.y;
-        $("#hoverDiv").hide();
-        var nodeDatas = this.body.nodes[this.getNodeAt(data.pointer.DOM)];
-        var edgeDatas = this.body.edges[this.getEdgeAt(data.pointer.DOM)];
-        var nodeData = "";
-        var edgeData = "";
-        if (nodeDatas != undefined)
-            nodeData = nodeDatas.id;
-        if (edgeDatas != undefined)
-            edgeData = edgeDatas.id;
-
-        var sNodes = network.body.data.nodes.get({
-            fields: ['id'],
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-
-        var nodesArray = [];
-        if (data.nodes.length > 0 && sNodes.length > 0) {
-            nodesArray = sNodes;
-            //nodesArray.push(nodeData);
-        }
-        else if (nodeData != "")
-            nodesArray.push(nodeData);
-
-        var hEdges = network.body.data.edges.get({
-            fields: ['id'],
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-
-
-        var edgesArray = [];
-        if (hEdges.length > 0) {
-            edgesArray = hEdges;
-
-            if (!network.body.data.edges.get(edgeData).is_highlight)
-                edgesArray.push({ id: edgeData });
-
-        }
-        else if (nodeData == "" && edgeData != "") {
-            edgesArray.push({ id: edgeData });
-        }
-
-
-        var type = "";
-        var fiber_category = "";
-        var patch_category = "";
-        var amp_category = "";
-        if ((nodeData != '' && edgeData != '') || nodeData != '') {
-            type = network.body.data.nodes.get(nodeData).node_type;
-            amp_category = network.body.data.nodes.get(nodeData).amp_category;
-        }
-        else if (edgeData != '') {
-            type = network.body.data.edges.get(edgeData).component_type;
-            fiber_category = network.body.data.edges.get(edgeData).fiber_category;
-            patch_category = network.body.data.edges.get(edgeData).patch_category;
-        }
-        else {
-            if (showMenu == 1) {
-                if (isCopy) {
-                    showContextMenu(data.event.pageX, data.event.pageY, "pasteMenu");
-                }
-            }
-            return;
-        }
-
-        if (showMenu == 1) {
-            var copyDetails;
-            var type_name;
-            if ((isCopyPara || sNodes.length > 0) && hEdges.length == 0) {
-
-                if (isCopyPara) {
-                    if (sNodes.length > 0)
-                        copyDetails = network.body.data.nodes.get(sNodes[sNodes.length - 1].id);
-                    else {
-                        if (nodeDatas)
-                            copyDetails = network.body.data.nodes.get(nodeDatas.id);
-                    }
-
-                }
-                else
-                    copyDetails = network.body.data.nodes.get(sNodes[0].id);
-
-                if (copyDetails) {
-
-                    type_name = copyDetails.node_type;
-                    if (copyDetails.node_type == amplifierJSON.node_type) {
-                        if (copyDetails.amp_category == ramanampJSON.amp_category)
-                            type_name = 'Raman Amplifier';
-                        else
-                            type_name = copyDetails.amp_category;
-                    }
-                    else if (copyDetails.node_type == roadmJSON.node_type)
-                        type_name = copyDetails.node_type.toUpperCase();
-                    else if (copyDetails.node_type == fusedJSON.node_type)
-                        type_name = "Attenuator";
-
-
-                    if (type != copyDetails.node_type) {
-
-                        showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                        return;
-                    }
-                    else {
-                        if (type == copyDetails.node_type) {
-
-                            if (type == amplifierJSON.node_type && copyDetails.node_type == amplifierJSON.node_type) {
-                                if (amp_category != copyDetails.amp_category) {
-                                    showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                                    return;
-                                }
-                            }
-
-                            $('#toast').toast('hide');
-
-                        }
-                    }
-                }
-            }
-
-
-            if (edgesArray.length > 0) {
-                if (hEdges.length > 0)
-                    copyDetails = network.body.data.edges.get(hEdges[hEdges.length - 1].id);
-                else
-                    copyDetails = network.body.data.edges.get(edgeDatas.id);
-                if (type != copyDetails.component_type) {
-
-                    showMessage(alertType.Error, 'Please select same type of element (Fiber)');
-                    return;
-                }
-                else {
-                    $('#toast').toast('hide');
-                }
-
-            }
-        }
-
-        if (nodeDatas != undefined) {
-
-        }
-        if (!nodeDatas && edgeDatas != undefined) {
-            network.body.data.edges.update({
-                id: edgeDatas.id, shadow: singleFiberJSON.options.shadow, is_highlight: true
-            });
-
-        }
-
-        //to add only same type of node on multiple select
-        nodesArray = [];
-        if (data.nodes.length > 0 && sNodes.length > 0) {
-
-            for (var i = 0; i < sNodes.length; i++) {
-                if (network.body.data.nodes.get(sNodes[0].id).node_type == network.body.data.nodes.get(sNodes[i].id).node_type) {
-                    if ((network.body.data.nodes.get(sNodes[0].id).node_type == network.body.data.nodes.get(sNodes[i].id).node_type) && network.body.data.nodes.get(sNodes[0].id).node_type == amplifierJSON.node_type) {
-                        if (network.body.data.nodes.get(sNodes[0].id).amp_category == network.body.data.nodes.get(sNodes[i].id).amp_category)
-                            nodesArray.push(sNodes[i].id);
-
-                    }
-                    else
-                        nodesArray.push(sNodes[i].id);
-                }
-            }
-        }
-        else
-            nodesArray.push(nodeData);
-
-
-        if (type == serviceJSON.component_type) {
-            if (showMenu == 2)//enable service menu
-            {
-                if (edgeData != undefined) {
-
-                    showContextMenu(data.event.pageX, data.event.pageY, "serviceMenu");
-                    document.getElementById("rcServiceEdit").onclick = serviceEdit.bind(
-                        this,
-                        edgeData,
-                        callback
-                    );
-                    document.getElementById("rcServiceDelete").onclick = deleteService.bind(
-                        this,
-                        edgeData,
-                        callback
-                    );
-                }
-            }
-
-        }
-        else {
-            if (showMenu == 1)//2 enable node and fiber menus
-            {
-
-                if (type == roadmJSON.node_type || type == ILAJSON.node_type || type == fusedJSON.node_type || type == transceiverJSON.node_type)//node || amp ||fused||transceiver
-                {
-                    if (nodeData != undefined) {
-                        if (type == roadmJSON.node_type) {
-
-
-                            //$("#rcRoadmCopy").show();
-                            $("#rcRoadmApplyPro").hide();
-                            $("#rcRoadmCopyPara").show();
-                            $("#rcRoadmCancel").hide();
-
-                            if (nodesArray.length > 1 && sNodes.length > 1) {
-                                $("#rcRoadmCopy").hide();
-                                $("#rcRoadmCopyPara").hide();
-                            }
-                            else {
-                                $("#rcRoadmCopy").show();
-                                $("#rcRoadmCopyPara").show();
-                            }
-
-
-                            if (isCopyPara) {
-                                if (tempNodeType == type) {
-                                    $("#rcRoadmApplyPro").show();
-                                    $("#rcRoadmCancel").show();
-                                    $("#rcRoadmCopyPara").hide();
-                                }
-                            }
-
-                            showContextMenu(data.event.pageX, data.event.pageY, "roadmMenu");
-                            document.getElementById("rcRoadmEdit").onclick = roadmEdit.bind(
-                                this,
-                                nodesArray,
-                                callback
-
-                            );
-                            document.getElementById("rcRoadmDelete").onclick = deleteNode.bind(
-                                this,
-                                nodesArray,
-                                callback
-                            );
-                            document.getElementById("rcRoadmCopy").onclick = copyNode.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                            document.getElementById("rcRoadmCopyPara").onclick = copyNodeTemplate.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                            document.getElementById("rcRoadmApplyPro").onclick = applyTemplate.bind(
-                                this,
-                                nodesArray,
-                                callback
-
-                            );
-                            document.getElementById("rcRoadmCancel").onclick = cancelCopyTemplate.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-
-
-                        }
-                        else if (type == fusedJSON.node_type) {
-                            showContextMenu(data.event.pageX, data.event.pageY, "attenuatorMenu");
-
-                            if (nodesArray.length > 1 && sNodes.length > 1) {
-                                $("#rcAttenuatorCopy").hide();
-                            }
-                            else {
-                                $("#rcAttenuatorCopy").show();
-                            }
-
-                            document.getElementById("rcAttenuatorEdit").onclick = attenuatorEdit.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                            document.getElementById("rcAttenuatorDelete").onclick = deleteNode.bind(
-                                this,
-                                nodesArray,
-                                callback
-                            );
-                            document.getElementById("rcAttenuatorCopy").onclick = copyNode.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                        }
-                        else if (type == ILAJSON.node_type) {
-                            if (amp_category == ILAJSON.amp_category) {
-                                showContextMenu(data.event.pageX, data.event.pageY, "ILAMenu");
-                                document.getElementById("rcILAEdit").onclick = ILAEdit.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                                document.getElementById("rcILADelete").onclick = deleteNode.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-                                );
-                                document.getElementById("rcILACopy").onclick = copyNode.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                            }
-                            else if (amp_category == amplifierJSON.amp_category) {
-
-                                $("#rcAmplifierCopy").show();
-                                $("#rcAmplifierCopyPara").show();
-                                $("#rcAmpApplyPro").hide();
-                                $("#rcAmpCancel").hide();
-
-                                if (nodesArray.length > 1 && sNodes.length > 1) {
-                                    $("#rcAmplifierCopy").hide();
-                                    $("#rcAmplifierCopyPara").hide();
-                                }
-                                else {
-                                    $("#rcAmplifierCopy").show();
-                                    $("#rcAmplifierCopyPara").show();
-                                }
-
-                                if (isCopyPara) {
-                                    if (network.body.data.nodes.get(copiedNodeID).amp_category == amp_category) {
-                                        $("#rcAmpApplyPro").show();
-                                        $("#rcAmpCancel").show();
-                                        $("#rcAmplifierCopyPara").hide();
-                                    }
-
-                                }
-
-                                showContextMenu(data.event.pageX, data.event.pageY, "amplifierMenu");
-                                document.getElementById("rcAmplifierEdit").onclick = amplifierEdit.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-
-                                );
-                                document.getElementById("rcAmplifierDelete").onclick = deleteNode.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-                                );
-                                document.getElementById("rcAmplifierCopy").onclick = copyNode.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                                document.getElementById("rcAmplifierCopyPara").onclick = copyNodeTemplate.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                                document.getElementById("rcAmpApplyPro").onclick = applyTemplate.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-
-                                );
-                                document.getElementById("rcAmpCancel").onclick = cancelCopyTemplate.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                            }
-                            else if (amp_category == ramanampJSON.amp_category) {
-
-                                $("#rcRamanAmpCopy").show();
-                                $("#rcRamanAmpCopyPara").show();
-                                $("#rcRamanCancel").hide();
-                                $("#rcRamanApplyPro").hide();
-
-                                if (nodesArray.length > 1 && sNodes.length > 1) {
-                                    $("#rcRamanAmpCopy").hide();
-                                    $("#rcRamanAmpCopyPara").hide();
-                                }
-                                else {
-                                    $("#rcRamanAmpCopy").show();
-                                    $("#rcRamanAmpCopyPara").show();
-                                }
-
-                                if (isCopyPara) {
-                                    if (network.body.data.nodes.get(copiedNodeID).amp_category == amp_category) {
-                                        $("#rcRamanApplyPro").show();
-                                        $("#rcRamanCancel").show();
-                                        $("#rcRamanAmpCopyPara").hide();
-                                    }
-                                }
-
-                                showContextMenu(data.event.pageX, data.event.pageY, "ramanAmpMenu");
-                                document.getElementById("rcRamanAmpEdit").onclick = ramanAmpEdit.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-
-                                );
-                                document.getElementById("rcRamanAmpDelete").onclick = deleteNode.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-                                );
-                                document.getElementById("rcRamanAmpCopy").onclick = copyNode.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                                document.getElementById("rcRamanAmpCopyPara").onclick = copyNodeTemplate.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                                document.getElementById("rcRamanApplyPro").onclick = applyTemplate.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-
-                                );
-                                document.getElementById("rcRamanCancel").onclick = cancelCopyTemplate.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                            }
-                        }
-                        else if (type == transceiverJSON.node_type) {
-
-                            $("#rcTransceiverCopy").show();
-                            $("#rcTransceiverCopyPara").show();
-                            $("#rcTransApplyPro").hide();
-                            $("#rcTransCancel").hide();
-
-                            if (nodesArray.length > 1 && sNodes.length > 1) {
-                                $("#rcTransceiverCopy").hide();
-                                $("#rcTransceiverCopyPara").hide();
-                            }
-                            else {
-                                $("#rcTransceiverCopy").show();
-                                $("#rcTransceiverCopyPara").show();
-                            }
-                            if (isCopyPara) {
-                                if (tempNodeType == type) {
-                                    $("#rcTransApplyPro").show();
-                                    $("#rcTransCancel").show();
-                                    $("#rcTransceiverCopyPara").hide();
-                                }
-
-                            }
-                            showContextMenu(data.event.pageX, data.event.pageY, "transceiverMenu");
-                            document.getElementById("rcTransceiverEdit").onclick = transceiverEdit.bind(
-                                this,
-                                nodesArray,
-                                callback
-
-                            );
-                            document.getElementById("rcTransceiverDelete").onclick = deleteNode.bind(
-                                this,
-                                nodesArray,
-                                callback
-                            );
-                            document.getElementById("rcTransceiverCopy").onclick = copyNode.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                            document.getElementById("rcTransceiverCopyPara").onclick = copyNodeTemplate.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                            document.getElementById("rcTransApplyPro").onclick = applyTemplate.bind(
-                                this,
-                                nodesArray,
-                                callback
-
-                            );
-                            document.getElementById("rcTransCancel").onclick = cancelCopyTemplate.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                        }
-                    }
-                }
-                else if (type == dualFiberJSON.component_type) {
-
-                    if (edgeData != undefined) {
-                        if (fiber_category == dualFiberJSON.fiber_category) {
-                            if ($("#menuInserNode").text() == "-")
-                                $("#menuInserNode").click();
-                            showContextMenu(data.event.pageX, data.event.pageY, "dualFiberMenu");
-
-                            document.getElementById("rcDualInsertROADM").onclick = dualFiberInsertNode.bind(
-                                this,
-                                edgeData,
-                                'Roadm',
-                                callback
-                            );
-                            document.getElementById("rcDualInsertAttenuator").onclick = dualFiberInsertNode.bind(
-                                this,
-                                edgeData,
-                                'Fused',
-                                callback
-                            );
-                            document.getElementById("rcDualInsertILA").onclick = dualFiberInsertNode.bind(
-                                this,
-                                edgeData,
-                                'ILA',
-                                callback
-                            );
-                            document.getElementById("rcDualFiberEdit").onclick = dualFiberEdit.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                            document.getElementById("rcDualFiberDelete").onclick = deleteFiber.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                        }
-                        if (fiber_category == singleFiberJSON.fiber_category) {
-                            if ($("#menuSingleFiberInser").text() == "-")
-                                $("#menuSingleFiberInser").click();
-                            showContextMenu(data.event.pageX, data.event.pageY, "singleFiberMenu");
-
-                            $("#insertMenu").show();
-
-                            if (edgesArray.length > 1 && hEdges.length > 1) {
-                                $("#insertMenu").hide();
-                            }
-                            else {
-
-                            }
-
-                            document.getElementById("rcSingleInsertROADM").onclick = singleFiberInsertNode.bind(
-                                this,
-                                edgesArray[0].id,
-                                'Roadm',
-                                callback
-                            );
-                            document.getElementById("rcSingleInsertAttenuator").onclick = singleFiberInsertNode.bind(
-                                this,
-                                edgesArray[0].id,
-                                'Fused',
-                                callback
-                            );
-                            document.getElementById("rcSingleInsertAmplifier").onclick = singleFiberInsertNode.bind(
-                                this,
-                                edgesArray[0].id,
-                                'Amplifier',
-                                callback
-                            );
-                            document.getElementById("rcSingleInsertRamanAmp").onclick = singleFiberInsertNode.bind(
-                                this,
-                                edgesArray[0].id,
-                                'RamanAmplifier',
-                                callback
-                            );
-                            document.getElementById("rcSingleFiberEdit").onclick = singleFiberEdit.bind(
-                                this,
-                                edgesArray,
-                                callback
-                            );
-                            document.getElementById("rcSingleFiberDelete").onclick = deleteFiber.bind(
-                                this,
-                                edgesArray,
-                                callback
-                            );
-                        }
-                    }
-
-                }
-                else if (type == singlePatchJSON.component_type) {
-
-                    if (edgeData != undefined) {
-
-                        if (patch_category == singlePatchJSON.patch_category) {
-
-                            showContextMenu(data.event.pageX, data.event.pageY, "singlePatchMenu");
-                            document.getElementById("rcSinglePatchEdit").onclick = singlePatchEdit.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                            document.getElementById("rcSinglePatchDelete").onclick = deletePatch.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                        }
-                        if (patch_category == dualPatchJSON.patch_category) {
-                            showContextMenu(data.event.pageX, data.event.pageY, "dualPatchMenu");
-                            document.getElementById("rcDualPatchEdit").onclick = dualPatchEdit.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                            document.getElementById("rcDualPatchDelete").onclick = deletePatch.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                        }
-                    }
-                }
-            }
-        }
-
-        _nodesDB().remove();
-    });
-
-
-    network.on("hoverNode", function (params) {
-        try {
-            displayNodesHover(params);
-        }
-        catch (e) { }
-    });
-    network.on("blurNode", function (params) {
-        $('#hoverDiv').hide();
-    });
-    network.on("hoverEdge", function (params) {
-        try {
-            displayFiberHover(params);
-        }
-        catch (e) { }
-    });
-    network.on("blurEdge", function (params) {
-        $('#hoverDiv').hide();
-    });
-    network.on("stabilizationProgress", function (params) {
-        var widthFactor = params.iterations / params.total;
-        if (widthFactor > 0) {
-            document.getElementById("per").innerText =
-                Math.round(widthFactor * 100) + "%";
-        }
-        else
-            document.getElementById("per").innerText = "90%";
-    });
-    network.once("stabilizationIterationsDone", function () {
-        document.getElementById("per").innerText = "100%";
-        document.getElementById("loader").style.display = "none";
-        options.physics = false;
-        network.setOptions(options);
-        if (isImport) {
-            isImportJSON = true;
-            $("#ddlNetworkView").val(topologyView.Functional_View);
-            networkView(2);
-            $("#importEqpt").val('');
-            $('#divSelection').hide();
-            displayEdgeLabels = false;
-            hideEdgeLabels();
-            showMessage(alertType.Success, "JSON file loaded successfully");
-        }
-
-    });
-
-    if (!isImport) {
-        options.physics = false;
-        network.setOptions(options);
-        hideEdgeLabels();
-    }
-}
-
-/**
- * Create container element for display component details when hover mouse on it.
- * @param {string} html - Html elements.
- */
-function htmlTitle(html) {
-    const container = document.createElement("pre");
-    container.innerHTML = html;
-    container.style.background = commonJSON.background_color;
-    container.style.font = commonJSON.font;
-    container.style.padding = "5px";
-    container.style.margin = "0px";
-    container.style.border = commonJSON.border;
-    container.style.transition = "all 1s ease-in-out";
-    container.style.fontVariant = commonJSON.font_variant;
-    return container;
-}
-
-/**
- *Initiate the network initialize by the flag.
- * @param {boolean} isImport - True -> Initialize network while import network json file, False -> Will initialize while page loading.
- */
-
-function init(isImport) {
-    if (isImport) {
-        draw(isImport);
-    }
-    else {
-        setTimeout(function () {
-            draw(isImport);
-        }, 1000);
-    }
-}
-
-/**
- * Export/Save the network topology as a JSON file.
- * The JSON file data's are loaded from network dataset. like nodes, edges.
- * The schema of the JSON file will match the given JSON file like Equipment_JSON_MOD2.json.
- * @param {boolean} isSaveNetwork - True -> Save network topology, False -> Export network topology.
- */
-function exportNetwork(isSaveNetwork) {
-    var nodeList = [];
-    var edgeList = [];
-    var topologyArray = [];
-    var network_id = configData.project.network_id;
-
-    if (!eqpt_config['tip-photonic-simulation:simulation'] || !eqpt_config['tip-photonic-equipment:transceiver'] || !eqpt_config['tip-photonic-equipment:fiber'] || !eqpt_config['tip-photonic-equipment:amplifier']) {
-        showMessage(alertType.Error, "KeyError:'elements', try again");
-        return;
-    }
-    var elabel = "";
-    var ox;
-    var oy;
-    $.each(network.body.data.nodes.get(), function (index, item) {
-        ox = network.body.nodes[item.id].x;
-        oy = network.body.nodes[item.id].y;
-
-        if (item.node_type == transceiverJSON.node_type) {
-            var node = {
-                'node-id': item.label,
-                'tip-photonic-topology:transceiver': {
-                    "model": item.transceiver_type
-                },
-                metadata: {
-                    Positions: {
-                        'X-co-ordinate': ox,
-                        'Y-co-ordinate': oy,
-                        city: item.label,
-                        region: ""
-                    }
-                }
-            }
-            nodeList.push(node);
-        }
-        else if (item.node_type == roadmJSON.node_type) {
-            var node = {
-                'node-id': item.label,
-                'tip-photonic-topology:roadm': {
-                    "model": item.roadm_type
-                },
-                metadata: {
-                    Positions: {
-                        'X-co-ordinate': ox,
-                        'Y-co-ordinate': oy,
-                        city: item.label,
-                        region: ""
-                    }
-                }
-            }
-            nodeList.push(node);
-        }
-        else if (item.node_type == fusedJSON.node_type) {
-            var node = {
-                'node-id': item.label,
-                'tip-photonic-topology:attenuator': {
-                },
-                metadata: {
-                    Positions: {
-                        'X-co-ordinate': ox,
-                        'Y-co-ordinate': oy,
-                        city: item.label,
-                        region: ""
-                    }
-                }
-            }
-            nodeList.push(node);
-        }
-        else if (item.amp_category == amplifierJSON.amp_category) {
-            var node = {
-                'node-id': item.label,
-                'tip-photonic-topology:amplifier': {
-                    "model": item.amp_type ? item.amp_type : "",
-                    "gain-target": item.gain_target ? item.gain_target : "0.0",
-                    "tilt-target": item.tilt_target ? item.tilt_target : "0.0",
-                    "out-voa-target": item.out_voa_target ? item.out_voa_target : "0.0"
-                },
-                metadata: {
-                    Positions: {
-                        'X-co-ordinate': ox,
-                        'Y-co-ordinate': oy,
-                        city: item.label,
-                        region: ""
-                    }
-                }
-            }
-            nodeList.push(node);
-        }
-        else if (item.amp_category == ramanampJSON.amp_category) {
-            var node = {
-                'node-id': item.label,
-                'tip-photonic-topology:ramanamplifier': {
-                    'model': item.amp_type,
-                    'category': item.category
-                },
-                metadata: {
-                    Positions: {
-                        'X-co-ordinate': ox,
-                        'Y-co-ordinate': oy,
-                        city: item.label,
-                        region: ""
-                    }
-                }
-            }
-            nodeList.push(node);
-        }
-    });
-
-    $.each(network.body.data.edges.get(), function (index, item) {
-        var edge;
-        var fromLabel = network.body.data.nodes.get(item.from).label;
-        var toLabel = network.body.data.nodes.get(item.to).label;
-        if (item.label.trim() == "")
-            elabel = item.text;
-        else
-            elabel = item.label;
-        if (item.component_type == singleFiberJSON.component_type) {
-            edge = {
-                "link-id": elabel,
-                "source": {
-                    "source-node": fromLabel
-                },
-                "destination": {
-                    "dest-node": toLabel
-                },
-                "tip-photonic-topology:fiber": {
-                    "type": item.fiber_type,
-                    "length": item.span_length.toString(),
-                    "attenuation-in": "",
-                    "conn-att-in": item.connector_in,
-                    "conn-att-out": item.connector_out,
-                }
-            }
-            edgeList.push(edge);
-        }
-        else if (item.component_type == singlePatchJSON.component_type) {
-            edge = {
-                "link-id": elabel,
-                "source": {
-                    "source-node": fromLabel
-                },
-                "destination": {
-                    "dest-node": toLabel
-                },
-                "tip-photonic-topology:patch": {
-                }
-            }
-            edgeList.push(edge);
-        }
-        else if (item.component_type == serviceJSON.component_type) {
-            edge = {
-                "link-id": elabel,
-                "source": {
-                    "source-node": fromLabel
-                },
-                "destination": {
-                    "dest-node": toLabel
-                },
-                "tip-photonic-topology:service": {
-                    "band-width": item.band_width
-                }
-            }
-            edgeList.push(edge);
-        }
-
-    });
-
-    if (eqpt_config["ietf-network:networks"].network[0]["network-id"])
-        network_id = eqpt_config["ietf-network:networks"].network[0]["network-id"];
-
-    var topology = {
-        'network-id': network_id,
-        'network-types': {
-            'tip-photonic-topology:photonic-topology': {}
-        },
-        node: nodeList,
-        'ietf-network-topology:link': edgeList
-    }
-
-    var simData = eqpt_config['tip-photonic-simulation:simulation'];;
-    var simGrid = simData["grid"];
-    var simAD = simData["autodesign"];
-    var simSM = simData["system-margin"];
-    var simulationData = JSON.parse(sessionStorage.getItem("simulationParameters"));
-
-    simGrid["frequency-min"] = simulationData["frequency-min"];
-    simGrid["frequency-max"] = simulationData["frequency-max"];
-    simGrid["spacing"] = simulationData["spacing"];
-    simGrid["frequency-min"] = simulationData["frequency-min"];
-    simSM = simulationData["system-margin"];
-    var simPara = {
-        grid: simGrid,
-        autodesign: simAD,
-        'system-margin': simSM
-    }
-
-    topologyArray.push(topology);
-    var model = {
-        'tip-photonic-equipment:amplifier': eqpt_config['tip-photonic-equipment:amplifier'],
-        'tip-photonic-equipment:fiber': eqpt_config['tip-photonic-equipment:fiber'],
-        'tip-photonic-equipment:transceiver': eqpt_config['tip-photonic-equipment:transceiver'],
-        'tip-photonic-equipment:roadm': eqpt_config['tip-photonic-equipment:roadm'],
-        'tip-photonic-simulation:simulation': simPara,
-        'ietf-network:networks': {
-            'network': topologyArray
-        }
-    }
-    var exportValue = JSON.stringify(model, undefined, 2);
-    var filename = 'network.json';
-    if (!isSaveNetwork)
-        filename = $("#txtFileName").val() + ".json";
-
-    var blob = new Blob([exportValue], {
-        type: "text/plain;charset=utf-8"
-    });
-
-    saveAs(blob, filename);
-}
-
-/**  Hide the loader after completion of action. */
-function hideLoader() {
-    $('#loader').hide();
-    $("#importEqpt").val('');
-}
-
-/**
- * This function is used to load the equipment configuration data from the import json file.
- * @param {boolean} isFileUpload - True -> Load data from import network json, False -> Load data from default equipment configuration json.
- */
-function load_EqptConfig(isFileUpload) {
-    try {
-        if (!eqpt_config['tip-photonic-simulation:simulation'] || !eqpt_config['tip-photonic-equipment:transceiver'] || !eqpt_config['tip-photonic-equipment:fiber'] || !eqpt_config['tip-photonic-equipment:amplifier']) {
-            showMessage(alertType.Error, "KeyError:'equipment elements', try again");
-            hideLoader()
-            return;
-        }
-        else {
-            if (isFileUpload) {
-                _import_json = eqptData['ietf-network:networks'];
-                importNetwork();
-            }
-        }
-        $("#txtFrgMin").val('');
-        $("#txtFrqMax").val('');
-        $("#txtGridSpac").val('');
-        $("#txtNoOfChannel").val('');
-        $("#txtAgeingMargin").val('');
-
-        $('#ddlTransceiverType').empty();
-        $('#ddlFiberAType').empty();
-        $('#ddlFiberBType').empty();
-        $('#ddlSingleFiberType').empty();
-
-        $('#ddlPreAmpType').empty();
-        $('#ddlBoosterType').empty();
-        $('#ddlAmplifierType').empty();
-        $('#ddlRoadmType').empty();
-        if (eqpt_config['tip-photonic-simulation:simulation']) {
-            var simulationsData = eqpt_config['tip-photonic-simulation:simulation'];
-            var simulations = simulationsData["grid"];
-            saveSimulations(simulations["frequency-min"], simulations["frequency-max"], simulations.spacing, "40", simulationsData["system-margin"]);
-        }
-
-        if (eqpt_config['tip-photonic-equipment:transceiver']) {
-            $.each(eqpt_config['tip-photonic-equipment:transceiver'], function (index, item) {
-                $('#ddlTransceiverType').append('<option value="' + item.type + '">' + item.type + '</option>');
-            });
-        }
-        if (eqpt_config['tip-photonic-equipment:fiber']) {
-            $.each(eqpt_config['tip-photonic-equipment:fiber'], function (index, item) {
-                $('#ddlFiberAType').append('<option value="' + item.type + '">' + item.type + '</option>');
-                $('#ddlFiberBType').append('<option value="' + item.type + '">' + item.type + '</option>');
-                $('#ddlSingleFiberType').append('<option value="' + item.type + '">' + item.type + '</option>');
-
-            });
-        }
-        if (eqpt_config["tip-photonic-equipment:roadm"]) {
-            $.each(eqpt_config["tip-photonic-equipment:roadm"], function (index, item) {
-                $("#ddlRoadmType").append('<option value="' + item.type + '">' + item.type + '</option>');
-            });
-        }
-
-        appendSinglePreAmpandBoosterType();
-    }
-    catch (e) {
-        console.log(e);
-        showMessage(alertType.Error, "KeyError:'elements', try again");
-        hideLoader();
-    }
-}
-function handleFileSelect(event) {
-    const reader = new FileReader()
-    reader.onload = handleFileLoad;
-    reader.readAsText(event.target.files[0])
-}
-function handleFileLoad(event) {
-    _import_json = event.target.result;
-    importNetwork();
-}
-
-/**
- * This function is used to load all nodes element data into dataset from import json file.
- * @param {number} index - Index number for get node details from import json.
- */
-function importNode(index) {
-    var nodeDetails = "";
-    var shape = "";
-    var color = "";
-    var image = "";
-    var nodeSize = 0;
-    var font = "";
-    var transceiver_type = "";
-    var amp_type = "";
-    var amp_category = "";
-    var pre_amp_type = "";
-    var booster_type = "";
-    var category = "";
-    var roadm_type = "";
-    //amplifier properties
-    var gain_target = "0.0"
-    var tilt_target = "0.0";
-    var out_voa_target = "0.0"
-    var x = getRandomNumberBetween(-230, 648);
-    var y = getRandomNumberBetween(-230, 648);
-
-    try {
-        if (_import_json["network"][0].node[index]["metadata"]["Positions"]["X-co-ordinate"])
-            x = _import_json["network"][0].node[index]["metadata"]["Positions"]["X-co-ordinate"];
-        else
-            x = getRandomNumberBetween(-230, 648);
-
-        if (_import_json["network"][0].node[index]["metadata"]["Positions"]["Y-co-ordinate"])
-            y = _import_json["network"][0].node[index]["metadata"]["Positions"]["Y-co-ordinate"];
-        else
-            y = getRandomNumberBetween(-230, 648);
-    }
-    catch
-    {
-    }
-
-    var roadmData = _import_json["network"][0].node[index]['tip-photonic-topology:roadm'];
-    var attenuatorData = _import_json["network"][0].node[index]['tip-photonic-topology:attenuator'];
-    var transceiverData = _import_json["network"][0].node[index]['tip-photonic-topology:transceiver'];
-    var amplifierData = _import_json["network"][0].node[index]['tip-photonic-topology:amplifier'];
-    var ILAData = _import_json["network"][0].node[index]['tip-photonic-topology:ila'];
-    var ramanData = _import_json["network"][0].node[index]['tip-photonic-topology:ramanamplifier'];
-
-    if (roadmData) {
-
-        nodeDetails = configData.node[roadmJSON.node_type];
-        image = DIR + roadmJSON.image;
-        shape = roadmJSON.shape;
-        color = roadmJSON.color;
-        nodeSize = roadmJSON.size;
-        roadm_type = roadmData.model;
-        font = roadmJSON.font;
-
-    }
-    else if (transceiverData) {
-        nodeDetails = configData.node[transceiverJSON.node_type];
-        shape = transceiverJSON.shape;
-        color = transceiverJSON.color;
-        image = DIR + transceiverJSON.image;
-        transceiver_type = transceiverData.model;
-        nodeSize = transceiverJSON.size;
-
-    }
-    else if (attenuatorData) {
-
-        nodeDetails = configData.node[fusedJSON.node_type];
-        shape = fusedJSON.shape;
-        color = fusedJSON.color;
-        image = DIR + fusedJSON.image;
-        nodeSize = fusedJSON.size;
-    }
-    else if (amplifierData) {
-        nodeDetails = configData.node[amplifierJSON.amp_category];
-        shape = amplifierJSON.shape;
-        color = amplifierJSON.color;
-        image = DIR + amplifierJSON.image;
-        amp_type = amplifierData.model;
-        amp_category = nodeDetails.default.amp_category;
-        nodeSize = amplifierJSON.size;
-        gain_target = amplifierData['gain-target'];
-        tilt_target = amplifierData['tilt-target'];
-        out_voa_target = amplifierData['out-voa-target'];
-    }
-    else if (ILAData) {
-        nodeDetails = configData.node[ILAJSON.amp_category];
-        shape = ILAJSON.shape;
-        color = ILAJSON.color;
-        image = DIR + ILAJSON.image;
-        pre_amp_type = ILAData.model;
-        booster_type = ILAData.model;
-        amp_category = nodeDetails.default.amp_category;
-        nodeSize = ILAJSON.size;
-    }
-    else if (ramanData) {
-        nodeDetails = configData.node[ramanampJSON.amp_category];
-        shape = ramanampJSON.shape;
-        color = ramanampJSON.color;
-        image = DIR + ramanampJSON.image;
-        amp_type = ramanData.model;
-        category = ramanData.category;
-        amp_category = nodeDetails.default.amp_category;
-        nodeSize = ramanampJSON.size;
-    }
-    else
-        return;
-
-    var result = nodeName(nodeDetails.default.node_type, nodeDetails.default.amp_category);
-    var number = result.nodelength;
-
-    var label = _import_json["network"][0].node[index]["node-id"];
-    var nodeID = label;
-
-    try {
-        if (_import_json["network"][0].node[index]["metadata"].location.city) {
-            label = _import_json["network"][0].node[index]["metadata"].location.city;
-        }
-    }
-    catch { }
-
-    var node_type = nodeDetails.default.node_type;
-    var node_degree = nodeDetails.default.node_degree;
-    var component_type = roadmJSON.component_type;
-
-    importNodes.push({
-        id: nodeID,
-        label: label,
-        x: x, y: y, image: image, number: number,
-        view: topologyView.Functional_View, hidden: false,
-        shape: shape, color: color, size: nodeSize,
-        font: font,
-        node_type: node_type, node_degree: node_degree, component_type: component_type,
-        roadm_type_pro: [],
-        transceiver_type: transceiver_type,//transceiver
-        amp_type: amp_type,//amplifier
-        gain_target: gain_target,
-        tilt_target: tilt_target,
-        out_voa_target: out_voa_target,//end amplifier
-        roadm_type: roadm_type, category: category,
-        pre_amp_type: pre_amp_type, booster_type: booster_type, amp_category: amp_category//ILA
-
-    });
-
-}
-
-/**
- * This function is used to load all fiber/patch/service element data into dataset from import json file.
- * @param {number} index - Index number for get edge details from import json.
- */
-function importEdge(index) {
-    var edgeData = _import_json["network"][0]['ietf-network-topology:link'][index];
-    var to = edgeData["destination"]["dest-node"];
-    var from = edgeData["source"]["source-node"];
-    if (edgeData["tip-photonic-topology:fiber"]) {
-        tSpanLengh = "";
-        tType = "";
-        tConnector_in = "";
-        tConnector_out = "";
-        isSingleFiberMode = 1;
-        isDualFiberMode = 0;
-        var labelvalue = edgeData["link-id"];
-        var textvalue = labelvalue;
-        tType = edgeData["tip-photonic-topology:fiber"].type;
-        tSpanLength = edgeData["tip-photonic-topology:fiber"].length;
-        tConnector_in = edgeData["tip-photonic-topology:fiber"]["conn-att-in"];
-        tConnector_out = edgeData["tip-photonic-topology:fiber"]["conn-att-out"];
-        addFiberComponent(1, from, to, labelvalue, textvalue, true);
-    }
-    if (edgeData["tip-photonic-topology:patch"]) {
-        isSinglePatchMode = 1;
-        isDualPatchMode = 0;
-        var labelvalue = edgeData["link-id"];
-        var textvalue = labelvalue;
-        addPatchComponent(1, from, to, labelvalue, textvalue, true);
-    }
-    if (edgeData["tip-photonic-topology:service"]) {
-        isSinglePatchMode = 0;
-        isDualPatchMode = 0;
-        isAddService = 1;
-        var labelvalue = edgeData["link-id"];
-        var textvalue = labelvalue;
-        tBandwidth = edgeData["tip-photonic-topology:service"]["band-width"];
-        addServiceComponent(1, from, to, labelvalue, textvalue, true);
-    }
-}
-
-/**
- * Get random point to displays node if not available lat, long in import network json file.
- * @param {number} min - Minimum of random number.
- * @param {number} max - Maximum of random number.
- */
-function getRandomNumberBetween(min, max) {
-    return Math.floor(Math.random() * (max - min + 1) + min);
-}
-
-/** This is used to load the network component data from import network json file. */
-function importNetwork() {
-    try {
-        importNodes = [];
-        importEdges = [];
-        var networkData = _import_json["network"][0].node;
-        $.each(networkData, function (index, item) {
-            importNode(index);
-        });
-
-        fiberSmooth = fiberJSON.options.smooth;
-        var fiber_config = configData[singleFiberJSON.fiber_category.replace(' ', '')].default;
-        var edgeData = _import_json["network"][0]['ietf-network-topology:link'];
-
-        $.each(edgeData, function (index, item) {
-            if (item["tip-photonic-topology:fiber"]) {
-                var labelvalue = item["link-id"];
-                fiber_Type = item["tip-photonic-topology:fiber"].type;
-                span_Length = item["tip-photonic-topology:fiber"].length;
-                connector_IN = item["tip-photonic-topology:fiber"]["conn-att-in"];
-                connector_OUT = item["tip-photonic-topology:fiber"]["conn-att-out"];
-                var loss_Coefficient = fiber_config.Loss_coefficient;;
-                span_Loss = parseFloat(span_Length * loss_Coefficient);
-                var tempColor;
-                if (fiber_Type == "" || parseFloat(span_Length) <= 0)
-                    tempColor = singleFiberJSON.options.w_color;
-                else
-                    tempColor = singleFiberJSON.options.color;
-                importEdges.push({
-                    id: token(), from: item['source']['source-node'], to: item['destination']['dest-node'], label: labelvalue, text: labelvalue,
-                    view: topologyView.Functional_View, hidden: false,
-                    dashes: singleFiberJSON.dashes,
-                    fiber_category: singleFiberJSON.fiber_category,
-                    component_type: singleFiberJSON.component_type,
-                    color: tempColor,
-                    width: singleFiberJSON.width,
-                    arrows: singleFiberJSON.options.arrows,
-                    smooth: fiberSmooth,
-                    fiber_type: fiber_Type, span_length: span_Length,
-                    loss_coefficient: loss_Coefficient, connector_in: connector_IN, connector_out: connector_OUT,
-                    span_loss: span_Loss,
-                });
-
-            }
-            else if (item["tip-photonic-topology:patch"]) {
-                var labelvalue = item["link-id"];
-                importEdges.push({
-                    id: token(), from: item['source']['source-node'], to: item['destination']['dest-node'], label: labelvalue, text: labelvalue,
-                    dashes: singlePatchJSON.dashes, width: singlePatchJSON.width,
-                    component_type: singlePatchJSON.component_type, patch_category: singlePatchJSON.patch_category,
-                    color: singlePatchJSON.options.color, background: singlePatchJSON.options.background,
-                    arrows: singlePatchJSON.options.arrows,
-                    smooth: singlePatchJSON.options.smooth,
-                    view: topologyView.Functional_View, hidden: false,
-                });
-            }
-            else if (item["tip-photonic-topology:service"]) {
-                var labelvalue = item["link-id"];
-                bandwidth = item["tip-photonic-topology:service"]["band-width"];
-                importEdges.push({
-                    id: token(), from: item['source']['source-node'], to: item['destination']['dest-node'], label: labelvalue, text: labelvalue,
-                    dashes: serviceJSON.dashes, width: serviceJSON.width,
-                    component_type: serviceJSON.component_type, color: serviceJSON.options.color, background: serviceJSON.options.background,
-                    arrows: serviceJSON.options.arrows,
-                    smooth: fiberSmooth,
-                    band_width: bandwidth
-                });
-            }
-        });
-    }
-    catch
-    {
-
-    }
-    draw(true);
-}
-
-/**
- * Loop through the node dataset and get some properties then store it into array list.
- * It is return node dataset.
- * @param {object} data - Dataset of node.
- */
-function getNodeData(data) {
-    data.forEach(function (elem, index, array) {
-        importNodes.push({
-            id: elem.id,
-            label: elem.label,
-            shape: elem.shape,
-            icon: elem.icon,
-            color: elem.color[0],
-            edges: elem.edges[0],
-            x: elem.x,
-            y: elem.y,
-            title: elem.title,
-            size: elem.size,
-            componentType: elem.componentType,
-            nodedegree: elem.nodedegree,
-            nodetype: elem.nodetype
-
-        });
-    });
-
-    return new vis.DataSet(importNodes);
-}
-
-/**
- * Get node details by ID.
- * @param {object} data - Node details.
- * @param {string} id - The ID of destination node component.
- */
-function getNodeById(data, id) {
-    for (var n = 0; n < data.length; n++) {
-        if (data[n].id == id) {
-            // double equals since id can be numeric or string
-            return data[n];
-        }
-    }
-
-    throw "cannot find id '" + id + "' in data";
-}
-
-/**
- * Loop through the edge dataset and assign some properties then store it into array list.
- * It is return edge dataset.
- * @param {object} data - Dataset of edge. edge like fiber/patch/service.
- */
-function getEdgeData(data) {
-
-    data.forEach(function (elem) {
-        // add the connection
-        var fontstyle = {
-            align: '' + elem.options[0].font[0].align + '',
-        }
-        var arrows = {
-            to: {
-                enabled: elem.options[0].arrows[0].to[0].enabled,
-                type: elem.options[0].arrows[0].to[0].type,
-            },
-            from: {
-                enabled: elem.options[0].arrows[0].from[0].enabled,
-                type: elem.options[0].arrows[0].from[0].type,
-            },
-        }
-
-        var smooth = {
-            enabled: elem.options[0].smooth[0].enabled,
-            type: elem.options[0].smooth[0].type,
-            roundness: elem.options[0].smooth[0].roundness,
-        }
-        importEdges.push({
-            id: elem.id,
-            from: elem.from,
-            to: elem.to,
-            dashes: elem.dashes,
-            label: elem.label,
-            font: fontstyle,
-            arrows: arrows,
-            smooth: smooth,
-            color: elem.options[0].color[0].color,
-            componentType: elem.componentType,
-        });
-
-    });
-
-    return new vis.DataSet(importEdges);
-}
-
-/** Save the network topology. */
-function SaveNetwork() {
-    exportNetwork(true);
-}
-
-/** Clear component selection. */
-function UnSelectAll() {
-    network.unselectAll();
-    remove_NodeFiberHighlight();
-}
-
-/** Capture network topology as image file. */
-function captureImage() {
-    network.fit();
-    html2canvas(document.querySelector("#mynetwork"), {
-        onrendered: function (canvas) {
-            var img = canvas.toDataURL();
-            $("#result-image").attr('src', img).show();
-
-            canvas.toBlob(function (blob) {
-                saveAs(blob, "NetworkPage.png");
-            });
-        }
-    });
-    return false;
-}
-
-/** Disable fiber/patch/service mode.
-  * Reteset the data values.
- */
-function disableFiberService() {
-
-    nodeMode = "";
-    isDualFiberMode = 0;
-    isSingleFiberMode = 0;
-    isAddService = 0;
-    isDualPatchMode = 0;
-    isSinglePatchMode = 0;
-    addEdgeData = {
-        from: '',
-        to: ''
-    };
-    addServiceData = {
-        from: '',
-        to: ''
-    };
-    addPatchData = {
-        from: '',
-        to: ''
-    };
-}
-
-/**
- * Check source and destination node have same connections.
- * @param {string} fromNode - Source node ID.
- * @param {string} toNode - Destination node ID.
- */
-function checkfiberconnection(fromNode, toNode) {
-    var edgesarr = network.body.data.edges.get();
-    var flag = false;
-    for (var i = 0; i < edgesarr.length; i++) {
-        if ((edgesarr[i].from == fromNode && edgesarr[i].to == toNode) || (edgesarr[i].from == toNode && edgesarr[i].to == fromNode)) {
-            flag = true;
-            return true;
-        }
-    }
-    return flag;
-}
-
-/**
- * This function is used to add multiple single fiber / patch and service between same set of nodes and re - arrange them one by one.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- */
-function multipleFiberService1(cfrom, cto) {
-
-    var connectedFiber = network.getConnectedEdges(cfrom);
-    var fromFiberCount = 0;
-    var toFiberCount = 0;
-    var fiberCount = 0;
-    var fiberSmooth;
-    $.each(connectedFiber, function (index, item) {
-        var fiberDetails = network.body.data.edges.get(item);
-        if (fiberDetails.fiber_category == dualFiberJSON.fiber_category || fiberDetails.fiber_category == singleFiberJSON.fiber_category || fiberDetails.component_type == serviceJSON.component_type || fiberDetails.component_type == dualPatchJSON.component_type) {
-            fiberSmooth = singleFiberJSON.options.smooth;
-            if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                fiberCount++;
-                if (fiberCount == 1) {
-                    fiberSmooth.roundness = "0." + fiberCount;
-                }
-                else {
-                    fromFiberCount++;
-                    fiberSmooth.roundness = "0." + fiberCount;
-                }
-            }
-            if (connectedFiber.length == 1) {
-                if (fiberDetails.from == cto && fiberDetails.to == cfrom) {
-                    fiberCount = 1;
-                    fiberSmooth.roundness = "0." + connectedFiber.length;
-                }
-            }
-        }
-    });
-
-    if (fiberCount > 0)
-        return fiberSmooth;
-    else
-        return fiberJSON.options.smooth;
-}
-
-/**
- * This function is used to add multiple single fiber / patch and service between same set of nodes and re - arrange them one by one.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- */
-function multipleFiberService(cfrom, cto) {
-    var connectedFiber = network.getConnectedEdges(cfrom);
-    connectedFiber.push(network.getConnectedEdges(cto));
-    var fromFiberCount = 0;
-    var toFiberCount = 0;
-    var fiberCount = 0;
-
-    $.each(connectedFiber, function (index, item) {
-        var fiberDetails = network.body.data.edges.get(item);
-        if (fiberDetails.fiber_category == dualFiberJSON.fiber_category || fiberDetails.fiber_category == singleFiberJSON.fiber_category || fiberDetails.component_type == serviceJSON.component_type || fiberDetails.component_type == dualPatchJSON.component_type) {
-            var fiberSmooth = singleFiberJSON.options.smooth;
-            if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                fiberCount++;
-
-                if (fiberCount == 1) {
-                    fiberSmooth = fiberJSON.options.smooth;
-                }
-                else {
-                    fromFiberCount++;
-                    fiberSmooth.roundness = "0." + fromFiberCount;
-                }
-                network.body.data.edges.update({
-                    id: fiberDetails.id, smooth: fiberSmooth
-
-                });
-            }
-            if (fiberDetails.from == cto && fiberDetails.to == cfrom) {
-                fiberCount++;
-                fiberSmooth.roundness = "0." + toFiberCount;
-                if (fiberCount == 1) {
-                    fiberSmooth = fiberJSON.options.smooth;
-                }
-                else {
-                    toFiberCount++;
-                    fiberSmooth.roundness = "0." + toFiberCount;
-                }
-                network.body.data.edges.update({
-                    id: fiberDetails.id, smooth: fiberSmooth
-
-                });
-
-            }
-        }
-    });
-}
-
-/**
- * Count fiber/patch and service connections between same set of node.
- * @param {number} isdualfiber - True -> Dual fiber connection count.
- * @param {number} issinglefiber - True -> Single fiber connection count.
- * @param {number} isservice - True - > Service connection count.
- * @param {number} ispatch - True -> Single patch connection count.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- */
-function countFiberService(isdualfiber, issinglefiber, isservice, ispatch, cfrom, cto) {
-    var conCount = 1;
-    var connectedFiber = network.getConnectedEdges(cfrom);
-    connectedFiber.push(network.getConnectedEdges(cto));
-    $.each(connectedFiber, function (index, item) {
-        var fiberDetails = network.body.data.edges.get(item);
-        if (isdualfiber) {
-            if (fiberDetails.fiber_category == dualFiberJSON.fiber_category) {
-                if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                    conCount++;
-                }
-            }
-        }
-        if (issinglefiber) {
-            if (fiberDetails.fiber_category == singleFiberJSON.fiber_category) {
-                if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                    conCount++;
-                }
-            }
-        }
-        if (isservice) {
-            if (fiberDetails.component_type == serviceJSON.component_type) {
-                if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                    conCount++;
-                }
-            }
-        }
-        if (ispatch) {
-            if (fiberDetails.component_type == dualPatchJSON.component_type) {
-                if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                    conCount++;
-                }
-            }
-        }
-    });
-    return conCount;
-}
-
-/**
- * Check node component have connection.
- * @param {string} from -Source node ID.
- * @param {string} to - Destination node ID .
- */
-function checkNodeConnection(from, to) {
-    var flag = false;
-    var fiberList = network.getConnectedEdges(from);
-    $.each(fiberList, function (index, item) {
-        var fiber = network.body.data.edges.get(item);
-        if ((fiber.from == from && fiber.to == to) || (fiber.from == to && fiber.to == from)) {
-            flag = true;
-            return;
-        }
-    });
-    return flag;
-}
-
-/**
- * Check node component have a service connection.
- * @param {string} from - Source node ID.
- * @param {string} to - Destination node ID.
- */
-function checkNodeServiceConnection(from, to) {
-    var flag = false;
-    var fiberList = network.getConnectedEdges(from);
-    $.each(fiberList, function (index, item) {
-
-        var fiber = network.body.data.edges.get(item);
-        if (fiber.component_type == serviceJSON.component_type) {
-            if ((fiber.from == from && fiber.to == to) || (fiber.from == to && fiber.to == from)) {
-                flag = true;
-                return;
-            }
-        }
-    });
-    return flag;
-}
-
-/**
- * Restriction to remove transceiver node connection(fiber/patch) while transceiver having service.
- * @param {number} from - Source node ID.
- * @param {number} to - Destination node ID.
- * @param {string} edgeType - The type of fiber/patch/service.
- */
-function checkFiberPatchServiceCon(from, to, edgeType) {
-    var isOk = false;
-    var nodeDetails = network.body.data.nodes.get(from);
-    var toNodeDetails = network.body.data.nodes.get(to);
-
-    var fromCount = 0;
-    var toCount = 0;
-
-    if (nodeDetails.node_type == transceiverJSON.node_type) {
-        var fromConnection = network.getConnectedEdges(from);
-        var isServiceCon = false;
-        $.each(fromConnection, function (index, item) {
-            var fiberDetails = network.body.data.edges.get(item);
-            if (fiberDetails.component_type == dualFiberJSON.component_type || fiberDetails.component_type == dualPatchJSON.component_type) {
-                fromCount++;
-            }
-            else if (fiberDetails.component_type == serviceJSON.component_type)
-                isServiceCon = true;
-        });
-
-        if (isServiceCon) {
-            if (fromCount == 1) {
-                showMessage(alertType.Error, 'Cannot remove ' + edgeType + ', ' + transceiverJSON.node_type + ' ' + transceiverJSON.component_type + ' - ' + nodeDetails.label + ' should have one ' + dualFiberJSON.component_type + '/' + dualPatchJSON.component_type + ' connection');
-                return true;
-            }
-        }
-    }
-
-    if (toNodeDetails.node_type == transceiverJSON.node_type) {
-        var toConnection = network.getConnectedEdges(to);
-        var isServiceCon = false;
-        $.each(toConnection, function (index, item) {
-            var fiberDetails = network.body.data.edges.get(item);
-            if (fiberDetails.component_type == dualFiberJSON.component_type || fiberDetails.component_type == dualPatchJSON.component_type) {
-                toCount++;
-            }
-            else if (fiberDetails.component_type == serviceJSON.component_type)
-                isServiceCon = true;
-        });
-
-        if (isServiceCon) {
-            if (toCount == 1) {
-                showMessage(alertType.Error, 'Cannot remove ' + edgeType + ', ' + transceiverJSON.node_type + ' ' + transceiverJSON.component_type + ' - ' + toNodeDetails.label + ' should have one ' + dualFiberJSON.component_type + '/' + dualPatchJSON.component_type + ' connection')
-                return true;
-            }
-        }
-    }
-
-    return isOk;
-}
-
-/**
- * Close context menu by menu ID.
- * @param {string} menuID - The ID of menu.
- */
-function closeMenu(menuID) {
-    document.getElementById(menuID).style.display = "none";
-    UnSelectAll();
-
-}
-
-/** Append node,preamp and booster type to dropdown input control. */
-function appendSinglePreAmpandBoosterType() {
-
-    if (eqpt_config['tip-photonic-equipment:amplifier']) {
-        $.each(eqpt_config['tip-photonic-equipment:amplifier'], function (index, item) {
-            $('#ddlPreAmpType').append('<option value="' + item.type + '">' + item.type + '</option>');
-            $('#ddlBoosterType').append('<option value="' + item.type + '">' + item.type + '</option>');
-            $('#ddlAmplifierType').append('<option value="' + item.type + '">' + item.type + '</option>');
-        });
-    }
-}
-
-/**
- * Append node, preamp, booster type for dynamically generate element.
- * @param {string} ddlID - The ID of dynamic input control. like dropdown.
- */
-function appendPreAmpandBoosterType(ddlID) {
-    var preAmpType = [];
-    var boosterType = [];
-    var ddlroadmtype = "#" + eleroadmtype + ddlID;
-    var ddlpreamptype = "#" + elepreamptype + ddlID;
-    var ddlboostertype = "#" + eleboostertype + ddlID;
-
-    if (eqpt_config["tip-photonic-equipment:amplifier"]) {
-        $.each(eqpt_config['tip-photonic-equipment:amplifier'], function (index, item) {
-            $(ddlpreamptype).append('<option value="' + item.type + '">' + item.type + '</option>');
-            $(ddlboostertype).append('<option value="' + item.type + '">' + item.type + '</option>');
-        });
-    }
-
-    if (eqpt_config["tip-photonic-equipment:roadm"]) {
-        $.each(eqpt_config["tip-photonic-equipment:roadm"], function (index, item) {
-            $(ddlroadmtype).append('<option value="' + item.type + '">' + item.type + '</option>');
-
-        });
-    }
-}
-
-/**
- * show context menu near by selected component.
- * @param {string} x - The point of selected component.
- * @param {string} y - The point of selected component.
- * @param {string} menu - Html element ID.
- */
-function showContextMenu(x, y, menu) {
-    showHideDrawerandMenu();
-    var windowHeight = $(window).height() / 2;
-    var windowWidth = $(window).width() / 2;
-    var element = "#" + menu;
-    if (y > windowHeight && x <= windowWidth) {
-        $(element).css("left", x);
-        $(element).css("bottom", $(window).height() - y);
-        $(element).css("right", "auto");
-        $(element).css("top", "auto");
-    } else if (y > windowHeight && x > windowWidth) {
-        //When user click on bottom-right part of window
-        $(element).css("right", $(window).width() - x);
-        $(element).css("bottom", $(window).height() - y);
-        $(element).css("left", "auto");
-        $(element).css("top", "auto");
-    } else if (y <= windowHeight && x <= windowWidth) {
-        //When user click on top-left part of window
-        $(element).css("left", x);
-        $(element).css("top", y);
-        $(element).css("right", "auto");
-        $(element).css("bottom", "auto");
-    } else {
-        //When user click on top-right part of window
-        $(element).css("right", $(window).width() - x);
-        $(element).css("top", y);
-        $(element).css("left", "auto");
-        $(element).css("bottom", "auto");
-    }
-    document.getElementById(menu).style.display = "block";
-}
-
-/**
- * Show the element for displays fiber, service and node components details when hover the mouse over on it.
- * @param {string} x - left side menu.
- * @param {string} y - bottom of the menu.
- * @param {string} menu - Element ID.
- */
-function showHoverDiv(x, y, menu) {
-
-    var windowHeight = $(window).height() / 2;
-    var windowWidth = $(window).width() / 2;
-    var element = "#" + menu;
-    if (y > windowHeight && x <= windowWidth) {
-        //Bottom-left part of window
-        $(element).css("left", x);
-        $(element).css("bottom", $(window).height() - y);
-        $(element).css("right", "auto");
-        $(element).css("top", "auto");
-    } else if (y > windowHeight && x > windowWidth) {
-        //Bottom-right part of window
-        $(element).css("right", $(window).width() - x);
-        $(element).css("bottom", $(window).height() - y);
-        $(element).css("left", "auto");
-        $(element).css("top", "auto");
-    } else if (y <= windowHeight && x <= windowWidth) {
-        //Top-left part of window
-        $(element).css("left", x);
-        $(element).css("top", y);
-        $(element).css("right", "auto");
-        $(element).css("bottom", "auto");
-    } else {
-        //Top-right part of window
-        $(element).css("right", $(window).width() - x);
-        $(element).css("top", y);
-        $(element).css("left", "auto");
-        $(element).css("bottom", "auto");
-    }
-    document.getElementById(menu).style.display = "block";
-}
-
-/** To check network topology have components. */
-function networkValidation() {
-    var flag = false;
-    if (network.body.data.nodes.get().length > 0 || network.body.data.edges.get().length > 0)
-        flag = true;
-    else {
-        showMessage(alertType.Info, 'Please create network topology');
-    }
-
-    return flag;
-}
-
-/**
- * To load ROADM component type to dropdown control.
- * @param {string} fiberID - The ID of fiber component.
- * @param {string} nodeID - The ID of node component.
- * @param {string} node_type - Type of ROADM component.
- * @param {string} appendElement - Html element for loading component type.
- */
-function loadRoadmType(fiberID, nodeID, node_type, appendElement) {
-    var appendDiv = "#" + appendElement
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    var roadmType = "";
-    if (fiberDetails.from == nodeID || fiberDetails.to == nodeID) {
-        $(appendDiv).show();
-        var connectedNodes = network.getConnectedNodes(fiberID);
-        if (fiberDetails.from == nodeID)
-            roadmType = node_type.toUpperCase() + "- [" + network.body.data.nodes.get(connectedNodes[0]).label + ' - ' + network.body.data.nodes.get(connectedNodes[1]).label + ' ]';
-        if (fiberDetails.to == nodeID)
-            roadmType = node_type.toUpperCase() + "- [" + network.body.data.nodes.get(connectedNodes[1]).label + ' - ' + network.body.data.nodes.get(connectedNodes[0]).label + ' ]';
-
-        var roadmAccordian = "";
-        roadmAccordian = "<div class='accordion-fiber'>";
-        roadmAccordian += "<p class='title m-0 f-s-17' id=" + fiberID + ">" + roadmType + "</p>";
-        roadmAccordian += "<span class='show-fiber'>+</span>"
-        roadmAccordian += "</div>";
-        roadmAccordian += "<div class='info-fiber'><div class='panel'>";
-
-        if (node_type == roadmJSON.node_type) {
-            roadmAccordian += generateAccordianEle("ROADM Type", eleroadmtype + fiberID);
-        }
-        roadmAccordian += generateAccordianEle("Amplifier A", elepreamptype + fiberID);
-        roadmAccordian += generateAccordianEle("Amplifier B", eleboostertype + fiberID);
-        roadmAccordian += "</div></div>";
-        $(appendDiv).append(roadmAccordian);
-        accordianFun();
-        appendPreAmpandBoosterType(fiberID);
-        getRoadmDetails(fiberID, node_type);
-    }
-}
-
-/**
- * Generate accordian and dropdown element for loading type.
- * @param {string} label - The label of component.
- * @param {string} ddlEleID - Dropdown element for loading component type.
- */
-function generateAccordianEle(label, ddlEleID) {
-    var eleHtml = "";
-    eleHtml += "<div class='form-group'>";
-    eleHtml += "<label class='f-s-17'>" + label + "</label>";
-    eleHtml += "<select id='" + ddlEleID + "' class='form-control'></select>";
-    eleHtml += "</div>";
-    return eleHtml;
-}
-
-/**
- * Get ROADM component details by fiber ID.
- * @param {string} fiberID - Fiber component ID.
- * @param {string} node_type - The type of component.
- */
-function getRoadmDetails(fiberID, node_type) {
-    if (_roadmListDB({ roadm_fiber_id: fiberID }).count() > 0) {
-        var roadmDetails = _roadmListDB({ roadm_fiber_id: fiberID }).first();
-        var lroadmtype = "#" + eleroadmtype + fiberID;
-        var lpreamptype = "#" + elepreamptype + fiberID;
-        var lboostertype = "#" + eleboostertype + fiberID;
-        if (node_type == roadmJSON.node_type) {
-            $(lroadmtype).val(roadmDetails.roadm_type);
-        }
-        $(lpreamptype).val(roadmDetails.pre_amp_type);
-        $(lboostertype).val(roadmDetails.booster_type);
-    }
-    else {
-        if (node_type == roadmJSON.node_type)
-            clearRoadm();
-        if (node_type == ILAJSON.amp_category)
-            clearILA();
-    }
-}
-
-/**
- * Get next level of fiber/patch/service label.
- * @param {string} from - Source node ID.
- * @param {string} to -  Destination node ID.
- * @param {string} component_type - The type of component.
- */
-function getLabel(from, to, component_type) {
-    var flabel;
-    var tlabel;
-
-    if (network.body.data.nodes.get(from).number)
-        flabel = network.body.data.nodes.get(from).number;
-    else
-        flabel = network.body.data.nodes.get(from).label;
-
-    if (network.body.data.nodes.get(to).number)
-        tlabel = network.body.data.nodes.get(to).number;
-    else
-        tlabel = network.body.data.nodes.get(to).label;
-
-    return component_type + " " + flabel + ' - ' + tlabel;
-}
-
-/**
- * This function is used to store simulation parameters in session storage as JSON format.
- * @param {number} fre_min - Frequency-max value.
- * @param {number} frq_max - Frequency-min value.
- * @param {number} spacing - Spacings.
- * @param {number} channel - Number of channels.
- * @param {number} margin - System margin.
- */
-function saveSimulations(fre_min, frq_max, spacing, channel, margin) {
-    var simulationPara = {
-        "frequency-min": fre_min,
-        "frequency-max": frq_max,
-        "spacing": spacing,
-        "noOfChannel": channel,
-        "system-margin": margin
-    }
-    sessionStorage.setItem("simulationParameters", JSON.stringify(simulationPara));
-}
-
-/**
- * This function is used to show alert message.
- * @param {string} messageType - Type of message.ex : Success/Info/Error/Warning.
- * @param {string} textmsg - Message content.
- * @param {boolean} removeTimeout - Set timeout for alert message.
- */
-function showMessage(messageType, textmsg, removeTimeout) {
-    $("#img_src").show();
-    switch (messageType) {
-        case alertType.Success:
-
-            $('#msg_content').html(textmsg);
-            $('#caption').text(Object.keys(alertType).find(key => alertType[key] === alertType.Success));
-            var successrc1 = "./Assets/img/success-toaster.svg";
-            $("#img_src").attr("src", successrc1);
-            $('#toast').removeClass("info-toast");
-            $('#toast').removeClass("danger-toast-error-listing");
-            $('#toast').removeClass("danger-toast");
-            $('#toast').removeClass("warning-toast");
-            $('#toast').addClass("success-toast");
-            clearAndSetTimeout(".success-toast");
-            break;
-        case alertType.Info:
-            $('#msg_content').html(textmsg);
-            $('#caption').text(Object.keys(alertType).find(key => alertType[key] === alertType.Info));
-            var infosrc = "./Assets/img/info-toaster.svg";
-            $("#img_src").attr("src", infosrc);
-            $('#toast').removeClass("success-toast");
-            $('#toast').removeClass("danger-toast-error-listing");
-            $('#toast').removeClass("danger-toast");
-            $('#toast').removeClass("warning-toast");
-            $('#toast').addClass("info-toast");
-            clearAndSetTimeout(".info-toast");
-            break;
-        case alertType.Error:
-            $('#msg_content').html(textmsg);
-            var dangersrc;
-            $('#toast').removeClass("success-toast");
-            $('#toast').removeClass("info-toast");
-            $('#toast').removeClass("warning-toast");
-            $('#toast').removeClass("danger-toast-error-listing");
-            $('#toast').removeClass("danger-toast");
-            dangersrc = "./Assets/img/error-toaster.svg";
-            $("#img_src").attr("src", dangersrc);
-            if (!removeTimeout) {
-                $('#caption').text(Object.keys(alertType).find(key => alertType[key] === alertType.Error));
-
-                $('#toast').addClass("danger-toast");
-                clearAndSetTimeout(".danger-toast", removeTimeout);
-            }
-            else {
-                $("#img_src").hide();
-                $('#caption').text('Messages');
-                //dangersrc = "./Assets/img/error-listing-icon.svg";
-                $('#toast').addClass("danger-toast-error-listing");
-                clearAndSetTimeout(".danger-toast-error-listing", removeTimeout);
-            }
-
-
-            break;
-        case alertType.Warning:
-            $('#msg_content').html(textmsg);
-            $('#caption').text(Object.keys(alertType).find(key => alertType[key] === alertType.Warning));
-            var warningsrc = "./Assets/img/warning-toaster.svg";
-            $("#img_src").attr("src", warningsrc);
-            $('#toast').removeClass("success-toast");
-            $('#toast').removeClass("info-toast");
-            $('#toast').removeClass("danger-toast-error-listing");
-            $('#toast').removeClass("danger-toast");
-            $('#toast').addClass("warning-toast");
-            clearAndSetTimeout(".warning-toast");
-            break;
-    }
-
-
-}
-
-/**
- * This function is used to set/remove time interval for alert message.
- * @param {number} targetEle - Target of toaster element like. Success/Warning/Error...
- * @param {number} removeTimeout - Remove the interval time for alert message .
- */
-function clearAndSetTimeout(targetEle, removeTimeout) {
-    const highestId = window.setTimeout(() => {
-        for (let i = highestId; i >= 0; i--) {
-            window.clearInterval(i);
-        }
-    }, 0);
-    $(targetEle).toast('show');
-    if (!removeTimeout) {
-        setTimeout(function () {
-            $(targetEle).toast('hide');
-        }, 6000);
-    }
-}
-
-/** To enable fiber/patch/service mode. */
-function enableEdgeIndicator() {
-    if (isDualFiberMode == 1 || isSingleFiberMode == 1 || isSinglePatchMode == 1 || isDualPatchMode == 1 || isAddService == 1)
-        network.addEdgeMode();
-}
-
-/**
- * This function is used to check the node link, mis-link, fiber properties and consolidate all error list.
- * @param {number} isTime - True -> remove time interval for error summary list.
- */
-function topologyValidation(isTime) {
-    //removeHighlight();
-    var flag = false;
-    var message = [];
-    var response = checkLink();
-    if (response.flag) {
-        flag = true
-        message.push("<span id=spanEven>" + response.message + "</span>");
-    }
-
-    response = checkMisLink();
-    if (response.flag) {
-        flag = true;
-        message.push("<span id=spanMisLink>" + response.message + "</span>");
-    }
-
-    response = checkFiberPro();
-    if (response.flag) {
-        flag = true;
-        message.push("<span id=spanTransForce>" + response.message + "</span>");
-    }
-
-    //response = checkTypeForce();
-    //if (response.flag) {
-    //    flag = true;
-    //    message.push("<span id=spanTransForce>" + response.message + "</span>");
-    //}
-
-    if (flag) {
-        showMessage(alertType.Error, message.join(' '), isTime);
-        //return;
-    }
-    return flag;
-}
-
-/**
- * Focus the error componets.
- * Focus the node/fiber/patch/service components by span error ID.
- * Update the components for highlight error component to set image, size, is_error, color properties by span error ID.
- * @param {string} ID - Node/Fiber ID.
- * @param {number} type - Component type.
- */
-function focusNodeFiber(ID, type) {
-    removeHighlight();
-    UnSelectAll();
-    if (type == 1) {
-        var image;
-        var scaleOption = { scale: 1.0 };
-        network.moveTo(scaleOption);
-        network.focus(ID);
-        image = "";
-        var nodeDetails = network.body.data.nodes.get(ID);
-        if (nodeDetails.node_type == roadmJSON.node_type)
-            image = roadmJSON.err_image;
-        else if (nodeDetails.node_type == fusedJSON.node_type)
-            image = fusedJSON.err_image;
-        else if (nodeDetails.node_type == transceiverJSON.node_type)
-            image = transceiverJSON.err_image;
-        else if (nodeDetails.amp_category == amplifierJSON.amp_category)
-            image = amplifierJSON.err_image;
-        else if (nodeDetails.amp_category == ramanampJSON.amp_category)
-            image = ramanampJSON.err_image;
-
-        network.body.data.nodes.update([{ id: ID, pre_image: nodeDetails.image, image: DIR + image, size: roadmJSON.err_size, is_error: true }]);
-    }
-    else if (type == 2) {
-        var edgeDetails = network.body.data.edges.get(ID);
-        var scaleOption = { scale: 1.0 };
-        network.moveTo(scaleOption);
-        network.focus(edgeDetails.from);
-        network.body.data.edges.update([{ id: ID, pre_color: edgeDetails.color, color: singleFiberJSON.options.err_color, is_error: true }]);
-    }
-}
-
-/** 
- * To remove focused error component highlight. 
- * Update node component to set image, size, is_error by focused component ID.
- * Update fiber/patch/service components to set color, is_error by focused component ID.
- */
-function removeHighlight() {
-
-    var errNodes = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.is_error == true);
-        }
-    });
-
-    for (var i = 0; i < errNodes.length; i++) {
-        var nodeDetails = errNodes[i];
-        network.body.data.nodes.update({
-            id: nodeDetails.id, image: nodeDetails.pre_image, size: roadmJSON.size, is_error: false
-        });
-    }
-
-    var errEdge = network.body.data.edges.get({
-        filter: function (item) {
-            return (item.is_error == true);
-        }
-    });
-    for (var i = 0; i < errEdge.length; i++) {
-        var edgeDetails = errEdge[i];
-        network.body.data.edges.update({
-            id: edgeDetails.id, color: edgeDetails.pre_color, is_error: false
-        });
-    }
-}
-
-/**
- * To remove span error element on error summary list.
- * @param {string} item - Node ID.
- * @param {boolean} transUpdate - True -> remove span error element for transceiver, False -> remove rest of span error.
- */
-function removeSpanInError(item, transUpdate) {
-
-    var image;
-    var nodeDetails = network.body.data.nodes.get(item);
-    if (nodeDetails.node_type == roadmJSON.node_type)
-        image = roadmJSON.image;
-    else if (nodeDetails.node_type == fusedJSON.node_type)
-        image = fusedJSON.image;
-    else if (nodeDetails.node_type == transceiverJSON.node_type)
-        image = transceiverJSON.image;
-    else if (nodeDetails.amp_category == amplifierJSON.amp_category)
-        image = amplifierJSON.image;
-    else if (nodeDetails.amp_category == ramanampJSON.amp_category)
-        image = ramanampJSON.image;
-
-    network.body.data.nodes.update({
-        id: nodeDetails.id, image: DIR + image, size: roadmJSON.size, is_error: false
-    });
-
-    var removeID;
-    if (transUpdate)
-        removeID = "#spanTF" + item.replace(/\s/g, '');
-    else
-        removeID = "#span" + item.replace(/\s/g, '');
-
-    $(removeID).remove();
-    checkErrorFree();
-}
-
-/** To clear summary error element if there is no any error. */
-function checkErrorFree() {
-    var roadmRule = $("#spanEven").find('p').length;
-    var linkRule = $("#spanMisLink").find('p').length;
-    var transForce = $("#spanTransForce").find('p').length;
-
-    if (roadmRule == 0)
-        $("#spanEven").empty();
-
-    if (linkRule == 0)
-        $("#spanMisLink").empty();
-
-    if (transForce == 0)
-        $("#spanTransForce").empty();
-
-    if (roadmRule == 0 && linkRule == 0 && transForce == 0) {
-        $("#toast").toast('hide');
-        network.moveTo({
-            position: prePosition,
-            scale: preScale,
-        });
-    }
-}
-
-/** 
- *  Realtime update of summary error list. 
- *  To do any action with component while error chec active on active, summary error list automatically update by component action.
- */
-function realUpdate() {
-    if ($("#div_toaster").is(":visible") && !$("#img_src").is(":visible")) {
-        $("#btnValidation").click();
-    }
-}
-
-/**
- * To reset component selection/highlight.
- * Get all highlighted components by is_highlight.
- * Update the node components to set is_highlight, image properties by selected component ID.
- * Update the fiber/patch/service components to set is_highlight, shadow properties by selected component ID.
- * */
-function remove_NodeFiberHighlight() {
-    var hNodes = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.is_highlight == true);
-        }
-    });
-
-    for (var i = 0; i < hNodes.length; i++) {
-        var nodeDetails = hNodes[i];
-        if (nodeDetails.node_type == roadmJSON.node_type) {
-            if (nodeDetails.image != DIR + roadmJSON.image) {
-                if (nodeDetails.h_image == DIR + roadmJSON.h_image) {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.image, h_image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-                else {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-            }
-            else {
-                network.body.data.nodes.update({
-                    id: nodeDetails.id, is_highlight: false
-                });
-            }
-        }
-        else if (nodeDetails.node_type == fusedJSON.node_type) {
-            if (nodeDetails.image != DIR + fusedJSON.image) {
-                if (nodeDetails.h_image == DIR + fusedJSON.h_image) {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.image, h_image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-                else {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-            }
-            else {
-                network.body.data.nodes.update({
-                    id: nodeDetails.id, is_highlight: false
-                });
-            }
-        }
-        else if (nodeDetails.node_type == transceiverJSON.node_type) {
-            if (nodeDetails.image != DIR + transceiverJSON.image) {
-                if (nodeDetails.h_image == DIR + transceiverJSON.h_image) {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.image, h_image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-                else {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-            }
-            else {
-                network.body.data.nodes.update({
-                    id: nodeDetails.id, is_highlight: false
-                });
-            }
-        }
-        else if (nodeDetails.node_type == amplifierJSON.node_type) {
-            if (nodeDetails.amp_category == amplifierJSON.amp_category) {
-                if (nodeDetails.image != DIR + amplifierJSON.image) {
-                    if (nodeDetails.h_image == DIR + amplifierJSON.h_image) {
-                        network.body.data.nodes.update({
-                            id: nodeDetails.id, image: nodeDetails.image, h_image: nodeDetails.h_image, is_highlight: false
-                        });
-                    }
-                    else {
-                        network.body.data.nodes.update({
-                            id: nodeDetails.id, image: nodeDetails.h_image, is_highlight: false
-                        });
-                    }
-                }
-                else {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, is_highlight: false
-                    });
-                }
-            }
-            else if (nodeDetails.amp_category == ramanampJSON.amp_category) {
-                if (nodeDetails.image != DIR + ramanampJSON.image) {
-                    if (nodeDetails.h_image == DIR + ramanampJSON.h_image) {
-                        network.body.data.nodes.update({
-                            id: nodeDetails.id, image: nodeDetails.image, h_image: nodeDetails.h_image, is_highlight: false
-                        });
-                    }
-                    else {
-                        network.body.data.nodes.update({
-                            id: nodeDetails.id, image: nodeDetails.h_image, is_highlight: false
-                        });
-                    }
-                }
-                else {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, is_highlight: false
-                    });
-                }
-            }
-        }
-
-    }
-
-    var hEdges = network.body.data.edges.get({
-        filter: function (item) {
-            return (item.is_highlight == true);
-        }
-    });
-    for (var i = 0; i < hEdges.length; i++) {
-        network.body.data.edges.update({
-            id: hEdges[i].id, shadow: [], is_highlight: false
-        });
-    }
-}
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 15:49:42 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/networkgraph_alea.js.html b/docs/networkgraph_alea.js.html deleted file mode 100644 index 201eccf..0000000 --- a/docs/networkgraph_alea.js.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - JSDoc: Source: networkgraph/alea.js - - - - - - - - - - -
- -

Source: networkgraph/alea.js

- - - - - - -
-
-

- /**
- * alea.js
- * Alea library is a pseudo-random number generator (PRNG).
- * @module alea
- */
-
-(function (root, factory) {
-    if (typeof exports === 'object') {
-        module.exports = factory();
-    } else if (typeof define === 'function' && define.amd) {
-        define(factory);
-    } else {
-        root.Alea = factory();
-    }
-}(this, function () {
-
-    'use strict';
-
-    // From http://baagoe.com/en/RandomMusings/javascript/
-
-    // importState to sync generator states
-    Alea.importState = function (i) {
-        var random = new Alea();
-        random.importState(i);
-        return random;
-    };
-
-    return Alea;
-
-    function Alea() {
-        return (function (args) {
-            // Johannes Baagøe <baagoe@baagoe.com>, 2010
-            var s0 = 0;
-            var s1 = 0;
-            var s2 = 0;
-            var c = 1;
-
-            if (args.length == 0) {
-                args = [+new Date];
-            }
-            var mash = Mash();
-            s0 = mash(' ');
-            s1 = mash(' ');
-            s2 = mash(' ');
-
-            for (var i = 0; i < args.length; i++) {
-                s0 -= mash(args[i]);
-                if (s0 < 0) {
-                    s0 += 1;
-                }
-                s1 -= mash(args[i]);
-                if (s1 < 0) {
-                    s1 += 1;
-                }
-                s2 -= mash(args[i]);
-                if (s2 < 0) {
-                    s2 += 1;
-                }
-            }
-            mash = null;
-
-            var random = function () {
-                var t = 2091639 * s0 + c * 2.3283064365386963e-10; // 2^-32
-                s0 = s1;
-                s1 = s2;
-                return s2 = t - (c = t | 0);
-            };
-            random.uint32 = function () {
-                return random() * 0x100000000; // 2^32
-            };
-            random.fract53 = function () {
-                return random() +
-                    (random() * 0x200000 | 0) * 1.1102230246251565e-16; // 2^-53
-            };
-            random.version = 'Alea 0.9';
-            random.args = args;
-
-            // my own additions to sync state between two generators
-            random.exportState = function () {
-                return [s0, s1, s2, c];
-            };
-            random.importState = function (i) {
-                s0 = +i[0] || 0;
-                s1 = +i[1] || 0;
-                s2 = +i[2] || 0;
-                c = +i[3] || 0;
-            };
-
-            return random;
-
-        }(Array.prototype.slice.call(arguments)));
-    }
-
-    function Mash() {
-        var n = 0xefc8249d;
-
-        var mash = function (data) {
-            data = data.toString();
-            for (var i = 0; i < data.length; i++) {
-                n += data.charCodeAt(i);
-                var h = 0.02519603282416938 * n;
-                n = h >>> 0;
-                h -= n;
-                h *= n;
-                n = h >>> 0;
-                h -= n;
-                n += h * 0x100000000; // 2^32
-            }
-            return (n >>> 0) * 2.3283064365386963e-10; // 2^-32
-        };
-
-        mash.version = 'Mash 0.9';
-        return mash;
-    }
-}));
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/networkgraph_constraints.js.html b/docs/networkgraph_constraints.js.html deleted file mode 100644 index 0c2494f..0000000 --- a/docs/networkgraph_constraints.js.html +++ /dev/null @@ -1,668 +0,0 @@ - - - - - JSDoc: Source: networkgraph/constraints.js - - - - - - - - - - -
- -

Source: networkgraph/constraints.js

- - - - - - -
-
-

- /**
- * constraints.js
- * The constraints library is a list of rules for components. It is defining the network topology validation.
- * @module constraints
- */
-
-
-/**
- * Check connections rules between nodes.
- * @param {string} from - Source node.
- * @param {string} to - Destination node.
- * @param {string} nodeType - Node type.
- */
-function nodeRule(from, to, nodeType) {
-    var fromConnections = network.getConnectedEdges(from);
-    var toConnections = network.getConnectedEdges(to);
-    var connections = [];
-    connections.push(fromConnections);
-
-    $.each(toConnections, function (index, item) {
-        connections.push(item);
-    });
-
-    var fromDetails = network.body.data.nodes.get(from);
-    var toDetails = network.body.data.nodes.get(to);
-
-    var message = "";
-    var flag = false;
-    var connectedNodes;
-    var fromType;
-    var toType;
-    //to check connection b/w roadm and amplifier
-    if ((fromDetails.node_type == roadmJSON.node_type && toDetails.node_type == nodeType) || (toDetails.node_type == roadmJSON.node_type && fromDetails.node_type == nodeType) || (fromDetails.node_type == transceiverJSON.node_type && toDetails.node_type == nodeType) || (toDetails.node_type == transceiverJSON.node_type && fromDetails.node_type == nodeType)) {
-        $.each(connections, function (index, item) {
-            connectedNodes = network.getConnectedNodes(item);
-            if (connectedNodes) {
-                if ((connectedNodes[0] == fromDetails.id && connectedNodes[1] == toDetails.id) || connectedNodes[1] == fromDetails.id && connectedNodes[0] == toDetails.id) {
-                    message = "We cannot add more than one " + singleFiberJSON.component_type + "/" + singlePatchJSON.component_type + " connection between " + fromDetails.label + " and " + toDetails.label;
-                    flag = true;
-                }
-            }
-        });
-    }
-
-    // to check connection b/w amplifier and amplifier
-    if (fromDetails.node_type == nodeType && toDetails.node_type == nodeType) {
-        $.each(connections, function (index, item) {
-            connectedNodes = network.getConnectedNodes(item);
-            if (connectedNodes) {
-                if ((connectedNodes[0] == fromDetails.id && connectedNodes[1] == toDetails.id) || connectedNodes[1] == fromDetails.id && connectedNodes[0] == toDetails.id) {
-                    message = "We cannot add more than one " + singleFiberJSON.component_type + "/" + singlePatchJSON.component_type + " connection between " + fromDetails.label + " and " + toDetails.label;
-                    flag = true;
-                }
-            }
-        });
-    }
-
-    var edgeDetails;
-    var nodetype;
-    if (!flag) {
-        message = "";
-        if (fromDetails.node_type == nodeType) {
-            if (fromConnections.length > 1) {
-                message = fromDetails.label + ' can only support 2 links, one outgoing, and one incoming. ';
-                flag = true;
-            }
-            else {
-                $.each(fromConnections, function (index, item) {
-                    edgeDetails = network.body.data.edges.get(item);
-                    if (edgeDetails.from == from) {
-                        message = 'Links wrongly connected. ';
-                        flag = true;
-                    }
-                });
-            }
-        }
-        if (toDetails.node_type == nodeType) {
-            if (toConnections.length > 1) {
-
-                if (message != "")
-                    message += "<br /> <br />" + toDetails.label + ' can only support 2 links, one outgoing, and one incoming';
-                else
-                    message += toDetails.label + ' can only support 2 links, one outgoing, and one incoming';
-                flag = true;
-            }
-            else {
-                $.each(toConnections, function (index, item) {
-                    edgeDetails = network.body.data.edges.get(item);
-                    if (edgeDetails.to == to) {
-                        message = 'Links wrongly connected. ';
-                        flag = true;
-                    }
-                });
-            }
-        }
-    }
-
-    return { message: message, flag: flag };
-}
-
-/** Check the ROADM, transceiver link and type rules. */
-function checkLink() {
-
-    var roadmList = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.node_type == roadmJSON.node_type || item.node_type == transceiverJSON.node_type);
-        }
-    });
-
-    var connectedEdges;
-    var fromCount = 0;
-    var toCount = 0;
-    var edgeDetails;
-    var message;
-    var flag = false;
-    var msg = [];
-    var tempEdge = [];
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item.id);
-
-        tempEdge = [];
-        $.each(connectedEdges, function (index, item1) {
-            if (network.body.data.edges.get(item1).component_type != serviceJSON.component_type)
-                tempEdge.push(item1);
-        });
-
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < tempEdge.length; i++) {
-            edgeDetails = network.body.data.edges.get(tempEdge[i]);
-            if (edgeDetails.from == item.id)
-                fromCount++;
-            else if (edgeDetails.to == item.id)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-            msg.push('<p class="focusNode" title="Click here to focus the node" id=\'span' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> must have an even number of links with an equal number of incoming and outgoing links.</p>');
-            flag = true;
-        }
-        if (item.node_type == transceiverJSON.node_type) {
-            if (!item.transceiver_type) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + transceiverJSON.node_type + ' type not entered by the user.</p>');
-                flag = true;
-            }
-        }
-        else if (item.node_type == roadmJSON.node_type) {
-            if (!item.roadm_type) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + roadmJSON.node_type.toUpperCase() + ' type not entered by the user.</p>');
-                flag = true;
-            }
-        }
-
-    });
-
-
-    //message = msg.join(' ') + " must have an even number of links with an equal number of incoming and outgoing links";
-    message = msg.join(' ');
-    return { message: message, flag: flag };
-}
-
-/** check the limits of amplifier, attenuator link rules. */
-function checkMisLink() {
-
-    var roadmList = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.node_type == amplifierJSON.node_type || item.node_type == fusedJSON.node_type);
-        }
-    });
-
-    var connectedEdges;
-    var message;
-    var flag = false;
-    var msg = [];
-    var tempEdge = [];
-    var fromCount;
-    var toCount;
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item.id);
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < connectedEdges.length; i++) {
-            edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-            if (edgeDetails.from == item.id)
-                fromCount++;
-            else if (edgeDetails.to == item.id)
-                toCount++;
-        }
-
-        //if (fromCount != toCount || (fromCount == 0 && toCount == 0) || fromCount > 1 || toCount > 1 ) {
-        //    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'span' + item.id.replace(/\s/g, '') + '\' onClick="focusNode(\'' + item.id + '\')"><img width="25" src="./Assets/img/error-listing-icon.svg"> One or more links to <b>' + item.label + '</b> is missing.</p>');
-        //    flag = true;
-        //}
-        if (connectedEdges.length <= 1) {
-            msg.push('<p class="focusNode" title="Click here to focus the node" id=\'span' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> One or more links to <b>' + item.label + '</b> is missing.</p>');
-            flag = true;
-        }
-        else if (connectedEdges.length > 1) {
-
-            if ((connectedEdges.length == 2 && fromCount == 2) || (connectedEdges.length == 2 && toCount == 2)) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'span' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"><b>' + item.label + '</b> cannot support 2 links of the same type, must have one incoming and one outgoing link</p>');
-                flag = true;
-            }
-            else if (fromCount != toCount || connectedEdges.length > 2) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'span' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"><b>' + item.label + '</b> cannot support more than 2 links</p>');
-                flag = true;
-            }
-        }
-
-        if (item.node_type == amplifierJSON.node_type) {
-            if (item.amp_category == amplifierJSON.amp_category) {
-                if (!item.amp_type) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + amplifierJSON.amp_category + ' type not entered by the user.</p>');
-                    flag = true;
-                }
-
-            }
-            else if (item.amp_category == ramanampJSON.amp_category) {
-                if (!item.amp_type) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - Raman amplifier type not entered by the user.</p>');
-                    flag = true;
-                }
-                if (!item.category) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - Raman amplifier category not entered by the user.</p>');
-                    flag = true;
-                }
-
-            }
-        }
-
-    });
-
-    message = msg.join(' ');
-    return { message: message, flag: flag };
-}
-
-/** To check the node type force rules. */
-function checkTypeForce() {
-
-    var transList = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.node_type == transceiverJSON.node_type || item.node_type == amplifierJSON.node_type || item.node_type == roadmJSON.node_type);
-        }
-    });
-
-    var message;
-    var msg = [];
-    var flag = false;
-    $.each(transList, function (index, item) {
-
-        if (item.node_type == transceiverJSON.node_type) {
-            if (!item.transceiver_type) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + transceiverJSON.node_type + ' type not entered by the user.</p>');
-                flag = true;
-            }
-        }
-        else if (item.node_type == roadmJSON.node_type) {
-            if (!item.roadm_type) {
-                msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + roadmJSON.node_type.toUpperCase() + ' type not entered by the user.</p>');
-                flag = true;
-            }
-        }
-        else if (item.node_type == amplifierJSON.node_type) {
-            if (item.amp_category == amplifierJSON.amp_category) {
-                if (!item.amp_type) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + amplifierJSON.amp_category + ' type not entered by the user.</p>');
-                    flag = true;
-                }
-
-            }
-            else if (item.amp_category == ramanampJSON.amp_category) {
-                if (!item.amp_type) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - Raman amplifier type not entered by the user.</p>');
-                    flag = true;
-                }
-                if (!item.category) {
-                    msg.push('<p class="focusNode" title="Click here to focus the node" id=\'spanTF' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',1)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - Raman amplifier category not entered by the user.</p>');
-                    flag = true;
-                }
-            }
-        }
-
-
-
-    });
-
-    message = msg.join(' ');
-    return { message: message, flag: flag };
-}
-
-/** check the fiber properties rules. */
-function checkFiberPro() {
-
-    var fiberList = network.body.data.edges.get({
-        filter: function (item) {
-            return (item.fiber_category == singleFiberJSON.fiber_category);
-        }
-    });
-
-    var message;
-    var msg = [];
-    var flag = false;
-    var spanlen;
-    var span_length;
-    $.each(fiberList, function (index, item) {
-        span_length = item.span_length;
-        spanlen = parseFloat(span_length);
-        if (item.fiber_type == "") {
-            msg.push('<p class="focusNode" title="Click here to focus the fiber" id=\'spanFP' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',2)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + singleFiberJSON.component_type + ' type not entered by the user.</p>');
-            flag = true;
-        }
-        if (isNaN(span_length) || spanlen <= 0 || span_length == "") {
-            msg.push('<p class="focusNode" title="Click here to focus the fiber" id=\'spanFP' + item.id.replace(/\s/g, '') + '\' onClick="focusNodeFiber(\'' + item.id + '\',2)"><img width="25" src="./Assets/img/error-listing-icon.svg"> <b>' + item.label + '</b> - ' + singleFiberJSON.component_type + ' length not entered by the user.</p>');
-            flag = true;
-        }
-
-    });
-
-    message = msg.join(' ');
-    return { message: message, flag: flag };
-}
-
-/** Check the node link and type rules on import network JSON file. */
-function nodeRuleOnImportJSON() {
-    //checkLink
-    var roadmList = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.node_type == roadmJSON.node_type || item.node_type == transceiverJSON.node_type);
-        }
-    });
-
-    var connectedEdges;
-    var fromCount = 0;
-    var toCount = 0;
-    var edgeDetails;
-    var tempEdge = [];
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item.id);
-        tempEdge = [];
-        $.each(connectedEdges, function (index, item1) {
-            if (network.body.data.edges.get(item1).component_type != serviceJSON.component_type)
-                tempEdge.push(item1);
-        });
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < tempEdge.length; i++) {
-            edgeDetails = network.body.data.edges.get(tempEdge[i]);
-            if (edgeDetails.from == item.id)
-                fromCount++;
-            else if (edgeDetails.to == item.id)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-            addNodeHighlight(item.id);
-        }
-        else {
-            if (item.node_type == transceiverJSON.node_type && item.transceiver_type == "") {
-                addNodeHighlight(item.id);
-            }
-            else if (item.node_type == roadmJSON.node_type && item.roadm_type == "") {
-                addNodeHighlight(item.id);
-            }
-        }
-
-    });
-
-    //checkMisLink
-
-    roadmList = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.node_type == amplifierJSON.node_type || item.node_type == fusedJSON.node_type);
-        }
-    });
-
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item.id);
-
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < connectedEdges.length; i++) {
-            edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-            if (edgeDetails.from == item.id)
-                fromCount++;
-            else if (edgeDetails.to == item.id)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0) || fromCount > 1 || toCount > 1) {
-            addNodeHighlight(item.id);
-        }
-        else {
-            if (item.node_type == amplifierJSON.node_type) {
-                if (item.amp_category == ramanampJSON.amp_category && item.amp_type == "" && !(item.category)) {
-                    addNodeHighlight(item.id);
-                }
-                else if (item.amp_category == amplifierJSON.amp_category && item.amp_type == "") {
-                    addNodeHighlight(item.id);
-                }
-            }
-
-        }
-    });
-}
-
-/** Set fiber/patch/service smooth while on import network JSON file. */
-function edgeStyleOnImportJSON() {
-    var edgeList = network.body.data.edges.get();
-    var cfrom;
-    var cto;
-    var fiberData = [];
-    for (var i = 0; i < edgeList.length; i++) {
-
-        cfrom = edgeList[i].from;
-        cto = edgeList[i].to;
-
-        var connectedFiber = network.getConnectedEdges(cfrom);
-        connectedFiber.push(network.getConnectedEdges(cto));
-        var fromFiberCount = 0;
-        var toFiberCount = 0;
-        var fiberCount = 0;
-
-        $.each(connectedFiber, function (index, item) {
-            var fiberDetails = network.body.data.edges.get(item);
-            if (fiberDetails.fiber_category == dualFiberJSON.fiber_category || fiberDetails.fiber_category == singleFiberJSON.fiber_category || fiberDetails.component_type == serviceJSON.component_type || fiberDetails.component_type == dualPatchJSON.component_type) {
-                var fiberSmooth = singleFiberJSON.options.smooth;
-                if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                    fiberCount++;
-
-                    if (fiberCount == 1) {
-                        fiberSmooth = fiberJSON.options.smooth;
-                    }
-                    else {
-                        fromFiberCount++;
-                        fiberSmooth.roundness = "0." + fromFiberCount;
-                    }
-                    network.body.data.edges.update({
-                        id: fiberDetails.id, smooth: fiberSmooth
-
-                    });
-                }
-                if (fiberDetails.from == cto && fiberDetails.to == cfrom) {
-                    fiberCount++;
-                    fiberSmooth.roundness = "0." + toFiberCount;
-                    if (fiberCount == 1) {
-                        fiberSmooth = fiberJSON.options.smooth;
-                    }
-                    else {
-                        toFiberCount++;
-                        fiberSmooth.roundness = "0." + toFiberCount;
-                    }
-                    network.body.data.edges.update({
-                        id: fiberDetails.id, smooth: fiberSmooth
-
-                    });
-                }
-            }
-        });
-
-    }
-}
-
-/**
- * Check the node connections and fiber/patch/service rules on import network JSON file.
- * @param {string} cfrom - Source node.
- * @param {string} cto - Destination node.
- */
-function nodeValidationInEdge(cfrom, cto) {
-    // start remove highlight once roadm have equal in/out conn
-    var roadmList = [];
-
-    if (network.body.data.nodes.get(cfrom).node_type == roadmJSON.node_type)
-        roadmList.push(cfrom);
-
-    if (network.body.data.nodes.get(cto).node_type == roadmJSON.node_type)
-        roadmList.push(cto);
-
-    var connectedEdges;
-    var fromCount = 0;
-    var toCount = 0;
-    var edgeDetails;
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item);
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < connectedEdges.length; i++) {
-            edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-            if (edgeDetails.from == item)
-                fromCount++;
-            else if (edgeDetails.to == item)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-            addNodeHighlight(item);
-        }
-        else {
-            if (network.body.data.nodes.get(item).roadm_type != "") {
-                removeSpanInError(item, true);
-                removeSpanInError(item);
-            }
-            else {
-                var removeID = "#span" + item.replace(/\s/g, '');
-                $(removeID).remove();
-            }
-
-        }
-
-    });
-    // end
-
-    //start mislink
-    roadmList = [];
-    if (network.body.data.nodes.get(cfrom).node_type == fusedJSON.node_type || network.body.data.nodes.get(cfrom).node_type == amplifierJSON.node_type)
-        roadmList.push(cfrom);
-
-    if (network.body.data.nodes.get(cto).node_type == fusedJSON.node_type || network.body.data.nodes.get(cto).node_type == amplifierJSON.node_type)
-        roadmList.push(cto);
-
-
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item);
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < connectedEdges.length; i++) {
-            edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-            if (edgeDetails.from == item)
-                fromCount++;
-            else if (edgeDetails.to == item)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0) || fromCount > 1 || toCount > 1) {
-            addNodeHighlight(item);
-        }
-        else {
-
-            if (network.body.data.nodes.get(item).node_type == amplifierJSON.node_type) {
-
-
-                if (network.body.data.nodes.get(item).amp_category == amplifierJSON.amp_category) {
-                    if (network.body.data.nodes.get(item).amp_type != "") {
-                        removeSpanInError(item, true);
-                        removeSpanInError(item);
-                    }
-                    else {
-                        var removeID = "#span" + item.replace(/\s/g, '');
-                        $(removeID).remove();
-                    }
-                }
-                else if (network.body.data.nodes.get(item).amp_category == ramanampJSON.amp_category) {
-                    if (network.body.data.nodes.get(item).amp_type != "" && (network.body.data.nodes.get(item).category)) {
-                        removeSpanInError(item, true);
-                        removeSpanInError(item);
-                    }
-                    else {
-                        var removeID = "#span" + item.replace(/\s/g, '');
-                        $(removeID).remove();
-                    }
-                }
-            }
-            else {
-                removeSpanInError(item);
-            }
-        }
-    });
-    //
-    // start remove highlight once transceiver have equal in/out conn
-    var tempEdge = [];
-    roadmList = [];
-    if (network.body.data.nodes.get(cfrom).node_type == transceiverJSON.node_type)
-        roadmList.push(cfrom);
-
-    if (network.body.data.nodes.get(cto).node_type == transceiverJSON.node_type)
-        roadmList.push(cto);
-
-    $.each(roadmList, function (index, item) {
-        connectedEdges = network.getConnectedEdges(item);
-        tempEdge = [];
-        $.each(connectedEdges, function (index, item1) {
-            if (network.body.data.edges.get(item1).component_type != serviceJSON.component_type)
-                tempEdge.push(item1);
-        });
-        fromCount = 0;
-        toCount = 0;
-        for (i = 0; i < tempEdge.length; i++) {
-            edgeDetails = network.body.data.edges.get(tempEdge[i]);
-            if (edgeDetails.from == item)
-                fromCount++;
-            else if (edgeDetails.to == item)
-                toCount++;
-        }
-
-        if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-            addNodeHighlight(item);
-        }
-        else {
-            //removeSpanInError(item);
-            if (network.body.data.nodes.get(item).transceiver_type != "") {
-                removeSpanInError(item, true);
-                removeSpanInError(item);
-            }
-            else {
-                var removeID = "#span" + item.replace(/\s/g, '');
-                $(removeID).remove();
-            }
-
-        }
-    });
-    // end
-
-    realUpdate();
-    checkErrorFree();
-
-    //end
-}
-
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/networkgraph_exampleUtil.js.html b/docs/networkgraph_exampleUtil.js.html deleted file mode 100644 index d447a7d..0000000 --- a/docs/networkgraph_exampleUtil.js.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - JSDoc: Source: networkgraph/exampleUtil.js - - - - - - - - - - -
- -

Source: networkgraph/exampleUtil.js

- - - - - - -
-
-
 /**
- * exampleUtil.js
- * This library describes how to create some random nodes and fiber/patch/service.
- * @module exampleUtil
- */
-
-// These globals will be injected into a page that will use them.
-/* eslint no-unused-vars: "off" */
-
-// This is quite old and I don't want to waste too much time here. We probably
-// should stop using this altogether as the examples should be easy and
-// straightforward to understand and this only obscures it.
-/* eslint require-jsdoc: "off" */
-
-/* global Alea:false seededRandom:true */
-
-/**
- * Created by Alex on 5/20/2015.
- *
- * @remarks
- * This depends on Alea from https://unpkg.com/alea@1.0.0/alea.js.
- */
-
-/**
- * @param path
- * @param success
- * @param error
- */
-function loadJSON(path, success, error) {
-    const xhr = new XMLHttpRequest();
-    xhr.onreadystatechange = function () {
-        if (xhr.readyState === 4) {
-            if (xhr.status === 200) {
-                success(JSON.parse(xhr.responseText));
-            } else {
-                error(xhr);
-            }
-        }
-    };
-    xhr.open("GET", path, true);
-    xhr.send();
-}
-
-/**
- * @param nodeCount
- */
-function getScaleFreeNetwork(nodeCount) {
-    const nodes = [];
-    const edges = [];
-    const connectionCount = [];
-   
-    // Add child nodes, change styles…
-    // randomly create some nodes and edges
-    for (let i = 0; i < nodeCount; i++) {
-        nodes.push({
-            id: i,
-            label: String(i),
-        });
-
-        connectionCount[i] = 0;
-
-        // create edges in a scale-free-network way
-        if (i == 1) {
-            const from = i;
-            const to = 0;
-            edges.push({
-                from: from,
-                to: to,
-            });
-            connectionCount[from]++;
-            connectionCount[to]++;
-        } else if (i > 1) {
-            const conn = edges.length * 2;
-            const rand = Math.floor(seededRandom() * conn);
-            let cum = 0;
-            let j = 0;
-            while (j < connectionCount.length && cum < rand) {
-                cum += connectionCount[j];
-                j++;
-            }
-
-            const from = i;
-            const to = j;
-            edges.push({
-                from: from,
-                to: to,
-            });
-            connectionCount[from]++;
-            connectionCount[to]++;
-        }
-    }
-
-    return { nodes: nodes, edges: edges };
-}
-
-seededRandom = Alea("SEED");
-
-/**
- * @param nodeCount
- */
-function getScaleFreeNetworkSeeded(nodeCount) {
-    const nodes = [];
-    const edges = [];
-    const connectionCount = [];
-    let edgesId = 0;
-
-    // randomly create some nodes and edges
-    for (let i = 0; i < nodeCount; i++) {
-        nodes.push({
-            id: i,
-            label: String(i),
-            title: element(i),
-        });
-
-        connectionCount[i] = 0;
-
-        // create edges in a scale-free-network way
-        if (i == 1) {
-            const from = i;
-            const to = 0;
-            edges.push({
-                id: edgesId++,
-                from: from,
-                to: to,
-            });
-            connectionCount[from]++;
-            connectionCount[to]++;
-        } else if (i > 1) {
-            const conn = edges.length * 2;
-            const rand = Math.floor(seededRandom() * conn);
-            let cum = 0;
-            let j = 0;
-            while (j < connectionCount.length && cum < rand) {
-                cum += connectionCount[j];
-                j++;
-            }
-
-            const from = i;
-            const to = j;
-            edges.push({
-                id: edgesId++,
-                from: from,
-                to: to,
-            });
-            connectionCount[from]++;
-            connectionCount[to]++;
-        }
-    }
-
-    return { nodes: nodes, edges: edges };
-
-}
-
-
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/networkgraph_fiber.js.html b/docs/networkgraph_fiber.js.html deleted file mode 100644 index 9047f4c..0000000 --- a/docs/networkgraph_fiber.js.html +++ /dev/null @@ -1,1225 +0,0 @@ - - - - - JSDoc: Source: networkgraph/fiber.js - - - - - - - - - - -
- -

Source: networkgraph/fiber.js

- - - - - - -
-
-
 /**
- * fiber.js
- * The fiber library describes how to add a fiber connection between any 2 nodes by dragging from source node to destination and defines the fiber manipulation.
- * @module fiber
- */
-
-var addEdgeData = {
-    from: '',
-    to: ''
-};
-var isSingleFiberMode = 0;
-var isDualFiberMode = 0;
-function dualFiberMode() {
-    UnSelectAll();
-    isDualFiberMode = 1;
-    isSingleFiberMode = 0;
-    isAddService = 0;
-    isSinglePatchMode = 0;
-    isDualPatchMode = 0;
-    addEdgeData = {
-        from: '',
-        to: ''
-    };
-}
-/**
- * Enable settings for fiber and reset other settings.
- * Set fiber 1 = enable, 0 = disable.
- */
-function singleFiberMode() {
-    UnSelectAll();
-    isSingleFiberMode = 1;
-    isDualFiberMode = 0;
-    isAddService = 0;
-    isDualPatchMode = 0;
-    isSinglePatchMode = 0;
-    addEdgeData = {
-        from: '',
-        to: ''
-    };
-}
-
-/** Check connections rule for dual fiber not single fiber before add it. */
-function addFiber() {
-    var srcNode = network.body.data.nodes.get(addEdgeData.from);
-    var DestNode = network.body.data.nodes.get(addEdgeData.to);
-    var isSrcOk = false;
-    var isDestOk = false;
-    //to restrict pre amp and boost amp on dualfiber connection
-    if (isDualFiberMode == 1) {
-        var msg = "";
-        if (srcNode.amp_category == amplifierJSON.amp_category) {
-            msg = srcNode.amp_category + " type : " + srcNode.label + " to ";
-        }
-        else {
-            isSrcOk = true;
-            if (srcNode.amp_category)
-                msg = srcNode.amp_category + " type : " + srcNode.label + " to ";
-            else
-                msg = srcNode.node_type + " type : " + srcNode.label + " to ";
-        }
-        if (DestNode.amp_category == amplifierJSON.amp_category) {
-            msg += DestNode.amp_category + " type : " + DestNode.label;
-        }
-        else {
-            isDestOk = true;
-            msg += DestNode.node_type + " type : " + DestNode.label;
-        }
-
-        if (!isSrcOk || !isDestOk) {
-            showMessage(alertType.Error, "<p>Cannot add " + dualFiberJSON.fiber_category + " from " + msg + '</p>');
-            addEdgeData = {
-                from: '',
-                to: ''
-            };
-            UnSelectAll();
-            return;
-        }
-    }
-
-    var labelvalue = getLabel(addEdgeData.from, addEdgeData.to, singleFiberJSON.component_type);
-    var textvalue = roadmJSON.node_type + "- [ " + network.body.data.nodes.get(addEdgeData.from).label + ' - ' + network.body.data.nodes.get(addEdgeData.to).label + " ]";
-    addFiberComponent(1, addEdgeData.from, addEdgeData.to, labelvalue, textvalue, false);
-    addEdgeData = {
-        from: '',
-        to: ''
-    };
-    UnSelectAll();
-    network.addEdgeMode();
-}
-
-/**
- * Fiber creation.
- * Fiber style and configuration data loaded from configurationdata, styledata json.
- * Check connections rules.
- * @param {number} cmode - Fiber mode 1 for add.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- * @param {string} clabel - The Label of the service.
- * @param {string} ctext - The Text of the service.
- * @param {boolean} isImport - false -> manual add, true -> automattically added while import json.
- */
-function addFiberComponent(cmode, cfrom, cto, clabel, ctext, isImport) {
-    if (cmode == 1) {
-
-        var nodeDetails = network.body.data.nodes.get(cfrom);
-        var toNodeDetails = network.body.data.nodes.get(cto);
-        var fiberID = token();
-        //amplifier and attenuator fiber connection conditions - max limit 2
-        if (isDualFiberMode == 1)//removed restriction for single fiber mode, so check fiber mode
-        {
-            //add roadm list for from roadm node or ILA
-            if (nodeDetails.node_type == roadmJSON.node_type || nodeDetails.amp_category == ILAJSON.amp_category) {
-                arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-
-                var roadm_label = "";
-                var roadm_type = "";
-                var pre_amp_type = "";
-                var booster_type = "";
-                if (nodeDetails.node_type == roadmJSON.node_type) {
-                    roadm_label = ctext;
-                    var roadm_config = configData.node[nodeDetails.node_type].default;
-                    roadm_type = roadm_config.roadm_type;
-                    pre_amp_type = roadm_config.pre_amp_type;
-                    booster_type = roadm_config.booster_type;
-                }
-                if (nodeDetails.amp_category == ILAJSON.amp_category) {
-                    roadm_label = ILAJSON.amp_category + "- [ " + network.body.data.nodes.get(cfrom).label + ' - ' + network.body.data.nodes.get(cto).label + " ]";;
-                    var ILA_config = configData.node[nodeDetails.amp_category].default;
-                    roadm_type = "";
-                    pre_amp_type = ILA_config.pre_amp_type;//Amp A
-                    booster_type = ILA_config.booster_type;//Amp B
-                }
-
-                var roadmTypePro = {
-                    roadm_fiber_id: fiberID,
-                    roadm_label: roadm_label,
-                    roadm_type: roadm_type,
-                    pre_amp_type: pre_amp_type,
-                    booster_type: booster_type
-                };
-
-                arrRoadmTypePro.push(roadmTypePro);
-                network.body.data.nodes.update({
-                    id: cfrom, roadm_type_pro: arrRoadmTypePro
-                });
-            }
-            //add roadm list to to roadm node or ILA
-            if (toNodeDetails.node_type == roadmJSON.node_type || toNodeDetails.amp_category == ILAJSON.amp_category) {
-                arrRoadmTypePro = toNodeDetails.roadm_type_pro ? toNodeDetails.roadm_type_pro : [];
-
-                var roadm_label = "";
-                var roadm_type = "";
-                var pre_amp_type = "";
-                var booster_type = "";
-                if (toNodeDetails.node_type == roadmJSON.node_type) {
-                    roadm_label = roadmJSON.node_type + "- [ " + network.body.data.nodes.get(cto).label + ' - ' + network.body.data.nodes.get(cfrom).label + " ]";
-                    var roadm_config = configData.node[toNodeDetails.node_type].default;
-                    roadm_type = roadm_config.roadm_type;
-                    pre_amp_type = roadm_config.pre_amp_type;
-                    booster_type = roadm_config.booster_type;
-                }
-                if (toNodeDetails.amp_category == ILAJSON.amp_category) {
-                    roadm_label = ILAJSON.amp_category + "- [ " + network.body.data.nodes.get(cto).label + ' - ' + network.body.data.nodes.get(cfrom).label + " ]";;
-                    var ILA_config = configData.node[toNodeDetails.amp_category].default;
-                    roadm_type = "";
-                    pre_amp_type = ILA_config.pre_amp_type;//Amp A
-                    booster_type = ILA_config.booster_type;//Amp B
-                }
-
-                var roadmTypePro = {
-                    roadm_fiber_id: fiberID,
-                    roadm_label: roadm_label,
-                    roadm_type: roadm_type,
-                    pre_amp_type: pre_amp_type,
-                    booster_type: booster_type
-                };
-
-                arrRoadmTypePro.push(roadmTypePro);
-                network.body.data.nodes.update({
-                    id: cto, roadm_type_pro: arrRoadmTypePro
-                });
-            }
-
-            if (nodeDetails.node_type == fusedJSON.node_type || nodeDetails.node_type == ILAJSON.node_type || toNodeDetails.node_type == fusedJSON.node_type || toNodeDetails.node_type == ILAJSON.node_type) {
-                var connectedEdges = network.getConnectedEdges(cfrom);
-                var fromCount = network.getConnectedEdges(cfrom).length;
-                var toCount = network.getConnectedEdges(cto).length;
-                var fromDegree = configData.node[nodeDetails.node_type].default.node_degree;
-                var toDegree = configData.node[toNodeDetails.node_type].default.node_degree;
-                var msg = "";
-                var isLimit = false;
-                if (fromCount >= fromDegree) {
-                    isLimit = true;
-                    if (nodeDetails.node_type == fusedJSON.node_type) {
-                        msg = 'Attenuator ' + roadmJSON.component_type + ' : ' + nodeDetails.label + ' cannot have more than ' + fromDegree + ' ' + dualFiberJSON.component_type + ' connection';
-                    }
-                    else if (nodeDetails.node_type == ILAJSON.node_type) {
-                        msg = nodeDetails.amp_category + ' ' + roadmJSON.component_type + ' : ' + nodeDetails.label + ' cannot have more than ' + fromDegree + ' ' + dualFiberJSON.component_type + ' connection';
-                    }
-
-                }
-                if (toCount >= toDegree) {
-                    if (isLimit)
-                        msg += " and ";
-                    isLimit = true;
-                    if (toNodeDetails.node_type == fusedJSON.node_type) {
-                        msg += 'Attenuator ' + roadmJSON.component_type + ' : ' + toNodeDetails.label + ' cannot have more than ' + toDegree + ' ' + dualFiberJSON.component_type + ' connection';
-                    }
-                    else if (toNodeDetails.node_type == ILAJSON.node_type) {
-                        msg += toNodeDetails.amp_category + ' ' + roadmJSON.component_type + ' : ' + toNodeDetails.label + ' cannot have more than ' + toDegree + ' ' + dualFiberJSON.component_type + ' connection';
-                    }
-                }
-
-                if (isLimit) {
-                    showMessage(alertType.Error, msg);
-                    return;
-                }
-            }
-        }
-        //end
-
-        var fiberSmooth = multipleFiberService1(cfrom, cto);
-        if (!fiberSmooth)
-            fiberSmooth = fiberJSON.options.smooth;
-
-        var elabel = "";
-        if (isDualFiberMode == 1) {
-            var fiber_config = configData[dualFiberJSON.fiber_category.replace(' ', '')].default;
-            clabel = countFiberService(true, false, false, false, cfrom, cto) + '-' + clabel;
-            elabel = clabel;
-            network.body.data.edges.add({
-                id: fiberID, from: cfrom, to: cto, label: elabel, text: clabel, dashes: dualFiberJSON.dashes, fiber_category: dualFiberJSON.fiber_category,
-                component_type: dualFiberJSON.component_type, color: dualFiberJSON.options.color, background: dualFiberJSON.options.background,
-                arrows: dualFiberJSON.options.arrows,
-                smooth: fiberSmooth,
-                width: dualFiberJSON.width,
-                view: topologyView.NE_View, hidden: false,
-                fiber_type: fiber_config.fiber_type, span_length: fiber_config.Span_length,
-                loss_coefficient: fiber_config.Loss_coefficient, connector_in: fiber_config.Connector_in, connector_out: fiber_config.Connector_out, span_loss: fiber_config.Span_loss,
-                RxToTxFiber: {
-                    from: cto, to: cfrom, label: clabel, text: clabel, fiber_category: dualFiberJSON.fiber_category,
-                    component_type: dualFiberJSON.component_type,
-                    fiber_type: fiber_config.fiber_type, span_length: fiber_config.Span_length,
-                    loss_coefficient: fiber_config.Loss_coefficient, connector_in: fiber_config.Connector_in, connector_out: fiber_config.Connector_out, span_loss: fiber_config.Span_loss,
-                }
-
-            });
-        }
-        if (isSingleFiberMode == 1) {
-            var flag = false;
-            var message = [];
-            var response = nodeRule(cfrom, cto, amplifierJSON.node_type);
-            if (response.flag) {
-                flag = true
-                message.push(response.message);
-            }
-            response = nodeRule(cfrom, cto, fusedJSON.node_type);
-            if (response.flag) {
-                flag = true;
-                message.push(response.message);
-            }
-
-            if (flag) {
-                showMessage(alertType.Error, message.join('. <br /><br /> '));
-                return;
-            }
-
-            var fiber_config = configData[singleFiberJSON.fiber_category.replace(' ', '')].default;
-            if (!isImport)
-                clabel = countFiberService(false, true, false, false, cfrom, cto) + '-' + clabel;
-            elabel = clabel;
-            var span_Length = fiber_config.Span_length;
-            var loss_Coefficient = fiber_config.Loss_coefficient;
-            var span_Loss = fiber_config.Span_loss;
-            var fiber_Type = fiber_config.fiber_type;
-            var connector_IN = fiber_config.Connector_in;
-            var connector_OUT = fiber_config.Connector_out;
-
-            if (isImport) {
-                span_Length = tSpanLength;
-                loss_Coefficient = loss_Coefficient;
-                span_Loss = parseFloat(span_Length * loss_Coefficient);
-                fiber_Type = tType;
-                connector_IN = tConnector_in;
-                connector_OUT = tConnector_out;
-
-            }
-            network.body.data.edges.add({
-                id: fiberID, from: cfrom, to: cto, label: elabel, text: clabel,
-                view: topologyView.Functional_View, hidden: false,
-                dashes: singleFiberJSON.dashes, fiber_category: singleFiberJSON.fiber_category,
-                component_type: singleFiberJSON.component_type,
-                color: singleFiberJSON.options.w_color,
-                width: singleFiberJSON.width,
-                background: singleFiberJSON.options.background,
-                arrows: singleFiberJSON.options.arrows,
-                //font: singleFiberJSON.options.font,
-                smooth: fiberSmooth,
-                fiber_type: fiber_Type, span_length: span_Length,
-                loss_coefficient: loss_Coefficient, connector_in: connector_IN, connector_out: connector_OUT,
-                span_loss: span_Loss
-            });
-
-            realUpdate();
-            nodeValidationInEdge(cfrom, cto);
-        }
-
-        multipleFiberService(cfrom, cto);
-        var tedge = network.body.data.edges.get(fiberID);
-        tedge.isUpdate = false;
-        tempUndo.push(tedge);
-    }
-}
-
-function dualFiberInsertNode(fiberID, node_type, callback) {
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    var fromNode = network.body.nodes[fiberDetails.from];
-    var toNode = network.body.nodes[fiberDetails.to];
-
-    var newX = (fromNode.x + toNode.x) / 2;
-    var newY = network.body.edges[fiberID].labelModule.size.yLine;
-    insertNodeX = newX;
-    insertNodeY = newY;
-
-    var nodeID = token();
-    nodeDetails = configData.node[node_type];
-
-    var result = nodeName(node_type, nodeDetails.default.amp_category);
-
-    var nodelength = result.nodeLength;
-    var nodeLabel = result.label;
-
-    var fiberStyle = network.body.data.edges.get(fiberID);
-    var smooth = fiberStyle.smooth;
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    if (node_type == roadmJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + roadmJSON.image, number: nodelength,
-            shape: roadmJSON.shape, color: roadmJSON.color,
-            font: roadmJSON.font,
-            size: roadmJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: roadmJSON.component_type,
-        });
-    }
-    else if (node_type == fusedJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + fusedJSON.image, number: nodelength,
-            shape: fusedJSON.shape, color: fusedJSON.color,
-            size: fusedJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: fusedJSON.component_type,
-        });
-    }
-    else if (node_type == transceiverJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + transceiverJSON.image, number: nodelength,
-            shape: transceiverJSON.shape, color: transceiverJSON.color,
-            size: transceiverJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: transceiverJSON.component_type,
-            transceiver_type: nodeDetails.transceiver_type
-        });
-    }
-    else if (node_type == ILAJSON.amp_category) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + ILAJSON.image, number: nodelength,
-            shape: ILAJSON.shape, color: ILAJSON.color,
-            size: ILAJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: ILAJSON.component_type,
-            pre_amp_type: nodeDetails.default.pre_amp_type, booster_type: nodeDetails.default.booster_type, amp_category: nodeDetails.default.amp_category
-        });
-    }
-    network.body.data.edges.remove(fiberID);
-    var labelvalue = dualFiberJSON.component_type + " " + network.body.data.nodes.get(fiberDetails.from).number + ' - ' + network.body.data.nodes.get(nodeID).number;
-    labelvalue = countFiberService(true, false, false, false, fiberDetails.from, nodeID) + '-' + labelvalue;
-    var elabel = "";
-    elabel = labelvalue;
-
-    network.body.data.edges.add({
-        id: fiberID, from: fiberDetails.from, to: nodeID, label: elabel, text: labelvalue, dashes: dualFiberJSON.dashes, fiber_category: dualFiberJSON.fiber_category,
-        component_type: dualFiberJSON.component_type, color: dualFiberJSON.options.color, background: dualFiberJSON.options.background,
-        arrows: dualFiberJSON.options.arrows,
-        smooth: smooth,
-        width: dualFiberJSON.width,
-        view: $("#ddlNetworkView").val(), hidden: false,
-        fiber_type: fiberDetails.fiber_type, span_length: fiberDetails.span_length,
-        loss_coefficient: fiberDetails.loss_coefficient, connector_in: fiberDetails.connector_in, connector_out: fiberDetails.connector_out, span_loss: fiberDetails.span_loss,
-        RxToTxFiber: {
-            from: nodeID, to: fiberDetails.from, fiber_category: fiberDetails.fiber_category, component_type: fiberDetails.component_type,
-            label: labelvalue, fiber_type: fiberDetails.RxToTxFiber.fiber_type, span_length: fiberDetails.RxToTxFiber.span_length,
-            loss_coefficient: fiberDetails.RxToTxFiber.loss_coefficient, connector_in: fiberDetails.RxToTxFiber.connector_in, connector_out: fiberDetails.RxToTxFiber.connector_out, span_loss: fiberDetails.RxToTxFiber.span_loss,
-        }
-
-    });
-
-    //add roadm list for left side fiber - new node
-    if (node_type == roadmJSON.node_type || node_type == ILAJSON.amp_category) {
-
-        var textvalue = node_type.toUpperCase() + "- [ " + nodeLabel + ' - ' + network.body.data.nodes.get(fiberDetails.from).label + " ]";
-        arrRoadmTypePro = [];
-        var roadm_label = textvalue;
-        var roadm_config = configData.node[node_type].default;
-
-        var roadm_type = "";
-        if (roadm_config.roadm_type)
-            roadm_type = roadm_config.roadm_type;
-
-        var pre_amp_type = roadm_config.pre_amp_type;
-        var booster_type = roadm_config.booster_type;
-
-        var roadmTypePro = {
-            roadm_fiber_id: fiberID,
-            roadm_label: roadm_label,
-            roadm_type: roadm_type,
-            pre_amp_type: pre_amp_type,
-            booster_type: booster_type
-        };
-
-        arrRoadmTypePro.push(roadmTypePro);
-
-        network.body.data.nodes.update({
-            id: nodeID, roadm_type_pro: arrRoadmTypePro
-        });
-
-    }
-    var newFiberID = token();
-    labelvalue = dualFiberJSON.component_type + " " + network.body.data.nodes.get(nodeID).number + ' - ' + network.body.data.nodes.get(fiberDetails.to).number;
-    labelvalue = countFiberService(true, false, false, false, nodeID, fiberDetails.to) + '-' + labelvalue;
-    elabel = labelvalue;
-    var fiber_config = configData[dualFiberJSON.fiber_category.replace(' ', '')].default;
-    network.body.data.edges.add({
-        id: newFiberID, from: nodeID, to: fiberDetails.to, label: elabel, text: labelvalue, dashes: dualFiberJSON.dashes, fiber_category: dualFiberJSON.fiber_category,
-        component_type: dualFiberJSON.component_type, color: dualFiberJSON.options.color, background: dualFiberJSON.options.background,
-        arrows: dualFiberJSON.options.arrows,
-        smooth: smooth,
-        width: dualFiberJSON.width,
-        view: $("#ddlNetworkView").val(), hidden: false,
-        fiber_type: fiber_config.fiber_type, span_length: fiber_config.Span_length,
-        loss_coefficient: fiber_config.Loss_coefficient, connector_in: fiber_config.Connector_in, connector_out: fiber_config.Connector_out, span_loss: fiber_config.Span_loss,
-
-        RxToTxFiber: {
-            from: fiberDetails.to, to: nodeID, fiber_category: fiberDetails.fiber_category, component_type: fiberDetails.component_type,
-            label: labelvalue,
-            fiber_type: fiber_config.fiber_type, span_length: fiber_config.Span_length,
-            loss_coefficient: fiber_config.Loss_coefficient, connector_in: fiber_config.Connector_in, connector_out: fiber_config.Connector_out, span_loss: fiber_config.Span_loss,
-        }
-
-    });
-
-
-    //add roadm list for newly added fiber right side - new node
-    nodeDetails = network.body.data.nodes.get(nodeID);
-    if (node_type == roadmJSON.node_type || node_type == ILAJSON.amp_category) {
-        var textvalue = node_type.toUpperCase() + "- [ " + nodeLabel + ' - ' + network.body.data.nodes.get(fiberDetails.to).label + " ]";
-        arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-        var roadm_label = textvalue;
-        var roadm_config = configData.node[node_type].default;
-        var roadm_type = "";
-        if (roadm_config.roadm_type)
-            roadm_type = roadm_config.roadm_type;
-
-        var pre_amp_type = roadm_config.pre_amp_type;
-        var booster_type = roadm_config.booster_type;
-
-        var roadmTypePro = {
-            roadm_fiber_id: newFiberID,
-            roadm_label: roadm_label,
-            roadm_type: roadm_type,
-            pre_amp_type: pre_amp_type,
-            booster_type: booster_type
-        };
-
-        arrRoadmTypePro.push(roadmTypePro);
-
-        network.body.data.nodes.update({
-            id: nodeID, roadm_type_pro: arrRoadmTypePro
-        });
-
-    }
-
-    //add roadm list for right side roadm node
-    nodeDetails = network.body.data.nodes.get(fiberDetails.to);
-    if (nodeDetails.node_type == roadmJSON.node_type || nodeDetails.amp_category == ILAJSON.amp_category) {
-        var textvalue = "";
-        var roadm_config = "";
-        var roadm_type = "";
-
-        if (nodeDetails.node_type == roadmJSON.node_type) {
-            textvalue = nodeDetails.node_type.toUpperCase() + "- [ " + network.body.data.nodes.get(fiberDetails.to).label + ' - ' + nodeLabel + " ]";
-            roadm_config = configData.node[nodeDetails.node_type].default;
-            roadm_type = roadm_config.roadm_type;
-        }
-        if (nodeDetails.amp_category == ILAJSON.amp_category) {
-            textvalue = nodeDetails.amp_category.toUpperCase() + "- [ " + network.body.data.nodes.get(fiberDetails.to).label + ' - ' + nodeLabel + " ]";
-            roadm_config = configData.node[nodeDetails.amp_category].default;
-        }
-
-        arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-        var roadm_label = textvalue;
-
-        var pre_amp_type = roadm_config.pre_amp_type;
-        var booster_type = roadm_config.booster_type;
-
-        var roadmTypePro = {
-            roadm_fiber_id: newFiberID,
-            roadm_label: roadm_label,
-            roadm_type: roadm_type,
-            pre_amp_type: pre_amp_type,
-            booster_type: booster_type
-        };
-
-        arrRoadmTypePro.push(roadmTypePro);
-
-        network.body.data.nodes.update({
-            id: fiberDetails.to, roadm_type_pro: arrRoadmTypePro
-        });
-
-    }
-
-    document.getElementById("dualFiberMenu").style.display = "none";
-    enableEdgeIndicator();
-}
-
-/**
- * Insert a node (ROADM/Attenuator/Amplifier/Raman Amplifier) in the middle of selected fiber.
- * @param {string} fiberID - Selected fiber ID
- * @param {string} node_type - Type of node.
- * @param callback - The callback that handles the response..
- */
-function singleFiberInsertNode(fiberID, node_type, callback) {
-
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    var fromNode = network.body.nodes[fiberDetails.from];
-    var toNode = network.body.nodes[fiberDetails.to];
-
-    var newX = (fromNode.x + toNode.x) / 2;
-    var newY = network.body.edges[fiberID].labelModule.size.yLine;
-    insertNodeX = newX;
-    insertNodeY = newY;
-
-    var nodeID = token();
-    nodeDetails = configData.node[node_type];
-
-    var result = nodeName(node_type, nodeDetails.default.amp_category);
-
-    var nodelength = result.nodeLength;
-    var nodeLabel = result.label;
-
-    var fiberStyle = network.body.data.edges.get(fiberID);
-    var smooth = fiberStyle.smooth;
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    if (node_type == roadmJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + roadmJSON.w_image, number: nodelength,
-            shape: roadmJSON.shape, color: roadmJSON.color,
-            font: roadmJSON.font,
-            size: roadmJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: roadmJSON.component_type,
-            roadm_type: nodeDetails.default.roadm_type
-        });
-    }
-    else if (node_type == fusedJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + fusedJSON.image, number: nodelength,
-            shape: fusedJSON.shape, color: fusedJSON.color,
-            size: fusedJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: fusedJSON.component_type,
-        });
-    }
-    else if (node_type == transceiverJSON.node_type) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + transceiverJSON.w_image, number: nodelength,
-            shape: transceiverJSON.shape, color: transceiverJSON.color,
-            size: transceiverJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: transceiverJSON.component_type,
-            transceiver_type: nodeDetails.transceiver_type
-        });
-    }
-    else if (node_type == amplifierJSON.amp_category) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + amplifierJSON.w_image, number: nodelength,
-            shape: amplifierJSON.shape, color: amplifierJSON.color,
-            size: amplifierJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: amplifierJSON.component_type,
-            pre_amp_type: nodeDetails.default.pre_amp_type, booster_type: nodeDetails.default.booster_type, amp_category: nodeDetails.default.amp_category
-        });
-    }
-    else if (node_type == ramanampJSON.amp_category) {
-        network.body.data.nodes.add({
-            id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + ramanampJSON.w_image, number: nodelength,
-            shape: ramanampJSON.shape, color: ramanampJSON.color,
-            size: ramanampJSON.size,
-            view: $("#ddlNetworkView").val(), hidden: false,
-            node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: ramanampJSON.component_type,
-            amp_type: nodeDetails.default.amp_type,
-            amp_category: nodeDetails.default.amp_category,
-            category: nodeDetails.default.category
-        });
-    }
-
-    network.body.data.edges.remove(fiberID);
-    var labelvalue = getLabel(fiberDetails.from, nodeID, singleFiberJSON.component_type);
-    labelvalue = countFiberService(false, true, false, false, fiberDetails.from, nodeID) + '-' + labelvalue;
-    var elabel = "";
-    elabel = labelvalue;
-
-    var tempcolor;
-
-    if (fiberDetails.fiber_type != null && parseFloat(fiberDetails.span_length) > 0)
-        tempcolor = singleFiberJSON.options.color;
-    else
-        tempcolor = singleFiberJSON.options.w_color;
-
-    network.body.data.edges.add({
-        id: fiberID, from: fiberDetails.from, to: nodeID, label: elabel, text: labelvalue, dashes: singleFiberJSON.dashes, fiber_category: singleFiberJSON.fiber_category,
-        component_type: singleFiberJSON.component_type, color: tempcolor, background: singleFiberJSON.options.background,
-        arrows: singleFiberJSON.options.arrows,
-        smooth: smooth,
-        width: singleFiberJSON.width,
-        view: $("#ddlNetworkView").val(), hidden: false,
-        fiber_type: fiberDetails.fiber_type, span_length: fiberDetails.span_length,
-        loss_coefficient: fiberDetails.loss_coefficient, connector_in: fiberDetails.connector_in, connector_out: fiberDetails.connector_out, span_loss: fiberDetails.span_loss,
-
-    });
-
-    var newFiberID = token();
-    var labelvalue = getLabel(nodeID, fiberDetails.to, singleFiberJSON.component_type);
-    labelvalue = countFiberService(false, true, false, false, nodeID, fiberDetails.to) + '-' + labelvalue;
-    elabel = labelvalue;
-
-    var fiber_config = configData[singleFiberJSON.fiber_category.replace(' ', '')].default;
-    network.body.data.edges.add({
-        id: newFiberID, from: nodeID, to: fiberDetails.to, label: elabel, text: labelvalue, dashes: singleFiberJSON.dashes, fiber_category: singleFiberJSON.fiber_category,
-        component_type: singleFiberJSON.component_type, color: singleFiberJSON.options.w_color, background: singleFiberJSON.options.background,
-        arrows: singleFiberJSON.options.arrows,
-        smooth: smooth,
-        width: singleFiberJSON.width,
-        view: $("#ddlNetworkView").val(), hidden: false,
-        fiber_type: fiber_config.fiber_type, span_length: fiber_config.Span_length,
-        loss_coefficient: fiber_config.Loss_coefficient, connector_in: fiber_config.Connector_in, connector_out: fiber_config.Connector_out, span_loss: fiber_config.Span_loss,
-    });
-
-    //add roadm list for newly added fiber right side - new node --- comment for functional view also roadm have only roadm type
-    nodeDetails = network.body.data.nodes.get(nodeID);
-    fiberDetails.isUpdate = false;
-    fiberDetails.isDelete = true;
-    tempUndo.push(fiberDetails);
-
-    nodeDetails.isUpdate = false;
-    tempUndo.push(nodeDetails);
-
-    fDetails = network.body.data.edges.get(fiberID);
-    fDetails.isUpdate = false;
-    tempUndo.push(fDetails);
-
-    nDetails = network.body.data.edges.get(newFiberID);
-    nDetails.isUpdate = false;
-    tempUndo.push(nDetails);
-
-    document.getElementById("singleFiberMenu").style.display = "none";
-    realUpdate();
-    enableEdgeIndicator();
-}
-function dualFiberEdit(fiberID, callback) {
-    document.getElementById("dualFiberMenu").style.display = "none";
-
-    clearCbxandAccordian();
-    openDrawer('dualfiber');
-    var edgeDetails = network.body.data.edges.get(fiberID);
-    var connectedNode = network.getConnectedNodes(fiberID);
-    $("#txtFiberName").val(edgeDetails.text);
-    //fiber A details
-    $("#ddlFiberAType").val(edgeDetails.fiber_type);
-    $("#txtFiberASL").val(edgeDetails.span_length);
-    $("#txtFiberALC").val(edgeDetails.loss_coefficient);
-    $("#txtFiberACIN").val(edgeDetails.connector_in);
-    $("#txtFiberACOUT").val(edgeDetails.connector_out);
-    $("#txtFiberASpanLoss").val(edgeDetails.span_loss);
-    //fiber B details
-    if (edgeDetails.RxToTxFiber) {
-        $("#ddlFiberBType").val(edgeDetails.RxToTxFiber.fiber_type);
-        $("#txtFiberBSL").val(edgeDetails.RxToTxFiber.span_length);
-        $("#txtFiberBLC").val(edgeDetails.RxToTxFiber.loss_coefficient);
-        $("#txtFiberBCIN").val(edgeDetails.RxToTxFiber.connector_in);
-        $("#txtFiberBCOUT").val(edgeDetails.RxToTxFiber.connector_out);
-        $("#txtFiberBSpanLoss").val(edgeDetails.RxToTxFiber.span_loss);
-    }
-    $("#pFiberA").text("Fiber A [" + network.body.data.nodes.get(connectedNode[0]).label + ' - ' + network.body.data.nodes.get(connectedNode[1]).label + "]");
-    $("#pFiberB").text("Fiber B [" + network.body.data.nodes.get(connectedNode[1]).label + ' - ' + network.body.data.nodes.get(connectedNode[0]).label + "]");
-
-    document.getElementById("btnDualFiberUpdate").onclick = updateDualFiber.bind(
-        this,
-        fiberID,
-        callback
-    );
-    document.getElementById("btnCloseDualFiber").onclick = clearDualFiber.bind(
-    );
-}
-function updateDualFiber(fiberID) {
-    var id = fiberID;
-    var label = $("#txtFiberName").val().trim();
-    var fiber_type = $("#ddlFiberAType").val();
-    var span_length = $("#txtFiberASL").val();
-    var loss_coefficient = $("#txtFiberALC").val();
-    var connector_in = $("#txtFiberACIN").val();
-    var connector_out = $("#txtFiberACOUT").val();
-    var span_loss = $("#txtFiberASpanLoss").val();
-
-    var fiber_typeB = $("#ddlFiberBType").val();
-    var span_lengthB = $("#txtFiberBSL").val();
-    var loss_coefficientB = $("#txtFiberBLC").val();
-    var connector_inB = $("#txtFiberBCIN").val();
-    var connector_outB = $("#txtFiberBCOUT").val();
-    var span_lossB = $("#txtFiberBSpanLoss").val();
-
-    var spanlen = parseFloat(span_length);
-    if (spanlen <= 0) {
-        showMessage(alertType.Error, dualFiberJSON.component_type + ' A : please enter valid span length.');
-        return;
-    }
-
-    var Bspan_length = parseFloat($("#txtFiberBSL").val());
-    spanlen = parseFloat(Bspan_length);
-    if (spanlen <= 0) {
-        showMessage(alertType.Error, dualFiberJSON.component_type + ' B : please enter valid span length.');
-        return;
-    }
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    if (nameLengthValidation("txtFiberName")) {
-        if (fiberDetails.component_type == dualFiberJSON.component_type && fiberDetails.fiber_category == dualFiberJSON.fiber_category) {
-
-            var elabel = "";
-            elabel = label;
-
-            network.body.data.edges.update({
-                id: id, label: elabel, text: label, fiber_type: fiber_type, span_length: span_length,
-                loss_coefficient: loss_coefficient, connector_in: connector_in, connector_out: connector_out, span_loss: span_loss,
-                RxToTxFiber: {
-                    from: fiberDetails.to, to: fiberDetails.from, fiber_category: fiberDetails.fiber_category, component_type: fiberDetails.component_type,
-                    label: label, text: label, fiber_type: fiber_typeB, span_length: span_lengthB,
-                    loss_coefficient: loss_coefficientB, connector_in: connector_inB, connector_out: connector_outB, span_loss: span_lossB,
-                }
-            });
-            multipleFiberService(fiberDetails.from, fiberDetails.to);
-            clearDualFiber();
-        }
-
-    }
-}
-function clearDualFiber() {
-    $("#txtfiberName").val('');
-    $("#ddlFiberAType").val('');
-    $("#txtFiberASL").val('');
-    $("#txtFiberALC").val('');
-    $("#txtFiberACIN").val('');
-    $("#txtFiberACOUT").val('');
-    $("#ddlFiberBType").val('');
-    $("#txtFiberBSL").val('');
-    $("#txtFiberBLC").val('');
-    $("#txtFiberBCIN").val('');
-    $("#txtFiberBCOUT").val('');
-    clearCbxandAccordian();
-    closeDrawer('dualfiber');
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-function clearCbxandAccordian() {
-    if ($("#aFiberA").text() == "-")
-        $("#aFiberA").click();
-    if ($("#aFiberB").text() == "-")
-        $("#aFiberB").click();
-
-    $('#cbx_FiberALBL').prop('checked', false);
-    $('#cbx_FiberBLBL').prop('checked', false);
-    $('#cbx_clone').prop('checked', false);
-}
-
-/**
- * Populate fiber details by fiber ID.
- * @param {string} fiberID - Selected Fiber ID.
- * @param callback - The callback that handles the response.
- */
-function singleFiberEdit(fiberID, callback) {
-    $("#txtLoss_Coefficient").removeClass('input_error');
-    $('#cbxLength_Based_Loss').prop('checked', false);
-    $("#txtSinlgeFiberName").val('');
-    $("#txtSource").val('');
-    $("#txtDestination").val('');
-    $("#ddlSingleFiberType").val('');
-    $("#txtSpan_Length").val('');
-    $("#txtLoss_Coefficient").val('');
-    $("#txtConnector_IN").val('');
-    $("#txtConnector_OUT").val('');
-    $("#txtSpan_Loss").val('');
-    document.getElementById("singleFiberMenu").style.display = "none";
-    var edgeDetails = network.body.data.edges.get(fiberID[fiberID.length - 1].id);
-    var connectedNode = network.getConnectedNodes(fiberID[fiberID.length - 1].id);
-    $("#txtSinlgeFiberName").val(edgeDetails.text);
-    $("#txtSource").val(network.body.data.nodes.get(connectedNode[0]).label);
-    $("#txtDestination").val(network.body.data.nodes.get(connectedNode[1]).label);
-    $("#divFiberNameCon").show();
-    if (fiberID.length > 1) {
-        $("#divFiberNameCon").hide();
-        var matchCount = 1;
-        for (var i = 0; i < fiberID.length - 1; i++) {
-            if (network.body.data.edges.get(fiberID[i].id).fiber_type == edgeDetails.fiber_type) {
-                matchCount++;
-            }
-        }
-        if (matchCount == fiberID.length) {
-            if (edgeDetails.fiber_type) {
-                $("#ddlSingleFiberType").val(edgeDetails.fiber_type);
-            }
-        }
-
-    }
-    else {
-        $("#ddlSingleFiberType").val(edgeDetails.fiber_type);
-        $("#txtSpan_Length").val(edgeDetails.span_length);
-        $("#txtLoss_Coefficient").val(edgeDetails.loss_coefficient);
-        $("#txtConnector_IN").val(edgeDetails.connector_in);
-        $("#txtConnector_OUT").val(edgeDetails.connector_out);
-        $("#txtSpan_Loss").val(edgeDetails.span_loss);
-    }
-    var span_length = $("#txtSpan_Length").val().trim();
-    var spanlen = parseFloat(span_length);
-    if (isNaN(span_length) || spanlen <= 0 || span_length == "") {
-        $("#txtSpan_Length").addClass('input_error');
-    }
-    else
-        $("#txtSpan_Length").removeClass('input_error');
-
-    if ($("#ddlSingleFiberType").val() == null) {
-        $("#ddlSingleFiberType").addClass('input_error');
-    }
-    else
-        $("#ddlSingleFiberType").removeClass('input_error');
-
-    openDrawer('singlefiber');
-    document.getElementById("btnSingleFiberUpdate").onclick = updateSingleFiber.bind(
-        this,
-        fiberID,
-        callback
-    );
-    document.getElementById("btnCloseSingleFiber").onclick = clearSingleFiber.bind(
-    );
-}
-
-/**
- * Update fiber.
- * Update fiber by fiber ID.
- * Apply connections rules.
- * @param {string} fiberID - Fiber ID.
- */
-function updateSingleFiber(fiberID) {
-    removeEdgeList = [];
-    var id = fiberID[fiberID.length - 1].id;
-    var label = $("#txtSinlgeFiberName").val().trim();
-    var fiber_type = $("#ddlSingleFiberType").val();
-    var span_length = $("#txtSpan_Length").val().trim();
-    var loss_coefficient = $("#txtLoss_Coefficient").val().trim();
-    var connector_in = $("#txtConnector_IN").val();
-    var connector_out = $("#txtConnector_OUT").val();
-    var span_loss = $("#txtSpan_Loss").val();
-
-    if ($("#ddlSingleFiberType").val() == null) {
-        showMessage(alertType.Error, 'Please select fiber type');
-        $("#ddlSingleFiberType").addClass('input_error');
-        return;
-    }
-    else
-        $("#ddlSingleFiberType").removeClass('input_error');
-
-    var spanlen = parseFloat(span_length);
-    if (isNaN(span_length) || spanlen <= 0 || span_length == "") {
-        showMessage(alertType.Error, 'Please enter valid span length.');
-        $("#txtSpan_Length").addClass('input_error');
-        return;
-    }
-    else
-        $("#txtSpan_Length").removeClass('input_error');
-
-    if ($('#cbxLength_Based_Loss').is(":checked")) {
-        var lossCoeff = parseFloat(loss_coefficient);
-        if (isNaN(loss_coefficient) || lossCoeff <= 0 || loss_coefficient == "") {
-            showMessage(alertType.Error, "Length based loss requires span length and loss coefficient to be entered");
-            return;
-        }
-    }
-
-    var fiberDetails = network.body.data.edges.get(id);
-    if (nameLengthValidation("txtSinlgeFiberName")) {
-
-        if (fiberDetails.component_type == singleFiberJSON.component_type && fiberDetails.fiber_category == singleFiberJSON.fiber_category) {
-
-            var elabel = "";
-            elabel = label;
-
-            var preUpdateList = [];
-            if (fiberID.length > 1) {
-
-                for (var i = 0; i < fiberID.length; i++) {
-                    if (network.body.data.edges.get(fiberID[i].id).shadow == singleFiberJSON.options.shadow) {
-
-                        var fiber = network.body.data.edges.get(fiberID[i].id);
-                        preUpdateList.push(fiber);
-                        network.body.data.edges.update({
-                            id: fiberID[i].id, fiber_type: fiber_type, span_length: span_length, color: singleFiberJSON.options.color,
-                            h_color: singleFiberJSON.options.color,
-                            pre_color: singleFiberJSON.options.color,
-                            loss_coefficient: loss_coefficient, connector_in: connector_in, connector_out: connector_out, span_loss: span_loss
-                        });
-
-                        multipleFiberService(fiber.from, fiber.to);
-                        removeID = "#spanFP" + fiberID[i].id.replace(/\s/g, '');
-                        $(removeID).remove();
-                        $(removeID).remove();
-                        checkErrorFree();
-                        var tdata = network.body.data.edges.get(fiberID[i].id);
-                        removeEdgeList.push(tdata);
-                    }
-                }
-                if (removeEdgeList.length > 0) {
-                    var updateList = {
-                        isMultiple: true,
-                        isUpdate: true,
-                        preList: preUpdateList,
-                        list: removeEdgeList
-                    }
-                    tempUndo.push(updateList);
-                }
-
-            }
-            else {
-                network.body.data.edges.update({
-                    id: id, label: elabel, text: label, fiber_type: fiber_type, span_length: span_length, color: singleFiberJSON.options.color,
-                    h_color: singleFiberJSON.options.color,
-                    pre_color: singleFiberJSON.options.color,
-                    loss_coefficient: loss_coefficient, connector_in: connector_in, connector_out: connector_out, span_loss: span_loss
-                });
-                multipleFiberService(fiberDetails.from, fiberDetails.to);
-                removeID = "#spanFP" + id.replace(/\s/g, '');
-                $(removeID).remove();
-                $(removeID).remove();
-                checkErrorFree();
-                var tdata = network.body.data.edges.get(id);
-                tdata.isUpdate = true;
-                tempUndo.push(tdata);
-            }
-
-            clearSingleFiber();
-        }
-
-    }
-}
-
-/** Clear input/teporary data and other settings. */
-function clearSingleFiber() {
-
-    $("#txtSinlgeFiberName").val('');
-    $("#txtSource").val('');
-    $("#txtDestination").val('');
-    $("#ddlSingleFiberType").val('');
-    $("#txtSpan_Length").val('');
-    $("#txtLoss_Coefficient").val('');
-    $("#txtConnector_IN").val('');
-    $("#txtConnector_OUT").val('');
-    $("#txtSpan_Loss").val('');
-    $("#ddlSingleFiberType").removeClass('input_error');
-    $("#txtSpan_Length").removeClass('input_error');
-    $('#cbxLength_Based_Loss').prop('checked', false);
-    closeDrawer('singlefiber');
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-
-function deleteFiber(fiberList) {
-
-    removeEdgeList = [];
-    var shadow;
-    for (var i = 0; i < fiberList.length; i++) {
-        if (fiberList.length > 1) {
-            shadow = network.body.data.edges.get(fiberList[i].id).shadow;
-
-            if (shadow == singleFiberJSON.options.shadow)
-                removeFiber(fiberList[i].id, true);
-
-        }
-        else {
-            removeFiber(fiberList[i].id);
-        }
-    }
-
-    if (fiberList.length > 1 && removeEdgeList.length > 0) {
-        var reList = {
-            isMultiple: true,
-            isUpdate: false,
-            list: removeEdgeList
-        }
-        tempUndo.push(reList);
-    }
-
-    UnSelectAll();
-    enableEdgeIndicator();
-
-}
-
-/**
- * Remove fiber by fiber ID.
- * @param {string} fiberID - Component ID.
- * @param {boolean} isMultiple - Remove multiple fiber.
- */
-function removeFiber(fiberID, isMultiple) {
-    var fiber = network.body.data.edges.get(fiberID);
-
-    var fiberLabel = fiber.label;
-    if (fiber.label.trim() == "")
-        fiberLabel = fiber.text
-
-    var nodeDetails = network.body.data.nodes.get(fiber.from);
-    var toNodeDetails = network.body.data.nodes.get(fiber.to);
-
-    if (checkFiberPatchServiceCon(fiber.from, fiber.to, fiber.component_type))
-        return;
-
-
-    document.getElementById("dualFiberMenu").style.display = "none";
-    document.getElementById("singleFiberMenu").style.display = "none";
-    //remove roadm list from from roadm node
-
-    arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-    _roadmListDB.insert(JSON.stringify(arrRoadmTypePro));
-
-    _roadmListDB({
-        roadm_fiber_id: fiberID
-    }).remove();
-    arrRoadmTypePro = _roadmListDB().get();
-    network.body.data.nodes.update({
-        id: nodeDetails.id, roadm_type_pro: arrRoadmTypePro
-    });
-    //remove roadm list from to roadm node
-
-    arrRoadmTypePro = toNodeDetails.roadm_type_pro ? toNodeDetails.roadm_type_pro : [];
-    _roadmListDB.insert(JSON.stringify(arrRoadmTypePro));
-
-    _roadmListDB({
-        roadm_fiber_id: fiberID
-    }).remove();
-    arrRoadmTypePro = _roadmListDB().get();
-    network.body.data.nodes.update({
-        id: toNodeDetails.id, roadm_type_pro: arrRoadmTypePro
-    });
-
-    var tedge = network.body.data.edges.get(fiberID);
-    network.body.data.edges.remove(fiberID);
-    multipleFiberService(fiber.from, fiber.to);
-    nodeValidationInEdge(fiber.from, fiber.to);
-
-    if (isMultiple) {
-        removeEdgeList.push(tedge);
-    }
-    else {
-        tedge.isDelete = true;
-        tedge.isUpdate = false;
-        tempUndo.push(tedge);
-    }
-}
-
-/**
- * Displays fiber details when hover the mouse near the single fiber.
- * @param {object} params - Fiber details.
- */
-function displayFiberHover(params) {
-    var fiberDetails = network.body.data.edges.get(params.edge);
-    var fiber_type = "";
-    var span_length = "";
-    var span_loss = "";
-    if (fiberDetails.component_type == dualPatchJSON.component_type)
-        return;
-    if (fiberDetails.component_type == singleFiberJSON.component_type) {
-        if (fiberDetails.fiber_category == dualFiberJSON.fiber_category) {
-            var fromlabel = "(" + network.body.data.nodes.get(fiberDetails.from).label + " -> " + network.body.data.nodes.get(fiberDetails.to).label + ")";
-            var hoverData = fiberDetails.component_type + " name : " + fiberDetails.text + "\n";
-            hoverData += "--------------------------\n";
-            var fromlabel = "Fiber A [" + network.body.data.nodes.get(fiberDetails.from).label + " -> " + network.body.data.nodes.get(fiberDetails.to).label + " ]";
-            hoverData += fromlabel + "\n";
-
-            if (fiberDetails.fiber_type)
-                fiber_type = fiberDetails.fiber_type;
-            if (fiberDetails.span_length)
-                span_length = fiberDetails.span_length;
-            if (fiberDetails.loss_coefficient)
-                loss_coefficient = fiberDetails.loss_coefficient;
-            if (fiberDetails.connector_in)
-                connector_in = fiberDetails.connector_in;
-            if (fiberDetails.connector_out)
-                connector_out = fiberDetails.connector_out;
-            if (fiberDetails.span_loss)
-                span_loss = fiberDetails.span_loss;
-
-            hoverData += "Fiber type : " + fiber_type + "\n";
-            hoverData += "Span length(in km) : " + span_length + "\n";
-            hoverData += "Span loss : " + span_loss + "\n";
-            hoverData += "--------------------------\n";
-
-            var rxToTx = fiberDetails.RxToTxFiber;
-            var fromlabel = "Fiber B [" + network.body.data.nodes.get(fiberDetails.to).label + " -> " + network.body.data.nodes.get(fiberDetails.from).label + " ]";
-            hoverData += fromlabel + "\n";
-
-            if (rxToTx.fiber_type)
-                fiber_type = rxToTx.fiber_type;
-            if (rxToTx.span_length)
-                span_length = rxToTx.span_length;
-            if (rxToTx.loss_coefficient)
-                loss_coefficient = rxToTx.loss_coefficient;
-            if (rxToTx.connector_in)
-                connector_in = rxToTx.connector_in;
-            if (rxToTx.connector_out)
-                connector_out = rxToTx.connector_out;
-            if (rxToTx.span_loss)
-                span_loss = rxToTx.span_loss;
-
-            hoverData += "Fiber type : " + fiber_type + "\n";
-            hoverData += "Span length(in km) : " + span_length + "\n";
-            hoverData += "Span loss : " + span_loss + "\n";
-        }
-        else if (fiberDetails.fiber_category == singleFiberJSON.fiber_category) {
-            var hoverData = fiberDetails.component_type + " name : " + fiberDetails.text + "\n";
-            hoverData += "Source(Tx) : " + network.body.data.nodes.get(fiberDetails.from).label + "\n";
-            hoverData += "Destination(Rx) : " + network.body.data.nodes.get(fiberDetails.to).label + "\n";
-
-            if (fiberDetails.fiber_type)
-                fiber_type = fiberDetails.fiber_type;
-            if (fiberDetails.span_length)
-                span_length = fiberDetails.span_length;
-            if (fiberDetails.loss_coefficient)
-                loss_coefficient = fiberDetails.loss_coefficient;
-            if (fiberDetails.connector_in)
-                connector_in = fiberDetails.connector_in;
-            if (fiberDetails.connector_out)
-                connector_out = fiberDetails.connector_out;
-            if (fiberDetails.span_loss)
-                span_loss = fiberDetails.span_loss;
-
-            if (fiber_type == "")
-                hoverData += "<span style='color:red;'>Fiber type : " + fiber_type + "</span>\n";
-            else
-                hoverData += "Fiber type : " + fiber_type + "\n";
-
-            var spanlen = parseFloat(span_length);
-
-            if (isNaN(span_length) || spanlen <= 0 || span_length == "")
-                hoverData += "<span style='color:red;'>Span length(in km) : " + span_length + "</span>\n";
-            else
-                hoverData += "Span length(in km) : " + span_length + "\n";
-
-            hoverData += "Span loss : " + span_loss + "\n";
-        }
-    }
-    if (fiberDetails.component_type == serviceJSON.component_type) {
-        var hoverData = fiberDetails.component_type + " name : " + fiberDetails.text + "\n";
-        hoverData += "Source : " + network.body.data.nodes.get(fiberDetails.from).label + "\n";
-        hoverData += "Destination : " + network.body.data.nodes.get(fiberDetails.to).label + "\n";
-        hoverData += "Bandwidth (in Gbps) : " + fiberDetails.band_width + "\n";
-    }
-    $('#hoverDiv').html(htmlTitle(hoverData, commonJSON.background_color));
-    showHoverDiv(params.event.pageX, params.event.pageY, "hoverDiv");
-}
-
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/networkgraph_filesaver.js.html b/docs/networkgraph_filesaver.js.html deleted file mode 100644 index 7e002a7..0000000 --- a/docs/networkgraph_filesaver.js.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - JSDoc: Source: networkgraph/filesaver.js - - - - - - - - - - -
- -

Source: networkgraph/filesaver.js

- - - - - - -
-
-
 /**
- * filesaver.js
- * Filesaver.js is the solution to saving files on the client-side and is perfect for web apps that generate files on the client.
- * @module filesaver
- */
-
-/*
-* FileSaver.js
-* A saveAs() FileSaver implementation.
-*
-* By Eli Grey, http://eligrey.com
-*
-* License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)
-* source  : http://purl.eligrey.com/github/FileSaver.js
-*/
-
-// The one and only way of getting global scope in all environments
-// https://stackoverflow.com/q/3277182/1008999
-var _global = typeof window === 'object' && window.window === window
-    ? window : typeof self === 'object' && self.self === self
-        ? self : typeof global === 'object' && global.global === global
-            ? global
-            : this
-
-function bom(blob, opts) {
-    if (typeof opts === 'undefined') opts = { autoBom: false }
-    else if (typeof opts !== 'object') {
-        console.warn('Deprecated: Expected third argument to be a object')
-        opts = { autoBom: !opts }
-    }
-
-    // prepend BOM for UTF-8 XML and text/* types (including HTML)
-    // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF
-    if (opts.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(blob.type)) {
-        return new Blob([String.fromCharCode(0xFEFF), blob], { type: blob.type })
-    }
-    return blob
-}
-
-function download(url, name, opts) {
-    var xhr = new XMLHttpRequest()
-    xhr.open('GET', url)
-    xhr.responseType = 'blob'
-    xhr.onload = function () {
-        saveAs(xhr.response, name, opts)
-    }
-    xhr.onerror = function () {
-        console.error('could not download file')
-    }
-    xhr.send()
-}
-
-function corsEnabled(url) {
-    var xhr = new XMLHttpRequest()
-    // use sync to avoid popup blocker
-    xhr.open('HEAD', url, false)
-    try {
-        xhr.send()
-    } catch (e) { }
-    return xhr.status >= 200 && xhr.status <= 299
-}
-
-// `a.click()` doesn't work for all browsers (#465)
-function click(node) {
-    try {
-        node.dispatchEvent(new MouseEvent('click'))
-    } catch (e) {
-        var evt = document.createEvent('MouseEvents')
-        evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80,
-            20, false, false, false, false, 0, null)
-        node.dispatchEvent(evt)
-    }
-}
-
-// Detect WebView inside a native macOS app by ruling out all browsers
-// We just need to check for 'Safari' because all other browsers (besides Firefox) include that too
-// https://www.whatismybrowser.com/guides/the-latest-user-agent/macos
-var isMacOSWebView = _global.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent)
-
-var saveAs = _global.saveAs || (
-    // probably in some web worker
-    (typeof window !== 'object' || window !== _global)
-        ? function saveAs() { /* noop */ }
-
-        // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView
-        : ('download' in HTMLAnchorElement.prototype && !isMacOSWebView)
-            ? function saveAs(blob, name, opts) {
-                var URL = _global.URL || _global.webkitURL
-                var a = document.createElement('a')
-                name = name || blob.name || 'download'
-
-                a.download = name
-                a.rel = 'noopener' // tabnabbing
-
-                // TODO: detect chrome extensions & packaged apps
-                // a.target = '_blank'
-
-                if (typeof blob === 'string') {
-                    // Support regular links
-                    a.href = blob
-                    if (a.origin !== location.origin) {
-                        corsEnabled(a.href)
-                            ? download(blob, name, opts)
-                            : click(a, a.target = '_blank')
-                    } else {
-                        click(a)
-                    }
-                } else {
-                    // Support blobs
-                    a.href = URL.createObjectURL(blob)
-                    setTimeout(function () { URL.revokeObjectURL(a.href) }, 4E4) // 40s
-                    setTimeout(function () { click(a) }, 0)
-                }
-            }
-
-            // Use msSaveOrOpenBlob as a second approach
-            : 'msSaveOrOpenBlob' in navigator
-                ? function saveAs(blob, name, opts) {
-                    name = name || blob.name || 'download'
-
-                    if (typeof blob === 'string') {
-                        if (corsEnabled(blob)) {
-                            download(blob, name, opts)
-                        } else {
-                            var a = document.createElement('a')
-                            a.href = blob
-                            a.target = '_blank'
-                            setTimeout(function () { click(a) })
-                        }
-                    } else {
-                        navigator.msSaveOrOpenBlob(bom(blob, opts), name)
-                    }
-                }
-
-                // Fallback to using FileReader and a popup
-                : function saveAs(blob, name, opts, popup) {
-                    // Open a popup immediately do go around popup blocker
-                    // Mostly only available on user interaction and the fileReader is async so...
-                    popup = popup || open('', '_blank')
-                    if (popup) {
-                        popup.document.title =
-                            popup.document.body.innerText = 'downloading...'
-                    }
-
-                    if (typeof blob === 'string') return download(blob, name, opts)
-
-                    var force = blob.type === 'application/octet-stream'
-                    var isSafari = /constructor/i.test(_global.HTMLElement) || _global.safari
-                    var isChromeIOS = /CriOS\/[\d]+/.test(navigator.userAgent)
-
-                    if ((isChromeIOS || (force && isSafari) || isMacOSWebView) && typeof FileReader !== 'undefined') {
-                        // Safari doesn't allow downloading of blob URLs
-                        var reader = new FileReader()
-                        reader.onloadend = function () {
-                            var url = reader.result
-                            url = isChromeIOS ? url : url.replace(/^data:[^;]*;/, 'data:attachment/file;')
-                            if (popup) popup.location.href = url
-                            else location = url
-                            popup = null // reverse-tabnabbing #460
-                        }
-                        reader.readAsDataURL(blob)
-                    } else {
-                        var URL = _global.URL || _global.webkitURL
-                        var url = URL.createObjectURL(blob)
-                        if (popup) popup.location = url
-                        else location.href = url
-                        popup = null // reverse-tabnabbing #460
-                        setTimeout(function () { URL.revokeObjectURL(url) }, 4E4) // 40s
-                    }
-                }
-)
-
-_global.saveAs = saveAs.saveAs = saveAs
-
-if (typeof module !== 'undefined') {
-    module.exports = saveAs;
-}
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/networkgraph_mynetwork.js.html b/docs/networkgraph_mynetwork.js.html deleted file mode 100644 index 89923f1..0000000 --- a/docs/networkgraph_mynetwork.js.html +++ /dev/null @@ -1,3796 +0,0 @@ - - - - - JSDoc: Source: networkgraph/mynetwork.js - - - - - - - - - - -
- -

Source: networkgraph/mynetwork.js

- - - - - - -
-
-
 /**
- * mynetwork.js
- * The mynetwork library file describes how to initialize the network area using vis.js and defines common functionalities of network components.
- * @module mynetwork
- */
-
-var nodes = null;
-var edges = null;
-var network = null;
-var data = getScaleFreeNetwork(0);
-var seed = 2;
-var previousId = 0;
-var currentId = 0;
-var _nodesDB = new TAFFY();
-var _edgeDB = new TAFFY();
-var _insertnodeDB = new TAFFY();
-var container;
-var exportArea;
-var importButton;
-var exportButton;
-var dropdownshape;
-var isService = 0;
-var isCopy = false;
-var copyID;
-var isCopyPara = false;
-localStorage.setItem("copyedgeid", "");
-localStorage.setItem("copynodeid", "");
-localStorage.setItem("deletenodeconectededge", "");
-var optionsJSON = "";
-var roadmJSON = "";
-var ILAJSON = "";
-var amplifierJSON = "";
-var ramanampJSON = "";
-var fusedJSON = "";
-var transceiverJSON = "";
-var dualFiberJSON = "";
-var singleFiberJSON = "";
-var serviceJSON = "";
-var singlePatchJSON = "";
-var dualPatchJSON = "";
-var fiberJSON = "";
-var commonJSON = "";
-var configData = "";
-var styleData = "";
-var eqpt_config = "";
-var arrRoadmTypePro = [];
-var _roadmListDB = new TAFFY();
-var isLocalStorage = false;
-var nodeMode = "";
-var DIR = "";
-var eleroadmtype = "ddlroadmType";
-var elepreamptype = "ddlPreAmpType";
-var eleboostertype = "ddlBoosterType";
-var currentStepper = "";
-var insertNodeX = 0;
-var insertNodeY = 0;
-var isShow = false;
-var isExpandedView = false;
-var tSpanLength = "";
-var tType = "";
-var tConnector_in = "";
-var tConnector_out = "";
-var tBandwidth = "";
-var eqptData = "";
-var bullet = "&#9632; ";
-var nodeSelect = false;
-var tempUndo = [];
-var tempRedo = [];
-var removeNodeList = [];
-var removeEdgeList = [];
-var nofNode = 1;
-var hoverNodeData;
-var importNodes = [];
-var importEdges = [];
-var copiedNodeID;
-var showMenu = 0;
-var preScale;
-var prePosition;
-var _eqpt_json;
-var isEqptFile = false;
-var isImportJSON = false;
-
-var displayEdgeLabels = false;
-var hiddenNodeTextDisplayOptions;
-var displayNodeLabels = false;
-
-/**  Hide fiber/patch/service label. */
-var hiddenEdgeTextOptions = {
-    edges: {
-        font: {
-            // Set the colors to transparent
-            color: 'transparent',
-            strokeColor: 'transparent'
-        }
-    },
-    nodes: {
-        font: {
-            // Set the colors to transparent
-            color: 'transparent',
-            strokeColor: 'transparent'
-        }
-    },
-};
-
-/** Hide node label. */
-var hiddenNodeTextOptions = {
-    nodes: {
-        font: {
-            // Set the colors to transparent
-            color: 'transparent',
-            strokeColor: 'transparent'
-        }
-    }
-};
-
-$(document).ready(function () {
-
-    $.getJSON("/data/styledata.json", function (data) {
-        optionsJSON = data.options;
-        roadmJSON = data.Roadm;
-        hiddenNodeTextDisplayOptions = {
-            nodes: {
-                font: roadmJSON.font
-            }
-        };
-        ILAJSON = data.ILA;
-        amplifierJSON = data.Amplifier;
-        ramanampJSON = data.RamanAmplifier;
-        fusedJSON = data.Fused;
-        transceiverJSON = data.Transceiver;
-        dualFiberJSON = data.DualFiber;
-        singleFiberJSON = data.SingleFiber;
-        serviceJSON = data.Service;
-        singlePatchJSON = data.SinglePatch;
-        dualPatchJSON = data.DualPatch;
-        styleData = data;
-        fiberJSON = data.Fiber;
-        commonJSON = data.common;
-    }).fail(function () {
-        console.log("An error has occurred on style data json.");
-    });
-    $.getJSON("/data/configurationdata.json", function (data) {
-
-        configData = data;
-        DIR = configData.node.dir;
-        $("[id='siteLength']").each(function () {
-            $(this).text(' (Max Length ' + configData.node.site_length + ')');
-        })
-    }).fail(function () {
-        console.log("An error has occurred on configuration data json.");
-    });
-    $.getJSON("/data/Equipment_JSON_MOD2.json", function (data) {
-        eqpt_config = data;
-        load_EqptConfig();
-    }).fail(function () {
-        console.log("An error has occurred on Equipment_JSON_MOD2 json.");
-    });
-    $("#btncaptureimagenetwork").click(function () {
-        if (networkValidation())
-            captureImage();
-    });
-    $("#btnSaveNetwork, #btnSaveNetworkTop").click(function () {
-
-        if (networkValidation()) {
-            //exportNetwork(true);
-            $("*.ES").html("Save As");
-            $("#txtFileName").val('');
-            $("#staticBackdrop1").modal('show');
-        }
-    });
-    $("#btnExportPopup").click(function () {
-        if (networkValidation()) {
-            //topologyValidation();
-            $("*.ES").html("Export");
-            $("#txtFileName").val('');
-            $("#staticBackdrop1").modal('show');
-        }
-    });
-    $("#btnValidation").click(function () {
-        if (networkValidation()) {
-            preScale = network.getScale();
-            prePosition = network.getViewPosition();
-            if (!topologyValidation(true)) {
-                showMessage(alertType.Success, 'Successfully validated');
-            }
-        }
-    });
-    $("#exportNetwork").click(function () {
-        if (networkValidation()) {
-            $("#staticBackdrop1").modal('show');
-        }
-    });
-    $("#btnExportNetwork").click(function () {
-        if (networkValidation() && exportFileValidation()) {
-            exportNetwork(false);
-            $("#staticBackdrop1").modal('hide');
-        }
-    });
-    $("#errorClose").click(function () {
-
-        var errNodes = network.body.data.nodes.get({
-            filter: function (item) {
-                return (item.is_error == true);
-            }
-        });
-
-        var errFiber = network.body.data.edges.get({
-            filter: function (item) {
-                return (item.is_error == true);
-            }
-        });
-        if (errNodes.length > 0 || errFiber.length > 0) {
-            removeHighlight();
-            network.moveTo({
-                position: prePosition,
-                scale: preScale,
-            });
-
-        }
-
-
-    });
-    $("#btnAddRoadm").click(function () {
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(1, "Roadm");
-    });
-    $("#btnAddILA").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(2, "ILA");
-    });
-    $("#btnAddAmplifier").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(5, "amplifier");
-    });
-    $("#btnAddRamAmp").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(6, "ramanamp");
-    });
-    $("#btnAddFused").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(3, "fused");
-    });
-    $("#btnAddTransceiver").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        enableDisableNode(4, "transceiver");
-    });
-    $("#btnAddDualFiber").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        if (isDualFiberMode == 1) {
-            modeHighLight();
-            isDualFiberMode = 0;
-        }
-        else {
-            network.addEdgeMode();
-            modeHighLight('dualfiber');
-            dualFiberMode();
-        }
-    });
-    $("#btnAddSingleFiber").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        if (isSingleFiberMode == 1) {
-            modeHighLight();
-            isSingleFiberMode = 0;
-        }
-        else {
-            network.addEdgeMode();
-            modeHighLight('singlefiber');
-            singleFiberMode();
-        }
-    });
-    $("#btnServiceActive").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        if (networkValidation()) {
-            if (isAddService == 1) {
-                modeHighLight();
-                isAddService = 0;
-            }
-            else {
-                network.addEdgeMode();
-                modeHighLight('service');
-                addServiceMode();
-            }
-        }
-    });
-    $("#btnAddDualPatch").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        if (isDualPatchMode == 1) {
-            modeHighLight();
-            isDualPatchMode = 0;
-        }
-        else {
-            network.addEdgeMode();
-            modeHighLight('dualpatch');
-            dualPatchMode();
-        }
-    });
-    $("#btnAddSinglePatch").click(function () {
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        if (isSinglePatchMode == 1) {
-            modeHighLight();
-            isSinglePatchMode = 0;
-        }
-        else {
-            network.addEdgeMode();
-            modeHighLight('singlepatch');
-            singlePatchMode();
-        }
-    });
-    $("#stepGP").click(function () {
-        $("#staticBackdrop4").modal('show');
-        var simulationData = JSON.parse(sessionStorage.getItem("simulationParameters"));
-        $("#txtFrgMin").val(simulationData["frequency-min"]);
-        $("#txtFrqMax").val(simulationData["frequency-max"]);
-        $("#txtGridSpac").val(simulationData["spacing"]);
-        $("#txtNoOfChannel").val(simulationData["noOfChannel"]);
-        $("#txtAgeingMargin").val(simulationData["system-margin"]);
-    });
-    $("#btnSaveGP").click(function () {
-        saveSimulations($("#txtFrgMin").val(), $("#txtFrqMax").val(), $("#txtGridSpac").val(), $("#txtNoOfChannel").val(), $("#txtAgeingMargin").val());
-        $("#staticBackdrop4").modal('hide');
-    });
-    $("#btnCloseSP, #btnCloseGP").click(function () {
-        $("#staticBackdrop4").modal('hide');
-    });
-    $('#cbxLength_Based_Loss').change(function () {
-        if (this.checked) {
-            var span_length = $("#txtSpan_Length").val().trim();
-            var spanlen = parseFloat(span_length);
-            var loss_coeff = $("#txtLoss_Coefficient").val().trim();
-            var lossCoeff = parseFloat(loss_coeff);
-            if (isNaN(span_length) || spanlen <= 0 || span_length == "" || isNaN(loss_coeff) || lossCoeff <= 0 || loss_coeff == "") {
-                $('#cbxLength_Based_Loss').prop('checked', false);
-                showMessage(alertType.Error, "Length based loss requires span length and loss coefficient to be entered");
-            }
-            else {
-                fiberLengthCal('txtSpan_Length', 'txtLoss_Coefficient', 'txtSpan_Loss');
-            }
-        }
-        else {
-            $("#txtSpan_Loss").val('');
-        }
-
-    });
-    $('#cbx_FiberALBL').change(function () {
-        if (this.checked) {
-            fiberLengthCal('txtFiberASL', 'txtFiberALC', 'txtFiberASpanLoss');
-        }
-    });
-    $('#cbx_FiberBLBL').change(function () {
-        if (this.checked) {
-            fiberLengthCal('txtFiberBSL', 'txtFiberBLC', 'txtFiberBSpanLoss');
-        }
-    });
-    $('#cbx_clone').change(function () {
-        if (this.checked) {
-            $("#ddlFiberBType").val($("#ddlFiberAType").val());
-            $("#txtFiberBSL").val($("#txtFiberASL").val());
-            $("#txtFiberBLC").val($("#txtFiberALC").val());
-            $("#txtFiberBCIN").val($("#txtFiberACIN").val());
-            $("#txtFiberBCOUT").val($("#txtFiberACOUT").val());
-            $("#txtFiberBSpanLoss").val($("#txtFiberASpanLoss").val());
-        }
-    });
-    $("#importEqptLink").click(function () {
-        $("#importEqpt").click();
-    });
-
-    /**
-    * Read text from import json file.
-    * @param {string} file - Get path as file.
-    * @param callback - The callback that handles the response.
-    */
-    function readTextFile(file, callback) {
-        var rawFile = new XMLHttpRequest();
-        rawFile.overrideMimeType("application/json");
-        rawFile.open("GET", file, true);
-        rawFile.onreadystatechange = function () {
-            if (rawFile.readyState === 4 && rawFile.status == "200") {
-                callback(rawFile.responseText);
-            }
-            vper = vper + 10;
-            document.getElementById("per").innerText = vper + '%';
-        }
-        rawFile.send(null);
-    }
-    var vper = 30;
-    $("#importEqpt").on('change', function (e) {
-
-        var file = e.target.files[0];
-        if (file) {
-
-            $('#loader').show();
-            var path = (window.URL || window.webkitURL).createObjectURL(file);
-            document.getElementById("per").innerText = 20 + '%';
-            readTextFile(path, function (text) {
-
-                if (text) {
-                    try {
-                        document.getElementById("per").innerText = "80%";
-                        eqptData = JSON.parse(text);
-                        isEqptFile = true;
-                        eqpt_config = eqptData;
-                        load_EqptConfig(true);
-                        nodeRuleOnImportJSON();
-                        document.getElementById("per").innerText = "90%";
-                        edgeStyleOnImportJSON();
-                    }
-                    catch (e) {
-                        showMessage(alertType.Error, "KeyError:'elements', try again");
-                        hideLoader();
-                    }
-                }
-            });
-        }
-    });
-
-    /** 
-     *  Undo network actions. 
-     *  The redo function is used to restores any actions that were previously undone using an undo. 
-     *  We stored every undo action detail one by one into array list (tempRedo) like node creation/deletion/updating etc...
-     *  Ex: node creation/deletion/updating: tempRedo.push(nodedata).
-     *  we fetch latest one record from array list (tempRedo) then will check record whether creation/deletion/updating after that will call the relevant action. 
-     *  After will stored action details into new array list (tempUndo) then will using pop method to remove record from array list (tempRedo) ex: tempRedo.pop().
-     *  Ex: node deletion:
-     *  tempUndoo.push(nodedata).
-     *  data.nodes.remove (latest record of tempRedo).
-     */
-    
-    $("#button_undo").on("click", function () {
-        if (tempUndo.length > 0) {
-            var tempData = tempUndo[tempUndo.length - 1];
-            if (!tempData.isMultiple) {
-                var isBreak = false;
-                if (tempData.isUpdate) {
-                    var undoLength = tempUndo.length;
-                    for (var i = 1; i < undoLength; i++) {
-                        if (!tempUndo[undoLength - (i + 1)].isMultiple) {
-                            if (tempUndo[undoLength - 1].id == tempUndo[undoLength - (i + 1)].id) {
-                                if (tempData.component_type == roadmJSON.component_type) {
-                                    var redoupdate = data.nodes.get(tempUndo[undoLength - (i + 1)].id);
-                                    tempRedo.push(redoupdate);
-                                    data.nodes.update(tempUndo[undoLength - (i + 1)]);
-                                }
-                                else {
-                                    var redoupdate = data.edges.get(tempUndo[undoLength - (i + 1)].id);
-                                    tempRedo.push(redoupdate);
-
-                                    data.edges.update(tempUndo[undoLength - (i + 1)]);
-                                    nodeValidationInEdge(tempUndo[undoLength - (i + 1)].from, tempUndo[undoLength - (i + 1)].to);
-                                    multipleFiberService(tempUndo[undoLength - (i + 1)].from, tempUndo[undoLength - (i + 1)].to);
-                                }
-                                isBreak = true;
-                                break;
-                            }
-                        }
-                        else {
-                            for (var j = 0; j < tempUndo[undoLength - (i + 1)].list.length; j++) {
-                                if (tempUndo[undoLength - 1].id == tempUndo[undoLength - (i + 1)].list[j].id) {
-                                    if (tempData.component_type == roadmJSON.component_type) {
-                                        var redoupdate = data.nodes.get(tempUndo[undoLength - (i + 1)].list[j].id);
-                                        tempRedo.push(redoupdate);
-                                        data.nodes.update(tempUndo[undoLength - (i + 1)].list[j]);
-                                    }
-                                    else {
-                                        var redoupdate = data.edges.get(tempUndo[undoLength - (i + 1)].list[j].id);
-                                        tempRedo.push(redoupdate);
-
-                                        data.edges.update(tempUndo[undoLength - (i + 1)].list[j]);
-                                        nodeValidationInEdge(tempUndo[undoLength - (i + 1)].list[j].from, tempUndo[undoLength - (i + 1)].list[j].to);
-                                        multipleFiberService(tempUndo[undoLength - (i + 1)].list[j].from, tempUndo[undoLength - (i + 1)].list[j].to);
-                                    }
-                                    isBreak = true;
-                                    break;
-                                }
-                            }
-                            if (isBreak)
-                                break;
-                        }
-                    }
-                    if (!isBreak) {
-                        if (tempData.component_type == roadmJSON.component_type) {
-                            data.nodes.remove(tempUndo[undoLength - 1]);
-                            tempRedo.push(tempUndo[undoLength - 1]);
-                        }
-                        else {
-                            data.edges.remove(tempUndo[undoLength - 1]);
-                            tempRedo.push(tempUndo[undoLength - 1]);
-                            nodeValidationInEdge(tempUndo[undoLength - 1].from, tempUndo[undoLength - 1].to);
-                            multipleFiberService(tempUndo[undoLength - 1].from, tempUndo[undoLength - 1].to);
-                        }
-                    }
-                }
-                else if (tempData.isDelete) {
-                    if (tempData.component_type == roadmJSON.component_type) {
-                        data.nodes.update(tempData);
-                        var redoupdate = data.nodes.get(tempData.id);
-                        tempRedo.push(redoupdate);
-
-                    }
-                    else {
-                        data.edges.update(tempData);
-                        var redoupdate = data.edges.get(tempData.id);
-                        tempRedo.push(redoupdate);
-                        nodeValidationInEdge(tempData.from, tempData.to);
-                        multipleFiberService(tempData.from, tempData.to);
-                    }
-                    tempUndo[tempUndo.length - 1].isDelete = false;
-                    tempUndo[tempUndo.length - 1].isUpdate = true;
-
-                    tempRedo[tempRedo.length - 1].isDelete = true;
-                    tempRedo[tempRedo.length - 1].isUpdate = false;
-                }
-                else {
-                    if (tempData.component_type == roadmJSON.component_type) {
-                        data.nodes.remove(tempData);
-                        tempRedo.push(tempData);
-
-                    }
-                    else {
-                        data.edges.remove(tempData);
-                        tempRedo.push(tempData);
-                        nodeValidationInEdge(tempData.from, tempData.to);
-                        multipleFiberService(tempData.from, tempData.to);
-                    }
-                }
-                tempUndo.pop();
-            }
-            else {
-                if (tempData.isUpdate) {
-                    for (var i = 0; i < tempData.list.length; i++) {
-
-                        if (tempData.list[i].component_type == roadmJSON.component_type) {
-                            for (var j = 0; j < tempData.preList.length; j++) {
-                                if (tempData.list[i].id == tempData.preList[j].id) {
-                                    data.nodes.update(tempData.preList[j]);
-                                    break;
-                                }
-                            }
-                        }
-                        else if (tempData.list[i].component_type == singleFiberJSON.component_type) {
-                            for (var j = 0; j < tempData.preList.length; j++) {
-                                if (tempData.list[i].id == tempData.preList[j].id) {
-                                    data.edges.update(tempData.preList[j]);
-                                    nodeValidationInEdge(tempData.preList[j].from, tempData.preList[j].to);
-                                    multipleFiberService(tempData.preList[j].from, tempData.preList[j].to);
-                                    break;
-                                }
-                            }
-                        }
-                    }
-                    tempRedo.push(tempData);
-                }
-                else {
-                    for (var i = 0; i < tempData.list.length; i++) {
-                        if (tempData.list[i].component_type == roadmJSON.component_type)
-                            data.nodes.update(tempData.list[i]);
-                        else if (tempData.list[i].component_type == singleFiberJSON.component_type) {
-                            data.edges.update(tempData.list[i]);
-                            nodeValidationInEdge(tempData.list[i].from, tempData.list[i].to);
-                            multipleFiberService(tempData.list[i].from, tempData.list[i].to);
-                        }
-                    }
-
-                    tempRedo.push(tempData);
-                }
-                tempUndo.pop();
-            }
-        }
-        remove_NodeFiberHighlight();
-
-        $(btnAddRoadm).removeClass('highlight');
-        $(btnAddFused).removeClass('highlight');
-        $(btnAddILA).removeClass('highlight');
-        $(btnAddAmplifier).removeClass('highlight');
-        $(btnAddTransceiver).removeClass('highlight')
-        nodeMode = 0;
-        enableEdgeIndicator();
-
-    });
-
-    /** 
-     *  Redo network actions.
-     *  The undo function is used to reverse a mistake, such as deleting the wrong element in a network topology. 
-     *  We stored every action detail one by one into array list (tempUndo) like node creation/deletion/updating etc...
-     *  ex:node creation/deletion/updating: tempUndo.push(nodedata).
-     *  we fetch latest one record from array list (tempUndo) then will check record whether creation/deletion/updating after that will call the relevant action. 
-     *  After will stored action details into new array list (tempRedo) then will using pop method to remove record from array list (tempUndo) ex: tempUndo.pop().
-     *  Ex: node updating:
-     *  tempRedo.push(nodedata).
-     *  data.nodes.update (latest record of tempUndo).
-     */
-    $("#button_redo").on("click", function () {
-        if (tempRedo.length > 0) {
-            var tempData = tempRedo[tempRedo.length - 1];
-
-            if (!tempData.isMultiple) {
-
-                if (tempData.isDelete) {
-
-                    tempUndo.push(tempData);
-                    tempUndo[tempUndo.length - 1].isDelete = true;
-                    tempUndo[tempUndo.length - 1].isUpdate = false;
-
-                    if (tempData.component_type == roadmJSON.component_type) {
-                        data.nodes.remove(tempData);
-                    }
-                    else {
-                        data.edges.remove(tempData);
-                        nodeValidationInEdge(tempData.from, tempData.to);
-                        multipleFiberService(tempData.from, tempData.to);
-                    }
-                    tempRedo.pop();
-                }
-                else {
-                    tempUndo.push(tempData);
-                    tempUndo[tempUndo.length - 1].isDelete = false;
-                    tempUndo[tempUndo.length - 1].isUpdate = true;
-                    if (tempData.component_type == roadmJSON.component_type) {
-                        data.nodes.update(tempData);
-                    }
-                    else {
-                        data.edges.update(tempData);
-                        nodeValidationInEdge(tempData.from, tempData.to);
-                        multipleFiberService(tempData.from, tempData.to);
-                    }
-
-                    tempRedo.pop();
-                }
-            }
-            else {
-
-                if (!tempData.isUpdate) {
-                    for (var i = 0; i < tempData.list.length; i++) {
-                        if (tempData.list[i].component_type == roadmJSON.component_type)
-                            data.nodes.remove(tempData.list[i]);
-                        else if (tempData.list[i].component_type == singleFiberJSON.component_type) {
-                            data.edges.remove(tempData.list[i]);
-                            nodeValidationInEdge(tempData.list[i].from, tempData.list[i].to);
-                            multipleFiberService(tempData.list[i].from, tempData.list[i].to);
-                        }
-                    }
-                }
-                else {
-                    for (var i = 0; i < tempData.preList.length; i++) {
-                        if (tempData.preList[i].component_type == roadmJSON.component_type) {
-                            for (var j = 0; j < tempData.list.length; j++) {
-                                if (tempData.list[j].id == tempData.preList[i].id) {
-                                    data.nodes.update(tempData.list[i]);
-                                    break;
-                                }
-                            }
-                        }
-                        else if (tempData.preList[i].component_type == singleFiberJSON.component_type) {
-                            for (var j = 0; j < tempData.list.length; j++) {
-                                if (tempData.list[j].id == tempData.preList[i].id) {
-                                    data.edges.update(tempData.list[i]);
-                                    nodeValidationInEdge(tempData.list[i].from, tempData.list[i].to);
-                                    multipleFiberService(tempData.list[i].from, tempData.list[i].to);
-                                    break;
-                                }
-                            }
-                        }
-                    }
-                }
-                tempUndo.push(tempData);
-                tempRedo.pop();
-            }
-
-        }
-
-        remove_NodeFiberHighlight();
-
-        $(btnAddRoadm).removeClass('highlight');
-        $(btnAddFused).removeClass('highlight');
-        $(btnAddILA).removeClass('highlight');
-        $(btnAddAmplifier).removeClass('highlight');
-        $(btnAddTransceiver).removeClass('highlight')
-        nodeMode = 0;
-        enableEdgeIndicator();
-
-    });
-    $("#showHideEle").on("click", function () {
-        hideEdgeLabels();
-        enableEdgeIndicator();
-        if (nodeMode == nodeType.ROADM || nodeMode == nodeType.ILA || nodeMode == nodeType.Attenuator || nodeMode == nodeType.Transceiver || nodeMode == nodeType.Amplifier || nodeMode == nodeType.RamanAmplifier)
-            network.addNodeMode();
-    });
-    $("#hoverDiv").mouseover(function () {
-        $(this).hide();
-    });
-    $("#stepCreateTopology").click(function () {
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        $("#edit-topology").show();
-        $("#add-service").hide();
-    });
-    $("#stepAddService").click(function () {
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        $("#edit-topology").hide();
-        $("#add-service").show();
-    });
-    $("#stepSaveNetwork").click(function () {
-        $("#edit-topology").hide();
-        $("#add-service").hide();
-    });
-    $("#ddlNetworkView").change(function () {
-        networkView($(this).val());
-    });
-    $('#btn_CreateNetwork').click(function () {
-        $('#divSelection').hide();
-        $("#stepCreateTopology").click();
-    });
-    $('#cbxSingleFiber').change(function () {
-        if (this.checked) {
-            //alert();
-        }
-    });
-});
-
-/**
- * Network view changes by selection. 
- * Show/Hid the some components menu and options based on selected network view.
- * @param {number} view - 1 -> NE view, 2-> Functional view.
- */
-function networkView(view) {
-    if (view == topologyView.NE_View)//collapsed view /NE view
-    {
-        networkMenuHide();
-        $("#btnAddSingleFiber").hide();
-        $("#btnAddSinglePatch").hide();
-        $("#btnAddRamAmp").hide();
-        $("#btnAddAmplifier").hide();
-
-        $("#btnAddILA").show();
-        $("#btnAddDualFiber").show();
-        //$("#btnAddDualPatch").show();
-        //isExpandedView = false;
-
-        //if (isImportJSON) {
-        //    $("#edit-topology").hide();
-        //    $("#add-service").hide();
-        //}
-        expandAndCollapseView(topologyView.NE_View);
-    }
-    else if (view == topologyView.Functional_View)//expanded view/Functional View
-    {
-        networkMenuHide();
-        $("#btnAddSingleFiber").show();
-        $("#btnAddSinglePatch").show();
-        $("#btnAddRamAmp").show();
-        $("#btnAddAmplifier").show();
-
-        $("#btnAddILA").hide();
-        $("#btnAddDualFiber").hide();
-        //$("#btnAddDualPatch").hide();
-        //if (isImportJSON) {
-        //$("#edit-topology").hide();
-        //$("#add-service").hide();
-        //isExpandedView = true;
-
-        //disabled temp - increase performance in import json
-        //expandAndCollapseView(topologyView.Functional_View);
-
-        //}
-        //else {
-        //    isExpandedView = false;
-        //    expandAndCollapseView(false);
-        //}
-    }
-}
-
-/**
- * Show/Hide the node/fiber/patch/service label by network view.
- * @param {number} view - 1 -> NE view, 2-> Functional view.
- */
-function expandAndCollapseView(view) {
-    var FVEdges = network.body.data.edges.get({
-        filter: function (item) {
-            return (item.view == topologyView.Functional_View);
-        }
-    });
-    var FVNodes = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.view == topologyView.Functional_View);
-        }
-    });
-    var NVEdges = network.body.data.edges.get({
-        filter: function (item) {
-            return (item.view == topologyView.NE_View);
-        }
-    });
-    var NVNodes = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.view == topologyView.NE_View);
-        }
-    });
-    if (view == topologyView.Functional_View) {
-        $.each(FVEdges, function (index, item) {
-            network.body.data.edges.update({
-                id: item.id, hidden: false
-            });
-        });
-        $.each(FVNodes, function (index, item) {
-            network.body.data.nodes.update({
-                id: item.id, hidden: false
-            });
-        });
-
-        $.each(NVEdges, function (index, item) {
-            network.body.data.edges.update({
-                id: item.id, hidden: true
-            });
-        });
-        $.each(NVNodes, function (index, item) {
-            network.body.data.nodes.update({
-                id: item.id, hidden: true
-            });
-        });
-
-
-    }
-    else if (view == topologyView.NE_View) {
-        $.each(FVEdges, function (index, item) {
-            network.body.data.edges.update({
-                id: item.id, hidden: true
-            });
-        });
-        $.each(FVNodes, function (index, item) {
-            network.body.data.nodes.update({
-                id: item.id, hidden: true
-            });
-        });
-
-        $.each(NVEdges, function (index, item) {
-            network.body.data.edges.update({
-                id: item.id, hidden: false
-            });
-        });
-        $.each(NVNodes, function (index, item) {
-            network.body.data.nodes.update({
-                id: item.id, hidden: false
-            });
-        });
-    }
-}
-function networkMenuHide() {
-    if (currentStepper) {
-        if (currentStepper == "stepCreateTopology") {
-            showMenu = 1;
-            $("#stepCreateTopology").click();
-        }
-        else if (currentStepper == "stepAddService") {
-            showMenu = 2;
-            $("#stepAddService").click();
-        }
-    }
-    else {
-        showMenu = 1;
-        $("#stepCreateTopology").click();
-    }
-}
-/** This function is used to show/hide the nodes/fiber/patch/service labels except ROADM. 
- * Here we udpate the network options.
- * Update the model of edge and node color as transparent then set it to network options. 
- */
-
-function hideEdgeLabels() {
-    if (!displayEdgeLabels) {
-        // Apply options for hidden edge text
-        // This will override the existing options for text color
-        // This does not clear other options (e.g. node.color)
-        network.setOptions(hiddenEdgeTextOptions);
-        displayEdgeLabels = true;
-    } else {
-        // Apply standard options
-        options.physics = optionsJSON.physics;
-        network.setOptions(options);
-        displayEdgeLabels = false;
-    }
-    enableEdgeIndicator();
-}
-
-/**
- * Calculate the fiber span loss, length and coefficient.
- * @param {string} eleSL - The span length of fiber.
- * @param {string} eleLC - The loss coefficient of fiber.
- * @param {string} eleSpanLoss - The span loss of fiber.
- */
-function fiberLengthCal(eleSL, eleLC, eleSpanLoss) {
-    var spanLength = "#" + eleSL;
-    var lossCoefficient = "#" + eleLC;
-    var spanLoss = "#" + eleSpanLoss;
-    var span_length = parseFloat($(spanLength).val());
-    var loss_coefficient = parseFloat($(lossCoefficient).val());
-    $(spanLoss).val(span_length * loss_coefficient);
-}
-
-/**
- * Highlight/Un-Highlight the component menu by node mode and name.
- * @param {string} mode - Node mode.
- * @param {string} nodename - Node name.
- */
-function enableDisableNode(mode, nodename) {
-    if (nodeMode == mode) {
-        modeHighLight();
-        AddNodeMode();
-    }
-    else {
-        modeHighLight(nodename);
-        AddNodeMode(mode);
-    }
-}
-
-/**  Disable browser right click options. */
-$(document).bind("contextmenu", function (e) {
-    return false;
-});
-
-/** To create random text for token creation. */
-var rand = function () {
-    return Math.random().toString(36).substr(2); // remove `0.`
-};
-
-/** To generate token for component creation.
- * It will consider as component ID. */
-var token = function () {
-    return rand() + rand(); // to make it longer
-};
-
-/**
- * Initialize the vis.network,Data and options.
- * Define all component events.
- * @param {boolean} isImport - True -> Initialize while import network json file, False -> Initialize while page loading.
- */
-function draw(isImport) {
-    // create a network
-    var container = document.getElementById("mynetwork");
-    // create an array with nodes
-    nodes = new vis.DataSet([
-    ]);
-
-    // create an array with edges
-    edges = new vis.DataSet([
-
-    ]);
-    if (isImport) {
-        data = {
-            nodes: new vis.DataSet(importNodes),
-            edges: new vis.DataSet(importEdges)
-        }
-    }
-    else {
-        data = {
-            nodes: nodes,
-            edges: edges
-        }
-    }
-
-    var iteration = data.nodes.length + data.edges.length;
-    options = {
-        interaction: optionsJSON.interaction,
-        physics: {
-            stabilization: {
-                enabled: true,
-                iterations: 0,
-                updateInterval: 0,
-            },
-        },
-        edges: {
-            font: optionsJSON.edges.font,
-            smooth: optionsJSON.edges.smooth
-        },
-        nodes:
-        {
-            shape: roadmJSON.shape,
-            size: roadmJSON.size,
-            icon: roadmJSON.icon,
-            color: roadmJSON.color,
-            font: roadmJSON.font
-        },
-        manipulation: {
-            enabled: false,
-            addNode: function (data, callback) {
-                //if (isExpandedView || isImportJSON) {
-                //    return;
-                //}
-                if (nodeMode > 0 && nodeMode < 7) {
-                    addNodes(data, callback);
-                }
-            },
-            addEdge: function (data, callback) {
-                if (data.from == data.to)
-                    return;
-
-                if (isSingleFiberMode == 1 || isSingleFiberMode == 1) {
-                    addEdgeData = {
-                        from: data.from,
-                        to: data.to
-                    };
-                    addFiber();
-                }
-                else if (isSinglePatchMode == 1 || isDualPatchMode == 1) {
-                    addPatchData = {
-                        from: data.from,
-                        to: data.to
-                    };
-                    if (isSinglePatchMode == 1)
-                        addSinglePatch();
-                    else if (isDualPatchMode == 1)
-                        addDualPatch();
-
-                }
-                else if (isAddService == 1) {
-                    addServiceData = {
-                        from: data.from,
-                        to: data.to
-                    };
-                    addService();
-                }
-            },
-        },
-    };
-    network = new vis.Network(container, data, options);
-
-    network.on("click", function (params) {
-        $("#hoverDiv").hide();
-        if (!params.event.srcEvent.ctrlKey)
-            remove_NodeFiberHighlight();
-        else {
-            var clickedNode = this.body.nodes[this.getNodeAt(params.pointer.DOM)];
-            if (clickedNode != undefined) {
-                var nodeDetails = network.body.data.nodes.get(clickedNode.id);
-                if (!nodeSelect) {
-                    if (!network.body.nodes[clickedNode.id].selected) {
-                        if (nodeDetails.h_image) {
-                            network.body.data.nodes.update({
-                                id: nodeDetails.id, image: nodeDetails.h_image, h_image: nodeDetails.image, is_highlight: false
-                            });
-                        }
-                    }
-                }
-            }
-
-        }
-        var sNodes = network.body.data.nodes.get({
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-
-        if (sNodes.length == 0)
-            network.unselectAll();
-        nodeSelect = false;
-
-    });
-
-    network.on("selectEdge", function (params) {
-        if (params.nodes.length > 0)
-            return;
-
-        var selectedEdges = network.body.data.edges.get({
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        var clickedEdge = this.body.edges[this.getEdgeAt(params.pointer.DOM)];
-        var edgeDetails = network.body.data.edges.get(clickedEdge.id);
-        var copyDetails;
-        if (params.event.srcEvent.ctrlKey) {
-
-            var sEdges = network.body.data.edges.get({
-                filter: function (item) {
-                    return (item.is_highlight == true);
-                }
-            });
-            if (params.edges.length > 1) {
-                if (sEdges.length > 0)
-                    copyDetails = network.body.data.edges.get(sEdges[0].id);
-                else
-                    copyDetails = network.body.data.edges.get(params.edges[params.edges.length - 1]);
-            } else {
-                copyDetails = network.body.data.edges.get(params.edges[0]);
-            }
-
-            if (selectedEdges.length >= 0) {
-                if (selectedEdges.length > 0 && selectedEdges[selectedEdges.length - 1].component_type != selectedEdges.component_type) {
-                    copyDetails = selectedEdges[selectedEdges.length - 1];
-
-                    if (copyDetails.component_type != edgeDetails.component_type) {
-                        showMessage(alertType.Error, 'Please select same type of element (Fiber)');
-                        return;
-                    }
-                    else {
-                        $('#toast').toast('hide');
-                    }
-                }
-                else {
-                    $('#toast').toast('hide');
-                }
-            }
-            if (params.event.srcEvent.ctrlKey) {
-                var shadow;
-                if (edgeDetails.component_type == singleFiberJSON.component_type) {
-                    var highlight = false;
-                    if (edgeDetails.shadow == singleFiberJSON.options.shadow) {
-                        shadow = [];
-                    }
-                    else {
-                        shadow = singleFiberJSON.options.shadow;
-                        highlight = true;
-                    }
-
-                    network.body.data.edges.update({
-                        id: edgeDetails.id, shadow: shadow, is_highlight: highlight
-                    });
-                }
-
-            }
-        }
-    });
-    network.on("selectNode", function (params) {
-        var hEdges = network.body.data.edges.get({
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-
-        if (hEdges.length > 0) {
-            showMessage(alertType.Error, 'Please select same type of element (Fiber)');
-            return;
-        }
-
-        var selectedNodes = network.body.data.nodes.get({
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        var clickedNode = this.body.nodes[this.getNodeAt(params.pointer.DOM)];
-        var nodeDetails = network.body.data.nodes.get(clickedNode.id);
-        var copyDetails;
-        if (isCopyPara || (!isCopyPara && params.event.srcEvent.ctrlKey)) {
-
-            if (isCopyPara)
-                copyDetails = network.body.data.nodes.get(copiedNodeID);
-            else {
-                var sNodes = network.body.data.nodes.get({
-                    filter: function (item) {
-                        return (item.is_highlight == true);
-                    }
-                });
-                if (params.nodes.length > 1) {
-                    if (sNodes.length > 0)
-                        copyDetails = network.body.data.nodes.get(sNodes[0].id);
-                    else
-                        copyDetails = network.body.data.nodes.get(params.nodes[params.nodes.length - 1]);
-                } else {
-                    copyDetails = network.body.data.nodes.get(params.nodes[0]);
-                }
-            }
-
-            type_name = copyDetails.node_type;
-            if (copyDetails.node_type == amplifierJSON.node_type) {
-                if (copyDetails.amp_category == ramanampJSON.amp_category)
-                    type_name = 'Raman Amplifier';
-                else
-                    type_name = copyDetails.amp_category;
-            }
-            else if (copyDetails.node_type == roadmJSON.node_type)
-                type_name = copyDetails.node_type.toUpperCase();
-            else if (copyDetails.node_type == fusedJSON.node_type)
-                type_name = "Attenuator";
-
-
-            if ((isCopyPara && selectedNodes.length == 0) || (isCopyPara && selectedNodes.length > 0)) {
-                if (isCopyPara && selectedNodes.length > 0 && selectedNodes[selectedNodes.length - 1].node_type != nodeDetails.node_type) {
-                    copyDetails = selectedNodes[selectedNodes.length - 1];
-                    type_name = copyDetails.node_type;
-                    if (copyDetails.node_type == amplifierJSON.node_type) {
-                        if (copyDetails.amp_category == ramanampJSON.amp_category)
-                            type_name = 'Raman Amplifier';
-                        else
-                            type_name = copyDetails.amp_category;
-                    }
-                    else if (copyDetails.node_type == roadmJSON.node_type)
-                        type_name = copyDetails.node_type.toUpperCase();
-                    else if (copyDetails.node_type == fusedJSON.node_type)
-                        type_name = "Attenuator";
-
-                    if (copyDetails.node_type != nodeDetails.node_type) {
-                        showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                        nodeSelect = true;
-                        return;
-
-                    }
-                    else {
-                        if (copyDetails.amp_category && nodeDetails.amp_category) {
-                            if (copyDetails.amp_category != nodeDetails.amp_category) {
-                                showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                                nodeSelect = true;
-                                return;
-                            }
-                            else {
-                                $('#toast').toast('hide');
-                            }
-
-                        }
-                        else
-                            $('#toast').toast('hide');
-                    }
-                }
-                else {
-                    if (isCopyPara && selectedNodes.length > 0 && selectedNodes[selectedNodes.length - 1].amp_category != nodeDetails.amp_category) {
-
-                        copyDetails = selectedNodes[selectedNodes.length - 1];
-                        type_name = copyDetails.node_type;
-                        if (copyDetails.node_type == amplifierJSON.node_type) {
-                            if (copyDetails.amp_category == ramanampJSON.amp_category)
-                                type_name = 'Raman Amplifier';
-                            else
-                                type_name = copyDetails.amp_category;
-                        }
-                        else if (copyDetails.node_type == roadmJSON.node_type)
-                            type_name = copyDetails.node_type.toUpperCase();
-                        else if (copyDetails.node_type == fusedJSON.node_type)
-                            type_name = "Attenuator";
-
-                        showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                        nodeSelect = true;
-                        return;
-                    }
-                    else
-                        $('#toast').toast('hide');
-                }
-
-            }
-            else {
-
-                if (copyDetails.node_type != nodeDetails.node_type) {
-                    showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                    nodeSelect = true;
-                    return;
-                }
-                else {
-                    if (copyDetails.amp_category && nodeDetails.amp_category) {
-                        if (copyDetails.amp_category != nodeDetails.amp_category) {
-                            showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                            nodeSelect = true;
-                            return;
-                        }
-                        else {
-                            $('#toast').toast('hide');
-                        }
-
-                    }
-                    else
-                        $('#toast').toast('hide');
-                }
-            }
-
-            if (params.event.srcEvent.ctrlKey) {
-                var image;
-                if (nodeDetails.node_type == roadmJSON.node_type) {
-                    if (nodeDetails.image == DIR + roadmJSON.h_image) {
-                        image = nodeDetails.h_image;
-                    }
-                    else {
-                        if (nodeDetails.image == DIR + roadmJSON.w_image)
-                            image = DIR + roadmJSON.h_image;
-                        else if (nodeDetails.image == DIR + roadmJSON.image)
-                            image = DIR + roadmJSON.fh_image;
-                    }
-                }
-                else if (nodeDetails.node_type == fusedJSON.node_type) {
-                    if (nodeDetails.image == DIR + fusedJSON.h_image) {
-                        image = nodeDetails.h_image;
-                    }
-                    else {
-                        if (nodeDetails.image == DIR + fusedJSON.w_image)
-                            image = DIR + fusedJSON.h_image;
-                        else if (nodeDetails.image == DIR + fusedJSON.image)
-                            image = DIR + fusedJSON.fh_image;
-                    }
-                }
-                else if (nodeDetails.node_type == transceiverJSON.node_type) {
-                    if (nodeDetails.image == DIR + transceiverJSON.h_image) {
-                        image = nodeDetails.h_image;
-                    }
-                    else {
-                        if (nodeDetails.image == DIR + transceiverJSON.w_image)
-                            image = DIR + transceiverJSON.h_image;
-                        else if (nodeDetails.image == DIR + transceiverJSON.image)
-                            image = DIR + transceiverJSON.fh_image;
-                    }
-                }
-                else if (nodeDetails.node_type == amplifierJSON.node_type) {
-                    if (nodeDetails.amp_category == amplifierJSON.amp_category) {
-                        if (nodeDetails.image == DIR + amplifierJSON.h_image) {
-                            image = nodeDetails.h_image;
-                        }
-                        else {
-                            if (nodeDetails.image == DIR + amplifierJSON.w_image)
-                                image = DIR + amplifierJSON.h_image;
-                            else if (nodeDetails.image == DIR + amplifierJSON.image)
-                                image = DIR + amplifierJSON.fh_image;
-                        }
-                    }
-                    else if (nodeDetails.amp_category == ramanampJSON.amp_category) {
-                        if (nodeDetails.image == DIR + ramanampJSON.h_image) {
-                            image = nodeDetails.h_image;
-                        }
-                        else {
-                            if (nodeDetails.image == DIR + ramanampJSON.w_image)
-                                image = DIR + ramanampJSON.h_image;
-                            else if (nodeDetails.image == DIR + ramanampJSON.image)
-                                image = DIR + ramanampJSON.fh_image;
-                        }
-                    }
-                }
-
-                if (image) {
-                    var highlight = true;
-                    if (image == DIR + roadmJSON.image || image == DIR + roadmJSON.w_image)
-                        highlight = false;
-                    else if (image == DIR + fusedJSON.image || image == DIR + fusedJSON.w_image)
-                        highlight = false;
-                    else if (image == DIR + transceiverJSON.image || image == DIR + transceiverJSON.w_image)
-                        highlight = false;
-                    else if (image == DIR + amplifierJSON.image || image == DIR + amplifierJSON.w_image)
-                        highlight = false;
-                    else if (image == DIR + ramanampJSON.image || image == DIR + ramanampJSON.w_image)
-                        highlight = false;
-
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: image, h_image: nodeDetails.image, is_highlight: highlight
-                    });
-                }
-
-                nodeSelect = true;
-            }
-            else {
-                nodeSelect = false;
-            }
-        }
-    });
-    network.on("oncontext", function (data, callback) {
-        //if (isExpandedView || isImportJSON) {
-        //    return;
-        //}
-        //nodeMode = "";
-        var tempNodeType;
-        if (isCopyPara)
-            tempNodeType = network.body.data.nodes.get(copiedNodeID).node_type;
-
-        insertNodeX = data.pointer.canvas.x;
-        insertNodeY = data.pointer.canvas.y;
-        $("#hoverDiv").hide();
-        var nodeDatas = this.body.nodes[this.getNodeAt(data.pointer.DOM)];
-        var edgeDatas = this.body.edges[this.getEdgeAt(data.pointer.DOM)];
-        var nodeData = "";
-        var edgeData = "";
-        if (nodeDatas != undefined)
-            nodeData = nodeDatas.id;
-        if (edgeDatas != undefined)
-            edgeData = edgeDatas.id;
-
-        var sNodes = network.body.data.nodes.get({
-            fields: ['id'],
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-
-        var nodesArray = [];
-        if (data.nodes.length > 0 && sNodes.length > 0) {
-            nodesArray = sNodes;
-            //nodesArray.push(nodeData);
-        }
-        else if (nodeData != "")
-            nodesArray.push(nodeData);
-
-        var hEdges = network.body.data.edges.get({
-            fields: ['id'],
-            filter: function (item) {
-                return (item.is_highlight == true);
-            }
-        });
-
-
-        var edgesArray = [];
-        if (hEdges.length > 0) {
-            edgesArray = hEdges;
-
-            if (!network.body.data.edges.get(edgeData).is_highlight)
-                edgesArray.push({ id: edgeData });
-
-        }
-        else if (nodeData == "" && edgeData != "") {
-            edgesArray.push({ id: edgeData });
-        }
-
-
-        var type = "";
-        var fiber_category = "";
-        var patch_category = "";
-        var amp_category = "";
-        if ((nodeData != '' && edgeData != '') || nodeData != '') {
-            type = network.body.data.nodes.get(nodeData).node_type;
-            amp_category = network.body.data.nodes.get(nodeData).amp_category;
-        }
-        else if (edgeData != '') {
-            type = network.body.data.edges.get(edgeData).component_type;
-            fiber_category = network.body.data.edges.get(edgeData).fiber_category;
-            patch_category = network.body.data.edges.get(edgeData).patch_category;
-        }
-        else {
-            if (showMenu == 1) {
-                if (isCopy) {
-                    showContextMenu(data.event.pageX, data.event.pageY, "pasteMenu");
-                }
-            }
-            return;
-        }
-
-        if (showMenu == 1) {
-            var copyDetails;
-            var type_name;
-            if ((isCopyPara || sNodes.length > 0) && hEdges.length == 0) {
-
-                if (isCopyPara) {
-                    if (sNodes.length > 0)
-                        copyDetails = network.body.data.nodes.get(sNodes[sNodes.length - 1].id);
-                    else {
-                        if (nodeDatas)
-                            copyDetails = network.body.data.nodes.get(nodeDatas.id);
-                    }
-
-                }
-                else
-                    copyDetails = network.body.data.nodes.get(sNodes[0].id);
-
-                if (copyDetails) {
-
-                    type_name = copyDetails.node_type;
-                    if (copyDetails.node_type == amplifierJSON.node_type) {
-                        if (copyDetails.amp_category == ramanampJSON.amp_category)
-                            type_name = 'Raman Amplifier';
-                        else
-                            type_name = copyDetails.amp_category;
-                    }
-                    else if (copyDetails.node_type == roadmJSON.node_type)
-                        type_name = copyDetails.node_type.toUpperCase();
-                    else if (copyDetails.node_type == fusedJSON.node_type)
-                        type_name = "Attenuator";
-
-
-                    if (type != copyDetails.node_type) {
-
-                        showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                        return;
-                    }
-                    else {
-                        if (type == copyDetails.node_type) {
-
-                            if (type == amplifierJSON.node_type && copyDetails.node_type == amplifierJSON.node_type) {
-                                if (amp_category != copyDetails.amp_category) {
-                                    showMessage(alertType.Error, 'Please select same type of node (' + type_name + ')');
-                                    return;
-                                }
-                            }
-
-                            $('#toast').toast('hide');
-
-                        }
-                    }
-                }
-            }
-
-
-            if (edgesArray.length > 0) {
-                if (hEdges.length > 0)
-                    copyDetails = network.body.data.edges.get(hEdges[hEdges.length - 1].id);
-                else
-                    copyDetails = network.body.data.edges.get(edgeDatas.id);
-                if (type != copyDetails.component_type) {
-
-                    showMessage(alertType.Error, 'Please select same type of element (Fiber)');
-                    return;
-                }
-                else {
-                    $('#toast').toast('hide');
-                }
-
-            }
-        }
-
-        if (nodeDatas != undefined) {
-
-        }
-        if (!nodeDatas && edgeDatas != undefined) {
-            network.body.data.edges.update({
-                id: edgeDatas.id, shadow: singleFiberJSON.options.shadow, is_highlight: true
-            });
-
-        }
-
-        //to add only same type of node on multiple select
-        nodesArray = [];
-        if (data.nodes.length > 0 && sNodes.length > 0) {
-
-            for (var i = 0; i < sNodes.length; i++) {
-                if (network.body.data.nodes.get(sNodes[0].id).node_type == network.body.data.nodes.get(sNodes[i].id).node_type) {
-                    if ((network.body.data.nodes.get(sNodes[0].id).node_type == network.body.data.nodes.get(sNodes[i].id).node_type) && network.body.data.nodes.get(sNodes[0].id).node_type == amplifierJSON.node_type) {
-                        if (network.body.data.nodes.get(sNodes[0].id).amp_category == network.body.data.nodes.get(sNodes[i].id).amp_category)
-                            nodesArray.push(sNodes[i].id);
-
-                    }
-                    else
-                        nodesArray.push(sNodes[i].id);
-                }
-            }
-        }
-        else
-            nodesArray.push(nodeData);
-
-
-        if (type == serviceJSON.component_type) {
-            if (showMenu == 2)//enable service menu
-            {
-                if (edgeData != undefined) {
-
-                    showContextMenu(data.event.pageX, data.event.pageY, "serviceMenu");
-                    document.getElementById("rcServiceEdit").onclick = serviceEdit.bind(
-                        this,
-                        edgeData,
-                        callback
-                    );
-                    document.getElementById("rcServiceDelete").onclick = deleteService.bind(
-                        this,
-                        edgeData,
-                        callback
-                    );
-                }
-            }
-
-        }
-        else {
-            if (showMenu == 1)//2 enable node and fiber menus
-            {
-
-                if (type == roadmJSON.node_type || type == ILAJSON.node_type || type == fusedJSON.node_type || type == transceiverJSON.node_type)//node || amp ||fused||transceiver
-                {
-                    if (nodeData != undefined) {
-                        if (type == roadmJSON.node_type) {
-
-
-                            //$("#rcRoadmCopy").show();
-                            $("#rcRoadmApplyPro").hide();
-                            $("#rcRoadmCopyPara").show();
-                            $("#rcRoadmCancel").hide();
-
-                            if (nodesArray.length > 1 && sNodes.length > 1) {
-                                $("#rcRoadmCopy").hide();
-                                $("#rcRoadmCopyPara").hide();
-                            }
-                            else {
-                                $("#rcRoadmCopy").show();
-                                $("#rcRoadmCopyPara").show();
-                            }
-
-
-                            if (isCopyPara) {
-                                if (tempNodeType == type) {
-                                    $("#rcRoadmApplyPro").show();
-                                    $("#rcRoadmCancel").show();
-                                    $("#rcRoadmCopyPara").hide();
-                                }
-                            }
-
-                            showContextMenu(data.event.pageX, data.event.pageY, "roadmMenu");
-                            document.getElementById("rcRoadmEdit").onclick = roadmEdit.bind(
-                                this,
-                                nodesArray,
-                                callback
-
-                            );
-                            document.getElementById("rcRoadmDelete").onclick = deleteNode.bind(
-                                this,
-                                nodesArray,
-                                callback
-                            );
-                            document.getElementById("rcRoadmCopy").onclick = copyNode.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                            document.getElementById("rcRoadmCopyPara").onclick = copyNodeTemplate.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                            document.getElementById("rcRoadmApplyPro").onclick = applyTemplate.bind(
-                                this,
-                                nodesArray,
-                                callback
-
-                            );
-                            document.getElementById("rcRoadmCancel").onclick = cancelCopyTemplate.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-
-
-                        }
-                        else if (type == fusedJSON.node_type) {
-                            showContextMenu(data.event.pageX, data.event.pageY, "attenuatorMenu");
-
-                            if (nodesArray.length > 1 && sNodes.length > 1) {
-                                $("#rcAttenuatorCopy").hide();
-                            }
-                            else {
-                                $("#rcAttenuatorCopy").show();
-                            }
-
-                            document.getElementById("rcAttenuatorEdit").onclick = attenuatorEdit.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                            document.getElementById("rcAttenuatorDelete").onclick = deleteNode.bind(
-                                this,
-                                nodesArray,
-                                callback
-                            );
-                            document.getElementById("rcAttenuatorCopy").onclick = copyNode.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                        }
-                        else if (type == ILAJSON.node_type) {
-                            if (amp_category == ILAJSON.amp_category) {
-                                showContextMenu(data.event.pageX, data.event.pageY, "ILAMenu");
-                                document.getElementById("rcILAEdit").onclick = ILAEdit.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                                document.getElementById("rcILADelete").onclick = deleteNode.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-                                );
-                                document.getElementById("rcILACopy").onclick = copyNode.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                            }
-                            else if (amp_category == amplifierJSON.amp_category) {
-
-                                $("#rcAmplifierCopy").show();
-                                $("#rcAmplifierCopyPara").show();
-                                $("#rcAmpApplyPro").hide();
-                                $("#rcAmpCancel").hide();
-
-                                if (nodesArray.length > 1 && sNodes.length > 1) {
-                                    $("#rcAmplifierCopy").hide();
-                                    $("#rcAmplifierCopyPara").hide();
-                                }
-                                else {
-                                    $("#rcAmplifierCopy").show();
-                                    $("#rcAmplifierCopyPara").show();
-                                }
-
-                                if (isCopyPara) {
-                                    if (network.body.data.nodes.get(copiedNodeID).amp_category == amp_category) {
-                                        $("#rcAmpApplyPro").show();
-                                        $("#rcAmpCancel").show();
-                                        $("#rcAmplifierCopyPara").hide();
-                                    }
-
-                                }
-
-                                showContextMenu(data.event.pageX, data.event.pageY, "amplifierMenu");
-                                document.getElementById("rcAmplifierEdit").onclick = amplifierEdit.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-
-                                );
-                                document.getElementById("rcAmplifierDelete").onclick = deleteNode.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-                                );
-                                document.getElementById("rcAmplifierCopy").onclick = copyNode.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                                document.getElementById("rcAmplifierCopyPara").onclick = copyNodeTemplate.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                                document.getElementById("rcAmpApplyPro").onclick = applyTemplate.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-
-                                );
-                                document.getElementById("rcAmpCancel").onclick = cancelCopyTemplate.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                            }
-                            else if (amp_category == ramanampJSON.amp_category) {
-
-                                $("#rcRamanAmpCopy").show();
-                                $("#rcRamanAmpCopyPara").show();
-                                $("#rcRamanCancel").hide();
-                                $("#rcRamanApplyPro").hide();
-
-                                if (nodesArray.length > 1 && sNodes.length > 1) {
-                                    $("#rcRamanAmpCopy").hide();
-                                    $("#rcRamanAmpCopyPara").hide();
-                                }
-                                else {
-                                    $("#rcRamanAmpCopy").show();
-                                    $("#rcRamanAmpCopyPara").show();
-                                }
-
-                                if (isCopyPara) {
-                                    if (network.body.data.nodes.get(copiedNodeID).amp_category == amp_category) {
-                                        $("#rcRamanApplyPro").show();
-                                        $("#rcRamanCancel").show();
-                                        $("#rcRamanAmpCopyPara").hide();
-                                    }
-                                }
-
-                                showContextMenu(data.event.pageX, data.event.pageY, "ramanAmpMenu");
-                                document.getElementById("rcRamanAmpEdit").onclick = ramanAmpEdit.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-
-                                );
-                                document.getElementById("rcRamanAmpDelete").onclick = deleteNode.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-                                );
-                                document.getElementById("rcRamanAmpCopy").onclick = copyNode.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                                document.getElementById("rcRamanAmpCopyPara").onclick = copyNodeTemplate.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                                document.getElementById("rcRamanApplyPro").onclick = applyTemplate.bind(
-                                    this,
-                                    nodesArray,
-                                    callback
-
-                                );
-                                document.getElementById("rcRamanCancel").onclick = cancelCopyTemplate.bind(
-                                    this,
-                                    nodeData,
-                                    callback
-
-                                );
-                            }
-                        }
-                        else if (type == transceiverJSON.node_type) {
-
-                            $("#rcTransceiverCopy").show();
-                            $("#rcTransceiverCopyPara").show();
-                            $("#rcTransApplyPro").hide();
-                            $("#rcTransCancel").hide();
-
-                            if (nodesArray.length > 1 && sNodes.length > 1) {
-                                $("#rcTransceiverCopy").hide();
-                                $("#rcTransceiverCopyPara").hide();
-                            }
-                            else {
-                                $("#rcTransceiverCopy").show();
-                                $("#rcTransceiverCopyPara").show();
-                            }
-                            if (isCopyPara) {
-                                if (tempNodeType == type) {
-                                    $("#rcTransApplyPro").show();
-                                    $("#rcTransCancel").show();
-                                    $("#rcTransceiverCopyPara").hide();
-                                }
-
-                            }
-                            showContextMenu(data.event.pageX, data.event.pageY, "transceiverMenu");
-                            document.getElementById("rcTransceiverEdit").onclick = transceiverEdit.bind(
-                                this,
-                                nodesArray,
-                                callback
-
-                            );
-                            document.getElementById("rcTransceiverDelete").onclick = deleteNode.bind(
-                                this,
-                                nodesArray,
-                                callback
-                            );
-                            document.getElementById("rcTransceiverCopy").onclick = copyNode.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                            document.getElementById("rcTransceiverCopyPara").onclick = copyNodeTemplate.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                            document.getElementById("rcTransApplyPro").onclick = applyTemplate.bind(
-                                this,
-                                nodesArray,
-                                callback
-
-                            );
-                            document.getElementById("rcTransCancel").onclick = cancelCopyTemplate.bind(
-                                this,
-                                nodeData,
-                                callback
-
-                            );
-                        }
-                    }
-                }
-                else if (type == dualFiberJSON.component_type) {
-
-                    if (edgeData != undefined) {
-                        if (fiber_category == dualFiberJSON.fiber_category) {
-                            if ($("#menuInserNode").text() == "-")
-                                $("#menuInserNode").click();
-                            showContextMenu(data.event.pageX, data.event.pageY, "dualFiberMenu");
-
-                            document.getElementById("rcDualInsertROADM").onclick = dualFiberInsertNode.bind(
-                                this,
-                                edgeData,
-                                'Roadm',
-                                callback
-                            );
-                            document.getElementById("rcDualInsertAttenuator").onclick = dualFiberInsertNode.bind(
-                                this,
-                                edgeData,
-                                'Fused',
-                                callback
-                            );
-                            document.getElementById("rcDualInsertILA").onclick = dualFiberInsertNode.bind(
-                                this,
-                                edgeData,
-                                'ILA',
-                                callback
-                            );
-                            document.getElementById("rcDualFiberEdit").onclick = dualFiberEdit.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                            document.getElementById("rcDualFiberDelete").onclick = deleteFiber.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                        }
-                        if (fiber_category == singleFiberJSON.fiber_category) {
-                            if ($("#menuSingleFiberInser").text() == "-")
-                                $("#menuSingleFiberInser").click();
-                            showContextMenu(data.event.pageX, data.event.pageY, "singleFiberMenu");
-
-                            $("#insertMenu").show();
-
-                            if (edgesArray.length > 1 && hEdges.length > 1) {
-                                $("#insertMenu").hide();
-                            }
-                            else {
-
-                            }
-
-                            document.getElementById("rcSingleInsertROADM").onclick = singleFiberInsertNode.bind(
-                                this,
-                                edgesArray[0].id,
-                                'Roadm',
-                                callback
-                            );
-                            document.getElementById("rcSingleInsertAttenuator").onclick = singleFiberInsertNode.bind(
-                                this,
-                                edgesArray[0].id,
-                                'Fused',
-                                callback
-                            );
-                            document.getElementById("rcSingleInsertAmplifier").onclick = singleFiberInsertNode.bind(
-                                this,
-                                edgesArray[0].id,
-                                'Amplifier',
-                                callback
-                            );
-                            document.getElementById("rcSingleInsertRamanAmp").onclick = singleFiberInsertNode.bind(
-                                this,
-                                edgesArray[0].id,
-                                'RamanAmplifier',
-                                callback
-                            );
-                            document.getElementById("rcSingleFiberEdit").onclick = singleFiberEdit.bind(
-                                this,
-                                edgesArray,
-                                callback
-                            );
-                            document.getElementById("rcSingleFiberDelete").onclick = deleteFiber.bind(
-                                this,
-                                edgesArray,
-                                callback
-                            );
-                        }
-                    }
-
-                }
-                else if (type == singlePatchJSON.component_type) {
-
-                    if (edgeData != undefined) {
-
-                        if (patch_category == singlePatchJSON.patch_category) {
-
-                            showContextMenu(data.event.pageX, data.event.pageY, "singlePatchMenu");
-                            document.getElementById("rcSinglePatchEdit").onclick = singlePatchEdit.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                            document.getElementById("rcSinglePatchDelete").onclick = deletePatch.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                        }
-                        if (patch_category == dualPatchJSON.patch_category) {
-                            showContextMenu(data.event.pageX, data.event.pageY, "dualPatchMenu");
-                            document.getElementById("rcDualPatchEdit").onclick = dualPatchEdit.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                            document.getElementById("rcDualPatchDelete").onclick = deletePatch.bind(
-                                this,
-                                edgeData,
-                                callback
-                            );
-                        }
-                    }
-                }
-            }
-        }
-
-        _nodesDB().remove();
-    });
-
-
-    network.on("hoverNode", function (params) {
-        try {
-            displayNodesHover(params);
-        }
-        catch (e) { }
-    });
-    network.on("blurNode", function (params) {
-        $('#hoverDiv').hide();
-    });
-    network.on("hoverEdge", function (params) {
-        try {
-            displayFiberHover(params);
-        }
-        catch (e) { }
-    });
-    network.on("blurEdge", function (params) {
-        $('#hoverDiv').hide();
-    });
-    network.on("stabilizationProgress", function (params) {
-        var widthFactor = params.iterations / params.total;
-        if (widthFactor > 0) {
-            document.getElementById("per").innerText =
-                Math.round(widthFactor * 100) + "%";
-        }
-        else
-            document.getElementById("per").innerText = "90%";
-    });
-    network.once("stabilizationIterationsDone", function () {
-        document.getElementById("per").innerText = "100%";
-        document.getElementById("loader").style.display = "none";
-        options.physics = false;
-        network.setOptions(options);
-        if (isImport) {
-            isImportJSON = true;
-            $("#ddlNetworkView").val(topologyView.Functional_View);
-            networkView(2);
-            $("#importEqpt").val('');
-            $('#divSelection').hide();
-            displayEdgeLabels = false;
-            hideEdgeLabels();
-            showMessage(alertType.Success, "JSON file loaded successfully");
-        }
-
-    });
-
-    if (!isImport) {
-        options.physics = false;
-        network.setOptions(options);
-        hideEdgeLabels();
-    }
-}
-
-/**
- * Create container element for display component details when hover mouse on it.
- * @param {string} html - Html elements.
- */
-function htmlTitle(html) {
-    const container = document.createElement("pre");
-    container.innerHTML = html;
-    container.style.background = commonJSON.background_color;
-    container.style.font = commonJSON.font;
-    container.style.padding = "5px";
-    container.style.margin = "0px";
-    container.style.border = commonJSON.border;
-    container.style.transition = "all 1s ease-in-out";
-    container.style.fontVariant = commonJSON.font_variant;
-    return container;
-}
-
-/**
- *Initiate the network initialize by the flag.
- * @param {boolean} isImport - True -> Initialize network while import network json file, False -> Will initialize while page loading.
- */
-
-function init(isImport) {
-    if (isImport) {
-        draw(isImport);
-    }
-    else {
-        setTimeout(function () {
-            draw(isImport);
-        }, 1000);
-    }
-}
-
-/**
- * Export/Save the network topology as a JSON file.
- * The JSON file data's are loaded from network dataset. like nodes, edges.
- * The schema of the JSON file will match the given JSON file like Equipment_JSON_MOD2.json.
- * @param {boolean} isSaveNetwork - True -> Save network topology, False -> Export network topology.
- */
-function exportNetwork(isSaveNetwork) {
-    var nodeList = [];
-    var edgeList = [];
-    var topologyArray = [];
-    var network_id = configData.project.network_id;
-
-    if (!eqpt_config['tip-photonic-simulation:simulation'] || !eqpt_config['tip-photonic-equipment:transceiver'] || !eqpt_config['tip-photonic-equipment:fiber'] || !eqpt_config['tip-photonic-equipment:amplifier']) {
-        showMessage(alertType.Error, "KeyError:'elements', try again");
-        return;
-    }
-    var elabel = "";
-    var ox;
-    var oy;
-    $.each(network.body.data.nodes.get(), function (index, item) {
-        ox = network.body.nodes[item.id].x;
-        oy = network.body.nodes[item.id].y;
-
-        if (item.node_type == transceiverJSON.node_type) {
-            var node = {
-                'node-id': item.label,
-                'tip-photonic-topology:transceiver': {
-                    "model": item.transceiver_type
-                },
-                metadata: {
-                    Positions: {
-                        'X-co-ordinate': ox,
-                        'Y-co-ordinate': oy,
-                        city: item.label,
-                        region: ""
-                    }
-                }
-            }
-            nodeList.push(node);
-        }
-        else if (item.node_type == roadmJSON.node_type) {
-            var node = {
-                'node-id': item.label,
-                'tip-photonic-topology:roadm': {
-                    "model": item.roadm_type
-                },
-                metadata: {
-                    Positions: {
-                        'X-co-ordinate': ox,
-                        'Y-co-ordinate': oy,
-                        city: item.label,
-                        region: ""
-                    }
-                }
-            }
-            nodeList.push(node);
-        }
-        else if (item.node_type == fusedJSON.node_type) {
-            var node = {
-                'node-id': item.label,
-                'tip-photonic-topology:attenuator': {
-                },
-                metadata: {
-                    Positions: {
-                        'X-co-ordinate': ox,
-                        'Y-co-ordinate': oy,
-                        city: item.label,
-                        region: ""
-                    }
-                }
-            }
-            nodeList.push(node);
-        }
-        else if (item.amp_category == amplifierJSON.amp_category) {
-            var node = {
-                'node-id': item.label,
-                'tip-photonic-topology:amplifier': {
-                    "model": item.amp_type ? item.amp_type : "",
-                    "gain-target": item.gain_target ? item.gain_target : "0.0",
-                    "tilt-target": item.tilt_target ? item.tilt_target : "0.0",
-                    "out-voa-target": item.out_voa_target ? item.out_voa_target : "0.0"
-                },
-                metadata: {
-                    Positions: {
-                        'X-co-ordinate': ox,
-                        'Y-co-ordinate': oy,
-                        city: item.label,
-                        region: ""
-                    }
-                }
-            }
-            nodeList.push(node);
-        }
-        else if (item.amp_category == ramanampJSON.amp_category) {
-            var node = {
-                'node-id': item.label,
-                'tip-photonic-topology:ramanamplifier': {
-                    'model': item.amp_type,
-                    'category': item.category
-                },
-                metadata: {
-                    Positions: {
-                        'X-co-ordinate': ox,
-                        'Y-co-ordinate': oy,
-                        city: item.label,
-                        region: ""
-                    }
-                }
-            }
-            nodeList.push(node);
-        }
-    });
-
-    $.each(network.body.data.edges.get(), function (index, item) {
-        var edge;
-        var fromLabel = network.body.data.nodes.get(item.from).label;
-        var toLabel = network.body.data.nodes.get(item.to).label;
-        if (item.label.trim() == "")
-            elabel = item.text;
-        else
-            elabel = item.label;
-        if (item.component_type == singleFiberJSON.component_type) {
-            edge = {
-                "link-id": elabel,
-                "source": {
-                    "source-node": fromLabel
-                },
-                "destination": {
-                    "dest-node": toLabel
-                },
-                "tip-photonic-topology:fiber": {
-                    "type": item.fiber_type,
-                    "length": item.span_length.toString(),
-                    "attenuation-in": "",
-                    "conn-att-in": item.connector_in,
-                    "conn-att-out": item.connector_out,
-                }
-            }
-            edgeList.push(edge);
-        }
-        else if (item.component_type == singlePatchJSON.component_type) {
-            edge = {
-                "link-id": elabel,
-                "source": {
-                    "source-node": fromLabel
-                },
-                "destination": {
-                    "dest-node": toLabel
-                },
-                "tip-photonic-topology:patch": {
-                }
-            }
-            edgeList.push(edge);
-        }
-        else if (item.component_type == serviceJSON.component_type) {
-            edge = {
-                "link-id": elabel,
-                "source": {
-                    "source-node": fromLabel
-                },
-                "destination": {
-                    "dest-node": toLabel
-                },
-                "tip-photonic-topology:service": {
-                    "band-width": item.band_width
-                }
-            }
-            edgeList.push(edge);
-        }
-
-    });
-
-    if (eqpt_config["ietf-network:networks"].network[0]["network-id"])
-        network_id = eqpt_config["ietf-network:networks"].network[0]["network-id"];
-
-    var topology = {
-        'network-id': network_id,
-        'network-types': {
-            'tip-photonic-topology:photonic-topology': {}
-        },
-        node: nodeList,
-        'ietf-network-topology:link': edgeList
-    }
-
-    var simData = eqpt_config['tip-photonic-simulation:simulation'];;
-    var simGrid = simData["grid"];
-    var simAD = simData["autodesign"];
-    var simSM = simData["system-margin"];
-    var simulationData = JSON.parse(sessionStorage.getItem("simulationParameters"));
-
-    simGrid["frequency-min"] = simulationData["frequency-min"];
-    simGrid["frequency-max"] = simulationData["frequency-max"];
-    simGrid["spacing"] = simulationData["spacing"];
-    simGrid["frequency-min"] = simulationData["frequency-min"];
-    simSM = simulationData["system-margin"];
-    var simPara = {
-        grid: simGrid,
-        autodesign: simAD,
-        'system-margin': simSM
-    }
-
-    topologyArray.push(topology);
-    var model = {
-        'tip-photonic-equipment:amplifier': eqpt_config['tip-photonic-equipment:amplifier'],
-        'tip-photonic-equipment:fiber': eqpt_config['tip-photonic-equipment:fiber'],
-        'tip-photonic-equipment:transceiver': eqpt_config['tip-photonic-equipment:transceiver'],
-        'tip-photonic-equipment:roadm': eqpt_config['tip-photonic-equipment:roadm'],
-        'tip-photonic-simulation:simulation': simPara,
-        'ietf-network:networks': {
-            'network': topologyArray
-        }
-    }
-    var exportValue = JSON.stringify(model, undefined, 2);
-    var filename = 'network.json';
-    if (!isSaveNetwork)
-        filename = $("#txtFileName").val() + ".json";
-
-    var blob = new Blob([exportValue], {
-        type: "text/plain;charset=utf-8"
-    });
-
-    saveAs(blob, filename);
-}
-
-/**  Hide the loader after completion of action. */
-function hideLoader() {
-    $('#loader').hide();
-    $("#importEqpt").val('');
-}
-
-/**
- * This function is used to load the equipment configuration data from the import json file.
- * @param {boolean} isFileUpload - True -> Load data from import network json, False -> Load data from default equipment configuration json.
- */
-function load_EqptConfig(isFileUpload) {
-    try {
-        if (!eqpt_config['tip-photonic-simulation:simulation'] || !eqpt_config['tip-photonic-equipment:transceiver'] || !eqpt_config['tip-photonic-equipment:fiber'] || !eqpt_config['tip-photonic-equipment:amplifier']) {
-            showMessage(alertType.Error, "KeyError:'equipment elements', try again");
-            hideLoader()
-            return;
-        }
-        else {
-            if (isFileUpload) {
-                _import_json = eqptData['ietf-network:networks'];
-                importNetwork();
-            }
-        }
-        $("#txtFrgMin").val('');
-        $("#txtFrqMax").val('');
-        $("#txtGridSpac").val('');
-        $("#txtNoOfChannel").val('');
-        $("#txtAgeingMargin").val('');
-
-        $('#ddlTransceiverType').empty();
-        $('#ddlFiberAType').empty();
-        $('#ddlFiberBType').empty();
-        $('#ddlSingleFiberType').empty();
-
-        $('#ddlPreAmpType').empty();
-        $('#ddlBoosterType').empty();
-        $('#ddlAmplifierType').empty();
-        $('#ddlRoadmType').empty();
-        if (eqpt_config['tip-photonic-simulation:simulation']) {
-            var simulationsData = eqpt_config['tip-photonic-simulation:simulation'];
-            var simulations = simulationsData["grid"];
-            saveSimulations(simulations["frequency-min"], simulations["frequency-max"], simulations.spacing, "40", simulationsData["system-margin"]);
-        }
-
-        if (eqpt_config['tip-photonic-equipment:transceiver']) {
-            $.each(eqpt_config['tip-photonic-equipment:transceiver'], function (index, item) {
-                $('#ddlTransceiverType').append('<option value="' + item.type + '">' + item.type + '</option>');
-            });
-        }
-        if (eqpt_config['tip-photonic-equipment:fiber']) {
-            $.each(eqpt_config['tip-photonic-equipment:fiber'], function (index, item) {
-                $('#ddlFiberAType').append('<option value="' + item.type + '">' + item.type + '</option>');
-                $('#ddlFiberBType').append('<option value="' + item.type + '">' + item.type + '</option>');
-                $('#ddlSingleFiberType').append('<option value="' + item.type + '">' + item.type + '</option>');
-
-            });
-        }
-        if (eqpt_config["tip-photonic-equipment:roadm"]) {
-            $.each(eqpt_config["tip-photonic-equipment:roadm"], function (index, item) {
-                $("#ddlRoadmType").append('<option value="' + item.type + '">' + item.type + '</option>');
-            });
-        }
-
-        appendSinglePreAmpandBoosterType();
-    }
-    catch (e) {
-        console.log(e);
-        showMessage(alertType.Error, "KeyError:'elements', try again");
-        hideLoader();
-    }
-}
-function handleFileSelect(event) {
-    const reader = new FileReader()
-    reader.onload = handleFileLoad;
-    reader.readAsText(event.target.files[0])
-}
-function handleFileLoad(event) {
-    _import_json = event.target.result;
-    importNetwork();
-}
-
-/**
- * This function is used to load all nodes element data into dataset from import json file.
- * @param {number} index - Index number for get node details from import json.
- */
-function importNode(index) {
-    var nodeDetails = "";
-    var shape = "";
-    var color = "";
-    var image = "";
-    var nodeSize = 0;
-    var font = "";
-    var transceiver_type = "";
-    var amp_type = "";
-    var amp_category = "";
-    var pre_amp_type = "";
-    var booster_type = "";
-    var category = "";
-    var roadm_type = "";
-    //amplifier properties
-    var gain_target = "0.0"
-    var tilt_target = "0.0";
-    var out_voa_target = "0.0"
-    var x = getRandomNumberBetween(-230, 648);
-    var y = getRandomNumberBetween(-230, 648);
-
-    try {
-        if (_import_json["network"][0].node[index]["metadata"]["Positions"]["X-co-ordinate"])
-            x = _import_json["network"][0].node[index]["metadata"]["Positions"]["X-co-ordinate"];
-        else
-            x = getRandomNumberBetween(-230, 648);
-
-        if (_import_json["network"][0].node[index]["metadata"]["Positions"]["Y-co-ordinate"])
-            y = _import_json["network"][0].node[index]["metadata"]["Positions"]["Y-co-ordinate"];
-        else
-            y = getRandomNumberBetween(-230, 648);
-    }
-    catch
-    {
-    }
-
-    var roadmData = _import_json["network"][0].node[index]['tip-photonic-topology:roadm'];
-    var attenuatorData = _import_json["network"][0].node[index]['tip-photonic-topology:attenuator'];
-    var transceiverData = _import_json["network"][0].node[index]['tip-photonic-topology:transceiver'];
-    var amplifierData = _import_json["network"][0].node[index]['tip-photonic-topology:amplifier'];
-    var ILAData = _import_json["network"][0].node[index]['tip-photonic-topology:ila'];
-    var ramanData = _import_json["network"][0].node[index]['tip-photonic-topology:ramanamplifier'];
-
-    if (roadmData) {
-
-        nodeDetails = configData.node[roadmJSON.node_type];
-        image = DIR + roadmJSON.image;
-        shape = roadmJSON.shape;
-        color = roadmJSON.color;
-        nodeSize = roadmJSON.size;
-        roadm_type = roadmData.model;
-        font = roadmJSON.font;
-
-    }
-    else if (transceiverData) {
-        nodeDetails = configData.node[transceiverJSON.node_type];
-        shape = transceiverJSON.shape;
-        color = transceiverJSON.color;
-        image = DIR + transceiverJSON.image;
-        transceiver_type = transceiverData.model;
-        nodeSize = transceiverJSON.size;
-
-    }
-    else if (attenuatorData) {
-
-        nodeDetails = configData.node[fusedJSON.node_type];
-        shape = fusedJSON.shape;
-        color = fusedJSON.color;
-        image = DIR + fusedJSON.image;
-        nodeSize = fusedJSON.size;
-    }
-    else if (amplifierData) {
-        nodeDetails = configData.node[amplifierJSON.amp_category];
-        shape = amplifierJSON.shape;
-        color = amplifierJSON.color;
-        image = DIR + amplifierJSON.image;
-        amp_type = amplifierData.model;
-        amp_category = nodeDetails.default.amp_category;
-        nodeSize = amplifierJSON.size;
-        gain_target = amplifierData['gain-target'];
-        tilt_target = amplifierData['tilt-target'];
-        out_voa_target = amplifierData['out-voa-target'];
-    }
-    else if (ILAData) {
-        nodeDetails = configData.node[ILAJSON.amp_category];
-        shape = ILAJSON.shape;
-        color = ILAJSON.color;
-        image = DIR + ILAJSON.image;
-        pre_amp_type = ILAData.model;
-        booster_type = ILAData.model;
-        amp_category = nodeDetails.default.amp_category;
-        nodeSize = ILAJSON.size;
-    }
-    else if (ramanData) {
-        nodeDetails = configData.node[ramanampJSON.amp_category];
-        shape = ramanampJSON.shape;
-        color = ramanampJSON.color;
-        image = DIR + ramanampJSON.image;
-        amp_type = ramanData.model;
-        category = ramanData.category;
-        amp_category = nodeDetails.default.amp_category;
-        nodeSize = ramanampJSON.size;
-    }
-    else
-        return;
-
-    var result = nodeName(nodeDetails.default.node_type, nodeDetails.default.amp_category);
-    var number = result.nodelength;
-
-    var label = _import_json["network"][0].node[index]["node-id"];
-    var nodeID = label;
-
-    try {
-        if (_import_json["network"][0].node[index]["metadata"].location.city) {
-            label = _import_json["network"][0].node[index]["metadata"].location.city;
-        }
-    }
-    catch { }
-
-    var node_type = nodeDetails.default.node_type;
-    var node_degree = nodeDetails.default.node_degree;
-    var component_type = roadmJSON.component_type;
-
-    importNodes.push({
-        id: nodeID,
-        label: label,
-        x: x, y: y, image: image, number: number,
-        view: topologyView.Functional_View, hidden: false,
-        shape: shape, color: color, size: nodeSize,
-        font: font,
-        node_type: node_type, node_degree: node_degree, component_type: component_type,
-        roadm_type_pro: [],
-        transceiver_type: transceiver_type,//transceiver
-        amp_type: amp_type,//amplifier
-        gain_target: gain_target,
-        tilt_target: tilt_target,
-        out_voa_target: out_voa_target,//end amplifier
-        roadm_type: roadm_type, category: category,
-        pre_amp_type: pre_amp_type, booster_type: booster_type, amp_category: amp_category//ILA
-
-    });
-
-}
-
-/**
- * This function is used to load all fiber/patch/service element data into dataset from import json file.
- * @param {number} index - Index number for get edge details from import json.
- */
-function importEdge(index) {
-    var edgeData = _import_json["network"][0]['ietf-network-topology:link'][index];
-    var to = edgeData["destination"]["dest-node"];
-    var from = edgeData["source"]["source-node"];
-    if (edgeData["tip-photonic-topology:fiber"]) {
-        tSpanLengh = "";
-        tType = "";
-        tConnector_in = "";
-        tConnector_out = "";
-        isSingleFiberMode = 1;
-        isDualFiberMode = 0;
-        var labelvalue = edgeData["link-id"];
-        var textvalue = labelvalue;
-        tType = edgeData["tip-photonic-topology:fiber"].type;
-        tSpanLength = edgeData["tip-photonic-topology:fiber"].length;
-        tConnector_in = edgeData["tip-photonic-topology:fiber"]["conn-att-in"];
-        tConnector_out = edgeData["tip-photonic-topology:fiber"]["conn-att-out"];
-        addFiberComponent(1, from, to, labelvalue, textvalue, true);
-    }
-    if (edgeData["tip-photonic-topology:patch"]) {
-        isSinglePatchMode = 1;
-        isDualPatchMode = 0;
-        var labelvalue = edgeData["link-id"];
-        var textvalue = labelvalue;
-        addPatchComponent(1, from, to, labelvalue, textvalue, true);
-    }
-    if (edgeData["tip-photonic-topology:service"]) {
-        isSinglePatchMode = 0;
-        isDualPatchMode = 0;
-        isAddService = 1;
-        var labelvalue = edgeData["link-id"];
-        var textvalue = labelvalue;
-        tBandwidth = edgeData["tip-photonic-topology:service"]["band-width"];
-        addServiceComponent(1, from, to, labelvalue, textvalue, true);
-    }
-}
-
-/**
- * Get random point to displays node if not available lat, long in import network json file.
- * @param {number} min - Minimum of random number.
- * @param {number} max - Maximum of random number.
- */
-function getRandomNumberBetween(min, max) {
-    return Math.floor(Math.random() * (max - min + 1) + min);
-}
-
-/** This is used to load the network component data from import network json file. */
-function importNetwork() {
-    try {
-        importNodes = [];
-        importEdges = [];
-        var networkData = _import_json["network"][0].node;
-        $.each(networkData, function (index, item) {
-            importNode(index);
-        });
-
-        fiberSmooth = fiberJSON.options.smooth;
-        var fiber_config = configData[singleFiberJSON.fiber_category.replace(' ', '')].default;
-        var edgeData = _import_json["network"][0]['ietf-network-topology:link'];
-
-        $.each(edgeData, function (index, item) {
-            if (item["tip-photonic-topology:fiber"]) {
-                var labelvalue = item["link-id"];
-                fiber_Type = item["tip-photonic-topology:fiber"].type;
-                span_Length = item["tip-photonic-topology:fiber"].length;
-                connector_IN = item["tip-photonic-topology:fiber"]["conn-att-in"];
-                connector_OUT = item["tip-photonic-topology:fiber"]["conn-att-out"];
-                var loss_Coefficient = fiber_config.Loss_coefficient;;
-                span_Loss = parseFloat(span_Length * loss_Coefficient);
-                var tempColor;
-                if (fiber_Type == "" || parseFloat(span_Length) <= 0)
-                    tempColor = singleFiberJSON.options.w_color;
-                else
-                    tempColor = singleFiberJSON.options.color;
-                importEdges.push({
-                    id: token(), from: item['source']['source-node'], to: item['destination']['dest-node'], label: labelvalue, text: labelvalue,
-                    view: topologyView.Functional_View, hidden: false,
-                    dashes: singleFiberJSON.dashes,
-                    fiber_category: singleFiberJSON.fiber_category,
-                    component_type: singleFiberJSON.component_type,
-                    color: tempColor,
-                    width: singleFiberJSON.width,
-                    arrows: singleFiberJSON.options.arrows,
-                    smooth: fiberSmooth,
-                    fiber_type: fiber_Type, span_length: span_Length,
-                    loss_coefficient: loss_Coefficient, connector_in: connector_IN, connector_out: connector_OUT,
-                    span_loss: span_Loss,
-                });
-
-            }
-            else if (item["tip-photonic-topology:patch"]) {
-                var labelvalue = item["link-id"];
-                importEdges.push({
-                    id: token(), from: item['source']['source-node'], to: item['destination']['dest-node'], label: labelvalue, text: labelvalue,
-                    dashes: singlePatchJSON.dashes, width: singlePatchJSON.width,
-                    component_type: singlePatchJSON.component_type, patch_category: singlePatchJSON.patch_category,
-                    color: singlePatchJSON.options.color, background: singlePatchJSON.options.background,
-                    arrows: singlePatchJSON.options.arrows,
-                    smooth: singlePatchJSON.options.smooth,
-                    view: topologyView.Functional_View, hidden: false,
-                });
-            }
-            else if (item["tip-photonic-topology:service"]) {
-                var labelvalue = item["link-id"];
-                bandwidth = item["tip-photonic-topology:service"]["band-width"];
-                importEdges.push({
-                    id: token(), from: item['source']['source-node'], to: item['destination']['dest-node'], label: labelvalue, text: labelvalue,
-                    dashes: serviceJSON.dashes, width: serviceJSON.width,
-                    component_type: serviceJSON.component_type, color: serviceJSON.options.color, background: serviceJSON.options.background,
-                    arrows: serviceJSON.options.arrows,
-                    smooth: fiberSmooth,
-                    band_width: bandwidth
-                });
-            }
-        });
-    }
-    catch
-    {
-
-    }
-    draw(true);
-}
-
-/**
- * Loop through the node dataset and get some properties then store it into array list.
- * It is return node dataset.
- * @param {object} data - Dataset of node.
- */
-function getNodeData(data) {
-    data.forEach(function (elem, index, array) {
-        importNodes.push({
-            id: elem.id,
-            label: elem.label,
-            shape: elem.shape,
-            icon: elem.icon,
-            color: elem.color[0],
-            edges: elem.edges[0],
-            x: elem.x,
-            y: elem.y,
-            title: elem.title,
-            size: elem.size,
-            componentType: elem.componentType,
-            nodedegree: elem.nodedegree,
-            nodetype: elem.nodetype
-
-        });
-    });
-
-    return new vis.DataSet(importNodes);
-}
-
-/**
- * Get node details by ID.
- * @param {object} data - Node details.
- * @param {string} id - The ID of destination node component.
- */
-function getNodeById(data, id) {
-    for (var n = 0; n < data.length; n++) {
-        if (data[n].id == id) {
-            // double equals since id can be numeric or string
-            return data[n];
-        }
-    }
-
-    throw "cannot find id '" + id + "' in data";
-}
-
-/**
- * Loop through the edge dataset and assign some properties then store it into array list.
- * It is return edge dataset.
- * @param {object} data - Dataset of edge. edge like fiber/patch/service.
- */
-function getEdgeData(data) {
-
-    data.forEach(function (elem) {
-        // add the connection
-        var fontstyle = {
-            align: '' + elem.options[0].font[0].align + '',
-        }
-        var arrows = {
-            to: {
-                enabled: elem.options[0].arrows[0].to[0].enabled,
-                type: elem.options[0].arrows[0].to[0].type,
-            },
-            from: {
-                enabled: elem.options[0].arrows[0].from[0].enabled,
-                type: elem.options[0].arrows[0].from[0].type,
-            },
-        }
-
-        var smooth = {
-            enabled: elem.options[0].smooth[0].enabled,
-            type: elem.options[0].smooth[0].type,
-            roundness: elem.options[0].smooth[0].roundness,
-        }
-        importEdges.push({
-            id: elem.id,
-            from: elem.from,
-            to: elem.to,
-            dashes: elem.dashes,
-            label: elem.label,
-            font: fontstyle,
-            arrows: arrows,
-            smooth: smooth,
-            color: elem.options[0].color[0].color,
-            componentType: elem.componentType,
-        });
-
-    });
-
-    return new vis.DataSet(importEdges);
-}
-
-/** Save the network topology. */
-function SaveNetwork() {
-    exportNetwork(true);
-}
-
-/** Clear component selection. */
-function UnSelectAll() {
-    network.unselectAll();
-    remove_NodeFiberHighlight();
-}
-
-/** Capture network topology as image file. */
-function captureImage() {
-    network.fit();
-    html2canvas(document.querySelector("#mynetwork"), {
-        onrendered: function (canvas) {
-            var img = canvas.toDataURL();
-            $("#result-image").attr('src', img).show();
-
-            canvas.toBlob(function (blob) {
-                saveAs(blob, "NetworkPage.png");
-            });
-        }
-    });
-    return false;
-}
-
-/** Disable fiber/patch/service mode.
-  * Reteset the data values.
- */
-function disableFiberService() {
-
-    nodeMode = "";
-    isDualFiberMode = 0;
-    isSingleFiberMode = 0;
-    isAddService = 0;
-    isDualPatchMode = 0;
-    isSinglePatchMode = 0;
-    addEdgeData = {
-        from: '',
-        to: ''
-    };
-    addServiceData = {
-        from: '',
-        to: ''
-    };
-    addPatchData = {
-        from: '',
-        to: ''
-    };
-}
-
-/**
- * Check source and destination node have same connections.
- * @param {string} fromNode - Source node ID.
- * @param {string} toNode - Destination node ID.
- */
-function checkfiberconnection(fromNode, toNode) {
-    var edgesarr = network.body.data.edges.get();
-    var flag = false;
-    for (var i = 0; i < edgesarr.length; i++) {
-        if ((edgesarr[i].from == fromNode && edgesarr[i].to == toNode) || (edgesarr[i].from == toNode && edgesarr[i].to == fromNode)) {
-            flag = true;
-            return true;
-        }
-    }
-    return flag;
-}
-
-/**
- * This function is used to add multiple single fiber / patch and service between same set of nodes and re - arrange them one by one.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- */
-function multipleFiberService1(cfrom, cto) {
-
-    var connectedFiber = network.getConnectedEdges(cfrom);
-    var fromFiberCount = 0;
-    var toFiberCount = 0;
-    var fiberCount = 0;
-    var fiberSmooth;
-    $.each(connectedFiber, function (index, item) {
-        var fiberDetails = network.body.data.edges.get(item);
-        if (fiberDetails.fiber_category == dualFiberJSON.fiber_category || fiberDetails.fiber_category == singleFiberJSON.fiber_category || fiberDetails.component_type == serviceJSON.component_type || fiberDetails.component_type == dualPatchJSON.component_type) {
-            fiberSmooth = singleFiberJSON.options.smooth;
-            if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                fiberCount++;
-                if (fiberCount == 1) {
-                    fiberSmooth.roundness = "0." + fiberCount;
-                }
-                else {
-                    fromFiberCount++;
-                    fiberSmooth.roundness = "0." + fiberCount;
-                }
-            }
-            if (connectedFiber.length == 1) {
-                if (fiberDetails.from == cto && fiberDetails.to == cfrom) {
-                    fiberCount = 1;
-                    fiberSmooth.roundness = "0." + connectedFiber.length;
-                }
-            }
-        }
-    });
-
-    if (fiberCount > 0)
-        return fiberSmooth;
-    else
-        return fiberJSON.options.smooth;
-}
-
-/**
- * This function is used to add multiple single fiber / patch and service between same set of nodes and re - arrange them one by one.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- */
-function multipleFiberService(cfrom, cto) {
-    var connectedFiber = network.getConnectedEdges(cfrom);
-    connectedFiber.push(network.getConnectedEdges(cto));
-    var fromFiberCount = 0;
-    var toFiberCount = 0;
-    var fiberCount = 0;
-
-    $.each(connectedFiber, function (index, item) {
-        var fiberDetails = network.body.data.edges.get(item);
-        if (fiberDetails.fiber_category == dualFiberJSON.fiber_category || fiberDetails.fiber_category == singleFiberJSON.fiber_category || fiberDetails.component_type == serviceJSON.component_type || fiberDetails.component_type == dualPatchJSON.component_type) {
-            var fiberSmooth = singleFiberJSON.options.smooth;
-            if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                fiberCount++;
-
-                if (fiberCount == 1) {
-                    fiberSmooth = fiberJSON.options.smooth;
-                }
-                else {
-                    fromFiberCount++;
-                    fiberSmooth.roundness = "0." + fromFiberCount;
-                }
-                network.body.data.edges.update({
-                    id: fiberDetails.id, smooth: fiberSmooth
-
-                });
-            }
-            if (fiberDetails.from == cto && fiberDetails.to == cfrom) {
-                fiberCount++;
-                fiberSmooth.roundness = "0." + toFiberCount;
-                if (fiberCount == 1) {
-                    fiberSmooth = fiberJSON.options.smooth;
-                }
-                else {
-                    toFiberCount++;
-                    fiberSmooth.roundness = "0." + toFiberCount;
-                }
-                network.body.data.edges.update({
-                    id: fiberDetails.id, smooth: fiberSmooth
-
-                });
-
-            }
-        }
-    });
-}
-
-/**
- * Count fiber/patch and service connections between same set of node.
- * @param {number} isdualfiber - True -> Dual fiber connection count.
- * @param {number} issinglefiber - True -> Single fiber connection count.
- * @param {number} isservice - True - > Service connection count.
- * @param {number} ispatch - True -> Single patch connection count.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- */
-function countFiberService(isdualfiber, issinglefiber, isservice, ispatch, cfrom, cto) {
-    var conCount = 1;
-    var connectedFiber = network.getConnectedEdges(cfrom);
-    connectedFiber.push(network.getConnectedEdges(cto));
-    $.each(connectedFiber, function (index, item) {
-        var fiberDetails = network.body.data.edges.get(item);
-        if (isdualfiber) {
-            if (fiberDetails.fiber_category == dualFiberJSON.fiber_category) {
-                if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                    conCount++;
-                }
-            }
-        }
-        if (issinglefiber) {
-            if (fiberDetails.fiber_category == singleFiberJSON.fiber_category) {
-                if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                    conCount++;
-                }
-            }
-        }
-        if (isservice) {
-            if (fiberDetails.component_type == serviceJSON.component_type) {
-                if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                    conCount++;
-                }
-            }
-        }
-        if (ispatch) {
-            if (fiberDetails.component_type == dualPatchJSON.component_type) {
-                if (fiberDetails.from == cfrom && fiberDetails.to == cto) {
-                    conCount++;
-                }
-            }
-        }
-    });
-    return conCount;
-}
-
-/**
- * Check node component have connection.
- * @param {string} from -Source node ID.
- * @param {string} to - Destination node ID .
- */
-function checkNodeConnection(from, to) {
-    var flag = false;
-    var fiberList = network.getConnectedEdges(from);
-    $.each(fiberList, function (index, item) {
-        var fiber = network.body.data.edges.get(item);
-        if ((fiber.from == from && fiber.to == to) || (fiber.from == to && fiber.to == from)) {
-            flag = true;
-            return;
-        }
-    });
-    return flag;
-}
-
-/**
- * Check node component have a service connection.
- * @param {string} from - Source node ID.
- * @param {string} to - Destination node ID.
- */
-function checkNodeServiceConnection(from, to) {
-    var flag = false;
-    var fiberList = network.getConnectedEdges(from);
-    $.each(fiberList, function (index, item) {
-
-        var fiber = network.body.data.edges.get(item);
-        if (fiber.component_type == serviceJSON.component_type) {
-            if ((fiber.from == from && fiber.to == to) || (fiber.from == to && fiber.to == from)) {
-                flag = true;
-                return;
-            }
-        }
-    });
-    return flag;
-}
-
-/**
- * Restriction to remove transceiver node connection(fiber/patch) while transceiver having service.
- * @param {number} from - Source node ID.
- * @param {number} to - Destination node ID.
- * @param {string} edgeType - The type of fiber/patch/service.
- */
-function checkFiberPatchServiceCon(from, to, edgeType) {
-    var isOk = false;
-    var nodeDetails = network.body.data.nodes.get(from);
-    var toNodeDetails = network.body.data.nodes.get(to);
-
-    var fromCount = 0;
-    var toCount = 0;
-
-    if (nodeDetails.node_type == transceiverJSON.node_type) {
-        var fromConnection = network.getConnectedEdges(from);
-        var isServiceCon = false;
-        $.each(fromConnection, function (index, item) {
-            var fiberDetails = network.body.data.edges.get(item);
-            if (fiberDetails.component_type == dualFiberJSON.component_type || fiberDetails.component_type == dualPatchJSON.component_type) {
-                fromCount++;
-            }
-            else if (fiberDetails.component_type == serviceJSON.component_type)
-                isServiceCon = true;
-        });
-
-        if (isServiceCon) {
-            if (fromCount == 1) {
-                showMessage(alertType.Error, 'Cannot remove ' + edgeType + ', ' + transceiverJSON.node_type + ' ' + transceiverJSON.component_type + ' - ' + nodeDetails.label + ' should have one ' + dualFiberJSON.component_type + '/' + dualPatchJSON.component_type + ' connection');
-                return true;
-            }
-        }
-    }
-
-    if (toNodeDetails.node_type == transceiverJSON.node_type) {
-        var toConnection = network.getConnectedEdges(to);
-        var isServiceCon = false;
-        $.each(toConnection, function (index, item) {
-            var fiberDetails = network.body.data.edges.get(item);
-            if (fiberDetails.component_type == dualFiberJSON.component_type || fiberDetails.component_type == dualPatchJSON.component_type) {
-                toCount++;
-            }
-            else if (fiberDetails.component_type == serviceJSON.component_type)
-                isServiceCon = true;
-        });
-
-        if (isServiceCon) {
-            if (toCount == 1) {
-                showMessage(alertType.Error, 'Cannot remove ' + edgeType + ', ' + transceiverJSON.node_type + ' ' + transceiverJSON.component_type + ' - ' + toNodeDetails.label + ' should have one ' + dualFiberJSON.component_type + '/' + dualPatchJSON.component_type + ' connection')
-                return true;
-            }
-        }
-    }
-
-    return isOk;
-}
-
-/**
- * Close context menu by menu ID.
- * @param {string} menuID - The ID of menu.
- */
-function closeMenu(menuID) {
-    document.getElementById(menuID).style.display = "none";
-    UnSelectAll();
-
-}
-
-/** Append node,preamp and booster type to dropdown input control. */
-function appendSinglePreAmpandBoosterType() {
-
-    if (eqpt_config['tip-photonic-equipment:amplifier']) {
-        $.each(eqpt_config['tip-photonic-equipment:amplifier'], function (index, item) {
-            $('#ddlPreAmpType').append('<option value="' + item.type + '">' + item.type + '</option>');
-            $('#ddlBoosterType').append('<option value="' + item.type + '">' + item.type + '</option>');
-            $('#ddlAmplifierType').append('<option value="' + item.type + '">' + item.type + '</option>');
-        });
-    }
-}
-
-/**
- * Append node, preamp, booster type for dynamically generate element.
- * @param {string} ddlID - The ID of dynamic input control. like dropdown.
- */
-function appendPreAmpandBoosterType(ddlID) {
-    var preAmpType = [];
-    var boosterType = [];
-    var ddlroadmtype = "#" + eleroadmtype + ddlID;
-    var ddlpreamptype = "#" + elepreamptype + ddlID;
-    var ddlboostertype = "#" + eleboostertype + ddlID;
-
-    if (eqpt_config["tip-photonic-equipment:amplifier"]) {
-        $.each(eqpt_config['tip-photonic-equipment:amplifier'], function (index, item) {
-            $(ddlpreamptype).append('<option value="' + item.type + '">' + item.type + '</option>');
-            $(ddlboostertype).append('<option value="' + item.type + '">' + item.type + '</option>');
-        });
-    }
-
-    if (eqpt_config["tip-photonic-equipment:roadm"]) {
-        $.each(eqpt_config["tip-photonic-equipment:roadm"], function (index, item) {
-            $(ddlroadmtype).append('<option value="' + item.type + '">' + item.type + '</option>');
-
-        });
-    }
-}
-
-/**
- * show context menu near by selected component.
- * @param {string} x - The point of selected component.
- * @param {string} y - The point of selected component.
- * @param {string} menu - Html element ID.
- */
-function showContextMenu(x, y, menu) {
-    showHideDrawerandMenu();
-    var windowHeight = $(window).height() / 2;
-    var windowWidth = $(window).width() / 2;
-    var element = "#" + menu;
-    if (y > windowHeight && x <= windowWidth) {
-        $(element).css("left", x);
-        $(element).css("bottom", $(window).height() - y);
-        $(element).css("right", "auto");
-        $(element).css("top", "auto");
-    } else if (y > windowHeight && x > windowWidth) {
-        //When user click on bottom-right part of window
-        $(element).css("right", $(window).width() - x);
-        $(element).css("bottom", $(window).height() - y);
-        $(element).css("left", "auto");
-        $(element).css("top", "auto");
-    } else if (y <= windowHeight && x <= windowWidth) {
-        //When user click on top-left part of window
-        $(element).css("left", x);
-        $(element).css("top", y);
-        $(element).css("right", "auto");
-        $(element).css("bottom", "auto");
-    } else {
-        //When user click on top-right part of window
-        $(element).css("right", $(window).width() - x);
-        $(element).css("top", y);
-        $(element).css("left", "auto");
-        $(element).css("bottom", "auto");
-    }
-    document.getElementById(menu).style.display = "block";
-}
-
-/**
- * Show the element for displays fiber, service and node components details when hover the mouse over on it.
- * @param {string} x - left side menu.
- * @param {string} y - bottom of the menu.
- * @param {string} menu - Element ID.
- */
-function showHoverDiv(x, y, menu) {
-
-    var windowHeight = $(window).height() / 2;
-    var windowWidth = $(window).width() / 2;
-    var element = "#" + menu;
-    if (y > windowHeight && x <= windowWidth) {
-        //Bottom-left part of window
-        $(element).css("left", x);
-        $(element).css("bottom", $(window).height() - y);
-        $(element).css("right", "auto");
-        $(element).css("top", "auto");
-    } else if (y > windowHeight && x > windowWidth) {
-        //Bottom-right part of window
-        $(element).css("right", $(window).width() - x);
-        $(element).css("bottom", $(window).height() - y);
-        $(element).css("left", "auto");
-        $(element).css("top", "auto");
-    } else if (y <= windowHeight && x <= windowWidth) {
-        //Top-left part of window
-        $(element).css("left", x);
-        $(element).css("top", y);
-        $(element).css("right", "auto");
-        $(element).css("bottom", "auto");
-    } else {
-        //Top-right part of window
-        $(element).css("right", $(window).width() - x);
-        $(element).css("top", y);
-        $(element).css("left", "auto");
-        $(element).css("bottom", "auto");
-    }
-    document.getElementById(menu).style.display = "block";
-}
-
-/** To check network topology have components. */
-function networkValidation() {
-    var flag = false;
-    if (network.body.data.nodes.get().length > 0 || network.body.data.edges.get().length > 0)
-        flag = true;
-    else {
-        showMessage(alertType.Info, 'Please create network topology');
-    }
-
-    return flag;
-}
-
-/**
- * To load ROADM component type to dropdown control.
- * @param {string} fiberID - The ID of fiber component.
- * @param {string} nodeID - The ID of node component.
- * @param {string} node_type - Type of ROADM component.
- * @param {string} appendElement - Html element for loading component type.
- */
-function loadRoadmType(fiberID, nodeID, node_type, appendElement) {
-    var appendDiv = "#" + appendElement
-    var fiberDetails = network.body.data.edges.get(fiberID);
-    var roadmType = "";
-    if (fiberDetails.from == nodeID || fiberDetails.to == nodeID) {
-        $(appendDiv).show();
-        var connectedNodes = network.getConnectedNodes(fiberID);
-        if (fiberDetails.from == nodeID)
-            roadmType = node_type.toUpperCase() + "- [" + network.body.data.nodes.get(connectedNodes[0]).label + ' - ' + network.body.data.nodes.get(connectedNodes[1]).label + ' ]';
-        if (fiberDetails.to == nodeID)
-            roadmType = node_type.toUpperCase() + "- [" + network.body.data.nodes.get(connectedNodes[1]).label + ' - ' + network.body.data.nodes.get(connectedNodes[0]).label + ' ]';
-
-        var roadmAccordian = "";
-        roadmAccordian = "<div class='accordion-fiber'>";
-        roadmAccordian += "<p class='title m-0 f-s-17' id=" + fiberID + ">" + roadmType + "</p>";
-        roadmAccordian += "<span class='show-fiber'>+</span>"
-        roadmAccordian += "</div>";
-        roadmAccordian += "<div class='info-fiber'><div class='panel'>";
-
-        if (node_type == roadmJSON.node_type) {
-            roadmAccordian += generateAccordianEle("ROADM Type", eleroadmtype + fiberID);
-        }
-        roadmAccordian += generateAccordianEle("Amplifier A", elepreamptype + fiberID);
-        roadmAccordian += generateAccordianEle("Amplifier B", eleboostertype + fiberID);
-        roadmAccordian += "</div></div>";
-        $(appendDiv).append(roadmAccordian);
-        accordianFun();
-        appendPreAmpandBoosterType(fiberID);
-        getRoadmDetails(fiberID, node_type);
-    }
-}
-
-/**
- * Generate accordian and dropdown element for loading type.
- * @param {string} label - The label of component.
- * @param {string} ddlEleID - Dropdown element for loading component type.
- */
-function generateAccordianEle(label, ddlEleID) {
-    var eleHtml = "";
-    eleHtml += "<div class='form-group'>";
-    eleHtml += "<label class='f-s-17'>" + label + "</label>";
-    eleHtml += "<select id='" + ddlEleID + "' class='form-control'></select>";
-    eleHtml += "</div>";
-    return eleHtml;
-}
-
-/**
- * Get ROADM component details by fiber ID.
- * @param {string} fiberID - Fiber component ID.
- * @param {string} node_type - The type of component.
- */
-function getRoadmDetails(fiberID, node_type) {
-    if (_roadmListDB({ roadm_fiber_id: fiberID }).count() > 0) {
-        var roadmDetails = _roadmListDB({ roadm_fiber_id: fiberID }).first();
-        var lroadmtype = "#" + eleroadmtype + fiberID;
-        var lpreamptype = "#" + elepreamptype + fiberID;
-        var lboostertype = "#" + eleboostertype + fiberID;
-        if (node_type == roadmJSON.node_type) {
-            $(lroadmtype).val(roadmDetails.roadm_type);
-        }
-        $(lpreamptype).val(roadmDetails.pre_amp_type);
-        $(lboostertype).val(roadmDetails.booster_type);
-    }
-    else {
-        if (node_type == roadmJSON.node_type)
-            clearRoadm();
-        if (node_type == ILAJSON.amp_category)
-            clearILA();
-    }
-}
-
-/**
- * Get next level of fiber/patch/service label.
- * @param {string} from - Source node ID.
- * @param {string} to -  Destination node ID.
- * @param {string} component_type - The type of component.
- */
-function getLabel(from, to, component_type) {
-    var flabel;
-    var tlabel;
-
-    if (network.body.data.nodes.get(from).number)
-        flabel = network.body.data.nodes.get(from).number;
-    else
-        flabel = network.body.data.nodes.get(from).label;
-
-    if (network.body.data.nodes.get(to).number)
-        tlabel = network.body.data.nodes.get(to).number;
-    else
-        tlabel = network.body.data.nodes.get(to).label;
-
-    return component_type + " " + flabel + ' - ' + tlabel;
-}
-
-/**
- * This function is used to store simulation parameters in session storage as JSON format.
- * @param {number} fre_min - Frequency-max value.
- * @param {number} frq_max - Frequency-min value.
- * @param {number} spacing - Spacings.
- * @param {number} channel - Number of channels.
- * @param {number} margin - System margin.
- */
-function saveSimulations(fre_min, frq_max, spacing, channel, margin) {
-    var simulationPara = {
-        "frequency-min": fre_min,
-        "frequency-max": frq_max,
-        "spacing": spacing,
-        "noOfChannel": channel,
-        "system-margin": margin
-    }
-    sessionStorage.setItem("simulationParameters", JSON.stringify(simulationPara));
-}
-
-/**
- * This function is used to show alert message.
- * @param {string} messageType - Type of message.ex : Success/Info/Error/Warning.
- * @param {string} textmsg - Message content.
- * @param {boolean} removeTimeout - Set timeout for alert message.
- */
-function showMessage(messageType, textmsg, removeTimeout) {
-    $("#img_src").show();
-    switch (messageType) {
-        case alertType.Success:
-
-            $('#msg_content').html(textmsg);
-            $('#caption').text(Object.keys(alertType).find(key => alertType[key] === alertType.Success));
-            var successrc1 = "./Assets/img/success-toaster.svg";
-            $("#img_src").attr("src", successrc1);
-            $('#toast').removeClass("info-toast");
-            $('#toast').removeClass("danger-toast-error-listing");
-            $('#toast').removeClass("danger-toast");
-            $('#toast').removeClass("warning-toast");
-            $('#toast').addClass("success-toast");
-            clearAndSetTimeout(".success-toast");
-            break;
-        case alertType.Info:
-            $('#msg_content').html(textmsg);
-            $('#caption').text(Object.keys(alertType).find(key => alertType[key] === alertType.Info));
-            var infosrc = "./Assets/img/info-toaster.svg";
-            $("#img_src").attr("src", infosrc);
-            $('#toast').removeClass("success-toast");
-            $('#toast').removeClass("danger-toast-error-listing");
-            $('#toast').removeClass("danger-toast");
-            $('#toast').removeClass("warning-toast");
-            $('#toast').addClass("info-toast");
-            clearAndSetTimeout(".info-toast");
-            break;
-        case alertType.Error:
-            $('#msg_content').html(textmsg);
-            var dangersrc;
-            $('#toast').removeClass("success-toast");
-            $('#toast').removeClass("info-toast");
-            $('#toast').removeClass("warning-toast");
-            $('#toast').removeClass("danger-toast-error-listing");
-            $('#toast').removeClass("danger-toast");
-            dangersrc = "./Assets/img/error-toaster.svg";
-            $("#img_src").attr("src", dangersrc);
-            if (!removeTimeout) {
-                $('#caption').text(Object.keys(alertType).find(key => alertType[key] === alertType.Error));
-
-                $('#toast').addClass("danger-toast");
-                clearAndSetTimeout(".danger-toast", removeTimeout);
-            }
-            else {
-                $("#img_src").hide();
-                $('#caption').text('Messages');
-                //dangersrc = "./Assets/img/error-listing-icon.svg";
-                $('#toast').addClass("danger-toast-error-listing");
-                clearAndSetTimeout(".danger-toast-error-listing", removeTimeout);
-            }
-
-
-            break;
-        case alertType.Warning:
-            $('#msg_content').html(textmsg);
-            $('#caption').text(Object.keys(alertType).find(key => alertType[key] === alertType.Warning));
-            var warningsrc = "./Assets/img/warning-toaster.svg";
-            $("#img_src").attr("src", warningsrc);
-            $('#toast').removeClass("success-toast");
-            $('#toast').removeClass("info-toast");
-            $('#toast').removeClass("danger-toast-error-listing");
-            $('#toast').removeClass("danger-toast");
-            $('#toast').addClass("warning-toast");
-            clearAndSetTimeout(".warning-toast");
-            break;
-    }
-
-
-}
-
-/**
- * This function is used to set/remove time interval for alert message.
- * @param {number} targetEle - Target of toaster element like. Success/Warning/Error...
- * @param {number} removeTimeout - Remove the interval time for alert message .
- */
-function clearAndSetTimeout(targetEle, removeTimeout) {
-    const highestId = window.setTimeout(() => {
-        for (let i = highestId; i >= 0; i--) {
-            window.clearInterval(i);
-        }
-    }, 0);
-    $(targetEle).toast('show');
-    if (!removeTimeout) {
-        setTimeout(function () {
-            $(targetEle).toast('hide');
-        }, 6000);
-    }
-}
-
-/** To enable fiber/patch/service mode. */
-function enableEdgeIndicator() {
-    if (isDualFiberMode == 1 || isSingleFiberMode == 1 || isSinglePatchMode == 1 || isDualPatchMode == 1 || isAddService == 1)
-        network.addEdgeMode();
-}
-
-/**
- * This function is used to check the node link, mis-link, fiber properties and consolidate all error list.
- * @param {number} isTime - True -> remove time interval for error summary list.
- */
-function topologyValidation(isTime) {
-    //removeHighlight();
-    var flag = false;
-    var message = [];
-    var response = checkLink();
-    if (response.flag) {
-        flag = true
-        message.push("<span id=spanEven>" + response.message + "</span>");
-    }
-
-    response = checkMisLink();
-    if (response.flag) {
-        flag = true;
-        message.push("<span id=spanMisLink>" + response.message + "</span>");
-    }
-
-    response = checkFiberPro();
-    if (response.flag) {
-        flag = true;
-        message.push("<span id=spanTransForce>" + response.message + "</span>");
-    }
-
-    //response = checkTypeForce();
-    //if (response.flag) {
-    //    flag = true;
-    //    message.push("<span id=spanTransForce>" + response.message + "</span>");
-    //}
-
-    if (flag) {
-        showMessage(alertType.Error, message.join(' '), isTime);
-        //return;
-    }
-    return flag;
-}
-
-/**
- * Focus the error componets.
- * Focus the node/fiber/patch/service components by span error ID.
- * Update the components for highlight error component to set image, size, is_error, color properties by span error ID.
- * @param {string} ID - Node/Fiber ID.
- * @param {number} type - Component type.
- */
-function focusNodeFiber(ID, type) {
-    removeHighlight();
-    UnSelectAll();
-    if (type == 1) {
-        var image;
-        var scaleOption = { scale: 1.0 };
-        network.moveTo(scaleOption);
-        network.focus(ID);
-        image = "";
-        var nodeDetails = network.body.data.nodes.get(ID);
-        if (nodeDetails.node_type == roadmJSON.node_type)
-            image = roadmJSON.err_image;
-        else if (nodeDetails.node_type == fusedJSON.node_type)
-            image = fusedJSON.err_image;
-        else if (nodeDetails.node_type == transceiverJSON.node_type)
-            image = transceiverJSON.err_image;
-        else if (nodeDetails.amp_category == amplifierJSON.amp_category)
-            image = amplifierJSON.err_image;
-        else if (nodeDetails.amp_category == ramanampJSON.amp_category)
-            image = ramanampJSON.err_image;
-
-        network.body.data.nodes.update([{ id: ID, pre_image: nodeDetails.image, image: DIR + image, size: roadmJSON.err_size, is_error: true }]);
-    }
-    else if (type == 2) {
-        var edgeDetails = network.body.data.edges.get(ID);
-        var scaleOption = { scale: 1.0 };
-        network.moveTo(scaleOption);
-        network.focus(edgeDetails.from);
-        network.body.data.edges.update([{ id: ID, pre_color: edgeDetails.color, color: singleFiberJSON.options.err_color, is_error: true }]);
-    }
-}
-
-/** 
- * To remove focused error component highlight. 
- * Update node component to set image, size, is_error by focused component ID.
- * Update fiber/patch/service components to set color, is_error by focused component ID.
- */
-function removeHighlight() {
-
-    var errNodes = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.is_error == true);
-        }
-    });
-
-    for (var i = 0; i < errNodes.length; i++) {
-        var nodeDetails = errNodes[i];
-        network.body.data.nodes.update({
-            id: nodeDetails.id, image: nodeDetails.pre_image, size: roadmJSON.size, is_error: false
-        });
-    }
-
-    var errEdge = network.body.data.edges.get({
-        filter: function (item) {
-            return (item.is_error == true);
-        }
-    });
-    for (var i = 0; i < errEdge.length; i++) {
-        var edgeDetails = errEdge[i];
-        network.body.data.edges.update({
-            id: edgeDetails.id, color: edgeDetails.pre_color, is_error: false
-        });
-    }
-}
-
-/**
- * To remove span error element on error summary list.
- * @param {string} item - Node ID.
- * @param {boolean} transUpdate - True -> remove span error element for transceiver, False -> remove rest of span error.
- */
-function removeSpanInError(item, transUpdate) {
-
-    var image;
-    var nodeDetails = network.body.data.nodes.get(item);
-    if (nodeDetails.node_type == roadmJSON.node_type)
-        image = roadmJSON.image;
-    else if (nodeDetails.node_type == fusedJSON.node_type)
-        image = fusedJSON.image;
-    else if (nodeDetails.node_type == transceiverJSON.node_type)
-        image = transceiverJSON.image;
-    else if (nodeDetails.amp_category == amplifierJSON.amp_category)
-        image = amplifierJSON.image;
-    else if (nodeDetails.amp_category == ramanampJSON.amp_category)
-        image = ramanampJSON.image;
-
-    network.body.data.nodes.update({
-        id: nodeDetails.id, image: DIR + image, size: roadmJSON.size, is_error: false
-    });
-
-    var removeID;
-    if (transUpdate)
-        removeID = "#spanTF" + item.replace(/\s/g, '');
-    else
-        removeID = "#span" + item.replace(/\s/g, '');
-
-    $(removeID).remove();
-    checkErrorFree();
-}
-
-/** To clear summary error element if there is no any error. */
-function checkErrorFree() {
-    var roadmRule = $("#spanEven").find('p').length;
-    var linkRule = $("#spanMisLink").find('p').length;
-    var transForce = $("#spanTransForce").find('p').length;
-
-    if (roadmRule == 0)
-        $("#spanEven").empty();
-
-    if (linkRule == 0)
-        $("#spanMisLink").empty();
-
-    if (transForce == 0)
-        $("#spanTransForce").empty();
-
-    if (roadmRule == 0 && linkRule == 0 && transForce == 0) {
-        $("#toast").toast('hide');
-        network.moveTo({
-            position: prePosition,
-            scale: preScale,
-        });
-    }
-}
-
-/** 
- *  Realtime update of summary error list. 
- *  To do any action with component while error chec active on active, summary error list automatically update by component action.
- */
-function realUpdate() {
-    if ($("#div_toaster").is(":visible") && !$("#img_src").is(":visible")) {
-        $("#btnValidation").click();
-    }
-}
-
-/**
- * To reset component selection/highlight.
- * Get all highlighted components by is_highlight.
- * Update the node components to set is_highlight, image properties by selected component ID.
- * Update the fiber/patch/service components to set is_highlight, shadow properties by selected component ID.
- * */
-function remove_NodeFiberHighlight() {
-    var hNodes = network.body.data.nodes.get({
-        filter: function (item) {
-            return (item.is_highlight == true);
-        }
-    });
-
-    for (var i = 0; i < hNodes.length; i++) {
-        var nodeDetails = hNodes[i];
-        if (nodeDetails.node_type == roadmJSON.node_type) {
-            if (nodeDetails.image != DIR + roadmJSON.image) {
-                if (nodeDetails.h_image == DIR + roadmJSON.h_image) {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.image, h_image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-                else {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-            }
-            else {
-                network.body.data.nodes.update({
-                    id: nodeDetails.id, is_highlight: false
-                });
-            }
-        }
-        else if (nodeDetails.node_type == fusedJSON.node_type) {
-            if (nodeDetails.image != DIR + fusedJSON.image) {
-                if (nodeDetails.h_image == DIR + fusedJSON.h_image) {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.image, h_image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-                else {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-            }
-            else {
-                network.body.data.nodes.update({
-                    id: nodeDetails.id, is_highlight: false
-                });
-            }
-        }
-        else if (nodeDetails.node_type == transceiverJSON.node_type) {
-            if (nodeDetails.image != DIR + transceiverJSON.image) {
-                if (nodeDetails.h_image == DIR + transceiverJSON.h_image) {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.image, h_image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-                else {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, image: nodeDetails.h_image, is_highlight: false
-                    });
-                }
-            }
-            else {
-                network.body.data.nodes.update({
-                    id: nodeDetails.id, is_highlight: false
-                });
-            }
-        }
-        else if (nodeDetails.node_type == amplifierJSON.node_type) {
-            if (nodeDetails.amp_category == amplifierJSON.amp_category) {
-                if (nodeDetails.image != DIR + amplifierJSON.image) {
-                    if (nodeDetails.h_image == DIR + amplifierJSON.h_image) {
-                        network.body.data.nodes.update({
-                            id: nodeDetails.id, image: nodeDetails.image, h_image: nodeDetails.h_image, is_highlight: false
-                        });
-                    }
-                    else {
-                        network.body.data.nodes.update({
-                            id: nodeDetails.id, image: nodeDetails.h_image, is_highlight: false
-                        });
-                    }
-                }
-                else {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, is_highlight: false
-                    });
-                }
-            }
-            else if (nodeDetails.amp_category == ramanampJSON.amp_category) {
-                if (nodeDetails.image != DIR + ramanampJSON.image) {
-                    if (nodeDetails.h_image == DIR + ramanampJSON.h_image) {
-                        network.body.data.nodes.update({
-                            id: nodeDetails.id, image: nodeDetails.image, h_image: nodeDetails.h_image, is_highlight: false
-                        });
-                    }
-                    else {
-                        network.body.data.nodes.update({
-                            id: nodeDetails.id, image: nodeDetails.h_image, is_highlight: false
-                        });
-                    }
-                }
-                else {
-                    network.body.data.nodes.update({
-                        id: nodeDetails.id, is_highlight: false
-                    });
-                }
-            }
-        }
-
-    }
-
-    var hEdges = network.body.data.edges.get({
-        filter: function (item) {
-            return (item.is_highlight == true);
-        }
-    });
-    for (var i = 0; i < hEdges.length; i++) {
-        network.body.data.edges.update({
-            id: hEdges[i].id, shadow: [], is_highlight: false
-        });
-    }
-}
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/networkgraph_node.js.html b/docs/networkgraph_node.js.html deleted file mode 100644 index a33bb04..0000000 --- a/docs/networkgraph_node.js.html +++ /dev/null @@ -1,1662 +0,0 @@ - - - - - JSDoc: Source: networkgraph/node.js - - - - - - - - - - -
- -

Source: networkgraph/node.js

- - - - - - -
-
-
 /**
- * node.js
- * The node can be defined as the connection point of "ROADM, Attenuator, Transceiver, Amplifier, and Raman Amplifier" and defines the node manipulations.
- * @module node
- */
-
-/**
- * Check node Mode 1-roadm, 2-amp, 3-fused, 4-transceiver, 6- raman amp
- * @param {Number} nodemode - Mode of the component.
- */
-function AddNodeMode(nodemode) {
-
-    nodeMode = nodemode;
-    if (nodeMode) {
-        if (nodeMode > 0 && nodeMode < 7)
-            network.addNodeMode();
-    }
-}
-
-/**
- * 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.
- * @param {object} data - The data of the component.
- * @param callback - The callback that handles the response.
- */
-function addNodes(data, callback) {
-
-    var nodeDetails = "";
-    var nodeShape = "";
-    var nodeColor = "";
-    var nodeFont = "";
-    var nodeSize = 0;
-    var amp_category = "";
-    if (nodeMode == nodeType.ROADM) {
-        nodeDetails = configData.node[roadmJSON.node_type];
-        data.image = DIR + roadmJSON.w_image;
-        nodeFont = roadmJSON.font;
-        nodeSize = roadmJSON.size;
-        data.font = nodeFont;
-
-        if ($("#ddlNetworkView").val() == topologyView.Functional_View)
-            data.roadm_type = nodeDetails.default.roadm_type;
-
-    }
-    else if (nodeMode == nodeType.ILA || nodeMode == nodeType.Attenuator || nodeMode == nodeType.Transceiver || nodeMode == nodeType.Amplifier || nodeMode == nodeType.RamanAmplifier) {
-        if (nodeMode == nodeType.ILA) {
-            nodeDetails = configData.node[ILAJSON.amp_category];
-            nodeShape = ILAJSON.shape;
-            nodeColor = ILAJSON.color;
-            nodeFont = ILAJSON.font;
-            data.image = DIR + ILAJSON.w_image;
-            data.pre_amp_type = nodeDetails.default.pre_amp_type;
-            data.booster_type = nodeDetails.default.booster_type;
-            data.amp_category = nodeDetails.default.amp_category;
-            nodeSize = ILAJSON.size;
-        }
-        else if (nodeMode == nodeType.Attenuator) {
-            nodeDetails = configData.node[fusedJSON.node_type];
-            nodeShape = fusedJSON.shape;
-            nodeColor = fusedJSON.color;
-            nodeFont = fusedJSON.font;
-            data.image = DIR + fusedJSON.w_image;
-            nodeSize = fusedJSON.size;
-        }
-        else if (nodeMode == nodeType.Transceiver) {
-            nodeDetails = configData.node[transceiverJSON.node_type];
-            nodeShape = transceiverJSON.shape;
-            nodeColor = transceiverJSON.color;
-            nodeFont = transceiverJSON.font;
-            data.image = DIR + transceiverJSON.w_image;
-            data.transceiver_type = nodeDetails.default.transceiver_type;
-            nodeSize = transceiverJSON.size;
-        }
-        else if (nodeMode == nodeType.Amplifier) {
-            nodeDetails = configData.node[amplifierJSON.amp_category];
-            nodeShape = amplifierJSON.shape;
-            nodeColor = amplifierJSON.color;
-            nodeFont = amplifierJSON.font;
-            data.image = DIR + amplifierJSON.w_image;
-            data.amp_type = nodeDetails.default.amp_type;
-            data.amp_category = nodeDetails.default.amp_category;
-            nodeSize = amplifierJSON.size;
-        }
-        else if (nodeMode == nodeType.RamanAmplifier) {
-            nodeDetails = configData.node[ramanampJSON.amp_category];
-            nodeShape = ramanampJSON.shape;
-            nodeColor = ramanampJSON.color;
-            nodeFont = ramanampJSON.font;
-            data.image = DIR + ramanampJSON.w_image;
-            data.amp_type = nodeDetails.default.amp_type;
-            data.amp_category = nodeDetails.default.amp_category;
-            data.category = nodeDetails.default.category;
-            nodeSize = ramanampJSON.size;
-        }
-
-        data.shape = nodeShape;
-        data.color = nodeColor;
-        data.size = nodeSize;
-
-    }
-    else
-        return;
-
-
-    var result = nodeName(nodeDetails.default.node_type, nodeDetails.default.amp_category);
-
-    var nodelength = result.nodeLength;
-    var nodeLabel = result.label;
-
-    data.id = token();
-    data.number = nodelength;
-    data.label = nodeLabel;
-    data.node_type = nodeDetails.default.node_type;
-    data.node_degree = nodeDetails.default.node_degree;
-    data.component_type = roadmJSON.component_type;
-    data.hidden = false;
-    data.isUpdate = false;
-    data.view = $("#ddlNetworkView").val();
-    callback(data);
-
-    realUpdate();
-
-    if (nodeMode == nodeType.ROADM || nodeMode == nodeType.ILA || nodeMode == nodeType.Attenuator || nodeMode == nodeType.Transceiver || nodeMode == nodeType.Amplifier || nodeMode == nodeType.RamanAmplifier)
-        network.addNodeMode();
-    tempUndo.push(network.body.data.nodes.get(data.id));
-}
-
-/**
- * Populate ROADM component details by node ID.
- * @param {string} nodeID - The ID of the ROADM component.
- * @param callback - The callback that handles the response.
- */
-function roadmEdit(nodeID, callback) {
-    _roadmListDB().remove();
-    document.getElementById("roadmMenu").style.display = "none";
-    openDrawer('roadm');
-    var nodeDetails = network.body.data.nodes.get(nodeID[nodeID.length - 1]);
-    $("#txtRoadmName").val(nodeDetails.label);
-    $("#divRoadmPro").hide();
-    $("#divRoadmPro").empty();
-    $("#divRoadmType").hide();
-    if (nodeDetails.node_type == roadmJSON.node_type && $("#ddlNetworkView").val() == topologyView.NE_View) {
-        arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-        _roadmListDB.insert(JSON.stringify(arrRoadmTypePro));
-        var connectedFiber = network.getConnectedEdges(nodeID);
-
-        $.each(connectedFiber, function (index, item) {
-            if (network.body.data.edges.get(item).component_type == dualFiberJSON.component_type)
-                loadRoadmType(item, nodeID[nodeID.length - 1], nodeDetails.node_type, "divRoadmPro");
-        });
-    }
-    else if (nodeDetails.node_type == roadmJSON.node_type && $("#ddlNetworkView").val() == topologyView.Functional_View) {
-        $("#divRoadmType").show();
-
-        if (nodeID.length > 1) {
-            $("#divRoadmName").hide();
-            $("#ddlRoadmType").val('');
-            $("#ddlRoadmType").addClass('input_error');
-            var matchCount = 1;
-            for (var i = 0; i < nodeID.length - 1; i++) {
-                if (network.body.data.nodes.get(nodeID[i]).roadm_type == nodeDetails.roadm_type) {
-                    matchCount++;
-                }
-            }
-            if (matchCount == nodeID.length) {
-                if (nodeDetails.roadm_type) {
-                    $("#ddlRoadmType").val(nodeDetails.roadm_type);
-                    $("#ddlRoadmType").removeClass('input_error');
-                }
-            }
-
-
-        }
-        else {
-            $("#divRoadmName").show();
-            if (nodeDetails.roadm_type) {
-                $("#ddlRoadmType").removeClass('input_error');
-                $("#ddlRoadmType").val(nodeDetails.roadm_type);
-            }
-            else {
-                $("#ddlRoadmType").val('');
-                $("#ddlRoadmType").addClass('input_error');
-            }
-        }
-
-    }
-
-    document.getElementById("btnUpdateRoadm").onclick = updateRoadm.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseRoadm").onclick = clearRoadm.bind(
-    );
-}
-
-/**
- * Update ROADM.
- * Update ROADM label, type by ROADM ID.
- * @param {string} nodeID - The ID of the ROADM component
- */
-function updateRoadm(nodeID) {
-    removeNodeList = [];
-    if (nameLengthValidation("txtRoadmName")) {
-        var id = nodeID[nodeID.length - 1];
-        var label = $("#txtRoadmName").val().trim();
-        var node_type = network.body.data.nodes.get(id).node_type
-        var roadmtypeprodata = _roadmListDB().get();
-        if (node_type == roadmJSON.node_type && $("#ddlNetworkView").val() == topologyView.NE_View) {
-
-            $.each(roadmtypeprodata, function (index, item) {
-                var lddlroadmtype = "#" + eleroadmtype + item.roadm_fiber_id;
-                var lddlpreamptype = "#" + elepreamptype + item.roadm_fiber_id;
-                var lddlboostertype = "#" + eleboostertype + item.roadm_fiber_id;
-                var edgeDetails = network.body.data.edges.get(item.roadm_fiber_id);
-                var llabelname = node_type + "- [" + label + ' - ' + network.body.data.nodes.get(edgeDetails.to).label + ' ]'
-                _roadmListDB({ "roadm_fiber_id": item.roadm_fiber_id, }).update({
-                    "roadm_label": llabelname, "roadm_type": $(lddlroadmtype).val(),
-                    "pre_amp_type": $(lddlpreamptype).val(), "booster_type": $(lddlboostertype).val(),
-                });
-            });
-            roadmtypeprodata = _roadmListDB().get();
-            network.body.data.nodes.update({
-                id: id, label: label, roadm_type_pro: roadmtypeprodata
-            });
-
-        }
-        else if (node_type == roadmJSON.node_type && $("#ddlNetworkView").val() == topologyView.Functional_View) {
-
-            if ($("#ddlRoadmType").val() == null) {
-                showMessage(alertType.Error, 'Please select type');
-                $("#ddlRoadmType").addClass('input_error');
-                return;
-            }
-            else
-                $("#ddlRoadmType").removeClass('input_error');
-
-
-            var preUpdateList = [];
-            if (nodeID.length > 1) {
-                for (var i = 0; i < nodeID.length; i++) {
-
-                    if (network.body.data.nodes.get(nodeID[i]).image == DIR + roadmJSON.h_image) {
-
-                        preUpdateList.push(network.body.data.nodes.get(nodeID[i]));
-                        network.body.data.nodes.update({
-                            id: nodeID[i], roadm_type: $("#ddlRoadmType").val()
-                        });
-                        realUpdate_Roadm(nodeID[i], $("#ddlRoadmType").val());
-
-                        var tdata = network.body.data.nodes.get(nodeID[i]);
-                        removeNodeList.push(tdata);
-                    }
-                }
-                if (removeNodeList.length > 0) {
-                    var updateList = {
-                        isMultiple: true,
-                        isUpdate: true,
-                        preList: preUpdateList,
-                        list: removeNodeList
-                    }
-                    tempUndo.push(updateList);
-                }
-
-            } else {
-                network.body.data.nodes.update({
-                    id: id, label: label, roadm_type: $("#ddlRoadmType").val()
-                });
-                realUpdate_Roadm(id, $("#ddlRoadmType").val());
-
-                var tdata = network.body.data.nodes.get(id);
-                tdata.isUpdate = true;
-                tempUndo.push(tdata);
-            }
-        }
-        clearRoadm();
-    }
-
-}
-
-/** Clear input/teporary data and other settings. */
-function clearRoadm() {
-    $("#txtRoadmName").val('');
-    $("#divRoadmPro").empty();
-    $("#ddlRoadmType").val('');
-    closeDrawer('roadm');
-    _roadmListDB().remove();
-    UnSelectAll();
-}
-
-/**
- * Check ROADM component rules and update check-errors summary.
- * @param {string} id - The ID of ROADM component.
- * @param {string} rtype - The type of ROADM component.
- */
-function realUpdate_Roadm(id, rtype) {
-    var roadmtype = rtype;
-    var connectedEges = network.getConnectedEdges(id);
-    var tempEdge = [];
-    $.each(connectedEges, function (index, item) {
-        if (network.body.data.edges.get(item).component_type != serviceJSON.component_type) {
-            tempEdge.push(item);
-        }
-    });
-
-    var fromCount = 0;
-    var toCount = 0;
-    for (i = 0; i < tempEdge.length; i++) {
-        edgeDetails = network.body.data.edges.get(tempEdge[i]);
-        if (edgeDetails.from == id)
-            fromCount++;
-        else if (edgeDetails.to == id)
-            toCount++;
-    }
-
-    if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-        removeID = "#spanTF" + id.replace(/\s/g, '');
-        $(removeID).remove();
-    }
-    else {
-        if (roadmtype)
-            removeSpanInError(id, true);
-    }
-}
-
-/**
- * Populate Attenuator component details by node ID.
- * @param {string} nodeID - The ID of the Attenuator component.
- * @param callback - The callback that handles the response.
- */
-function attenuatorEdit(nodeID, callback) {
-    document.getElementById("attenuatorMenu").style.display = "none";
-    openDrawer('attenuator');
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-    $("#txtAttenuatorName").val(nodeDetails.label);
-
-    document.getElementById("btnUpdateAttenuator").onclick = updateAttenuator.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseAttenuator").onclick = clearAttenuator.bind(
-    );
-}
-
-/**
- * Update Attenuator.
- * Update Attenuator label, type by Attenuator ID.
- * @param {string} nodeID - The ID of the Attenuator component
- */
-function updateAttenuator(nodeID) {
-
-    var id = nodeID;
-    var label = $("#txtAttenuatorName").val().trim();
-    var node_type = network.body.data.nodes.get(nodeID).node_type
-
-    if (nameLengthValidation("txtAttenuatorName")) {
-
-        if (node_type == fusedJSON.node_type) {
-            network.body.data.nodes.update({
-                id: id, label: label
-            });
-            var tdata = network.body.data.nodes.get(id);
-            tdata.isUpdate = true;
-            tempUndo.push(tdata);
-            clearAttenuator();
-        }
-
-
-    }
-
-}
-
-/** Clear input/teporary data and other settings. */
-function clearAttenuator() {
-    $("#txtAttenuatorName").val('');
-    closeDrawer('attenuator');
-    UnSelectAll();
-}
-
-function ILAEdit(nodeID, callback) {
-    _roadmListDB().remove();
-    document.getElementById("ILAMenu").style.display = "none";
-    openDrawer('ILA');
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-    $("#txtILAName").val(nodeDetails.label);
-    $("#divILAPro").hide();
-    $("#divILAPro").empty();
-
-    if (nodeDetails.amp_category == ILAJSON.amp_category) {
-        arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-        _roadmListDB.insert(JSON.stringify(arrRoadmTypePro));
-        var connectedFiber = network.getConnectedEdges(nodeID);
-
-        $.each(connectedFiber, function (index, item) {
-            if (network.body.data.edges.get(item).component_type == dualFiberJSON.component_type)
-                loadRoadmType(item, nodeID, nodeDetails.amp_category, "divILAPro");
-        });
-    }
-
-    document.getElementById("btnILAUpdate").onclick = updateILA.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseILA").onclick = clearILA.bind(
-    );
-}
-function updateILA(nodeID) {
-
-    var id = nodeID;
-    var label = $("#txtILAName").val().trim();
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-
-    if (nameLengthValidation("txtILAName")) {
-
-        var roadmtypeprodata = _roadmListDB().get();
-        if (nodeDetails.amp_category == ILAJSON.amp_category) {
-
-            $.each(roadmtypeprodata, function (index, item) {
-                var lddlpreamptype = "#" + elepreamptype + item.roadm_fiber_id;
-                var lddlboostertype = "#" + eleboostertype + item.roadm_fiber_id;
-                var edgeDetails = network.body.data.edges.get(item.roadm_fiber_id);
-                var llabelname = nodeDetails.amp_category + "- [" + label + ' - ' + network.body.data.nodes.get(edgeDetails.to).label + ' ]'
-                _roadmListDB({ "roadm_fiber_id": item.roadm_fiber_id, }).update({
-                    "roadm_label": llabelname,
-                    "pre_amp_type": $(lddlpreamptype).val(), "booster_type": $(lddlboostertype).val(),
-                });
-            });
-            roadmtypeprodata = _roadmListDB().get();
-            network.body.data.nodes.update({
-                id: id, label: label, roadm_type_pro: roadmtypeprodata
-            });
-            clearILA();
-        }
-
-    }
-
-}
-function clearILA() {
-    $("#txtILAName").val('');
-    $("#ddlPreAmpType").val('');
-    $("#ddlBoosterType").val('');
-    $("#divILAPro").empty();
-    closeDrawer('ILA');
-    UnSelectAll();
-    _roadmListDB().remove();
-}
-
-/**
- * Populate Amplifier component details by node ID.
- * @param {string} nodeID - The ID of the Amplifier component.
- * @param callback - The callback that handles the response.
- */
-function amplifierEdit(nodeID, callback) {
-    document.getElementById("amplifierMenu").style.display = "none";
-    openDrawer('amplifier');
-    var nodeDetails = network.body.data.nodes.get(nodeID[nodeID.length - 1]);
-    $("#txtAmplifierName").val(nodeDetails.label);
-    $("#ddlAmplifierType").val(nodeDetails.amp_type);
-    if (nodeID.length > 1) {
-        $("#divAmpName").hide();
-        $("#ddlAmplifierType").val('');
-        $("#ddlAmplifierType").addClass('input_error');
-
-        var matchCount = 1;
-        for (var i = 0; i < nodeID.length - 1; i++) {
-            if (network.body.data.nodes.get(nodeID[i]).amp_type == nodeDetails.amp_type) {
-                matchCount++;
-            }
-        }
-        if (matchCount == nodeID.length) {
-            if (nodeDetails.amp_type) {
-                $("#ddlAmplifierType").val(nodeDetails.amp_type);
-                $("#ddlAmplifierType").removeClass('input_error');
-            }
-        }
-
-    }
-    else {
-        $("#divAmpName").show();
-        if (nodeDetails.amp_type) {
-            $("#ddlAmplifierType").removeClass('input_error');
-        }
-        else {
-            $("#ddlAmplifierType").addClass('input_error');
-        }
-    }
-
-    document.getElementById("btnAmplifierUpdate").onclick = updateAmplifier.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseAmplifier").onclick = clearAmplifier.bind(
-    );
-}
-
-/**
- * Update Amplifier.
- * Update Amplifier label, type by Amplifier ID.
- * @param {string} nodeID - The ID of the Amplifier component
- */
-function updateAmplifier(nodeID) {
-    removeNodeList = [];
-    if (nameLengthValidation("txtAmplifierName")) {
-
-        var id = nodeID[nodeID.length - 1];
-        var label = $("#txtAmplifierName").val().trim();
-        var amp_category = network.body.data.nodes.get(id).amp_category
-
-        if ($("#ddlAmplifierType").val() == null) {
-            showMessage(alertType.Error, 'Please select type');
-            $("#ddlAmplifierType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlAmplifierType").removeClass('input_error');
-
-
-        if (amp_category == amplifierJSON.amp_category) {
-
-            if (nodeID.length > 1) {
-                var preUpdateList = [];
-                for (var i = 0; i < nodeID.length; i++) {
-
-                    if (network.body.data.nodes.get(nodeID[i]).image == DIR + amplifierJSON.h_image || network.body.data.nodes.get(nodeID[i]).image == DIR + amplifierJSON.fh_image) {
-                        preUpdateList.push(network.body.data.nodes.get(nodeID[i]));
-                        network.body.data.nodes.update({
-                            id: nodeID[i], amp_type: $("#ddlAmplifierType").val()
-                        });
-                        realUpdate_Amplifier(nodeID[i], $("#ddlAmplifierType").val());
-                        var tdata = network.body.data.nodes.get(nodeID[i]);
-                        removeNodeList.push(tdata);
-                    }
-                }
-                if (removeNodeList.length > 0) {
-                    var updateList = {
-                        isMultiple: true,
-                        isUpdate: true,
-                        preList: preUpdateList,
-                        list: removeNodeList
-                    }
-                    tempUndo.push(updateList);
-                }
-            } else {
-                network.body.data.nodes.update({
-                    id: id, label: label, amp_type: $("#ddlAmplifierType").val()
-                });
-                realUpdate_Amplifier(id, $("#ddlAmplifierType").val());
-
-                var tdata = network.body.data.nodes.get(id);
-                tdata.isUpdate = true;
-                tempUndo.push(tdata);
-            }
-
-            clearAmplifier();
-        }
-
-
-    }
-
-}
-
-/** Clear input/teporary data and other settings. */
-function clearAmplifier() {
-    $("#txtAmplifierName").val('');
-    $("#ddlAmplifierType").val('');
-    closeDrawer('amplifier');
-    UnSelectAll();
-}
-
-/**
- * Check Amplifier component rules and update check-errors summary.
- * @param {string} id - The ID of Amplifier component.
- * @param {string} rtype - The type of Amplifier component.
- */
-function realUpdate_Amplifier(id, rtype) {
-    var amptype = rtype;
-    var connectedEdges;
-    var fromCount;
-    var toCount;
-    connectedEdges = network.getConnectedEdges(id);
-    fromCount = 0;
-    toCount = 0;
-    for (i = 0; i < connectedEdges.length; i++) {
-        edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-        if (edgeDetails.from == id)
-            fromCount++;
-        else if (edgeDetails.to == id)
-            toCount++;
-    }
-
-    if (fromCount == 1 && toCount == 1) {
-        if (amptype) {
-            removeSpanInError(id, true);
-        }
-    }
-    else {
-        if (amptype) {
-            removeID = "#spanTF" + id.replace(/\s/g, '');
-            $(removeID).remove();
-        }
-    }
-
-}
-
-/**
- * Populate Raman Amplifier component details by node ID.
- * @param {string} nodeID - The ID of the Raman Amplifier component.
- * @param callback - The callback that handles the response.
- */
-function ramanAmpEdit(nodeID, callback) {
-    document.getElementById("ramanAmpMenu").style.display = "none";
-    openDrawer('ramanamp');
-    var nodeDetails = network.body.data.nodes.get(nodeID[nodeID.length - 1]);
-    $("#txtRamanAmpName").val(nodeDetails.label);
-    $("#ddlRamanAmpType").val(nodeDetails.amp_type);
-    $("#ddlRamanAmpCategory").val(nodeDetails.category);
-
-
-    if (nodeID.length > 1) {
-        $("#divRamanAmpName").hide();
-        $("#ddlRamanAmpType").val('');
-        $("#ddlRamanAmpType").addClass('input_error');
-        $("#ddlRamanAmpCategory").val('');
-        $("#ddlRamanAmpCategory").addClass('input_error');
-
-        var matchCount = 1;
-        for (var i = 0; i < nodeID.length - 1; i++) {
-            if (network.body.data.nodes.get(nodeID[i]).amp_type == nodeDetails.amp_type && network.body.data.nodes.get(nodeID[i]).category == nodeDetails.category) {
-                matchCount++;
-            }
-        }
-        if (matchCount == nodeID.length) {
-            if (nodeDetails.amp_type && nodeDetails.category) {
-                $("#ddlRamanAmpType").val(nodeDetails.amp_type);
-                $("#ddlRamanAmpType").removeClass('input_error');
-                $("#ddlRamanAmpCategory").val(nodeDetails.category);
-                $("#ddlRamanAmpCategory").removeClass('input_error');
-            }
-        }
-
-    }
-    else {
-        $("#divRamanAmpName").show();
-        if (nodeDetails.amp_type) {
-            $("#ddlRamanAmpType").removeClass('input_error');
-        }
-        else {
-            $("#ddlRamanAmpType").addClass('input_error');
-        }
-        if (nodeDetails.category) {
-            $("#ddlRamanAmpCategory").removeClass('input_error');
-        }
-        else {
-            $("#ddlRamanAmpCategory").addClass('input_error');
-        }
-    }
-
-    document.getElementById("btnRamanAmpUpdate").onclick = updateRamanAmp.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseRamanAmp").onclick = clearRamanAmp.bind(
-    );
-}
-
-/**
- * Update Raman Amplifier.
- * Update Raman Amplifier label, type by Raman Amplifier ID.
- * @param {string} nodeID - The ID of the Raman Amplifier component
- */
-function updateRamanAmp(nodeID) {
-    removeNodeList = [];
-    if (nameLengthValidation("txtRamanAmpName")) {
-
-        var id = nodeID[nodeID.length - 1];
-        var label = $("#txtRamanAmpName").val().trim();
-        var amp_category = network.body.data.nodes.get(id).amp_category
-
-        if ($("#ddlRamanAmpType").val() == null) {
-            showMessage(alertType.Error, 'Please select type');
-            $("#ddlRamanAmpType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlRamanAmpType").removeClass('input_error');
-
-        if ($("#ddlRamanAmpCategory").val() == null) {
-            showMessage(alertType.Error, 'Please select category');
-            $("#ddlRamanAmpCategory").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlRamanAmpCategory").removeClass('input_error');
-
-
-        if (amp_category == ramanampJSON.amp_category) {
-            if (nodeID.length > 1) {
-                var preUpdateList = [];
-                for (var i = 0; i < nodeID.length; i++) {
-                    if (network.body.data.nodes.get(nodeID[i]).image == DIR + ramanampJSON.h_image || network.body.data.nodes.get(nodeID[i]).image == DIR + ramanampJSON.fh_image) {
-                        preUpdateList.push(network.body.data.nodes.get(nodeID[i]));
-                        network.body.data.nodes.update({
-                            id: nodeID[i], amp_type: $("#ddlRamanAmpType").val(), category: $("#ddlRamanAmpCategory").val()
-                        });
-                        realUpdate_RamanAmp(nodeID[i], $("#ddlRamanAmpType").val());
-                        var tdata = network.body.data.nodes.get(nodeID[i]);
-                        //tdata.isUpdate = true;
-                        removeNodeList.push(tdata);
-                    }
-                }
-                if (removeNodeList.length > 0) {
-                    var updateList = {
-                        isMultiple: true,
-                        isUpdate: true,
-                        preList: preUpdateList,
-                        list: removeNodeList
-                    }
-                    tempUndo.push(updateList);
-                }
-            } else {
-                network.body.data.nodes.update({
-                    id: id, label: label, amp_type: $("#ddlRamanAmpType").val(), category: $("#ddlRamanAmpCategory").val()
-                });
-
-                realUpdate_RamanAmp(id, $("#ddlRamanAmpType").val());
-                var tdata = network.body.data.nodes.get(id);
-                tdata.isUpdate = true;
-                tempUndo.push(tdata);
-            }
-
-            clearRamanAmp();
-        }
-    }
-}
-
-/** Clear input/teporary data and other settings. */
-function clearRamanAmp() {
-    $("#txtRamanAmpName").val('');
-    $("#ddlRamanAmpType").val('');
-    $("#ddlRamanAmpCategory").val('');
-    closeDrawer('ramanamp');
-    UnSelectAll();
-}
-
-/**
- * Check Raman Amplifier component rules and update check-errors summary.
- * @param {string} id - The ID of Raman Amplifier component.
- * @param {string} rtype - The type of Raman Amplifier component.
- */
-function realUpdate_RamanAmp(id, rtype) {
-    var amptype = rtype;
-    var connectedEdges;
-    var fromCount;
-    var toCount;
-    connectedEdges = network.getConnectedEdges(id);
-    fromCount = 0;
-    toCount = 0;
-    for (i = 0; i < connectedEdges.length; i++) {
-        edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-        if (edgeDetails.from == id)
-            fromCount++;
-        else if (edgeDetails.to == id)
-            toCount++;
-    }
-    if (fromCount == 1 && toCount == 1) {
-
-        if (amptype) {
-            removeSpanInError(id, true);
-            removeSpanInError(id, true);
-        }
-    }
-    else {
-        if (amptype) {
-            removeID = "#spanTF" + id.replace(/\s/g, '');
-            $(removeID).remove();
-            $(removeID).remove();
-        }
-    }
-
-
-}
-
-/**
- * Populate Transceiver component details by node ID.
- * @param {string} nodeID - The ID of the Transceiver component.
- * @param callback - The callback that handles the response.
- */
-function transceiverEdit(nodeID, callback) {
-    document.getElementById("transceiverMenu").style.display = "none";
-    openDrawer('transceiver');
-    var nodeDetails = network.body.data.nodes.get(nodeID[nodeID.length - 1]);
-    $("#txtTransceiverName").val(nodeDetails.label);
-    $("#ddlTransceiverType").val(nodeDetails.transceiver_type);
-    if (nodeID.length > 1) {
-        $("#divTransName").hide();
-        $("#ddlTransceiverType").val('');
-        $("#ddlTransceiverType").addClass('input_error');
-
-        var matchCount = 1;
-        for (var i = 0; i < nodeID.length - 1; i++) {
-            if (network.body.data.nodes.get(nodeID[i]).transceiver_type == nodeDetails.transceiver_type) {
-                matchCount++;
-            }
-        }
-        if (matchCount == nodeID.length) {
-            if (nodeDetails.transceiver_type) {
-                $("#ddlTransceiverType").val(nodeDetails.transceiver_type);
-                $("#ddlTransceiverType").removeClass('input_error');
-            }
-        }
-
-    }
-    else {
-        $("#divTransName").show();
-        if (nodeDetails.transceiver_type) {
-            $("#ddlTransceiverType").removeClass('input_error');
-        }
-        else {
-            $("#ddlTransceiverType").addClass('input_error');
-        }
-    }
-
-    document.getElementById("btnTransceiverUpdate").onclick = updateTransceiver.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseTransceiver").onclick = clearTransceiver.bind(
-    );
-}
-
-/**
- * Update Transceiver.
- * Update Transceiver label, type by Transceiver ID.
- * @param {string} nodeID - The ID of the Transceiver component
- */
-function updateTransceiver(nodeID) {
-    removeNodeList = [];
-    if (nameLengthValidation("txtTransceiverName")) {
-        if (nodeID.length > 1) {
-            var preUpdateList = [];
-            for (var i = 0; i < nodeID.length; i++) {
-                if (network.body.data.nodes.get(nodeID[i]).image == DIR + transceiverJSON.h_image || network.body.data.nodes.get(nodeID[i]).image == DIR + transceiverJSON.fh_image) {
-                    var id = nodeID[i];
-                    var label = $("#txtTransceiverName").val().trim();
-                    var nodeDetails = network.body.data.nodes.get(id);
-                    var transceiverType = $("#ddlTransceiverType").val();
-                    if (transceiverType == null || transceiverType == "") {
-                        showMessage(alertType.Error, 'Please select transceiver type');
-                        $("#ddlTransceiverType").addClass('input_error');
-                        return;
-                    }
-                    else
-                        $("#ddlTransceiverType").removeClass('input_error');
-
-
-                    var connectedEdges = network.getConnectedEdges(id);
-                    var fromTransType = "";
-                    var toTransType = "";
-                    var isOk = true;
-                    $.each(connectedEdges, function (index, item) {
-
-                        if (!isOk)
-                            return;
-                        var edgeDetails = network.body.data.edges.get(item);
-                        if (edgeDetails.component_type == serviceJSON.component_type) {
-                            if (edgeDetails.from == id) {
-
-                                fromTransType = transceiverType;
-                                toTransType = network.body.data.nodes.get(edgeDetails.to).transceiver_type;
-                            }
-                            else if (edgeDetails.to == id) {
-                                toTransType = transceiverType;
-                                fromTransType = network.body.data.nodes.get(edgeDetails.from).transceiver_type;
-                            }
-
-                            if (toTransType != fromTransType) {
-                                isOk = false;
-                                showMessage(alertType.Error, serviceJSON.component_type + " can be created/updated only between " + transceiverJSON.node_type + " of same type");
-                                return;
-                            }
-                        }
-
-                    });
-
-                    if (isOk) {
-                        if (nodeDetails.node_type == transceiverJSON.node_type) {
-
-                            if (nodeID.length > 1) {
-
-                                preUpdateList.push(network.body.data.nodes.get(id));
-                                network.body.data.nodes.update({
-                                    id: id, transceiver_type: transceiverType
-                                });
-                                realUpdate_Transceiver(id, "");
-                                var tdata = network.body.data.nodes.get(id);
-                                removeNodeList.push(tdata);
-
-                            } else {
-                                network.body.data.nodes.update({
-                                    id: id, label: label, transceiver_type: transceiverType
-                                });
-                                realUpdate_Transceiver(id, "");
-                                var tdata = network.body.data.nodes.get(id);
-                                tdata.isUpdate = true;
-                                tempUndo.push(tdata);
-                            }
-                        }
-                    }
-
-                }
-            }
-
-            if (removeNodeList.length > 0) {
-                var updateList = {
-                    isMultiple: true,
-                    isUpdate: true,
-                    preList: preUpdateList,
-                    list: removeNodeList
-                }
-                tempUndo.push(updateList);
-            }
-        }
-        else {
-            var id = nodeID[nodeID.length - 1];
-            var label = $("#txtTransceiverName").val().trim();
-            var nodeDetails = network.body.data.nodes.get(id);
-            var transceiverType = $("#ddlTransceiverType").val();
-            if (transceiverType == null || transceiverType == "") {
-                showMessage(alertType.Error, 'Please select transceiver type');
-                $("#ddlTransceiverType").addClass('input_error');
-                return;
-            }
-            else
-                $("#ddlTransceiverType").removeClass('input_error');
-
-
-            var connectedEdges = network.getConnectedEdges(id);
-            var fromTransType = "";
-            var toTransType = "";
-            var isOk = true;
-            $.each(connectedEdges, function (index, item) {
-
-                if (!isOk)
-                    return;
-                var edgeDetails = network.body.data.edges.get(item);
-                if (edgeDetails.component_type == serviceJSON.component_type) {
-                    if (edgeDetails.from == id) {
-
-                        fromTransType = transceiverType;
-                        toTransType = network.body.data.nodes.get(edgeDetails.to).transceiver_type;
-                    }
-                    else if (edgeDetails.to == id) {
-                        toTransType = transceiverType;
-                        fromTransType = network.body.data.nodes.get(edgeDetails.from).transceiver_type;
-                    }
-
-                    if (toTransType != fromTransType) {
-                        isOk = false;
-                        showMessage(alertType.Error, serviceJSON.component_type + " can be created/updated only between " + transceiverJSON.node_type + " of same type");
-                        return;
-                    }
-                }
-
-            });
-
-            if (isOk) {
-                if (nodeDetails.node_type == transceiverJSON.node_type) {
-
-                    if (nodeID.length > 1) {
-
-                        network.body.data.nodes.update({
-                            id: id, transceiver_type: transceiverType
-                        });
-                        realUpdate_Transceiver(id, "");
-
-                    } else {
-                        network.body.data.nodes.update({
-                            id: id, label: label, transceiver_type: transceiverType
-                        });
-                        realUpdate_Transceiver(id, "");
-                    }
-
-                    var tdata = network.body.data.nodes.get(id);
-                    tdata.isUpdate = true;
-                    tempUndo.push(tdata);
-                }
-            }
-        }
-        clearTransceiver();
-    }
-
-}
-
-/** Clear input/teporary data and other settings. */
-function clearTransceiver() {
-    $("#txtTransceiverName").val('');
-    $("#ddlTransceiverType").val('');
-    $("#ddlDataRate").val('');
-    closeDrawer('transceiver');
-    UnSelectAll();
-}
-
-/**
- * Check Transceiver component rules and update check-errors summary.
- * @param {string} id - The ID of Transceiver component.
- * @param {string} rtype - The type of Transceiver component.
- */
-function realUpdate_Transceiver(id, rtype) {
-    var connectedEges = network.getConnectedEdges(id);
-    var tempEdge = [];
-    $.each(connectedEges, function (index, item) {
-        if (network.body.data.edges.get(item).component_type != serviceJSON.component_type) {
-            tempEdge.push(item);
-        }
-    });
-
-    var fromCount = 0;
-    var toCount = 0;
-    for (i = 0; i < tempEdge.length; i++) {
-        edgeDetails = network.body.data.edges.get(tempEdge[i]);
-        if (edgeDetails.from == id)
-            fromCount++;
-        else if (edgeDetails.to == id)
-            toCount++;
-    }
-
-    if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-        //addNodeHighlight(item);
-        removeID = "#spanTF" + id.replace(/\s/g, '');
-        $(removeID).remove();
-    }
-    else {
-        removeSpanInError(id, true);
-    }
-}
-
-function deleteNode(nodeList) {
-    removeNodeList = [];
-    var h_image;
-    for (var i = 0; i < nodeList.length; i++) {
-        if (nodeList.length > 1) {
-            h_image = network.body.data.nodes.get(nodeList[i]).image;
-
-            if (h_image == DIR + roadmJSON.h_image || h_image == DIR + roadmJSON.fh_image)
-                removeNodes(nodeList[i], true);
-            else if (h_image == DIR + fusedJSON.h_image || h_image == DIR + fusedJSON.fh_image)
-                removeNodes(nodeList[i], true);
-            else if (h_image == DIR + transceiverJSON.h_image || h_image == DIR + transceiverJSON.fh_image)
-                removeNodes(nodeList[i], true);
-            else if (h_image == DIR + amplifierJSON.h_image || h_image == DIR + amplifierJSON.fh_image)
-                removeNodes(nodeList[i], true);
-            else if (h_image == DIR + ramanampJSON.h_image || h_image == DIR + ramanampJSON.fh_image)
-                removeNodes(nodeList[i], true);
-        }
-        else {
-            removeNodes(nodeList[i]);
-        }
-    }
-
-    if (nodeList.length > 1 && removeNodeList.length > 0) {
-        var reList = {
-            isMultiple: true,
-            isUpdate: false,
-            list: removeNodeList
-        }
-        tempUndo.push(reList);
-    }
-
-    $("#stepCreateTopology").click();
-    UnSelectAll();
-
-}
-
-/**
- * Remove node by node ID.
- * @param {string} nodeID - Component ID.
- * @param {boolean} isMultiple - Remove multiple node.
- */
-function removeNodes(nodeID, isMultiple) {
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-    var node_type = nodeDetails.node_type;
-    if (nodeDetails.node_type == ILAJSON.node_type)
-        node_type = nodeDetails.amp_category;
-
-    document.getElementById("roadmMenu").style.display = "none";
-    document.getElementById("attenuatorMenu").style.display = "none";
-    document.getElementById("ILAMenu").style.display = "none";
-    document.getElementById("amplifierMenu").style.display = "none";
-    document.getElementById("transceiverMenu").style.display = "none";
-
-    if (nodeDetails.node_type == transceiverJSON.node_type || nodeDetails.node_type == roadmJSON.node_type) {
-        removeSpanInError(nodeID);
-        removeSpanInError(nodeID, true);
-    }
-    else if (nodeDetails.node_type == amplifierJSON.node_type) {
-        if (nodeDetails.amp_category == amplifierJSON.amp_category) {
-            removeSpanInError(nodeID);
-            removeSpanInError(nodeID, true);
-        }
-        if (nodeDetails.amp_category == ramanampJSON.amp_category) {
-            removeSpanInError(nodeID);
-            removeSpanInError(nodeID, true);
-            removeSpanInError(nodeID, true);
-        }
-    }
-    else
-        removeSpanInError(nodeID);
-
-    if (isMultiple) {
-        removeNodeList.push(nodeDetails);
-    }
-    else {
-        nodeDetails.isDelete = true;
-        nodeDetails.isUpdate = false;
-        tempUndo.push(nodeDetails);
-    }
-
-    if (isCopyPara) {
-        if (nodeID == copiedNodeID) {
-            isCopyPara = false;
-            copiedNodeID = "";
-        }
-    }
-    else if (isCopy) {
-        if (nodeID == copyID) {
-            isCopy = false;
-            copyID = "";
-        }
-    }
-
-    network.body.data.nodes.remove(nodeID);
-}
-
-/**
- * Bind pasteNode method.
- * Copy node parameters by selected node ID
- * @param {string} nodeID - Component ID.
- * @param callback - The callback that handles the response.
- */
-function copyNode(nodeID, callback) {
-    showHideDrawerandMenu();
-    isCopy = true;
-    copyID = nodeID;
-    document.getElementById("btnPasteNode").onclick = pasteNode.bind(
-        this,
-        nodeID,
-        callback
-
-    );
-}
-
-/**
- * Create new node by copied node parameters.
- * Node will be placed based on co-ordidates.
- * @param {string} nodeId - Copied node ID.
- */
-function pasteNode(nodeId) {
-    if (isCopy) {
-        isCopy = false;
-        var nodeID = token();
-        var nodeData = "";
-        nodeData = network.body.data.nodes.get(nodeId);
-        var nodeDetails = configData.node[nodeData.node_type];
-        var node_type = nodeData.node_type;
-        var result = nodeName(node_type, nodeData.amp_category);
-        nodelength = result.nodeLength
-        nodeLabel = result.label
-        if (node_type == roadmJSON.node_type) {
-            network.body.data.nodes.add({
-                id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + roadmJSON.w_image, number: nodelength,
-                shape: roadmJSON.shape, color: roadmJSON.color,
-                font: roadmJSON.font,
-                size: roadmJSON.size,
-                view: $("#ddlNetworkView").val(), hidden: false,
-                roadm_type: nodeData.roadm_type,
-                node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: roadmJSON.component_type,
-                roadm_type_pro: []
-            });
-        }
-        else if (node_type == fusedJSON.node_type) {
-            network.body.data.nodes.add({
-                id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + fusedJSON.w_image, number: nodelength,
-                shape: fusedJSON.shape, color: fusedJSON.color,
-                size: fusedJSON.size,
-                view: $("#ddlNetworkView").val(), hidden: false,
-                node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: fusedJSON.component_type,
-            });
-        }
-        else if (node_type == transceiverJSON.node_type) {
-            network.body.data.nodes.add({
-                id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + transceiverJSON.w_image, number: nodelength,
-                shape: transceiverJSON.shape, color: transceiverJSON.color,
-                size: transceiverJSON.size,
-                view: $("#ddlNetworkView").val(), hidden: false,
-                node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: transceiverJSON.component_type,
-                transceiver_type: nodeData.transceiver_type
-            });
-        }
-        else if (node_type == ILAJSON.node_type) {
-
-            if (nodeData.amp_category == ILAJSON.amp_category) {
-                network.body.data.nodes.add({
-                    id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + ILAJSON.w_image, number: nodelength,
-                    shape: ILAJSON.shape, color: ILAJSON.color,
-                    size: ILAJSON.size,
-                    view: $("#ddlNetworkView").val(), hidden: false,
-                    node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: ILAJSON.component_type,
-                    pre_amp_type: nodeData.pre_amp_type, booster_type: nodeData.booster_type, amp_category: nodeData.amp_category
-                });
-            }
-            else if (nodeData.amp_category == amplifierJSON.amp_category) {
-                network.body.data.nodes.add({
-                    id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + amplifierJSON.w_image, number: nodelength,
-                    shape: amplifierJSON.shape, color: amplifierJSON.color,
-                    size: amplifierJSON.size,
-                    view: $("#ddlNetworkView").val(), hidden: false,
-                    node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: amplifierJSON.component_type,
-                    amp_type: nodeData.amp_type, amp_category: nodeData.amp_category
-                });
-            }
-            else if (nodeData.amp_category == ramanampJSON.amp_category) {
-                network.body.data.nodes.add({
-                    id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + ramanampJSON.w_image, number: nodelength,
-                    shape: ramanampJSON.shape, color: ramanampJSON.color,
-                    size: ramanampJSON.size,
-                    view: $("#ddlNetworkView").val(), hidden: false,
-                    node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: ramanampJSON.component_type,
-                    amp_type: nodeData.amp_type, amp_category: nodeData.amp_category, category: nodeData.category
-                });
-            }
-        }
-
-        realUpdate();
-        document.getElementById("pasteMenu").style.display = "none";
-        UnSelectAll();
-        $("#stepCreateTopology").click();
-        tempUndo.push(network.body.data.nodes.get(nodeID));
-    }
-}
-
-/**
- * Copy node template by selected node ID.
- * Validate the node template by type, category
- * @param {string} nodeID - The ID of Copied node template.
- * @param callback - The callback that handles the response.
- */
-function copyNodeTemplate(nodeID, callback) {
-    var isOk = false;
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-    if (nodeDetails.node_type == roadmJSON.node_type) {
-        if (!nodeDetails.roadm_type && nodeDetails.roadm_type == "")
-            isOk = true;
-
-    }
-    if (nodeDetails.node_type == transceiverJSON.node_type) {
-        if (!nodeDetails.transceiver_type && nodeDetails.transceiver_type == "")
-            isOk = true;
-    }
-    if (nodeDetails.node_type == amplifierJSON.node_type) {
-        if (nodeDetails.amp_category == amplifierJSON.amp_category) {
-            if (!nodeDetails.amp_type && nodeDetails.amp_type == "")
-                isOk = true;
-        }
-        else if (nodeDetails.amp_category == ramanampJSON.amp_category) {
-            if ((!nodeDetails.amp_type && nodeDetails.amp_type == "") || (!nodeDetails.category && nodeDetails.category == ""))
-                isOk = true;
-        }
-    }
-
-    if (isOk) {
-        showMessage(alertType.Error, "Template is empty");
-        return;
-    }
-    showHideDrawerandMenu();
-    isCopyPara = true;
-    copiedNodeID = nodeID;
-}
-function cancelCopyTemplate(nodeId) {
-    clearNodeTemplate();
-}
-
-/**
- * Apply copied template to specified ROADM node.
- * Check node rules and update check-errors summary.
- * @param {string} nodeID - The ID of the destination node.
- * @param {string} roadm_type - Coponent type.
- */
-function applyRoadmTemplate(nodeID, roadm_type) {
-    network.body.data.nodes.update({
-        id: nodeID, roadm_type: roadm_type
-    });
-    realUpdate_Roadm(nodeID, roadm_type);
-}
-
-/**
- * Apply copied template to specified Transceiver node.
- * Check node rules and update check-errors summary.
- * @param {string} nodeID - The ID of the destination node.
- * @param {string} node_type - Node type.
- * @param {string} trans_type - Transceiver type.
- */
-function applyTransceiverTemplate(nodeID, node_type, trans_type) {
-    var id = nodeID;
-    var connectedEdges = network.getConnectedEdges(id);
-    var fromTransType = "";
-    var toTransType = "";
-    var isOk = true;
-    transceiverType = trans_type;
-    $.each(connectedEdges, function (index, item) {
-
-        if (!isOk)
-            return;
-        var edgeDetails = network.body.data.edges.get(item);
-        if (edgeDetails.component_type == serviceJSON.component_type) {
-            if (edgeDetails.from == id) {
-
-                fromTransType = transceiverType;
-                toTransType = network.body.data.nodes.get(edgeDetails.to).transceiver_type;
-            }
-            else if (edgeDetails.to == id) {
-                toTransType = transceiverType;
-                fromTransType = network.body.data.nodes.get(edgeDetails.from).transceiver_type;
-            }
-
-            if (toTransType != fromTransType) {
-                isOk = false;
-                showMessage(alertType.Error, serviceJSON.component_type + " can be created/updated only between " + transceiverJSON.node_type + " of same type");
-                return;
-            }
-        }
-
-    });
-
-    if (isOk) {
-        if (node_type == transceiverJSON.node_type) {
-
-            network.body.data.nodes.update({
-                id: id, transceiver_type: transceiverType
-            });
-            realUpdate_Transceiver(id, transceiverType);
-
-
-        }
-    }
-    return isOk;
-}
-/// <summary>
-/// To apply copied template to specified Amplifier node.
-/// Apply node rules.
-/// </summary>
-function applyAmpTemplate(nodeID, amp_type) {
-    network.body.data.nodes.update({
-        id: nodeID, amp_type: amp_type
-    });
-    realUpdate_Amplifier(nodeID, amp_type);
-}
-/// <summary>
-/// To apply copied template to specified Raman Amplifier node.
-/// Apply node rules.
-/// </summary>
-function applyRamanAmpTemplate(nodeID, amp_type, category) {
-    network.body.data.nodes.update({
-        id: nodeID, amp_type: amp_type, category: category
-    });
-    realUpdate_RamanAmp(nodeID, amp_type);
-
-}
-
-/**
- * Apply copied template to specified node.
- * Apply node rules.
- * @param {object} nodes - Selected destination nodes for apply template.
- * @param callback - The callback that handles the response.
- */
-function applyTemplate(nodes, callback) {
-    var isUpdated = false;
-    if (isCopyPara) {
-        var nodeDetails = network.body.data.nodes.get(copiedNodeID);
-        var preUpdateList = [];
-        removeNodeList = [];
-        for (var i = 0; i < nodes.length; i++) {
-            if (nodeDetails.node_type == roadmJSON.node_type && network.body.data.nodes.get(nodes[i]).node_type == nodeDetails.node_type) {
-                if (nodes.length > 1) {
-                    if (network.body.data.nodes.get(nodes[i]).image == DIR + roadmJSON.h_image || network.body.data.nodes.get(nodes[i]).image == DIR + roadmJSON.fh_image) {
-                        preUpdateList.push(network.body.data.nodes.get(nodes[i]));
-                        applyRoadmTemplate(nodes[i], nodeDetails.roadm_type);
-                        removeNodeList.push(network.body.data.nodes.get(nodes[i]));
-                    }
-                }
-                else {
-                    applyRoadmTemplate(nodes[i], nodeDetails.roadm_type);
-                    var tdata = network.body.data.nodes.get(nodes[i]);
-                    tdata.isUpdate = true;
-                    tempUndo.push(tdata);
-                }
-                isUpdated = true;
-
-            }
-            else if (nodeDetails.node_type == transceiverJSON.node_type && network.body.data.nodes.get(nodes[i]).node_type == nodeDetails.node_type) {
-                if (nodes.length > 1) {
-                    if (network.body.data.nodes.get(nodes[i]).image == DIR + transceiverJSON.h_image || network.body.data.nodes.get(nodes[i]).image == DIR + transceiverJSON.fh_image) {
-                        var temptrans = network.body.data.nodes.get(nodes[i]);
-                        isUpdated = applyTransceiverTemplate(nodes[i], nodeDetails.node_type, nodeDetails.transceiver_type);
-                        if (isUpdated) {
-                            preUpdateList.push(temptrans);
-                            removeNodeList.push(network.body.data.nodes.get(nodes[i]));
-                        }
-                    }
-                }
-                else {
-                    isUpdated = applyTransceiverTemplate(nodes[i], nodeDetails.node_type, nodeDetails.transceiver_type);
-                    var tdata = network.body.data.nodes.get(nodes[i]);
-                    tdata.isUpdate = true;
-                    tempUndo.push(tdata);
-                }
-            }
-            if (nodeDetails.node_type == amplifierJSON.node_type && network.body.data.nodes.get(nodes[i]).node_type == nodeDetails.node_type) {
-                if (nodeDetails.amp_category == amplifierJSON.amp_category && nodeDetails.amp_category == network.body.data.nodes.get(nodes[i]).amp_category) {
-                    if (nodes.length > 1) {
-                        if (network.body.data.nodes.get(nodes[i]).image == DIR + amplifierJSON.h_image || network.body.data.nodes.get(nodes[i]).image == DIR + amplifierJSON.fh_image) {
-                            preUpdateList.push(network.body.data.nodes.get(nodes[i]));
-                            applyAmpTemplate(nodes[i], nodeDetails.amp_type);
-                            removeNodeList.push(network.body.data.nodes.get(nodes[i]));
-                        }
-                    }
-                    else {
-                        applyAmpTemplate(nodes[i], nodeDetails.amp_type);
-                        var tdata = network.body.data.nodes.get(nodes[i]);
-                        tdata.isUpdate = true;
-                        tempUndo.push(tdata);
-                    }
-                    isUpdated = true;
-                }
-                else if (nodeDetails.amp_category == ramanampJSON.amp_category && nodeDetails.amp_category == network.body.data.nodes.get(nodes[i]).amp_category) {
-                    if (nodes.length > 1) {
-                        if (network.body.data.nodes.get(nodes[i]).image == DIR + ramanampJSON.h_image || network.body.data.nodes.get(nodes[i]).image == DIR + ramanampJSON.fh_image) {
-                            preUpdateList.push(network.body.data.nodes.get(nodes[i]));
-                            applyRamanAmpTemplate(nodes[i], nodeDetails.amp_type, nodeDetails.category);
-                            removeNodeList.push(network.body.data.nodes.get(nodes[i]));
-                        }
-                    }
-                    else {
-                        applyRamanAmpTemplate(nodes[i], nodeDetails.amp_type, nodeDetails.category);
-                        var tdata = network.body.data.nodes.get(nodes[i]);
-                        tdata.isUpdate = true;
-                        tempUndo.push(tdata);
-                    }
-
-                    isUpdated = true;
-                }
-            }
-        }
-
-        if (removeNodeList.length > 0) {
-            var updateList = {
-                isMultiple: true,
-                isUpdate: true,
-                preList: preUpdateList,
-                list: removeNodeList
-            }
-            tempUndo.push(updateList);
-        }
-        clearNodeTemplate();
-    }
-}
-
-/** Reset the copied template data. */
-function clearNodeTemplate() {
-    isCopyPara = false;
-    copiedNodeID = "";
-    UnSelectAll();
-    $('#toast').toast('hide');
-    document.getElementById("templateMenu").style.display = "none";
-    $("#stepCreateTopology").click();
-    remove_NodeFiberHighlight();
-}
-
-/**
- * Displays node name, type parameter when hover the mouse near the node.
- * @param {object} params - Node details.
- */
-function displayNodesHover(params) {
-    var nodeDetails = network.body.data.nodes.get(params.node);
-    if (nodeDetails.component_type == roadmJSON.component_type) {
-
-        if (nodeDetails.node_type == roadmJSON.node_type) {
-            hoverNodeData = "Node type : " + nodeDetails.node_type.toUpperCase() + "\nNode name : " + nodeDetails.label + "\n";
-        }
-        else if (nodeDetails.node_type == fusedJSON.node_type) {
-            hoverNodeData = "Node type : Attenuator \nNode name : " + nodeDetails.label + "\n";
-        }
-        else if (nodeDetails.node_type == amplifierJSON.node_type) {
-            hoverNodeData = "Node type : " + nodeDetails.amp_category + "\nNode name : " + nodeDetails.label + "\n";
-        }
-        else
-            hoverNodeData = "Node type : " + nodeDetails.node_type + "\nNode name : " + nodeDetails.label + "\n";
-    }
-
-    $('#hoverDiv').html(htmlTitle(hoverNodeData));
-    showHoverDiv(params.event.pageX, params.event.pageY, "hoverDiv");
-}
-
-/**
- * Get next level of node label name by node type/amplifer category.
- * @param {string} node_type - Node type.
- * @param {string} amp_category - Amplifier category.
- */
-function nodeName(node_type, amp_category) {
-    const number = [];
-    var nodeList = [];
-    var nodeCount = 1;
-    var labelName = "";
-    var nodeDetails;
-
-    if (amp_category)
-        nodeDetails = configData.node[amp_category];
-    else
-        nodeDetails = configData.node[node_type];
-
-    if ($("#ddlNetworkView").val() == topologyView.Functional_View) {
-        labelName = nodeDetails.default.FV_label;
-        if (amp_category) {
-
-            if (node_type == ramanampJSON.amp_category) {
-                nodeList = network.body.data.nodes.get({
-                    filter: function (item) {
-                        return (item.node_type == ramanampJSON.node_type && item.amp_category == amp_category && item.view == topologyView.Functional_View);
-                    }
-                });
-            }
-            else {
-                nodeList = network.body.data.nodes.get({
-                    filter: function (item) {
-                        return (item.node_type == node_type && item.amp_category == amp_category && item.view == topologyView.Functional_View);
-                    }
-                });
-            }
-        }
-        else {
-            nodeList = network.body.data.nodes.get({
-                filter: function (item) {
-                    return (item.node_type == node_type && item.view == topologyView.Functional_View);
-                }
-            });
-        }
-    }
-    else if ($("#ddlNetworkView").val() == topologyView.NE_View) {
-        labelName = nodeDetails.default.label;
-        if (node_type == transceiverJSON.node_type) {
-            nodeList = network.body.data.nodes.get({
-                filter: function (item) {
-                    return (item.node_type == transceiverJSON.node_type && item.view == topologyView.NE_View);
-                }
-            });
-        }
-        else {
-            nodeList = network.body.data.nodes.get({
-                filter: function (item) {
-                    return (item.node_type != transceiverJSON.node_type && item.view == topologyView.NE_View);
-                }
-            });
-        }
-    }
-
-    $.each(nodeList, function (index, item) {
-        var splitName = item.label.split(' ');
-        var checkNumber = Number(splitName[splitName.length - 1]);
-        if (checkNumber)
-            number.push(checkNumber);
-    });
-
-    if (number.length > 0)
-        nodeCount = number.sort((f, s) => f - s)[number.length - 1] + 1;
-
-    return { label: labelName + nodeCount, nodeLength: nodeCount };
-
-}
-
-/**
- * Set warning icons to imcompleted node by node ID.
- * Update node size, image by node ID.
- * @param {string} nodeID - Node ID.
- */
-function addNodeHighlight(nodeID) {
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-    if (nodeDetails.node_type == roadmJSON.node_type)
-        image = roadmJSON.w_image;
-    else if (nodeDetails.node_type == fusedJSON.node_type)
-        image = fusedJSON.w_image;
-    else if (nodeDetails.node_type == transceiverJSON.node_type)
-        image = transceiverJSON.w_image;
-    else if (nodeDetails.amp_category == amplifierJSON.amp_category)
-        image = amplifierJSON.w_image;
-    else if (nodeDetails.amp_category == ramanampJSON.amp_category)
-        image = ramanampJSON.w_image;
-
-    network.body.data.nodes.update([{ id: nodeID, size: roadmJSON.size, image: DIR + image }]);
-}
-
-
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/networkgraph_patch.js.html b/docs/networkgraph_patch.js.html deleted file mode 100644 index d542726..0000000 --- a/docs/networkgraph_patch.js.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - JSDoc: Source: networkgraph/patch.js - - - - - - - - - - -
- -

Source: networkgraph/patch.js

- - - - - - -
-
-
 /**
- * patch.js
- * The patch library describes how to add a patch connection between any 2 nodes by dragging from source node to destination and defines the patch manipulation.
- * @module patch
- */
-
-
-var isDualPatchMode = 0;
-var isSinglePatchMode = 0;
-var addPatchData = {
-    from: '',
-    to: ''
-};
-function dualPatchMode() {
-    UnSelectAll();
-    isDualPatchMode = 1;
-    isSinglePatchMode = 0;
-    isAddService = 0;
-    isDualFiberMode = 0;
-    isSingleFiberMode = 0;
-    addPatchData = {
-        from: '',
-        to: ''
-    };
-}
-
-/**
- * Enable settings for patch and reset other settings.
- * Set patch 1 = enable, 0 = disable.
- */
-function singlePatchMode() {
-    UnSelectAll();
-    isDualPatchMode = 0;
-    isSinglePatchMode = 1;
-    isAddService = 0;
-    isDualFiberMode = 0;
-    isSingleFiberMode = 0;
-    addPatchData = {
-        from: '',
-        to: ''
-    };
-}
-function addDualPatch() {
-
-    var fromDetails = network.body.data.nodes.get(addPatchData.from);
-    var toDetails = network.body.data.nodes.get(addPatchData.to);
-    if ((fromDetails.node_type == transceiverJSON.node_type && toDetails.node_type == roadmJSON.node_type) || (fromDetails.node_type == roadmJSON.node_type && toDetails.node_type == transceiverJSON.node_type)) {
-
-        var labelvalue = dualPatchJSON.component_type + ' ' + network.body.data.nodes.get(addPatchData.from).number + ' - ' + network.body.data.nodes.get(addPatchData.to).number;
-        addPatchComponent(1, addPatchData.from, addPatchData.to, labelvalue, labelvalue, false);
-    }
-    else {
-        showMessage(alertType.Error, "The " + dualPatchJSON.component_type + " should be between " + transceiverJSON.node_type + " and " + roadmJSON.node_type + " sites");
-    }
-    addPatchData = {
-        from: '',
-        to: ''
-    };
-    UnSelectAll();
-    network.addEdgeMode();
-
-}
-function addSinglePatch() {
-
-    var labelvalue = getLabel(addPatchData.from, addPatchData.to, singlePatchJSON.component_type);
-    addPatchComponent(1, addPatchData.from, addPatchData.to, labelvalue, labelvalue, false);
-    addPatchData = {
-        from: '',
-        to: ''
-    };
-    UnSelectAll();
-    network.addEdgeMode();
-}
-
-/**
- * Patch creation.
- * Patch style and configuration data loaded from configurationdata, styledata json.
- * @param {number} cmode - Service mode 1 for add.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- * @param {string} clabel - The Label of the service.
- * @param {string} ctext - The Text of the service.
- * @param {boolean} isImport - false -> manual add, true -> automattically added while import json.
- */
-function addPatchComponent(cmode, cfrom, cto, clabel, ctext, isImport) {
-
-    if (cmode == 1) {
-        var patchID = token();
-        if (!isImport)
-            clabel = countFiberService(false, false, false, true, cfrom, cto) + '-' + clabel;
-
-        elabel = clabel;
-
-        if (isSinglePatchMode == 1) {
-            var flag = false;
-            var message = [];
-            var response = nodeRule(cfrom, cto, amplifierJSON.node_type);
-            if (response.flag) {
-                flag = true
-                message.push(response.message);
-            }
-
-            response = nodeRule(cfrom, cto, fusedJSON.node_type);
-            if (response.flag) {
-                flag = true;
-                message.push(response.message);
-            }
-
-            if (flag) {
-                showMessage(alertType.Error, message.join('. <br /><br /> '));
-                return;
-            }
-
-            network.body.data.edges.add({
-                id: patchID, from: cfrom, to: cto, label: elabel, text: clabel,
-                dashes: singlePatchJSON.dashes, width: singlePatchJSON.width,
-                component_type: singlePatchJSON.component_type, patch_category: singlePatchJSON.patch_category,
-                color: singlePatchJSON.options.color, background: singlePatchJSON.options.background,
-                arrows: singlePatchJSON.options.arrows,
-                smooth: singlePatchJSON.options.smooth,
-                view: topologyView.Functional_View, hidden: false,
-            });
-
-            nodeValidationInEdge(cfrom, cto);
-        }
-        if (isDualPatchMode == 1) {
-            //we cannot add more than 1 patch
-            isPatchAdded = false;
-            var connectedFiber = network.getConnectedEdges(cfrom);
-            connectedFiber.push(network.getConnectedEdges(cto));
-            $.each(connectedFiber, function (index, item) {
-                var fiberDetails = network.body.data.edges.get(item);
-                if (fiberDetails.component_type == dualPatchJSON.component_type) {
-                    if ((fiberDetails.from == cfrom && fiberDetails.to == cto) || (fiberDetails.from == cto && fiberDetails.to == cfrom)) {
-                        isPatchAdded = true;
-                        return true;
-                    }
-                }
-            });
-
-            if (isPatchAdded && !isImport) {
-                showMessage(alertType.Error, 'We cannot add more than 1 ' + dualPatchJSON.patch_category);
-                return;
-            }
-            //end
-            network.body.data.edges.add({
-                id: patchID, from: cfrom, to: cto, label: elabel, text: ctext,
-                dashes: dualPatchJSON.dashes, width: dualPatchJSON.width,
-                component_type: dualPatchJSON.component_type, patch_category: dualPatchJSON.patch_category,
-                color: dualPatchJSON.options.color, background: dualPatchJSON.options.background,
-                arrows: dualPatchJSON.options.arrows,
-                smooth: dualPatchJSON.options.smooth,
-                view: topologyView.NE_View, hidden: false,
-            });
-        }
-        multipleFiberService(cfrom, cto);
-        var tedge = network.body.data.edges.get(patchID);
-        tedge.isUpdate = false;
-        tempUndo.push(tedge);
-    }
-}
-
-/**
- * Populate patch details by patch ID.
- * @param {string} patchID - Patch ID.
- * @param callback - The callback that handles the response.
- */
-function singlePatchEdit(patchID, callback) {
-    document.getElementById("singlePatchMenu").style.display = "none";
-    var edgeDetails = network.body.data.edges.get(patchID);
-    $("#txtSinglePatchName").val(edgeDetails.text);
-    openDrawer('singlepatch');
-    document.getElementById("btnUpdateSinglePatch").onclick = updateSinglePatch.bind(
-        this,
-        patchID,
-        callback
-    );
-    document.getElementById("btnCloseSinglePatch").onclick = clearSinglePatch.bind(
-    );
-}
-
-/**
- * Update patch.
- * Update patch label, text by patch ID.
- * @param {string} patchID - patch ID.
- */
-function updateSinglePatch(patchID) {
-
-    var id = patchID;
-    var label = $("#txtSinglePatchName").val().trim();
-    var patchDetails = network.body.data.edges.get(patchID);
-    if (nameLengthValidation("txtSinglePatchName")) {
-
-        var elabel = "";
-        elabel = label;
-        if (patchDetails.component_type == dualPatchJSON.component_type) {
-            network.body.data.edges.update({
-                id: id, label: elabel, text: label
-            });
-            multipleFiberService(patchDetails.from, patchDetails.to);
-            var tdata = network.body.data.edges.get(id);
-            tdata.isUpdate = true;
-            tempUndo.push(tdata);
-            clearSinglePatch();
-        }
-
-    }
-
-}
-
-/**
- * Remove patch by patch ID.
- * @param {string} patchID - patch ID.
- */
-function deletePatch(patchID) {
-    var patchDetails = network.body.data.edges.get(patchID);
-    var patchLabel = patchDetails.label;
-    if (patchDetails.label.trim() == "")
-        patchLabel = patchDetails.text
-
-    if (checkFiberPatchServiceCon(patchDetails.from, patchDetails.to, patchDetails.component_type))
-        return;
-    document.getElementById("singlePatchMenu").style.display = "none";
-    document.getElementById("dualPatchMenu").style.display = "none";
-    var patchd = network.body.data.edges.get(patchID);
-    network.body.data.edges.remove(patchID);
-    multipleFiberService(patchDetails.from, patchDetails.to);
-    nodeValidationInEdge(patchDetails.from, patchDetails.to);
-    patchd.isDelete = true;
-    patchd.isUpdate = false;
-    tempUndo.push(patchd);
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-
-/** Clear input/teporary data and other settings. */
-function clearSinglePatch() {
-
-    $("#txtSinglePatchName").val('');
-    closeDrawer('singlepatch');
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-function dualPatchEdit(patchID, callback) {
-    document.getElementById("dualPatchMenu").style.display = "none";
-    var edgeDetails = network.body.data.edges.get(patchID);
-    $("#txtDualPatchName").val(edgeDetails.text);
-    openDrawer('dualpatch');
-    document.getElementById("btnUpdateDualPatch").onclick = updateDualPatch.bind(
-        this,
-        patchID,
-        callback
-    );
-    document.getElementById("btnCloseDualPatch").onclick = clearDualPatch.bind(
-    );
-}
-function updateDualPatch(patchID) {
-
-    var id = patchID;
-    var label = $("#txtDualPatchName").val().trim();
-    var patchDetails = network.body.data.edges.get(patchID);
-
-    if (nameLengthValidation("txtDualPatchName")) {
-
-        if (patchDetails.component_type == dualPatchJSON.component_type) {
-
-            var elabel = "";
-            elabel = label;
-            network.body.data.edges.update({
-                id: id, label: elabel, text: label
-            });
-            multipleFiberService(patchDetails.from, patchDetails.to);
-            clearDualPatch();
-        }
-
-    }
-
-}
-function clearDualPatch() {
-    $("#txtDualPatchName").val('');
-    closeDrawer('dualpatch');
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/networkgraph_service.js.html b/docs/networkgraph_service.js.html deleted file mode 100644 index 4f9fcac..0000000 --- a/docs/networkgraph_service.js.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - JSDoc: Source: networkgraph/service.js - - - - - - - - - - -
- -

Source: networkgraph/service.js

- - - - - - -
-
-
/**
- * service.js
- * The Service is also the same as the connectivity path between 2 transceiver nodes. This library file defines service manipulation.
- * @module service
- */
-
-
-var isAddService = 0;
-var addServiceData = {
-    from: '',
-    to: ''
-};
-
-/**
- * Enable settings for service and reset other settings.
- * Set service 1 = enable, 0 = disable.
- */
-function addServiceMode() {
-    UnSelectAll();
-    isAddService = 1;
-    isDualFiberMode = 0;
-    isSingleFiberMode = 0;
-    isSinglePatchMode = 0;
-    isDualPatchMode = 0;
-    addServiceData = {
-        from: '',
-        to: ''
-    };
-}
-
-/** Check service connections rule before add it. */
-function addService() {
-
-    var fromDetails = network.body.data.nodes.get(addServiceData.from);
-    var toDetails = network.body.data.nodes.get(addServiceData.to);
-    var transNode = transceiverJSON.node_type.toString().toLowerCase();
-    //service should be add between only two transceiver
-    if (fromDetails.node_type == transceiverJSON.node_type && toDetails.node_type == transceiverJSON.node_type) {
-        //transceiver force checking
-        if (fromDetails.transceiver_type != "" && toDetails.transceiver_type != "") {
-            //same transceiver type checking
-            if (fromDetails.transceiver_type == toDetails.transceiver_type) {
-                var labelvalue = getLabel(addServiceData.from, addServiceData.to, serviceJSON.component_type);
-                //2 transceiver must have fiber/patch connection
-                if (network.getConnectedEdges(addServiceData.from).length > 0 && network.getConnectedEdges(addServiceData.to).length > 0)
-                    addServiceComponent(1, addServiceData.from, addServiceData.to, labelvalue, false);
-                else
-                    showMessage(alertType.Error, "Source " + roadmJSON.component_type + " : " + fromDetails.label + " ,destination " + roadmJSON.component_type + " : " + toDetails.label + " should have " + dualFiberJSON.component_type + "/" + dualPatchJSON.component_type + " connection");
-            }
-            else
-                showMessage(alertType.Error, serviceJSON.component_type + " can be created only between " + transNode + " of same type");
-        }
-        else
-            showMessage(alertType.Error, serviceJSON.component_type + " can be created only when " + transNode + "s are forced");
-
-    }
-    else {
-        showMessage(alertType.Error, "The " + serviceJSON.component_type + " should be between 2 " + transNode + " sites");
-    }
-    addServiceData = {
-        from: '',
-        to: ''
-    };
-    UnSelectAll();
-
-}
-
-/**
- * Service creation.
- * Service style and configuration data loaded from configurationdata, styledata json.
- * @param {number} cmode - Service mode 1 for add.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- * @param {string} clabel - The Label of the service.
- * @param {boolean} isImport - false -> manual add, true -> automattically added while import json.
- */
-function addServiceComponent(cmode, cfrom, cto, clabel, isImport) {
-    var serviceID = token();
-    if (cmode == 1) {
-
-        var bandwidth = configData[serviceJSON.component_type].default.band_width;
-        if (isImport)
-            bandwidth = tBandwidth;
-        else
-            clabel = countFiberService(false, false, true, false, cfrom, cto) + '-' + clabel;
-
-        elabel = clabel;
-        var fiberSmooth = multipleFiberService1(cfrom, cto);
-        if (!fiberSmooth)
-            fiberSmooth = fiberJSON.options.smooth;
-        network.body.data.edges.add({
-            id: serviceID, from: cfrom, to: cto, label: elabel, text: clabel, dashes: serviceJSON.dashes, width: serviceJSON.width,
-            component_type: serviceJSON.component_type, color: serviceJSON.options.color, background: serviceJSON.options.background,
-            arrows: serviceJSON.options.arrows,
-            smooth: fiberSmooth,
-            band_width: bandwidth
-        });
-        multipleFiberService(cfrom, cto);
-        var tedge = network.body.data.edges.get(serviceID);
-        tedge.isUpdate = false;
-        tempUndo.push(tedge);
-    }
-    UnSelectAll();
-    network.addEdgeMode();
-}
-
-/**
- * Populate service details by service ID.
- * @param {string} serviceID - Service ID.
- * @param callback - The callback that handles the response.
- */
-function serviceEdit(serviceID, callback) {
-    document.getElementById("serviceMenu").style.display = "none";
-    var edgeDetails = network.body.data.edges.get(serviceID);
-    $("#txtServiceName").val(edgeDetails.text);
-    var connectedNode = network.getConnectedNodes(serviceID);
-    $("#txtServiceSrc").val(network.body.data.nodes.get(connectedNode[0]).label);
-    $("#txtServiceDest").val(network.body.data.nodes.get(connectedNode[1]).label);
-    $("#txtBandwidth").val(edgeDetails.band_width);
-    openDrawer('service');
-    document.getElementById("btnUpdateService").onclick = updateService.bind(
-        this,
-        serviceID,
-        callback
-    );
-    document.getElementById("btnCloseService").onclick = clearService.bind(
-    );
-}
-
-/**
- * Update service.
- * Update service label, text, band_width by service ID.
- * @param {string} serviceID - Service ID.
- */
-function updateService(serviceID) {
-
-    var id = serviceID;
-    var label = $("#txtServiceName").val().trim();
-    var bandwidth = $("#txtBandwidth").val();
-    var serviceDetails = network.body.data.edges.get(serviceID);
-
-    if (nameLengthValidation("txtServiceName")) {
-
-        if (serviceDetails.component_type == serviceJSON.component_type) {
-
-            var elabel = "";
-            elabel = label;
-            network.body.data.edges.update({
-                id: id, label: elabel, text: label, band_width: bandwidth
-            });
-            multipleFiberService(serviceDetails.from, serviceDetails.to);
-            var tdata = network.body.data.edges.get(id);
-            tdata.isUpdate = true;
-            tempUndo.push(tdata);
-
-            clearService();
-        }
-
-    }
-
-}
-
-/**
- * Remove service by service ID.
- * @param {string} serviceID - Service ID.
- */
-function deleteService(serviceID) {
-    var serviceDetails = network.body.data.edges.get(serviceID);
-    document.getElementById("serviceMenu").style.display = "none";
-    var serviced = network.body.data.edges.get(serviceID);
-    network.body.data.edges.remove(serviceID);
-    multipleFiberService(serviceDetails.from, serviceDetails.to);
-    serviced.isDelete = true;
-    serviced.isUpdate = false;
-    tempUndo.push(serviced);
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-
-/** Clear input/teporary data and other settings. */
-function clearService() {
-
-    $("#txtServiceName").val('');
-    $("#txtServiceSrc").val('');
-    $("#txtServiceDest").val('');
-    $("#txtBandwidth").val('');
-    $("#ddlCentralFrq").val('');
-    closeDrawer('service');
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-
-
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/networkgraph_validation.js.html b/docs/networkgraph_validation.js.html deleted file mode 100644 index 1a31347..0000000 --- a/docs/networkgraph_validation.js.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - JSDoc: Source: networkgraph/validation.js - - - - - - - - - - -
- -

Source: networkgraph/validation.js

- - - - - - -
-
-
 /**
- * validation.js
- * The Validations library currently describes the validation of component name, length, and type
- * @module validation
- */
-
-
-$(document).ready(function () {
-    $("#txtSpan_Length").change(function () {
-        var span_length = $("#txtSpan_Length").val().trim();
-        var spanlen = parseFloat(span_length);
-        if (isNaN(span_length) || spanlen <= 0 || span_length == "") {
-            $("#txtSpan_Length").addClass('input_error');
-            return;
-        }
-        else
-            $("#txtSpan_Length").removeClass('input_error');
-
-        if ($('#cbxLength_Based_Loss').is(":checked")) {
-            fiberCalc();
-                
-        }
-    });
-    $("#txtLoss_Coefficient").change(function () {
-        if ($('#cbxLength_Based_Loss').is(":checked")) {
-            var span_length = $("#txtLoss_Coefficient").val().trim();
-            var spanlen = parseFloat(span_length);
-            if (isNaN(span_length) || spanlen <= 0 || span_length == "") {
-                return;
-            }
-            fiberCalc();
-        }
-        
-
-        
-
-    });
-    function fiberCalc() {
-        var span_length = $("#txtSpan_Length").val().trim();
-        var spanlen = parseFloat(span_length);
-        var loss_coeff = $("#txtLoss_Coefficient").val().trim();
-        var lossCoeff = parseFloat(loss_coeff);
-        if (!isNaN(span_length) || spanlen >= 0 || span_length != "" || !isNaN(loss_coeff) || lossCoeff >= 0 || loss_coeff != "")
-            fiberLengthCal('txtSpan_Length', 'txtLoss_Coefficient', 'txtSpan_Loss');
-    }
-    $("#ddlSingleFiberType").change(function () {
-        if ($(this).val()=="") {
-            $("#ddlSingleFiberType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlSingleFiberType").removeClass('input_error');
-
-    });
-    $("#ddlRoadmType").change(function () {
-        if ($(this).val() == "") {
-            $("#ddlRoadmType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlRoadmType").removeClass('input_error');
-
-    });
-    $("#ddlAmplifierType").change(function () {
-        if ($(this).val() == "") {
-            $("#ddlAmplifierType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlAmplifierType").removeClass('input_error');
-
-    });
-    $("#ddlRamanAmpType").change(function () {
-        if ($(this).val() == "") {
-            $("#ddlRamanAmpType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlRamanAmpType").removeClass('input_error');
-
-    });
-    $("#ddlRamanAmpCategory").change(function () {
-        if ($(this).val() == "") {
-            $("#ddlRamanAmpCategory").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlRamanAmpCategory").removeClass('input_error');
-
-    });
-    $("#ddlTransceiverType").change(function () {
-        if ($(this).val() == "") {
-            $("#ddlTransceiverType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlTransceiverType").removeClass('input_error');
-
-    });
-
-});
-
-/**
- * Validate the node/fiber/patch/service name and name length.
- * @param {HTMLElement} element - Input element
- */
-function nameLengthValidation(element) {
-    var flag = true;
-    var elementID = "#" + element
-    var maxLength = Number(configData.node.site_length);
-    var msg = "";
-    if ($(elementID).val().trim() == '') {
-        msg = "Please enter the name";
-        flag = false;
-    }
-    else if (Number($(elementID).val().trim().length) > maxLength) {
-        msg = "Name length should be less than or equal to 20";
-        flag = false;
-    }
-    if (!flag)
-        showMessage(alertType.Error, msg);
-    return flag;
-}
-
-/** Validate export file name. */
-function exportFileValidation() {
-    var flag = false;
-    if ($("#txtFileName").val().trim() != '')
-        flag = true;
-    else
-        showMessage(alertType.Error, 'Please enter file name');
-    return flag;
-}
-
-/** Validate ROADM list, type and Amplifier type. */
-function roadmProVal() {
-    var flag = false;
-    if ($("#ddlRoadmList").val().trim() != 0 && $("#ddlROADMType").val().trim() != 0 && $("#ddlRPreAmpType").val().trim() != 0 && $("#ddlRBoosterType").val().trim() != 0)
-        flag = true;
-    else
-        showMessage(alertType.Error, 'Please enter the value');
-    return flag;
-}
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/node.js.html b/docs/node.js.html deleted file mode 100644 index ffe39ed..0000000 --- a/docs/node.js.html +++ /dev/null @@ -1,1667 +0,0 @@ - - - - - JSDoc: Source: node.js - - - - - - - - - - -
- -

Source: node.js

- - - - - - -
-
-
 /**
- * node module
- * @module node
- */
-
-/**
- * node.js.
- * The node  can be defined as the connection point of "ROADM, Attenuator, Transceiver, Amplifier and Raman Amplifier" and defines the node manipulations.
- */
-
-
-/**
- * Check node Mode 1-roadm, 2-amp, 3-fused, 4-transceiver, 6- raman amp
- * @param {Number} nodemode - Mode of the component.
- */
-function AddNodeMode(nodemode) {
-
-    nodeMode = nodemode;
-    if (nodeMode) {
-        if (nodeMode > 0 && nodeMode < 7)
-            network.addNodeMode();
-    }
-}
-
-/**
- * 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.
- * @param {object} data - The data of the component.
- * @param callback - The callback that handles the response.
- */
-function addNodes(data, callback) {
-
-    var nodeDetails = "";
-    var nodeShape = "";
-    var nodeColor = "";
-    var nodeFont = "";
-    var nodeSize = 0;
-    var amp_category = "";
-    if (nodeMode == nodeType.ROADM) {
-        nodeDetails = configData.node[roadmJSON.node_type];
-        data.image = DIR + roadmJSON.w_image;
-        nodeFont = roadmJSON.font;
-        nodeSize = roadmJSON.size;
-        data.font = nodeFont;
-
-        if ($("#ddlNetworkView").val() == topologyView.Functional_View)
-            data.roadm_type = nodeDetails.default.roadm_type;
-
-    }
-    else if (nodeMode == nodeType.ILA || nodeMode == nodeType.Attenuator || nodeMode == nodeType.Transceiver || nodeMode == nodeType.Amplifier || nodeMode == nodeType.RamanAmplifier) {
-        if (nodeMode == nodeType.ILA) {
-            nodeDetails = configData.node[ILAJSON.amp_category];
-            nodeShape = ILAJSON.shape;
-            nodeColor = ILAJSON.color;
-            nodeFont = ILAJSON.font;
-            data.image = DIR + ILAJSON.w_image;
-            data.pre_amp_type = nodeDetails.default.pre_amp_type;
-            data.booster_type = nodeDetails.default.booster_type;
-            data.amp_category = nodeDetails.default.amp_category;
-            nodeSize = ILAJSON.size;
-        }
-        else if (nodeMode == nodeType.Attenuator) {
-            nodeDetails = configData.node[fusedJSON.node_type];
-            nodeShape = fusedJSON.shape;
-            nodeColor = fusedJSON.color;
-            nodeFont = fusedJSON.font;
-            data.image = DIR + fusedJSON.w_image;
-            nodeSize = fusedJSON.size;
-        }
-        else if (nodeMode == nodeType.Transceiver) {
-            nodeDetails = configData.node[transceiverJSON.node_type];
-            nodeShape = transceiverJSON.shape;
-            nodeColor = transceiverJSON.color;
-            nodeFont = transceiverJSON.font;
-            data.image = DIR + transceiverJSON.w_image;
-            data.transceiver_type = nodeDetails.default.transceiver_type;
-            nodeSize = transceiverJSON.size;
-        }
-        else if (nodeMode == nodeType.Amplifier) {
-            nodeDetails = configData.node[amplifierJSON.amp_category];
-            nodeShape = amplifierJSON.shape;
-            nodeColor = amplifierJSON.color;
-            nodeFont = amplifierJSON.font;
-            data.image = DIR + amplifierJSON.w_image;
-            data.amp_type = nodeDetails.default.amp_type;
-            data.amp_category = nodeDetails.default.amp_category;
-            nodeSize = amplifierJSON.size;
-        }
-        else if (nodeMode == nodeType.RamanAmplifier) {
-            nodeDetails = configData.node[ramanampJSON.amp_category];
-            nodeShape = ramanampJSON.shape;
-            nodeColor = ramanampJSON.color;
-            nodeFont = ramanampJSON.font;
-            data.image = DIR + ramanampJSON.w_image;
-            data.amp_type = nodeDetails.default.amp_type;
-            data.amp_category = nodeDetails.default.amp_category;
-            data.category = nodeDetails.default.category;
-            nodeSize = ramanampJSON.size;
-        }
-
-        data.shape = nodeShape;
-        data.color = nodeColor;
-        data.size = nodeSize;
-
-    }
-    else
-        return;
-
-
-    var result = nodeName(nodeDetails.default.node_type, nodeDetails.default.amp_category);
-
-    var nodelength = result.nodeLength;
-    var nodeLabel = result.label;
-
-    data.id = token();
-    data.number = nodelength;
-    data.label = nodeLabel;
-    data.node_type = nodeDetails.default.node_type;
-    data.node_degree = nodeDetails.default.node_degree;
-    data.component_type = roadmJSON.component_type;
-    data.hidden = false;
-    data.isUpdate = false;
-    data.view = $("#ddlNetworkView").val();
-    callback(data);
-
-    realUpdate();
-
-    if (nodeMode == nodeType.ROADM || nodeMode == nodeType.ILA || nodeMode == nodeType.Attenuator || nodeMode == nodeType.Transceiver || nodeMode == nodeType.Amplifier || nodeMode == nodeType.RamanAmplifier)
-        network.addNodeMode();
-    tempUndo.push(network.body.data.nodes.get(data.id));
-}
-
-/**
- * Populate ROADM component details by node ID.
- * @param {string} nodeID - The ID of the ROADM component.
- * @param callback - The callback that handles the response.
- */
-function roadmEdit(nodeID, callback) {
-    _roadmListDB().remove();
-    document.getElementById("roadmMenu").style.display = "none";
-    openDrawer('roadm');
-    var nodeDetails = network.body.data.nodes.get(nodeID[nodeID.length - 1]);
-    $("#txtRoadmName").val(nodeDetails.label);
-    $("#divRoadmPro").hide();
-    $("#divRoadmPro").empty();
-    $("#divRoadmType").hide();
-    if (nodeDetails.node_type == roadmJSON.node_type && $("#ddlNetworkView").val() == topologyView.NE_View) {
-        arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-        _roadmListDB.insert(JSON.stringify(arrRoadmTypePro));
-        var connectedFiber = network.getConnectedEdges(nodeID);
-
-        $.each(connectedFiber, function (index, item) {
-            if (network.body.data.edges.get(item).component_type == dualFiberJSON.component_type)
-                loadRoadmType(item, nodeID[nodeID.length - 1], nodeDetails.node_type, "divRoadmPro");
-        });
-    }
-    else if (nodeDetails.node_type == roadmJSON.node_type && $("#ddlNetworkView").val() == topologyView.Functional_View) {
-        $("#divRoadmType").show();
-
-        if (nodeID.length > 1) {
-            $("#divRoadmName").hide();
-            $("#ddlRoadmType").val('');
-            $("#ddlRoadmType").addClass('input_error');
-            var matchCount = 1;
-            for (var i = 0; i < nodeID.length - 1; i++) {
-                if (network.body.data.nodes.get(nodeID[i]).roadm_type == nodeDetails.roadm_type) {
-                    matchCount++;
-                }
-            }
-            if (matchCount == nodeID.length) {
-                if (nodeDetails.roadm_type) {
-                    $("#ddlRoadmType").val(nodeDetails.roadm_type);
-                    $("#ddlRoadmType").removeClass('input_error');
-                }
-            }
-
-
-        }
-        else {
-            $("#divRoadmName").show();
-            if (nodeDetails.roadm_type) {
-                $("#ddlRoadmType").removeClass('input_error');
-                $("#ddlRoadmType").val(nodeDetails.roadm_type);
-            }
-            else {
-                $("#ddlRoadmType").val('');
-                $("#ddlRoadmType").addClass('input_error');
-            }
-        }
-
-    }
-
-    document.getElementById("btnUpdateRoadm").onclick = updateRoadm.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseRoadm").onclick = clearRoadm.bind(
-    );
-}
-
-/**
- * Update ROADM.
- * Update ROADM label, type by ROADM ID.
- * @param {string} nodeID - The ID of the ROADM component
- */
-function updateRoadm(nodeID) {
-    removeNodeList = [];
-    if (nameLengthValidation("txtRoadmName")) {
-        var id = nodeID[nodeID.length - 1];
-        var label = $("#txtRoadmName").val().trim();
-        var node_type = network.body.data.nodes.get(id).node_type
-        var roadmtypeprodata = _roadmListDB().get();
-        if (node_type == roadmJSON.node_type && $("#ddlNetworkView").val() == topologyView.NE_View) {
-
-            $.each(roadmtypeprodata, function (index, item) {
-                var lddlroadmtype = "#" + eleroadmtype + item.roadm_fiber_id;
-                var lddlpreamptype = "#" + elepreamptype + item.roadm_fiber_id;
-                var lddlboostertype = "#" + eleboostertype + item.roadm_fiber_id;
-                var edgeDetails = network.body.data.edges.get(item.roadm_fiber_id);
-                var llabelname = node_type + "- [" + label + ' - ' + network.body.data.nodes.get(edgeDetails.to).label + ' ]'
-                _roadmListDB({ "roadm_fiber_id": item.roadm_fiber_id, }).update({
-                    "roadm_label": llabelname, "roadm_type": $(lddlroadmtype).val(),
-                    "pre_amp_type": $(lddlpreamptype).val(), "booster_type": $(lddlboostertype).val(),
-                });
-            });
-            roadmtypeprodata = _roadmListDB().get();
-            network.body.data.nodes.update({
-                id: id, label: label, roadm_type_pro: roadmtypeprodata
-            });
-
-        }
-        else if (node_type == roadmJSON.node_type && $("#ddlNetworkView").val() == topologyView.Functional_View) {
-
-            if ($("#ddlRoadmType").val() == null) {
-                showMessage(alertType.Error, 'Please select type');
-                $("#ddlRoadmType").addClass('input_error');
-                return;
-            }
-            else
-                $("#ddlRoadmType").removeClass('input_error');
-
-
-            var preUpdateList = [];
-            if (nodeID.length > 1) {
-                for (var i = 0; i < nodeID.length; i++) {
-
-                    if (network.body.data.nodes.get(nodeID[i]).image == DIR + roadmJSON.h_image) {
-
-                        preUpdateList.push(network.body.data.nodes.get(nodeID[i]));
-                        network.body.data.nodes.update({
-                            id: nodeID[i], roadm_type: $("#ddlRoadmType").val()
-                        });
-                        realUpdate_Roadm(nodeID[i], $("#ddlRoadmType").val());
-
-                        var tdata = network.body.data.nodes.get(nodeID[i]);
-                        removeNodeList.push(tdata);
-                    }
-                }
-                if (removeNodeList.length > 0) {
-                    var updateList = {
-                        isMultiple: true,
-                        isUpdate: true,
-                        preList: preUpdateList,
-                        list: removeNodeList
-                    }
-                    tempUndo.push(updateList);
-                }
-
-            } else {
-                network.body.data.nodes.update({
-                    id: id, label: label, roadm_type: $("#ddlRoadmType").val()
-                });
-                realUpdate_Roadm(id, $("#ddlRoadmType").val());
-
-                var tdata = network.body.data.nodes.get(id);
-                tdata.isUpdate = true;
-                tempUndo.push(tdata);
-            }
-        }
-        clearRoadm();
-    }
-
-}
-
-/** Clear input/teporary data and other settings. */
-function clearRoadm() {
-    $("#txtRoadmName").val('');
-    $("#divRoadmPro").empty();
-    $("#ddlRoadmType").val('');
-    closeDrawer('roadm');
-    _roadmListDB().remove();
-    UnSelectAll();
-}
-
-/**
- * Check ROADM component rules and update check-errors summary.
- * @param {string} id - The ID of ROADM component.
- * @param {string} rtype - The type of ROADM component.
- */
-function realUpdate_Roadm(id, rtype) {
-    var roadmtype = rtype;
-    var connectedEges = network.getConnectedEdges(id);
-    var tempEdge = [];
-    $.each(connectedEges, function (index, item) {
-        if (network.body.data.edges.get(item).component_type != serviceJSON.component_type) {
-            tempEdge.push(item);
-        }
-    });
-
-    var fromCount = 0;
-    var toCount = 0;
-    for (i = 0; i < tempEdge.length; i++) {
-        edgeDetails = network.body.data.edges.get(tempEdge[i]);
-        if (edgeDetails.from == id)
-            fromCount++;
-        else if (edgeDetails.to == id)
-            toCount++;
-    }
-
-    if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-        removeID = "#spanTF" + id.replace(/\s/g, '');
-        $(removeID).remove();
-    }
-    else {
-        if (roadmtype)
-            removeSpanInError(id, true);
-    }
-}
-
-/**
- * Populate Attenuator component details by node ID.
- * @param {string} nodeID - The ID of the Attenuator component.
- * @param callback - The callback that handles the response.
- */
-function attenuatorEdit(nodeID, callback) {
-    document.getElementById("attenuatorMenu").style.display = "none";
-    openDrawer('attenuator');
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-    $("#txtAttenuatorName").val(nodeDetails.label);
-
-    document.getElementById("btnUpdateAttenuator").onclick = updateAttenuator.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseAttenuator").onclick = clearAttenuator.bind(
-    );
-}
-
-/**
- * Update Attenuator.
- * Update Attenuator label, type by Attenuator ID.
- * @param {string} nodeID - The ID of the Attenuator component
- */
-function updateAttenuator(nodeID) {
-
-    var id = nodeID;
-    var label = $("#txtAttenuatorName").val().trim();
-    var node_type = network.body.data.nodes.get(nodeID).node_type
-
-    if (nameLengthValidation("txtAttenuatorName")) {
-
-        if (node_type == fusedJSON.node_type) {
-            network.body.data.nodes.update({
-                id: id, label: label
-            });
-            var tdata = network.body.data.nodes.get(id);
-            tdata.isUpdate = true;
-            tempUndo.push(tdata);
-            clearAttenuator();
-        }
-
-
-    }
-
-}
-
-/** Clear input/teporary data and other settings. */
-function clearAttenuator() {
-    $("#txtAttenuatorName").val('');
-    closeDrawer('attenuator');
-    UnSelectAll();
-}
-
-function ILAEdit(nodeID, callback) {
-    _roadmListDB().remove();
-    document.getElementById("ILAMenu").style.display = "none";
-    openDrawer('ILA');
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-    $("#txtILAName").val(nodeDetails.label);
-    $("#divILAPro").hide();
-    $("#divILAPro").empty();
-
-    if (nodeDetails.amp_category == ILAJSON.amp_category) {
-        arrRoadmTypePro = nodeDetails.roadm_type_pro ? nodeDetails.roadm_type_pro : [];
-        _roadmListDB.insert(JSON.stringify(arrRoadmTypePro));
-        var connectedFiber = network.getConnectedEdges(nodeID);
-
-        $.each(connectedFiber, function (index, item) {
-            if (network.body.data.edges.get(item).component_type == dualFiberJSON.component_type)
-                loadRoadmType(item, nodeID, nodeDetails.amp_category, "divILAPro");
-        });
-    }
-
-    document.getElementById("btnILAUpdate").onclick = updateILA.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseILA").onclick = clearILA.bind(
-    );
-}
-function updateILA(nodeID) {
-
-    var id = nodeID;
-    var label = $("#txtILAName").val().trim();
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-
-    if (nameLengthValidation("txtILAName")) {
-
-        var roadmtypeprodata = _roadmListDB().get();
-        if (nodeDetails.amp_category == ILAJSON.amp_category) {
-
-            $.each(roadmtypeprodata, function (index, item) {
-                var lddlpreamptype = "#" + elepreamptype + item.roadm_fiber_id;
-                var lddlboostertype = "#" + eleboostertype + item.roadm_fiber_id;
-                var edgeDetails = network.body.data.edges.get(item.roadm_fiber_id);
-                var llabelname = nodeDetails.amp_category + "- [" + label + ' - ' + network.body.data.nodes.get(edgeDetails.to).label + ' ]'
-                _roadmListDB({ "roadm_fiber_id": item.roadm_fiber_id, }).update({
-                    "roadm_label": llabelname,
-                    "pre_amp_type": $(lddlpreamptype).val(), "booster_type": $(lddlboostertype).val(),
-                });
-            });
-            roadmtypeprodata = _roadmListDB().get();
-            network.body.data.nodes.update({
-                id: id, label: label, roadm_type_pro: roadmtypeprodata
-            });
-            clearILA();
-        }
-
-    }
-
-}
-function clearILA() {
-    $("#txtILAName").val('');
-    $("#ddlPreAmpType").val('');
-    $("#ddlBoosterType").val('');
-    $("#divILAPro").empty();
-    closeDrawer('ILA');
-    UnSelectAll();
-    _roadmListDB().remove();
-}
-
-/**
- * Populate Amplifier component details by node ID.
- * @param {string} nodeID - The ID of the Amplifier component.
- * @param callback - The callback that handles the response.
- */
-function amplifierEdit(nodeID, callback) {
-    document.getElementById("amplifierMenu").style.display = "none";
-    openDrawer('amplifier');
-    var nodeDetails = network.body.data.nodes.get(nodeID[nodeID.length - 1]);
-    $("#txtAmplifierName").val(nodeDetails.label);
-    $("#ddlAmplifierType").val(nodeDetails.amp_type);
-    if (nodeID.length > 1) {
-        $("#divAmpName").hide();
-        $("#ddlAmplifierType").val('');
-        $("#ddlAmplifierType").addClass('input_error');
-
-        var matchCount = 1;
-        for (var i = 0; i < nodeID.length - 1; i++) {
-            if (network.body.data.nodes.get(nodeID[i]).amp_type == nodeDetails.amp_type) {
-                matchCount++;
-            }
-        }
-        if (matchCount == nodeID.length) {
-            if (nodeDetails.amp_type) {
-                $("#ddlAmplifierType").val(nodeDetails.amp_type);
-                $("#ddlAmplifierType").removeClass('input_error');
-            }
-        }
-
-    }
-    else {
-        $("#divAmpName").show();
-        if (nodeDetails.amp_type) {
-            $("#ddlAmplifierType").removeClass('input_error');
-        }
-        else {
-            $("#ddlAmplifierType").addClass('input_error');
-        }
-    }
-
-    document.getElementById("btnAmplifierUpdate").onclick = updateAmplifier.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseAmplifier").onclick = clearAmplifier.bind(
-    );
-}
-
-/**
- * Update Amplifier.
- * Update Amplifier label, type by Amplifier ID.
- * @param {string} nodeID - The ID of the Amplifier component
- */
-function updateAmplifier(nodeID) {
-    removeNodeList = [];
-    if (nameLengthValidation("txtAmplifierName")) {
-
-        var id = nodeID[nodeID.length - 1];
-        var label = $("#txtAmplifierName").val().trim();
-        var amp_category = network.body.data.nodes.get(id).amp_category
-
-        if ($("#ddlAmplifierType").val() == null) {
-            showMessage(alertType.Error, 'Please select type');
-            $("#ddlAmplifierType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlAmplifierType").removeClass('input_error');
-
-
-        if (amp_category == amplifierJSON.amp_category) {
-
-            if (nodeID.length > 1) {
-                var preUpdateList = [];
-                for (var i = 0; i < nodeID.length; i++) {
-
-                    if (network.body.data.nodes.get(nodeID[i]).image == DIR + amplifierJSON.h_image || network.body.data.nodes.get(nodeID[i]).image == DIR + amplifierJSON.fh_image) {
-                        preUpdateList.push(network.body.data.nodes.get(nodeID[i]));
-                        network.body.data.nodes.update({
-                            id: nodeID[i], amp_type: $("#ddlAmplifierType").val()
-                        });
-                        realUpdate_Amplifier(nodeID[i], $("#ddlAmplifierType").val());
-                        var tdata = network.body.data.nodes.get(nodeID[i]);
-                        removeNodeList.push(tdata);
-                    }
-                }
-                if (removeNodeList.length > 0) {
-                    var updateList = {
-                        isMultiple: true,
-                        isUpdate: true,
-                        preList: preUpdateList,
-                        list: removeNodeList
-                    }
-                    tempUndo.push(updateList);
-                }
-            } else {
-                network.body.data.nodes.update({
-                    id: id, label: label, amp_type: $("#ddlAmplifierType").val()
-                });
-                realUpdate_Amplifier(id, $("#ddlAmplifierType").val());
-
-                var tdata = network.body.data.nodes.get(id);
-                tdata.isUpdate = true;
-                tempUndo.push(tdata);
-            }
-
-            clearAmplifier();
-        }
-
-
-    }
-
-}
-
-/** Clear input/teporary data and other settings. */
-function clearAmplifier() {
-    $("#txtAmplifierName").val('');
-    $("#ddlAmplifierType").val('');
-    closeDrawer('amplifier');
-    UnSelectAll();
-}
-
-/**
- * Check Amplifier component rules and update check-errors summary.
- * @param {string} id - The ID of Amplifier component.
- * @param {string} rtype - The type of Amplifier component.
- */
-function realUpdate_Amplifier(id, rtype) {
-    var amptype = rtype;
-    var connectedEdges;
-    var fromCount;
-    var toCount;
-    connectedEdges = network.getConnectedEdges(id);
-    fromCount = 0;
-    toCount = 0;
-    for (i = 0; i < connectedEdges.length; i++) {
-        edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-        if (edgeDetails.from == id)
-            fromCount++;
-        else if (edgeDetails.to == id)
-            toCount++;
-    }
-
-    if (fromCount == 1 && toCount == 1) {
-        if (amptype) {
-            removeSpanInError(id, true);
-        }
-    }
-    else {
-        if (amptype) {
-            removeID = "#spanTF" + id.replace(/\s/g, '');
-            $(removeID).remove();
-        }
-    }
-
-}
-
-/**
- * Populate Raman Amplifier component details by node ID.
- * @param {string} nodeID - The ID of the Raman Amplifier component.
- * @param callback - The callback that handles the response.
- */
-function ramanAmpEdit(nodeID, callback) {
-    document.getElementById("ramanAmpMenu").style.display = "none";
-    openDrawer('ramanamp');
-    var nodeDetails = network.body.data.nodes.get(nodeID[nodeID.length - 1]);
-    $("#txtRamanAmpName").val(nodeDetails.label);
-    $("#ddlRamanAmpType").val(nodeDetails.amp_type);
-    $("#ddlRamanAmpCategory").val(nodeDetails.category);
-
-
-    if (nodeID.length > 1) {
-        $("#divRamanAmpName").hide();
-        $("#ddlRamanAmpType").val('');
-        $("#ddlRamanAmpType").addClass('input_error');
-        $("#ddlRamanAmpCategory").val('');
-        $("#ddlRamanAmpCategory").addClass('input_error');
-
-        var matchCount = 1;
-        for (var i = 0; i < nodeID.length - 1; i++) {
-            if (network.body.data.nodes.get(nodeID[i]).amp_type == nodeDetails.amp_type && network.body.data.nodes.get(nodeID[i]).category == nodeDetails.category) {
-                matchCount++;
-            }
-        }
-        if (matchCount == nodeID.length) {
-            if (nodeDetails.amp_type && nodeDetails.category) {
-                $("#ddlRamanAmpType").val(nodeDetails.amp_type);
-                $("#ddlRamanAmpType").removeClass('input_error');
-                $("#ddlRamanAmpCategory").val(nodeDetails.category);
-                $("#ddlRamanAmpCategory").removeClass('input_error');
-            }
-        }
-
-    }
-    else {
-        $("#divRamanAmpName").show();
-        if (nodeDetails.amp_type) {
-            $("#ddlRamanAmpType").removeClass('input_error');
-        }
-        else {
-            $("#ddlRamanAmpType").addClass('input_error');
-        }
-        if (nodeDetails.category) {
-            $("#ddlRamanAmpCategory").removeClass('input_error');
-        }
-        else {
-            $("#ddlRamanAmpCategory").addClass('input_error');
-        }
-    }
-
-    document.getElementById("btnRamanAmpUpdate").onclick = updateRamanAmp.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseRamanAmp").onclick = clearRamanAmp.bind(
-    );
-}
-
-/**
- * Update Raman Amplifier.
- * Update Raman Amplifier label, type by Raman Amplifier ID.
- * @param {string} nodeID - The ID of the Raman Amplifier component
- */
-function updateRamanAmp(nodeID) {
-    removeNodeList = [];
-    if (nameLengthValidation("txtRamanAmpName")) {
-
-        var id = nodeID[nodeID.length - 1];
-        var label = $("#txtRamanAmpName").val().trim();
-        var amp_category = network.body.data.nodes.get(id).amp_category
-
-        if ($("#ddlRamanAmpType").val() == null) {
-            showMessage(alertType.Error, 'Please select type');
-            $("#ddlRamanAmpType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlRamanAmpType").removeClass('input_error');
-
-        if ($("#ddlRamanAmpCategory").val() == null) {
-            showMessage(alertType.Error, 'Please select category');
-            $("#ddlRamanAmpCategory").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlRamanAmpCategory").removeClass('input_error');
-
-
-        if (amp_category == ramanampJSON.amp_category) {
-            if (nodeID.length > 1) {
-                var preUpdateList = [];
-                for (var i = 0; i < nodeID.length; i++) {
-                    if (network.body.data.nodes.get(nodeID[i]).image == DIR + ramanampJSON.h_image || network.body.data.nodes.get(nodeID[i]).image == DIR + ramanampJSON.fh_image) {
-                        preUpdateList.push(network.body.data.nodes.get(nodeID[i]));
-                        network.body.data.nodes.update({
-                            id: nodeID[i], amp_type: $("#ddlRamanAmpType").val(), category: $("#ddlRamanAmpCategory").val()
-                        });
-                        realUpdate_RamanAmp(nodeID[i], $("#ddlRamanAmpType").val());
-                        var tdata = network.body.data.nodes.get(nodeID[i]);
-                        //tdata.isUpdate = true;
-                        removeNodeList.push(tdata);
-                    }
-                }
-                if (removeNodeList.length > 0) {
-                    var updateList = {
-                        isMultiple: true,
-                        isUpdate: true,
-                        preList: preUpdateList,
-                        list: removeNodeList
-                    }
-                    tempUndo.push(updateList);
-                }
-            } else {
-                network.body.data.nodes.update({
-                    id: id, label: label, amp_type: $("#ddlRamanAmpType").val(), category: $("#ddlRamanAmpCategory").val()
-                });
-
-                realUpdate_RamanAmp(id, $("#ddlRamanAmpType").val());
-                var tdata = network.body.data.nodes.get(id);
-                tdata.isUpdate = true;
-                tempUndo.push(tdata);
-            }
-
-            clearRamanAmp();
-        }
-    }
-}
-
-/** Clear input/teporary data and other settings. */
-function clearRamanAmp() {
-    $("#txtRamanAmpName").val('');
-    $("#ddlRamanAmpType").val('');
-    $("#ddlRamanAmpCategory").val('');
-    closeDrawer('ramanamp');
-    UnSelectAll();
-}
-
-/**
- * Check Raman Amplifier component rules and update check-errors summary.
- * @param {string} id - The ID of Raman Amplifier component.
- * @param {string} rtype - The type of Raman Amplifier component.
- */
-function realUpdate_RamanAmp(id, rtype) {
-    var amptype = rtype;
-    var connectedEdges;
-    var fromCount;
-    var toCount;
-    connectedEdges = network.getConnectedEdges(id);
-    fromCount = 0;
-    toCount = 0;
-    for (i = 0; i < connectedEdges.length; i++) {
-        edgeDetails = network.body.data.edges.get(connectedEdges[i]);
-        if (edgeDetails.from == id)
-            fromCount++;
-        else if (edgeDetails.to == id)
-            toCount++;
-    }
-    if (fromCount == 1 && toCount == 1) {
-
-        if (amptype) {
-            removeSpanInError(id, true);
-            removeSpanInError(id, true);
-        }
-    }
-    else {
-        if (amptype) {
-            removeID = "#spanTF" + id.replace(/\s/g, '');
-            $(removeID).remove();
-            $(removeID).remove();
-        }
-    }
-
-
-}
-
-/**
- * Populate Transceiver component details by node ID.
- * @param {string} nodeID - The ID of the Transceiver component.
- * @param callback - The callback that handles the response.
- */
-function transceiverEdit(nodeID, callback) {
-    document.getElementById("transceiverMenu").style.display = "none";
-    openDrawer('transceiver');
-    var nodeDetails = network.body.data.nodes.get(nodeID[nodeID.length - 1]);
-    $("#txtTransceiverName").val(nodeDetails.label);
-    $("#ddlTransceiverType").val(nodeDetails.transceiver_type);
-    if (nodeID.length > 1) {
-        $("#divTransName").hide();
-        $("#ddlTransceiverType").val('');
-        $("#ddlTransceiverType").addClass('input_error');
-
-        var matchCount = 1;
-        for (var i = 0; i < nodeID.length - 1; i++) {
-            if (network.body.data.nodes.get(nodeID[i]).transceiver_type == nodeDetails.transceiver_type) {
-                matchCount++;
-            }
-        }
-        if (matchCount == nodeID.length) {
-            if (nodeDetails.transceiver_type) {
-                $("#ddlTransceiverType").val(nodeDetails.transceiver_type);
-                $("#ddlTransceiverType").removeClass('input_error');
-            }
-        }
-
-    }
-    else {
-        $("#divTransName").show();
-        if (nodeDetails.transceiver_type) {
-            $("#ddlTransceiverType").removeClass('input_error');
-        }
-        else {
-            $("#ddlTransceiverType").addClass('input_error');
-        }
-    }
-
-    document.getElementById("btnTransceiverUpdate").onclick = updateTransceiver.bind(
-        this,
-        nodeID,
-        callback
-    );
-
-    document.getElementById("btnCloseTransceiver").onclick = clearTransceiver.bind(
-    );
-}
-
-/**
- * Update Transceiver.
- * Update Transceiver label, type by Transceiver ID.
- * @param {string} nodeID - The ID of the Transceiver component
- */
-function updateTransceiver(nodeID) {
-    removeNodeList = [];
-    if (nameLengthValidation("txtTransceiverName")) {
-        if (nodeID.length > 1) {
-            var preUpdateList = [];
-            for (var i = 0; i < nodeID.length; i++) {
-                if (network.body.data.nodes.get(nodeID[i]).image == DIR + transceiverJSON.h_image || network.body.data.nodes.get(nodeID[i]).image == DIR + transceiverJSON.fh_image) {
-                    var id = nodeID[i];
-                    var label = $("#txtTransceiverName").val().trim();
-                    var nodeDetails = network.body.data.nodes.get(id);
-                    var transceiverType = $("#ddlTransceiverType").val();
-                    if (transceiverType == null || transceiverType == "") {
-                        showMessage(alertType.Error, 'Please select transceiver type');
-                        $("#ddlTransceiverType").addClass('input_error');
-                        return;
-                    }
-                    else
-                        $("#ddlTransceiverType").removeClass('input_error');
-
-
-                    var connectedEdges = network.getConnectedEdges(id);
-                    var fromTransType = "";
-                    var toTransType = "";
-                    var isOk = true;
-                    $.each(connectedEdges, function (index, item) {
-
-                        if (!isOk)
-                            return;
-                        var edgeDetails = network.body.data.edges.get(item);
-                        if (edgeDetails.component_type == serviceJSON.component_type) {
-                            if (edgeDetails.from == id) {
-
-                                fromTransType = transceiverType;
-                                toTransType = network.body.data.nodes.get(edgeDetails.to).transceiver_type;
-                            }
-                            else if (edgeDetails.to == id) {
-                                toTransType = transceiverType;
-                                fromTransType = network.body.data.nodes.get(edgeDetails.from).transceiver_type;
-                            }
-
-                            if (toTransType != fromTransType) {
-                                isOk = false;
-                                showMessage(alertType.Error, serviceJSON.component_type + " can be created/updated only between " + transceiverJSON.node_type + " of same type");
-                                return;
-                            }
-                        }
-
-                    });
-
-                    if (isOk) {
-                        if (nodeDetails.node_type == transceiverJSON.node_type) {
-
-                            if (nodeID.length > 1) {
-
-                                preUpdateList.push(network.body.data.nodes.get(id));
-                                network.body.data.nodes.update({
-                                    id: id, transceiver_type: transceiverType
-                                });
-                                realUpdate_Transceiver(id, "");
-                                var tdata = network.body.data.nodes.get(id);
-                                removeNodeList.push(tdata);
-
-                            } else {
-                                network.body.data.nodes.update({
-                                    id: id, label: label, transceiver_type: transceiverType
-                                });
-                                realUpdate_Transceiver(id, "");
-                                var tdata = network.body.data.nodes.get(id);
-                                tdata.isUpdate = true;
-                                tempUndo.push(tdata);
-                            }
-                        }
-                    }
-
-                }
-            }
-
-            if (removeNodeList.length > 0) {
-                var updateList = {
-                    isMultiple: true,
-                    isUpdate: true,
-                    preList: preUpdateList,
-                    list: removeNodeList
-                }
-                tempUndo.push(updateList);
-            }
-        }
-        else {
-            var id = nodeID[nodeID.length - 1];
-            var label = $("#txtTransceiverName").val().trim();
-            var nodeDetails = network.body.data.nodes.get(id);
-            var transceiverType = $("#ddlTransceiverType").val();
-            if (transceiverType == null || transceiverType == "") {
-                showMessage(alertType.Error, 'Please select transceiver type');
-                $("#ddlTransceiverType").addClass('input_error');
-                return;
-            }
-            else
-                $("#ddlTransceiverType").removeClass('input_error');
-
-
-            var connectedEdges = network.getConnectedEdges(id);
-            var fromTransType = "";
-            var toTransType = "";
-            var isOk = true;
-            $.each(connectedEdges, function (index, item) {
-
-                if (!isOk)
-                    return;
-                var edgeDetails = network.body.data.edges.get(item);
-                if (edgeDetails.component_type == serviceJSON.component_type) {
-                    if (edgeDetails.from == id) {
-
-                        fromTransType = transceiverType;
-                        toTransType = network.body.data.nodes.get(edgeDetails.to).transceiver_type;
-                    }
-                    else if (edgeDetails.to == id) {
-                        toTransType = transceiverType;
-                        fromTransType = network.body.data.nodes.get(edgeDetails.from).transceiver_type;
-                    }
-
-                    if (toTransType != fromTransType) {
-                        isOk = false;
-                        showMessage(alertType.Error, serviceJSON.component_type + " can be created/updated only between " + transceiverJSON.node_type + " of same type");
-                        return;
-                    }
-                }
-
-            });
-
-            if (isOk) {
-                if (nodeDetails.node_type == transceiverJSON.node_type) {
-
-                    if (nodeID.length > 1) {
-
-                        network.body.data.nodes.update({
-                            id: id, transceiver_type: transceiverType
-                        });
-                        realUpdate_Transceiver(id, "");
-
-                    } else {
-                        network.body.data.nodes.update({
-                            id: id, label: label, transceiver_type: transceiverType
-                        });
-                        realUpdate_Transceiver(id, "");
-                    }
-
-                    var tdata = network.body.data.nodes.get(id);
-                    tdata.isUpdate = true;
-                    tempUndo.push(tdata);
-                }
-            }
-        }
-        clearTransceiver();
-    }
-
-}
-
-/** Clear input/teporary data and other settings. */
-function clearTransceiver() {
-    $("#txtTransceiverName").val('');
-    $("#ddlTransceiverType").val('');
-    $("#ddlDataRate").val('');
-    closeDrawer('transceiver');
-    UnSelectAll();
-}
-
-/**
- * Check Transceiver component rules and update check-errors summary.
- * @param {string} id - The ID of Transceiver component.
- * @param {string} rtype - The type of Transceiver component.
- */
-function realUpdate_Transceiver(id, rtype) {
-    var connectedEges = network.getConnectedEdges(id);
-    var tempEdge = [];
-    $.each(connectedEges, function (index, item) {
-        if (network.body.data.edges.get(item).component_type != serviceJSON.component_type) {
-            tempEdge.push(item);
-        }
-    });
-
-    var fromCount = 0;
-    var toCount = 0;
-    for (i = 0; i < tempEdge.length; i++) {
-        edgeDetails = network.body.data.edges.get(tempEdge[i]);
-        if (edgeDetails.from == id)
-            fromCount++;
-        else if (edgeDetails.to == id)
-            toCount++;
-    }
-
-    if (fromCount != toCount || (fromCount == 0 && toCount == 0)) {
-        //addNodeHighlight(item);
-        removeID = "#spanTF" + id.replace(/\s/g, '');
-        $(removeID).remove();
-    }
-    else {
-        removeSpanInError(id, true);
-    }
-}
-
-function deleteNode(nodeList) {
-    removeNodeList = [];
-    var h_image;
-    for (var i = 0; i < nodeList.length; i++) {
-        if (nodeList.length > 1) {
-            h_image = network.body.data.nodes.get(nodeList[i]).image;
-
-            if (h_image == DIR + roadmJSON.h_image || h_image == DIR + roadmJSON.fh_image)
-                removeNodes(nodeList[i], true);
-            else if (h_image == DIR + fusedJSON.h_image || h_image == DIR + fusedJSON.fh_image)
-                removeNodes(nodeList[i], true);
-            else if (h_image == DIR + transceiverJSON.h_image || h_image == DIR + transceiverJSON.fh_image)
-                removeNodes(nodeList[i], true);
-            else if (h_image == DIR + amplifierJSON.h_image || h_image == DIR + amplifierJSON.fh_image)
-                removeNodes(nodeList[i], true);
-            else if (h_image == DIR + ramanampJSON.h_image || h_image == DIR + ramanampJSON.fh_image)
-                removeNodes(nodeList[i], true);
-        }
-        else {
-            removeNodes(nodeList[i]);
-        }
-    }
-
-    if (nodeList.length > 1 && removeNodeList.length > 0) {
-        var reList = {
-            isMultiple: true,
-            isUpdate: false,
-            list: removeNodeList
-        }
-        tempUndo.push(reList);
-    }
-
-    $("#stepCreateTopology").click();
-    UnSelectAll();
-
-}
-
-/**
- * Remove node by node ID.
- * @param {string} nodeID - Component ID.
- * @param {boolean} isMultiple - Remove multiple node.
- */
-function removeNodes(nodeID, isMultiple) {
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-    var node_type = nodeDetails.node_type;
-    if (nodeDetails.node_type == ILAJSON.node_type)
-        node_type = nodeDetails.amp_category;
-
-    document.getElementById("roadmMenu").style.display = "none";
-    document.getElementById("attenuatorMenu").style.display = "none";
-    document.getElementById("ILAMenu").style.display = "none";
-    document.getElementById("amplifierMenu").style.display = "none";
-    document.getElementById("transceiverMenu").style.display = "none";
-
-    if (nodeDetails.node_type == transceiverJSON.node_type || nodeDetails.node_type == roadmJSON.node_type) {
-        removeSpanInError(nodeID);
-        removeSpanInError(nodeID, true);
-    }
-    else if (nodeDetails.node_type == amplifierJSON.node_type) {
-        if (nodeDetails.amp_category == amplifierJSON.amp_category) {
-            removeSpanInError(nodeID);
-            removeSpanInError(nodeID, true);
-        }
-        if (nodeDetails.amp_category == ramanampJSON.amp_category) {
-            removeSpanInError(nodeID);
-            removeSpanInError(nodeID, true);
-            removeSpanInError(nodeID, true);
-        }
-    }
-    else
-        removeSpanInError(nodeID);
-
-    if (isMultiple) {
-        removeNodeList.push(nodeDetails);
-    }
-    else {
-        nodeDetails.isDelete = true;
-        nodeDetails.isUpdate = false;
-        tempUndo.push(nodeDetails);
-    }
-
-    if (isCopyPara) {
-        if (nodeID == copiedNodeID) {
-            isCopyPara = false;
-            copiedNodeID = "";
-        }
-    }
-    else if (isCopy) {
-        if (nodeID == copyID) {
-            isCopy = false;
-            copyID = "";
-        }
-    }
-
-    network.body.data.nodes.remove(nodeID);
-}
-
-/**
- * Bind pasteNode method.
- * Copy node parameters by selected node ID
- * @param {string} nodeID - Component ID.
- * @param callback - The callback that handles the response.
- */
-function copyNode(nodeID, callback) {
-    showHideDrawerandMenu();
-    isCopy = true;
-    copyID = nodeID;
-    document.getElementById("btnPasteNode").onclick = pasteNode.bind(
-        this,
-        nodeID,
-        callback
-
-    );
-}
-
-/**
- * Create new node by copied node parameters.
- * Node will be placed based on co-ordidates.
- * @param {string} nodeId - Copied node ID.
- */
-function pasteNode(nodeId) {
-    if (isCopy) {
-        isCopy = false;
-        var nodeID = token();
-        var nodeData = "";
-        nodeData = network.body.data.nodes.get(nodeId);
-        var nodeDetails = configData.node[nodeData.node_type];
-        var node_type = nodeData.node_type;
-        var result = nodeName(node_type, nodeData.amp_category);
-        nodelength = result.nodeLength
-        nodeLabel = result.label
-        if (node_type == roadmJSON.node_type) {
-            network.body.data.nodes.add({
-                id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + roadmJSON.w_image, number: nodelength,
-                shape: roadmJSON.shape, color: roadmJSON.color,
-                font: roadmJSON.font,
-                size: roadmJSON.size,
-                view: $("#ddlNetworkView").val(), hidden: false,
-                roadm_type: nodeData.roadm_type,
-                node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: roadmJSON.component_type,
-                roadm_type_pro: []
-            });
-        }
-        else if (node_type == fusedJSON.node_type) {
-            network.body.data.nodes.add({
-                id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + fusedJSON.w_image, number: nodelength,
-                shape: fusedJSON.shape, color: fusedJSON.color,
-                size: fusedJSON.size,
-                view: $("#ddlNetworkView").val(), hidden: false,
-                node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: fusedJSON.component_type,
-            });
-        }
-        else if (node_type == transceiverJSON.node_type) {
-            network.body.data.nodes.add({
-                id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + transceiverJSON.w_image, number: nodelength,
-                shape: transceiverJSON.shape, color: transceiverJSON.color,
-                size: transceiverJSON.size,
-                view: $("#ddlNetworkView").val(), hidden: false,
-                node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: transceiverJSON.component_type,
-                transceiver_type: nodeData.transceiver_type
-            });
-        }
-        else if (node_type == ILAJSON.node_type) {
-
-            if (nodeData.amp_category == ILAJSON.amp_category) {
-                network.body.data.nodes.add({
-                    id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + ILAJSON.w_image, number: nodelength,
-                    shape: ILAJSON.shape, color: ILAJSON.color,
-                    size: ILAJSON.size,
-                    view: $("#ddlNetworkView").val(), hidden: false,
-                    node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: ILAJSON.component_type,
-                    pre_amp_type: nodeData.pre_amp_type, booster_type: nodeData.booster_type, amp_category: nodeData.amp_category
-                });
-            }
-            else if (nodeData.amp_category == amplifierJSON.amp_category) {
-                network.body.data.nodes.add({
-                    id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + amplifierJSON.w_image, number: nodelength,
-                    shape: amplifierJSON.shape, color: amplifierJSON.color,
-                    size: amplifierJSON.size,
-                    view: $("#ddlNetworkView").val(), hidden: false,
-                    node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: amplifierJSON.component_type,
-                    amp_type: nodeData.amp_type, amp_category: nodeData.amp_category
-                });
-            }
-            else if (nodeData.amp_category == ramanampJSON.amp_category) {
-                network.body.data.nodes.add({
-                    id: nodeID, label: nodeLabel, x: insertNodeX, y: insertNodeY, image: DIR + ramanampJSON.w_image, number: nodelength,
-                    shape: ramanampJSON.shape, color: ramanampJSON.color,
-                    size: ramanampJSON.size,
-                    view: $("#ddlNetworkView").val(), hidden: false,
-                    node_type: nodeDetails.default.node_type, node_degree: nodeDetails.default.node_degree, component_type: ramanampJSON.component_type,
-                    amp_type: nodeData.amp_type, amp_category: nodeData.amp_category, category: nodeData.category
-                });
-            }
-        }
-
-        realUpdate();
-        document.getElementById("pasteMenu").style.display = "none";
-        UnSelectAll();
-        $("#stepCreateTopology").click();
-        tempUndo.push(network.body.data.nodes.get(nodeID));
-    }
-}
-
-/**
- * Copy node template by selected node ID.
- * Validate the node template by type, category
- * @param {string} nodeID - The ID of Copied node template.
- * @param callback - The callback that handles the response.
- */
-function copyNodeTemplate(nodeID, callback) {
-    var isOk = false;
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-    if (nodeDetails.node_type == roadmJSON.node_type) {
-        if (!nodeDetails.roadm_type && nodeDetails.roadm_type == "")
-            isOk = true;
-
-    }
-    if (nodeDetails.node_type == transceiverJSON.node_type) {
-        if (!nodeDetails.transceiver_type && nodeDetails.transceiver_type == "")
-            isOk = true;
-    }
-    if (nodeDetails.node_type == amplifierJSON.node_type) {
-        if (nodeDetails.amp_category == amplifierJSON.amp_category) {
-            if (!nodeDetails.amp_type && nodeDetails.amp_type == "")
-                isOk = true;
-        }
-        else if (nodeDetails.amp_category == ramanampJSON.amp_category) {
-            if ((!nodeDetails.amp_type && nodeDetails.amp_type == "") || (!nodeDetails.category && nodeDetails.category == ""))
-                isOk = true;
-        }
-    }
-
-    if (isOk) {
-        showMessage(alertType.Error, "Template is empty");
-        return;
-    }
-    showHideDrawerandMenu();
-    isCopyPara = true;
-    copiedNodeID = nodeID;
-}
-function cancelCopyTemplate(nodeId) {
-    clearNodeTemplate();
-}
-
-/**
- * Apply copied template to specified ROADM node.
- * Check node rules and update check-errors summary.
- * @param {string} nodeID - The ID of the destination node.
- * @param {string} roadm_type - Coponent type.
- */
-function applyRoadmTemplate(nodeID, roadm_type) {
-    network.body.data.nodes.update({
-        id: nodeID, roadm_type: roadm_type
-    });
-    realUpdate_Roadm(nodeID, roadm_type);
-}
-
-/**
- * Apply copied template to specified Transceiver node.
- * Check node rules and update check-errors summary.
- * @param {string} nodeID - The ID of the destination node.
- * @param {string} node_type - Node type.
- * @param {string} trans_type - Transceiver type.
- */
-function applyTransceiverTemplate(nodeID, node_type, trans_type) {
-    var id = nodeID;
-    var connectedEdges = network.getConnectedEdges(id);
-    var fromTransType = "";
-    var toTransType = "";
-    var isOk = true;
-    transceiverType = trans_type;
-    $.each(connectedEdges, function (index, item) {
-
-        if (!isOk)
-            return;
-        var edgeDetails = network.body.data.edges.get(item);
-        if (edgeDetails.component_type == serviceJSON.component_type) {
-            if (edgeDetails.from == id) {
-
-                fromTransType = transceiverType;
-                toTransType = network.body.data.nodes.get(edgeDetails.to).transceiver_type;
-            }
-            else if (edgeDetails.to == id) {
-                toTransType = transceiverType;
-                fromTransType = network.body.data.nodes.get(edgeDetails.from).transceiver_type;
-            }
-
-            if (toTransType != fromTransType) {
-                isOk = false;
-                showMessage(alertType.Error, serviceJSON.component_type + " can be created/updated only between " + transceiverJSON.node_type + " of same type");
-                return;
-            }
-        }
-
-    });
-
-    if (isOk) {
-        if (node_type == transceiverJSON.node_type) {
-
-            network.body.data.nodes.update({
-                id: id, transceiver_type: transceiverType
-            });
-            realUpdate_Transceiver(id, transceiverType);
-
-
-        }
-    }
-    return isOk;
-}
-/// <summary>
-/// To apply copied template to specified Amplifier node.
-/// Apply node rules.
-/// </summary>
-function applyAmpTemplate(nodeID, amp_type) {
-    network.body.data.nodes.update({
-        id: nodeID, amp_type: amp_type
-    });
-    realUpdate_Amplifier(nodeID, amp_type);
-}
-/// <summary>
-/// To apply copied template to specified Raman Amplifier node.
-/// Apply node rules.
-/// </summary>
-function applyRamanAmpTemplate(nodeID, amp_type, category) {
-    network.body.data.nodes.update({
-        id: nodeID, amp_type: amp_type, category: category
-    });
-    realUpdate_RamanAmp(nodeID, amp_type);
-
-}
-
-/**
- * Apply copied template to specified node.
- * Apply node rules.
- * @param {object} nodes - Selected destination nodes for apply template.
- * @param callback - The callback that handles the response.
- */
-function applyTemplate(nodes, callback) {
-    var isUpdated = false;
-    if (isCopyPara) {
-        var nodeDetails = network.body.data.nodes.get(copiedNodeID);
-        var preUpdateList = [];
-        removeNodeList = [];
-        for (var i = 0; i < nodes.length; i++) {
-            if (nodeDetails.node_type == roadmJSON.node_type && network.body.data.nodes.get(nodes[i]).node_type == nodeDetails.node_type) {
-                if (nodes.length > 1) {
-                    if (network.body.data.nodes.get(nodes[i]).image == DIR + roadmJSON.h_image || network.body.data.nodes.get(nodes[i]).image == DIR + roadmJSON.fh_image) {
-                        preUpdateList.push(network.body.data.nodes.get(nodes[i]));
-                        applyRoadmTemplate(nodes[i], nodeDetails.roadm_type);
-                        removeNodeList.push(network.body.data.nodes.get(nodes[i]));
-                    }
-                }
-                else {
-                    applyRoadmTemplate(nodes[i], nodeDetails.roadm_type);
-                    var tdata = network.body.data.nodes.get(nodes[i]);
-                    tdata.isUpdate = true;
-                    tempUndo.push(tdata);
-                }
-                isUpdated = true;
-
-            }
-            else if (nodeDetails.node_type == transceiverJSON.node_type && network.body.data.nodes.get(nodes[i]).node_type == nodeDetails.node_type) {
-                if (nodes.length > 1) {
-                    if (network.body.data.nodes.get(nodes[i]).image == DIR + transceiverJSON.h_image || network.body.data.nodes.get(nodes[i]).image == DIR + transceiverJSON.fh_image) {
-                        var temptrans = network.body.data.nodes.get(nodes[i]);
-                        isUpdated = applyTransceiverTemplate(nodes[i], nodeDetails.node_type, nodeDetails.transceiver_type);
-                        if (isUpdated) {
-                            preUpdateList.push(temptrans);
-                            removeNodeList.push(network.body.data.nodes.get(nodes[i]));
-                        }
-                    }
-                }
-                else {
-                    isUpdated = applyTransceiverTemplate(nodes[i], nodeDetails.node_type, nodeDetails.transceiver_type);
-                    var tdata = network.body.data.nodes.get(nodes[i]);
-                    tdata.isUpdate = true;
-                    tempUndo.push(tdata);
-                }
-            }
-            if (nodeDetails.node_type == amplifierJSON.node_type && network.body.data.nodes.get(nodes[i]).node_type == nodeDetails.node_type) {
-                if (nodeDetails.amp_category == amplifierJSON.amp_category && nodeDetails.amp_category == network.body.data.nodes.get(nodes[i]).amp_category) {
-                    if (nodes.length > 1) {
-                        if (network.body.data.nodes.get(nodes[i]).image == DIR + amplifierJSON.h_image || network.body.data.nodes.get(nodes[i]).image == DIR + amplifierJSON.fh_image) {
-                            preUpdateList.push(network.body.data.nodes.get(nodes[i]));
-                            applyAmpTemplate(nodes[i], nodeDetails.amp_type);
-                            removeNodeList.push(network.body.data.nodes.get(nodes[i]));
-                        }
-                    }
-                    else {
-                        applyAmpTemplate(nodes[i], nodeDetails.amp_type);
-                        var tdata = network.body.data.nodes.get(nodes[i]);
-                        tdata.isUpdate = true;
-                        tempUndo.push(tdata);
-                    }
-                    isUpdated = true;
-                }
-                else if (nodeDetails.amp_category == ramanampJSON.amp_category && nodeDetails.amp_category == network.body.data.nodes.get(nodes[i]).amp_category) {
-                    if (nodes.length > 1) {
-                        if (network.body.data.nodes.get(nodes[i]).image == DIR + ramanampJSON.h_image || network.body.data.nodes.get(nodes[i]).image == DIR + ramanampJSON.fh_image) {
-                            preUpdateList.push(network.body.data.nodes.get(nodes[i]));
-                            applyRamanAmpTemplate(nodes[i], nodeDetails.amp_type, nodeDetails.category);
-                            removeNodeList.push(network.body.data.nodes.get(nodes[i]));
-                        }
-                    }
-                    else {
-                        applyRamanAmpTemplate(nodes[i], nodeDetails.amp_type, nodeDetails.category);
-                        var tdata = network.body.data.nodes.get(nodes[i]);
-                        tdata.isUpdate = true;
-                        tempUndo.push(tdata);
-                    }
-
-                    isUpdated = true;
-                }
-            }
-        }
-
-        if (removeNodeList.length > 0) {
-            var updateList = {
-                isMultiple: true,
-                isUpdate: true,
-                preList: preUpdateList,
-                list: removeNodeList
-            }
-            tempUndo.push(updateList);
-        }
-        clearNodeTemplate();
-    }
-}
-
-/** Reset the copied template data. */
-function clearNodeTemplate() {
-    isCopyPara = false;
-    copiedNodeID = "";
-    UnSelectAll();
-    $('#toast').toast('hide');
-    document.getElementById("templateMenu").style.display = "none";
-    $("#stepCreateTopology").click();
-    remove_NodeFiberHighlight();
-}
-
-/**
- * Displays node name, type parameter when hover the mouse near the node.
- * @param {object} params - Node details.
- */
-function displayNodesHover(params) {
-    var nodeDetails = network.body.data.nodes.get(params.node);
-    if (nodeDetails.component_type == roadmJSON.component_type) {
-
-        if (nodeDetails.node_type == roadmJSON.node_type) {
-            hoverNodeData = "Node type : " + nodeDetails.node_type.toUpperCase() + "\nNode name : " + nodeDetails.label + "\n";
-        }
-        else if (nodeDetails.node_type == fusedJSON.node_type) {
-            hoverNodeData = "Node type : Attenuator \nNode name : " + nodeDetails.label + "\n";
-        }
-        else if (nodeDetails.node_type == amplifierJSON.node_type) {
-            hoverNodeData = "Node type : " + nodeDetails.amp_category + "\nNode name : " + nodeDetails.label + "\n";
-        }
-        else
-            hoverNodeData = "Node type : " + nodeDetails.node_type + "\nNode name : " + nodeDetails.label + "\n";
-    }
-
-    $('#hoverDiv').html(htmlTitle(hoverNodeData));
-    showHoverDiv(params.event.pageX, params.event.pageY, "hoverDiv");
-}
-
-/**
- * Get next level of node label name by node type/amplifer category.
- * @param {string} node_type - Node type.
- * @param {string} amp_category - Amplifier category.
- */
-function nodeName(node_type, amp_category) {
-    const number = [];
-    var nodeList = [];
-    var nodeCount = 1;
-    var labelName = "";
-    var nodeDetails;
-
-    if (amp_category)
-        nodeDetails = configData.node[amp_category];
-    else
-        nodeDetails = configData.node[node_type];
-
-    if ($("#ddlNetworkView").val() == topologyView.Functional_View) {
-        labelName = nodeDetails.default.FV_label;
-        if (amp_category) {
-
-            if (node_type == ramanampJSON.amp_category) {
-                nodeList = network.body.data.nodes.get({
-                    filter: function (item) {
-                        return (item.node_type == ramanampJSON.node_type && item.amp_category == amp_category && item.view == topologyView.Functional_View);
-                    }
-                });
-            }
-            else {
-                nodeList = network.body.data.nodes.get({
-                    filter: function (item) {
-                        return (item.node_type == node_type && item.amp_category == amp_category && item.view == topologyView.Functional_View);
-                    }
-                });
-            }
-        }
-        else {
-            nodeList = network.body.data.nodes.get({
-                filter: function (item) {
-                    return (item.node_type == node_type && item.view == topologyView.Functional_View);
-                }
-            });
-        }
-    }
-    else if ($("#ddlNetworkView").val() == topologyView.NE_View) {
-        labelName = nodeDetails.default.label;
-        if (node_type == transceiverJSON.node_type) {
-            nodeList = network.body.data.nodes.get({
-                filter: function (item) {
-                    return (item.node_type == transceiverJSON.node_type && item.view == topologyView.NE_View);
-                }
-            });
-        }
-        else {
-            nodeList = network.body.data.nodes.get({
-                filter: function (item) {
-                    return (item.node_type != transceiverJSON.node_type && item.view == topologyView.NE_View);
-                }
-            });
-        }
-    }
-
-    $.each(nodeList, function (index, item) {
-        var splitName = item.label.split(' ');
-        var checkNumber = Number(splitName[splitName.length - 1]);
-        if (checkNumber)
-            number.push(checkNumber);
-    });
-
-    if (number.length > 0)
-        nodeCount = number.sort((f, s) => f - s)[number.length - 1] + 1;
-
-    return { label: labelName + nodeCount, nodeLength: nodeCount };
-
-}
-
-/**
- * Set warning icons to imcompleted node by node ID.
- * Update node size, image by node ID.
- * @param {string} nodeID - Node ID.
- */
-function addNodeHighlight(nodeID) {
-    var nodeDetails = network.body.data.nodes.get(nodeID);
-    if (nodeDetails.node_type == roadmJSON.node_type)
-        image = roadmJSON.w_image;
-    else if (nodeDetails.node_type == fusedJSON.node_type)
-        image = fusedJSON.w_image;
-    else if (nodeDetails.node_type == transceiverJSON.node_type)
-        image = transceiverJSON.w_image;
-    else if (nodeDetails.amp_category == amplifierJSON.amp_category)
-        image = amplifierJSON.w_image;
-    else if (nodeDetails.amp_category == ramanampJSON.amp_category)
-        image = ramanampJSON.w_image;
-
-    network.body.data.nodes.update([{ id: nodeID, size: roadmJSON.size, image: DIR + image }]);
-}
-
-
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 15:49:42 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/patch.js.html b/docs/patch.js.html deleted file mode 100644 index 49ccd1a..0000000 --- a/docs/patch.js.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - JSDoc: Source: patch.js - - - - - - - - - - -
- -

Source: patch.js

- - - - - - -
-
-
 /**
- * patch module
- * @module patch
- */
-
-/**
- * patch.js
- * The patch library describes to add a patch connection between any 2 nodes by dragging from source node to destination and defines the patch manipulation.
- */
-
-var isDualPatchMode = 0;
-var isSinglePatchMode = 0;
-var addPatchData = {
-    from: '',
-    to: ''
-};
-function dualPatchMode() {
-    UnSelectAll();
-    isDualPatchMode = 1;
-    isSinglePatchMode = 0;
-    isAddService = 0;
-    isDualFiberMode = 0;
-    isSingleFiberMode = 0;
-    addPatchData = {
-        from: '',
-        to: ''
-    };
-}
-
-/**
- * Enable settings for patch and reset other settings.
- * Set patch 1 = enable, 0 = disable.
- */
-function singlePatchMode() {
-    UnSelectAll();
-    isDualPatchMode = 0;
-    isSinglePatchMode = 1;
-    isAddService = 0;
-    isDualFiberMode = 0;
-    isSingleFiberMode = 0;
-    addPatchData = {
-        from: '',
-        to: ''
-    };
-}
-function addDualPatch() {
-
-    var fromDetails = network.body.data.nodes.get(addPatchData.from);
-    var toDetails = network.body.data.nodes.get(addPatchData.to);
-    if ((fromDetails.node_type == transceiverJSON.node_type && toDetails.node_type == roadmJSON.node_type) || (fromDetails.node_type == roadmJSON.node_type && toDetails.node_type == transceiverJSON.node_type)) {
-
-        var labelvalue = dualPatchJSON.component_type + ' ' + network.body.data.nodes.get(addPatchData.from).number + ' - ' + network.body.data.nodes.get(addPatchData.to).number;
-        addPatchComponent(1, addPatchData.from, addPatchData.to, labelvalue, labelvalue, false);
-    }
-    else {
-        showMessage(alertType.Error, "The " + dualPatchJSON.component_type + " should be between " + transceiverJSON.node_type + " and " + roadmJSON.node_type + " sites");
-    }
-    addPatchData = {
-        from: '',
-        to: ''
-    };
-    UnSelectAll();
-    network.addEdgeMode();
-
-}
-function addSinglePatch() {
-
-    var labelvalue = getLabel(addPatchData.from, addPatchData.to, singlePatchJSON.component_type);
-    addPatchComponent(1, addPatchData.from, addPatchData.to, labelvalue, labelvalue, false);
-    addPatchData = {
-        from: '',
-        to: ''
-    };
-    UnSelectAll();
-    network.addEdgeMode();
-}
-
-/**
- * Patch creation.
- * Patch style and configuration data loaded from configurationdata, styledata json.
- * @param {number} cmode - Service mode 1 for add.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- * @param {string} clabel - The Label of the service.
- * @param {string} ctext - The Text of the service.
- * @param {boolean} isImport - false -> manual add, true -> automattically added while import json.
- */
-function addPatchComponent(cmode, cfrom, cto, clabel, ctext, isImport) {
-
-    if (cmode == 1) {
-        var patchID = token();
-        if (!isImport)
-            clabel = countFiberService(false, false, false, true, cfrom, cto) + '-' + clabel;
-
-        elabel = clabel;
-
-        if (isSinglePatchMode == 1) {
-            var flag = false;
-            var message = [];
-            var response = nodeRule(cfrom, cto, amplifierJSON.node_type);
-            if (response.flag) {
-                flag = true
-                message.push(response.message);
-            }
-
-            response = nodeRule(cfrom, cto, fusedJSON.node_type);
-            if (response.flag) {
-                flag = true;
-                message.push(response.message);
-            }
-
-            if (flag) {
-                showMessage(alertType.Error, message.join('. <br /><br /> '));
-                return;
-            }
-
-            network.body.data.edges.add({
-                id: patchID, from: cfrom, to: cto, label: elabel, text: clabel,
-                dashes: singlePatchJSON.dashes, width: singlePatchJSON.width,
-                component_type: singlePatchJSON.component_type, patch_category: singlePatchJSON.patch_category,
-                color: singlePatchJSON.options.color, background: singlePatchJSON.options.background,
-                arrows: singlePatchJSON.options.arrows,
-                smooth: singlePatchJSON.options.smooth,
-                view: topologyView.Functional_View, hidden: false,
-            });
-
-            nodeValidationInEdge(cfrom, cto);
-        }
-        if (isDualPatchMode == 1) {
-            //we cannot add more than 1 patch
-            isPatchAdded = false;
-            var connectedFiber = network.getConnectedEdges(cfrom);
-            connectedFiber.push(network.getConnectedEdges(cto));
-            $.each(connectedFiber, function (index, item) {
-                var fiberDetails = network.body.data.edges.get(item);
-                if (fiberDetails.component_type == dualPatchJSON.component_type) {
-                    if ((fiberDetails.from == cfrom && fiberDetails.to == cto) || (fiberDetails.from == cto && fiberDetails.to == cfrom)) {
-                        isPatchAdded = true;
-                        return true;
-                    }
-                }
-            });
-
-            if (isPatchAdded && !isImport) {
-                showMessage(alertType.Error, 'We cannot add more than 1 ' + dualPatchJSON.patch_category);
-                return;
-            }
-            //end
-            network.body.data.edges.add({
-                id: patchID, from: cfrom, to: cto, label: elabel, text: ctext,
-                dashes: dualPatchJSON.dashes, width: dualPatchJSON.width,
-                component_type: dualPatchJSON.component_type, patch_category: dualPatchJSON.patch_category,
-                color: dualPatchJSON.options.color, background: dualPatchJSON.options.background,
-                arrows: dualPatchJSON.options.arrows,
-                smooth: dualPatchJSON.options.smooth,
-                view: topologyView.NE_View, hidden: false,
-            });
-        }
-        multipleFiberService(cfrom, cto);
-        var tedge = network.body.data.edges.get(patchID);
-        tedge.isUpdate = false;
-        tempUndo.push(tedge);
-    }
-}
-
-/**
- * Populate patch details by patch ID.
- * @param {string} patchID - Patch ID.
- * @param callback - The callback that handles the response.
- */
-function singlePatchEdit(patchID, callback) {
-    document.getElementById("singlePatchMenu").style.display = "none";
-    var edgeDetails = network.body.data.edges.get(patchID);
-    $("#txtSinglePatchName").val(edgeDetails.text);
-    openDrawer('singlepatch');
-    document.getElementById("btnUpdateSinglePatch").onclick = updateSinglePatch.bind(
-        this,
-        patchID,
-        callback
-    );
-    document.getElementById("btnCloseSinglePatch").onclick = clearSinglePatch.bind(
-    );
-}
-
-/**
- * Update patch.
- * Update patch label, text by patch ID.
- * @param {string} patchID - patch ID.
- */
-function updateSinglePatch(patchID) {
-
-    var id = patchID;
-    var label = $("#txtSinglePatchName").val().trim();
-    var patchDetails = network.body.data.edges.get(patchID);
-    if (nameLengthValidation("txtSinglePatchName")) {
-
-        var elabel = "";
-        elabel = label;
-        if (patchDetails.component_type == dualPatchJSON.component_type) {
-            network.body.data.edges.update({
-                id: id, label: elabel, text: label
-            });
-            multipleFiberService(patchDetails.from, patchDetails.to);
-            var tdata = network.body.data.edges.get(id);
-            tdata.isUpdate = true;
-            tempUndo.push(tdata);
-            clearSinglePatch();
-        }
-
-    }
-
-}
-
-/**
- * Remove patch by patch ID.
- * @param {string} patchID - patch ID.
- */
-function deletePatch(patchID) {
-    var patchDetails = network.body.data.edges.get(patchID);
-    var patchLabel = patchDetails.label;
-    if (patchDetails.label.trim() == "")
-        patchLabel = patchDetails.text
-
-    if (checkFiberPatchServiceCon(patchDetails.from, patchDetails.to, patchDetails.component_type))
-        return;
-    document.getElementById("singlePatchMenu").style.display = "none";
-    document.getElementById("dualPatchMenu").style.display = "none";
-    var patchd = network.body.data.edges.get(patchID);
-    network.body.data.edges.remove(patchID);
-    multipleFiberService(patchDetails.from, patchDetails.to);
-    nodeValidationInEdge(patchDetails.from, patchDetails.to);
-    patchd.isDelete = true;
-    patchd.isUpdate = false;
-    tempUndo.push(patchd);
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-
-/** Clear input/teporary data and other settings. */
-function clearSinglePatch() {
-
-    $("#txtSinglePatchName").val('');
-    closeDrawer('singlepatch');
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-function dualPatchEdit(patchID, callback) {
-    document.getElementById("dualPatchMenu").style.display = "none";
-    var edgeDetails = network.body.data.edges.get(patchID);
-    $("#txtDualPatchName").val(edgeDetails.text);
-    openDrawer('dualpatch');
-    document.getElementById("btnUpdateDualPatch").onclick = updateDualPatch.bind(
-        this,
-        patchID,
-        callback
-    );
-    document.getElementById("btnCloseDualPatch").onclick = clearDualPatch.bind(
-    );
-}
-function updateDualPatch(patchID) {
-
-    var id = patchID;
-    var label = $("#txtDualPatchName").val().trim();
-    var patchDetails = network.body.data.edges.get(patchID);
-
-    if (nameLengthValidation("txtDualPatchName")) {
-
-        if (patchDetails.component_type == dualPatchJSON.component_type) {
-
-            var elabel = "";
-            elabel = label;
-            network.body.data.edges.update({
-                id: id, label: elabel, text: label
-            });
-            multipleFiberService(patchDetails.from, patchDetails.to);
-            clearDualPatch();
-        }
-
-    }
-
-}
-function clearDualPatch() {
-    $("#txtDualPatchName").val('');
-    closeDrawer('dualpatch');
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 15:49:42 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/scripts/linenumber.js b/docs/scripts/linenumber.js deleted file mode 100644 index 4354785..0000000 --- a/docs/scripts/linenumber.js +++ /dev/null @@ -1,25 +0,0 @@ -/*global document */ -(() => { - const source = document.getElementsByClassName('prettyprint source linenums'); - let i = 0; - let lineNumber = 0; - let lineId; - let lines; - let totalLines; - let anchorHash; - - if (source && source[0]) { - anchorHash = document.location.hash.substring(1); - lines = source[0].getElementsByTagName('li'); - totalLines = lines.length; - - for (; i < totalLines; i++) { - lineNumber++; - lineId = `line${lineNumber}`; - lines[i].id = lineId; - if (lineId === anchorHash) { - lines[i].className += ' selected'; - } - } - } -})(); diff --git a/docs/scripts/prettify/Apache-License-2.0.txt b/docs/scripts/prettify/Apache-License-2.0.txt deleted file mode 100644 index d645695..0000000 --- a/docs/scripts/prettify/Apache-License-2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/docs/scripts/prettify/lang-css.js b/docs/scripts/prettify/lang-css.js deleted file mode 100644 index 041e1f5..0000000 --- a/docs/scripts/prettify/lang-css.js +++ /dev/null @@ -1,2 +0,0 @@ -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", -/^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); diff --git a/docs/scripts/prettify/prettify.js b/docs/scripts/prettify/prettify.js deleted file mode 100644 index eef5ad7..0000000 --- a/docs/scripts/prettify/prettify.js +++ /dev/null @@ -1,28 +0,0 @@ -var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; -(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= -[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), -l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, -q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, -q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, -"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), -a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} -for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], -"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], -H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], -J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ -I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), -["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", -/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), -["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", -hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= -!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p - - - - JSDoc: Source: service.js - - - - - - - - - - -
- -

Source: service.js

- - - - - - -
-
-
/**
- * @file GNPy is a open source optical network planning tool which can be used to simulate multi-vendor open optical networks. Click below to explore the tool.
- * @see <a href="https://tiptool.vee-services.com/">GNPy Optical network planning tool</a>
- */
-
-/**
- * service module
- * @module service
- */
-
-/**
- * service.js
- * The Service it is also same as the connectivity path between 2 transceiver nodes. This library file defines the service manipulation.
- */
-
-var isAddService = 0;
-var addServiceData = {
-    from: '',
-    to: ''
-};
-
-/**
- * Enable settings for service and reset other settings.
- * Set service 1 = enable, 0 = disable.
- */
-function addServiceMode() {
-    UnSelectAll();
-    isAddService = 1;
-    isDualFiberMode = 0;
-    isSingleFiberMode = 0;
-    isSinglePatchMode = 0;
-    isDualPatchMode = 0;
-    addServiceData = {
-        from: '',
-        to: ''
-    };
-}
-
-/** Check service connections rule before add it. */
-function addService() {
-
-    var fromDetails = network.body.data.nodes.get(addServiceData.from);
-    var toDetails = network.body.data.nodes.get(addServiceData.to);
-    var transNode = transceiverJSON.node_type.toString().toLowerCase();
-    //service should be add between only two transceiver
-    if (fromDetails.node_type == transceiverJSON.node_type && toDetails.node_type == transceiverJSON.node_type) {
-        //transceiver force checking
-        if (fromDetails.transceiver_type != "" && toDetails.transceiver_type != "") {
-            //same transceiver type checking
-            if (fromDetails.transceiver_type == toDetails.transceiver_type) {
-                var labelvalue = getLabel(addServiceData.from, addServiceData.to, serviceJSON.component_type);
-                //2 transceiver must have fiber/patch connection
-                if (network.getConnectedEdges(addServiceData.from).length > 0 && network.getConnectedEdges(addServiceData.to).length > 0)
-                    addServiceComponent(1, addServiceData.from, addServiceData.to, labelvalue, false);
-                else
-                    showMessage(alertType.Error, "Source " + roadmJSON.component_type + " : " + fromDetails.label + " ,destination " + roadmJSON.component_type + " : " + toDetails.label + " should have " + dualFiberJSON.component_type + "/" + dualPatchJSON.component_type + " connection");
-            }
-            else
-                showMessage(alertType.Error, serviceJSON.component_type + " can be created only between " + transNode + " of same type");
-        }
-        else
-            showMessage(alertType.Error, serviceJSON.component_type + " can be created only when " + transNode + "s are forced");
-
-    }
-    else {
-        showMessage(alertType.Error, "The " + serviceJSON.component_type + " should be between 2 " + transNode + " sites");
-    }
-    addServiceData = {
-        from: '',
-        to: ''
-    };
-    UnSelectAll();
-
-}
-
-/**
- * Service creation.
- * Service style and configuration data loaded from configurationdata, styledata json.
- * @param {number} cmode - Service mode 1 for add.
- * @param {string} cfrom - Source node ID.
- * @param {string} cto - Destination node ID.
- * @param {string} clabel - The Label of the service.
- * @param {boolean} isImport - false -> manual add, true -> automattically added while import json.
- */
-function addServiceComponent(cmode, cfrom, cto, clabel, isImport) {
-    var serviceID = token();
-    if (cmode == 1) {
-
-        var bandwidth = configData[serviceJSON.component_type].default.band_width;
-        if (isImport)
-            bandwidth = tBandwidth;
-        else
-            clabel = countFiberService(false, false, true, false, cfrom, cto) + '-' + clabel;
-
-        elabel = clabel;
-        var fiberSmooth = multipleFiberService1(cfrom, cto);
-        if (!fiberSmooth)
-            fiberSmooth = fiberJSON.options.smooth;
-        network.body.data.edges.add({
-            id: serviceID, from: cfrom, to: cto, label: elabel, text: clabel, dashes: serviceJSON.dashes, width: serviceJSON.width,
-            component_type: serviceJSON.component_type, color: serviceJSON.options.color, background: serviceJSON.options.background,
-            arrows: serviceJSON.options.arrows,
-            smooth: fiberSmooth,
-            band_width: bandwidth
-        });
-        multipleFiberService(cfrom, cto);
-        var tedge = network.body.data.edges.get(serviceID);
-        tedge.isUpdate = false;
-        tempUndo.push(tedge);
-    }
-    UnSelectAll();
-    network.addEdgeMode();
-}
-
-/**
- * Populate service details by service ID.
- * @param {string} serviceID - Service ID.
- * @param callback - The callback that handles the response.
- */
-function serviceEdit(serviceID, callback) {
-    document.getElementById("serviceMenu").style.display = "none";
-    var edgeDetails = network.body.data.edges.get(serviceID);
-    $("#txtServiceName").val(edgeDetails.text);
-    var connectedNode = network.getConnectedNodes(serviceID);
-    $("#txtServiceSrc").val(network.body.data.nodes.get(connectedNode[0]).label);
-    $("#txtServiceDest").val(network.body.data.nodes.get(connectedNode[1]).label);
-    $("#txtBandwidth").val(edgeDetails.band_width);
-    openDrawer('service');
-    document.getElementById("btnUpdateService").onclick = updateService.bind(
-        this,
-        serviceID,
-        callback
-    );
-    document.getElementById("btnCloseService").onclick = clearService.bind(
-    );
-}
-
-/**
- * Update service.
- * Update service label, text, band_width by service ID.
- * @param {string} serviceID - Service ID.
- */
-function updateService(serviceID) {
-
-    var id = serviceID;
-    var label = $("#txtServiceName").val().trim();
-    var bandwidth = $("#txtBandwidth").val();
-    var serviceDetails = network.body.data.edges.get(serviceID);
-
-    if (nameLengthValidation("txtServiceName")) {
-
-        if (serviceDetails.component_type == serviceJSON.component_type) {
-
-            var elabel = "";
-            elabel = label;
-            network.body.data.edges.update({
-                id: id, label: elabel, text: label, band_width: bandwidth
-            });
-            multipleFiberService(serviceDetails.from, serviceDetails.to);
-            var tdata = network.body.data.edges.get(id);
-            tdata.isUpdate = true;
-            tempUndo.push(tdata);
-
-            clearService();
-        }
-
-    }
-
-}
-
-/**
- * Remove service by service ID.
- * @param {string} serviceID - Service ID.
- */
-function deleteService(serviceID) {
-    var serviceDetails = network.body.data.edges.get(serviceID);
-    document.getElementById("serviceMenu").style.display = "none";
-    var serviced = network.body.data.edges.get(serviceID);
-    network.body.data.edges.remove(serviceID);
-    multipleFiberService(serviceDetails.from, serviceDetails.to);
-    serviced.isDelete = true;
-    serviced.isUpdate = false;
-    tempUndo.push(serviced);
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-
-/** Clear input/teporary data and other settings. */
-function clearService() {
-
-    $("#txtServiceName").val('');
-    $("#txtServiceSrc").val('');
-    $("#txtServiceDest").val('');
-    $("#txtBandwidth").val('');
-    $("#ddlCentralFrq").val('');
-    closeDrawer('service');
-    UnSelectAll();
-    enableEdgeIndicator();
-}
-
-
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 15:49:42 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/styles/jsdoc-default.css b/docs/styles/jsdoc-default.css deleted file mode 100644 index 7d1729d..0000000 --- a/docs/styles/jsdoc-default.css +++ /dev/null @@ -1,358 +0,0 @@ -@font-face { - font-family: 'Open Sans'; - font-weight: normal; - font-style: normal; - src: url('../fonts/OpenSans-Regular-webfont.eot'); - src: - local('Open Sans'), - local('OpenSans'), - url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/OpenSans-Regular-webfont.woff') format('woff'), - url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg'); -} - -@font-face { - font-family: 'Open Sans Light'; - font-weight: normal; - font-style: normal; - src: url('../fonts/OpenSans-Light-webfont.eot'); - src: - local('Open Sans Light'), - local('OpenSans Light'), - url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/OpenSans-Light-webfont.woff') format('woff'), - url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg'); -} - -html -{ - overflow: auto; - background-color: #fff; - font-size: 14px; -} - -body -{ - font-family: 'Open Sans', sans-serif; - line-height: 1.5; - color: #4d4e53; - background-color: white; -} - -a, a:visited, a:active { - color: #0095dd; - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -header -{ - display: block; - padding: 0px 4px; -} - -tt, code, kbd, samp { - font-family: Consolas, Monaco, 'Andale Mono', monospace; -} - -.class-description { - font-size: 130%; - line-height: 140%; - margin-bottom: 1em; - margin-top: 1em; -} - -.class-description:empty { - margin: 0; -} - -#main { - float: left; - width: 70%; -} - -article dl { - margin-bottom: 40px; -} - -article img { - max-width: 100%; -} - -section -{ - display: block; - background-color: #fff; - padding: 12px 24px; - border-bottom: 1px solid #ccc; - margin-right: 30px; -} - -.variation { - display: none; -} - -.signature-attributes { - font-size: 60%; - color: #aaa; - font-style: italic; - font-weight: lighter; -} - -nav -{ - display: block; - float: right; - margin-top: 28px; - width: 30%; - box-sizing: border-box; - border-left: 1px solid #ccc; - padding-left: 16px; -} - -nav ul { - font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif; - font-size: 100%; - line-height: 17px; - padding: 0; - margin: 0; - list-style-type: none; -} - -nav ul a, nav ul a:visited, nav ul a:active { - font-family: Consolas, Monaco, 'Andale Mono', monospace; - line-height: 18px; - color: #4D4E53; -} - -nav h3 { - margin-top: 12px; -} - -nav li { - margin-top: 6px; -} - -footer { - display: block; - padding: 6px; - margin-top: 12px; - font-style: italic; - font-size: 90%; -} - -h1, h2, h3, h4 { - font-weight: 200; - margin: 0; -} - -h1 -{ - font-family: 'Open Sans Light', sans-serif; - font-size: 48px; - letter-spacing: -2px; - margin: 12px 24px 20px; -} - -h2, h3.subsection-title -{ - font-size: 30px; - font-weight: 700; - letter-spacing: -1px; - margin-bottom: 12px; -} - -h3 -{ - font-size: 24px; - letter-spacing: -0.5px; - margin-bottom: 12px; -} - -h4 -{ - font-size: 18px; - letter-spacing: -0.33px; - margin-bottom: 12px; - color: #4d4e53; -} - -h5, .container-overview .subsection-title -{ - font-size: 120%; - font-weight: bold; - letter-spacing: -0.01em; - margin: 8px 0 3px 0; -} - -h6 -{ - font-size: 100%; - letter-spacing: -0.01em; - margin: 6px 0 3px 0; - font-style: italic; -} - -table -{ - border-spacing: 0; - border: 0; - border-collapse: collapse; -} - -td, th -{ - border: 1px solid #ddd; - margin: 0px; - text-align: left; - vertical-align: top; - padding: 4px 6px; - display: table-cell; -} - -thead tr -{ - background-color: #ddd; - font-weight: bold; -} - -th { border-right: 1px solid #aaa; } -tr > th:last-child { border-right: 1px solid #ddd; } - -.ancestors, .attribs { color: #999; } -.ancestors a, .attribs a -{ - color: #999 !important; - text-decoration: none; -} - -.clear -{ - clear: both; -} - -.important -{ - font-weight: bold; - color: #950B02; -} - -.yes-def { - text-indent: -1000px; -} - -.type-signature { - color: #aaa; -} - -.name, .signature { - font-family: Consolas, Monaco, 'Andale Mono', monospace; -} - -.details { margin-top: 14px; border-left: 2px solid #DDD; } -.details dt { width: 120px; float: left; padding-left: 10px; padding-top: 6px; } -.details dd { margin-left: 70px; } -.details ul { margin: 0; } -.details ul { list-style-type: none; } -.details li { margin-left: 30px; padding-top: 6px; } -.details pre.prettyprint { margin: 0 } -.details .object-value { padding-top: 0; } - -.description { - margin-bottom: 1em; - margin-top: 1em; -} - -.code-caption -{ - font-style: italic; - font-size: 107%; - margin: 0; -} - -.source -{ - border: 1px solid #ddd; - width: 80%; - overflow: auto; -} - -.prettyprint.source { - width: inherit; -} - -.source code -{ - font-size: 100%; - line-height: 18px; - display: block; - padding: 4px 12px; - margin: 0; - background-color: #fff; - color: #4D4E53; -} - -.prettyprint code span.line -{ - display: inline-block; -} - -.prettyprint.linenums -{ - padding-left: 70px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.prettyprint.linenums ol -{ - padding-left: 0; -} - -.prettyprint.linenums li -{ - border-left: 3px #ddd solid; -} - -.prettyprint.linenums li.selected, -.prettyprint.linenums li.selected * -{ - background-color: lightyellow; -} - -.prettyprint.linenums li * -{ - -webkit-user-select: text; - -moz-user-select: text; - -ms-user-select: text; - user-select: text; -} - -.params .name, .props .name, .name code { - color: #4D4E53; - font-family: Consolas, Monaco, 'Andale Mono', monospace; - font-size: 100%; -} - -.params td.description > p:first-child, -.props td.description > p:first-child -{ - margin-top: 0; - padding-top: 0; -} - -.params td.description > p:last-child, -.props td.description > p:last-child -{ - margin-bottom: 0; - padding-bottom: 0; -} - -.disabled { - color: #454545; -} diff --git a/docs/styles/prettify-jsdoc.css b/docs/styles/prettify-jsdoc.css deleted file mode 100644 index 5a2526e..0000000 --- a/docs/styles/prettify-jsdoc.css +++ /dev/null @@ -1,111 +0,0 @@ -/* JSDoc prettify.js theme */ - -/* plain text */ -.pln { - color: #000000; - font-weight: normal; - font-style: normal; -} - -/* string content */ -.str { - color: #006400; - font-weight: normal; - font-style: normal; -} - -/* a keyword */ -.kwd { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* a comment */ -.com { - font-weight: normal; - font-style: italic; -} - -/* a type name */ -.typ { - color: #000000; - font-weight: normal; - font-style: normal; -} - -/* a literal value */ -.lit { - color: #006400; - font-weight: normal; - font-style: normal; -} - -/* punctuation */ -.pun { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* lisp open bracket */ -.opn { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* lisp close bracket */ -.clo { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* a markup tag name */ -.tag { - color: #006400; - font-weight: normal; - font-style: normal; -} - -/* a markup attribute name */ -.atn { - color: #006400; - font-weight: normal; - font-style: normal; -} - -/* a markup attribute value */ -.atv { - color: #006400; - font-weight: normal; - font-style: normal; -} - -/* a declaration */ -.dec { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* a variable name */ -.var { - color: #000000; - font-weight: normal; - font-style: normal; -} - -/* a function name */ -.fun { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* Specify class=linenums on a pre to get line numbering */ -ol.linenums { - margin-top: 0; - margin-bottom: 0; -} diff --git a/docs/styles/prettify-tomorrow.css b/docs/styles/prettify-tomorrow.css deleted file mode 100644 index b6f92a7..0000000 --- a/docs/styles/prettify-tomorrow.css +++ /dev/null @@ -1,132 +0,0 @@ -/* Tomorrow Theme */ -/* Original theme - https://github.com/chriskempson/tomorrow-theme */ -/* Pretty printing styles. Used with prettify.js. */ -/* SPAN elements with the classes below are added by prettyprint. */ -/* plain text */ -.pln { - color: #4d4d4c; } - -@media screen { - /* string content */ - .str { - color: #718c00; } - - /* a keyword */ - .kwd { - color: #8959a8; } - - /* a comment */ - .com { - color: #8e908c; } - - /* a type name */ - .typ { - color: #4271ae; } - - /* a literal value */ - .lit { - color: #f5871f; } - - /* punctuation */ - .pun { - color: #4d4d4c; } - - /* lisp open bracket */ - .opn { - color: #4d4d4c; } - - /* lisp close bracket */ - .clo { - color: #4d4d4c; } - - /* a markup tag name */ - .tag { - color: #c82829; } - - /* a markup attribute name */ - .atn { - color: #f5871f; } - - /* a markup attribute value */ - .atv { - color: #3e999f; } - - /* a declaration */ - .dec { - color: #f5871f; } - - /* a variable name */ - .var { - color: #c82829; } - - /* a function name */ - .fun { - color: #4271ae; } } -/* Use higher contrast and text-weight for printable form. */ -@media print, projection { - .str { - color: #060; } - - .kwd { - color: #006; - font-weight: bold; } - - .com { - color: #600; - font-style: italic; } - - .typ { - color: #404; - font-weight: bold; } - - .lit { - color: #044; } - - .pun, .opn, .clo { - color: #440; } - - .tag { - color: #006; - font-weight: bold; } - - .atn { - color: #404; } - - .atv { - color: #060; } } -/* Style */ -/* -pre.prettyprint { - background: white; - font-family: Consolas, Monaco, 'Andale Mono', monospace; - font-size: 12px; - line-height: 1.5; - border: 1px solid #ccc; - padding: 10px; } -*/ - -/* Specify class=linenums on a pre to get line numbering */ -ol.linenums { - margin-top: 0; - margin-bottom: 0; } - -/* IE indents via margin-left */ -li.L0, -li.L1, -li.L2, -li.L3, -li.L4, -li.L5, -li.L6, -li.L7, -li.L8, -li.L9 { - /* */ } - -/* Alternate shading for lines */ -li.L1, -li.L3, -li.L5, -li.L7, -li.L9 { - /* */ } diff --git a/docs/thirdparty_vis.js.html b/docs/thirdparty_vis.js.html deleted file mode 100644 index b542d36..0000000 --- a/docs/thirdparty_vis.js.html +++ /dev/null @@ -1,45770 +0,0 @@ - - - - - JSDoc: Source: thirdparty/vis.js - - - - - - - - - - -
- -

Source: thirdparty/vis.js

- - - - - - -
-
-
/**
- * vis-network
- * https://visjs.github.io/vis-network/
- *
- * A dynamic, browser-based visualization library.
- *
- * @version 9.1.2
- * @date    2022-03-28T20:17:35.342Z
- *
- * @copyright (c) 2011-2017 Almende B.V, http://almende.com
- * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
- *
- * @license
- * vis.js is dual licensed under both
- *
- *   1. The Apache 2.0 License
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *   and
- *
- *   2. The MIT License
- *      http://opensource.org/licenses/MIT
- *
- * vis.js may be distributed under either license.
- */
-
-(function (global, factory) {
-	typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
-		typeof define === 'function' && define.amd ? define(['exports'], factory) :
-			(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.vis = global.vis || {}));
-})(this, (function (exports) {
-	'use strict';
-
-	var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
-
-	var check = function (it) {
-		return it && it.Math == Math && it;
-	}; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
-
-
-	var global$P = // eslint-disable-next-line es/no-global-this -- safe
-		check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || // eslint-disable-next-line no-restricted-globals -- safe
-		check(typeof self == 'object' && self) || check(typeof commonjsGlobal == 'object' && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
-		function () {
-			return this;
-		}() || Function('return this')();
-
-	var fails$t = function (exec) {
-		try {
-			return !!exec();
-		} catch (error) {
-			return true;
-		}
-	};
-
-	var fails$s = fails$t;
-	var functionBindNative = !fails$s(function () {
-		var test = function () {
-			/* empty */
-		}.bind(); // eslint-disable-next-line no-prototype-builtins -- safe
-
-
-		return typeof test != 'function' || test.hasOwnProperty('prototype');
-	});
-
-	var NATIVE_BIND$4 = functionBindNative;
-	var FunctionPrototype$3 = Function.prototype;
-	var apply$6 = FunctionPrototype$3.apply;
-	var call$d = FunctionPrototype$3.call; // eslint-disable-next-line es/no-reflect -- safe
-
-	var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$4 ? call$d.bind(apply$6) : function () {
-		return call$d.apply(apply$6, arguments);
-	});
-
-	var NATIVE_BIND$3 = functionBindNative;
-	var FunctionPrototype$2 = Function.prototype;
-	var bind$d = FunctionPrototype$2.bind;
-	var call$c = FunctionPrototype$2.call;
-	var uncurryThis$w = NATIVE_BIND$3 && bind$d.bind(call$c, call$c);
-	var functionUncurryThis = NATIVE_BIND$3 ? function (fn) {
-		return fn && uncurryThis$w(fn);
-	} : function (fn) {
-		return fn && function () {
-			return call$c.apply(fn, arguments);
-		};
-	};
-
-	// https://tc39.es/ecma262/#sec-iscallable
-
-	var isCallable$h = function (argument) {
-		return typeof argument == 'function';
-	};
-
-	var objectGetOwnPropertyDescriptor = {};
-
-	var fails$r = fails$t; // Detect IE8's incomplete defineProperty implementation
-
-	var descriptors = !fails$r(function () {
-		// eslint-disable-next-line es/no-object-defineproperty -- required for testing
-		return Object.defineProperty({}, 1, {
-			get: function () {
-				return 7;
-			}
-		})[1] != 7;
-	});
-
-	var NATIVE_BIND$2 = functionBindNative;
-	var call$b = Function.prototype.call;
-	var functionCall = NATIVE_BIND$2 ? call$b.bind(call$b) : function () {
-		return call$b.apply(call$b, arguments);
-	};
-
-	var objectPropertyIsEnumerable = {};
-
-	var $propertyIsEnumerable$2 = {}.propertyIsEnumerable; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-
-	var getOwnPropertyDescriptor$8 = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug
-
-	var NASHORN_BUG = getOwnPropertyDescriptor$8 && !$propertyIsEnumerable$2.call({
-		1: 2
-	}, 1); // `Object.prototype.propertyIsEnumerable` method implementation
-	// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
-
-	objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
-		var descriptor = getOwnPropertyDescriptor$8(this, V);
-		return !!descriptor && descriptor.enumerable;
-	} : $propertyIsEnumerable$2;
-
-	var createPropertyDescriptor$5 = function (bitmap, value) {
-		return {
-			enumerable: !(bitmap & 1),
-			configurable: !(bitmap & 2),
-			writable: !(bitmap & 4),
-			value: value
-		};
-	};
-
-	var uncurryThis$v = functionUncurryThis;
-	var toString$a = uncurryThis$v({}.toString);
-	var stringSlice$1 = uncurryThis$v(''.slice);
-
-	var classofRaw$1 = function (it) {
-		return stringSlice$1(toString$a(it), 8, -1);
-	};
-
-	var global$O = global$P;
-	var uncurryThis$u = functionUncurryThis;
-	var fails$q = fails$t;
-	var classof$f = classofRaw$1;
-	var Object$a = global$O.Object;
-	var split = uncurryThis$u(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings
-
-	var indexedObject = fails$q(function () {
-		// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
-		// eslint-disable-next-line no-prototype-builtins -- safe
-		return !Object$a('z').propertyIsEnumerable(0);
-	}) ? function (it) {
-		return classof$f(it) == 'String' ? split(it, '') : Object$a(it);
-	} : Object$a;
-
-	var global$N = global$P;
-	var TypeError$j = global$N.TypeError; // `RequireObjectCoercible` abstract operation
-	// https://tc39.es/ecma262/#sec-requireobjectcoercible
-
-	var requireObjectCoercible$5 = function (it) {
-		if (it == undefined) throw TypeError$j("Can't call method on " + it);
-		return it;
-	};
-
-	var IndexedObject$3 = indexedObject;
-	var requireObjectCoercible$4 = requireObjectCoercible$5;
-
-	var toIndexedObject$b = function (it) {
-		return IndexedObject$3(requireObjectCoercible$4(it));
-	};
-
-	var isCallable$g = isCallable$h;
-
-	var isObject$j = function (it) {
-		return typeof it == 'object' ? it !== null : isCallable$g(it);
-	};
-
-	var path$y = {};
-
-	var path$x = path$y;
-	var global$M = global$P;
-	var isCallable$f = isCallable$h;
-
-	var aFunction = function (variable) {
-		return isCallable$f(variable) ? variable : undefined;
-	};
-
-	var getBuiltIn$9 = function (namespace, method) {
-		return arguments.length < 2 ? aFunction(path$x[namespace]) || aFunction(global$M[namespace]) : path$x[namespace] && path$x[namespace][method] || global$M[namespace] && global$M[namespace][method];
-	};
-
-	var uncurryThis$t = functionUncurryThis;
-	var objectIsPrototypeOf = uncurryThis$t({}.isPrototypeOf);
-
-	var getBuiltIn$8 = getBuiltIn$9;
-	var engineUserAgent = getBuiltIn$8('navigator', 'userAgent') || '';
-
-	var global$L = global$P;
-	var userAgent$3 = engineUserAgent;
-	var process = global$L.process;
-	var Deno = global$L.Deno;
-	var versions = process && process.versions || Deno && Deno.version;
-	var v8 = versions && versions.v8;
-	var match, version;
-
-	if (v8) {
-		match = v8.split('.'); // in old Chrome, versions of V8 isn't V8 = Chrome / 10
-		// but their correct versions are not interesting for us
-
-		version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
-	} // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
-	// so check `userAgent` even if `.v8` exists, but 0
-
-
-	if (!version && userAgent$3) {
-		match = userAgent$3.match(/Edge\/(\d+)/);
-
-		if (!match || match[1] >= 74) {
-			match = userAgent$3.match(/Chrome\/(\d+)/);
-			if (match) version = +match[1];
-		}
-	}
-
-	var engineV8Version = version;
-
-	/* eslint-disable es/no-symbol -- required for testing */
-	var V8_VERSION$2 = engineV8Version;
-	var fails$p = fails$t; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
-
-	var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$p(function () {
-		var symbol = Symbol(); // Chrome 38 Symbol has incorrect toString conversion
-		// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
-
-		return !String(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
-			!Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
-	});
-
-	/* eslint-disable es/no-symbol -- required for testing */
-	var NATIVE_SYMBOL$2 = nativeSymbol;
-	var useSymbolAsUid = NATIVE_SYMBOL$2 && !Symbol.sham && typeof Symbol.iterator == 'symbol';
-
-	var global$K = global$P;
-	var getBuiltIn$7 = getBuiltIn$9;
-	var isCallable$e = isCallable$h;
-	var isPrototypeOf$n = objectIsPrototypeOf;
-	var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
-	var Object$9 = global$K.Object;
-	var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
-		return typeof it == 'symbol';
-	} : function (it) {
-		var $Symbol = getBuiltIn$7('Symbol');
-		return isCallable$e($Symbol) && isPrototypeOf$n($Symbol.prototype, Object$9(it));
-	};
-
-	var global$J = global$P;
-	var String$4 = global$J.String;
-
-	var tryToString$4 = function (argument) {
-		try {
-			return String$4(argument);
-		} catch (error) {
-			return 'Object';
-		}
-	};
-
-	var global$I = global$P;
-	var isCallable$d = isCallable$h;
-	var tryToString$3 = tryToString$4;
-	var TypeError$i = global$I.TypeError; // `Assert: IsCallable(argument) is true`
-
-	var aCallable$7 = function (argument) {
-		if (isCallable$d(argument)) return argument;
-		throw TypeError$i(tryToString$3(argument) + ' is not a function');
-	};
-
-	var aCallable$6 = aCallable$7; // `GetMethod` abstract operation
-	// https://tc39.es/ecma262/#sec-getmethod
-
-	var getMethod$3 = function (V, P) {
-		var func = V[P];
-		return func == null ? undefined : aCallable$6(func);
-	};
-
-	var global$H = global$P;
-	var call$a = functionCall;
-	var isCallable$c = isCallable$h;
-	var isObject$i = isObject$j;
-	var TypeError$h = global$H.TypeError; // `OrdinaryToPrimitive` abstract operation
-	// https://tc39.es/ecma262/#sec-ordinarytoprimitive
-
-	var ordinaryToPrimitive$1 = function (input, pref) {
-		var fn, val;
-		if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$i(val = call$a(fn, input))) return val;
-		if (isCallable$c(fn = input.valueOf) && !isObject$i(val = call$a(fn, input))) return val;
-		if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$i(val = call$a(fn, input))) return val;
-		throw TypeError$h("Can't convert object to primitive value");
-	};
-
-	var shared$4 = { exports: {} };
-
-	var global$G = global$P; // eslint-disable-next-line es/no-object-defineproperty -- safe
-
-	var defineProperty$e = Object.defineProperty;
-
-	var setGlobal$1 = function (key, value) {
-		try {
-			defineProperty$e(global$G, key, {
-				value: value,
-				configurable: true,
-				writable: true
-			});
-		} catch (error) {
-			global$G[key] = value;
-		}
-
-		return value;
-	};
-
-	var global$F = global$P;
-	var setGlobal = setGlobal$1;
-	var SHARED = '__core-js_shared__';
-	var store$3 = global$F[SHARED] || setGlobal(SHARED, {});
-	var sharedStore = store$3;
-
-	var store$2 = sharedStore;
-	(shared$4.exports = function (key, value) {
-		return store$2[key] || (store$2[key] = value !== undefined ? value : {});
-	})('versions', []).push({
-		version: '3.21.1',
-		mode: 'pure',
-		copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
-		license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
-		source: 'https://github.com/zloirock/core-js'
-	});
-
-	var global$E = global$P;
-	var requireObjectCoercible$3 = requireObjectCoercible$5;
-	var Object$8 = global$E.Object; // `ToObject` abstract operation
-	// https://tc39.es/ecma262/#sec-toobject
-
-	var toObject$e = function (argument) {
-		return Object$8(requireObjectCoercible$3(argument));
-	};
-
-	var uncurryThis$s = functionUncurryThis;
-	var toObject$d = toObject$e;
-	var hasOwnProperty = uncurryThis$s({}.hasOwnProperty); // `HasOwnProperty` abstract operation
-	// https://tc39.es/ecma262/#sec-hasownproperty
-
-	var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
-		return hasOwnProperty(toObject$d(it), key);
-	};
-
-	var uncurryThis$r = functionUncurryThis;
-	var id$2 = 0;
-	var postfix = Math.random();
-	var toString$9 = uncurryThis$r(1.0.toString);
-
-	var uid$4 = function (key) {
-		return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$9(++id$2 + postfix, 36);
-	};
-
-	var global$D = global$P;
-	var shared$3 = shared$4.exports;
-	var hasOwn$h = hasOwnProperty_1;
-	var uid$3 = uid$4;
-	var NATIVE_SYMBOL$1 = nativeSymbol;
-	var USE_SYMBOL_AS_UID = useSymbolAsUid;
-	var WellKnownSymbolsStore$1 = shared$3('wks');
-	var Symbol$3 = global$D.Symbol;
-	var symbolFor = Symbol$3 && Symbol$3['for'];
-	var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$3;
-
-	var wellKnownSymbol$j = function (name) {
-		if (!hasOwn$h(WellKnownSymbolsStore$1, name) || !(NATIVE_SYMBOL$1 || typeof WellKnownSymbolsStore$1[name] == 'string')) {
-			var description = 'Symbol.' + name;
-
-			if (NATIVE_SYMBOL$1 && hasOwn$h(Symbol$3, name)) {
-				WellKnownSymbolsStore$1[name] = Symbol$3[name];
-			} else if (USE_SYMBOL_AS_UID && symbolFor) {
-				WellKnownSymbolsStore$1[name] = symbolFor(description);
-			} else {
-				WellKnownSymbolsStore$1[name] = createWellKnownSymbol(description);
-			}
-		}
-
-		return WellKnownSymbolsStore$1[name];
-	};
-
-	var global$C = global$P;
-	var call$9 = functionCall;
-	var isObject$h = isObject$j;
-	var isSymbol$2 = isSymbol$3;
-	var getMethod$2 = getMethod$3;
-	var ordinaryToPrimitive = ordinaryToPrimitive$1;
-	var wellKnownSymbol$i = wellKnownSymbol$j;
-	var TypeError$g = global$C.TypeError;
-	var TO_PRIMITIVE$1 = wellKnownSymbol$i('toPrimitive'); // `ToPrimitive` abstract operation
-	// https://tc39.es/ecma262/#sec-toprimitive
-
-	var toPrimitive$1 = function (input, pref) {
-		if (!isObject$h(input) || isSymbol$2(input)) return input;
-		var exoticToPrim = getMethod$2(input, TO_PRIMITIVE$1);
-		var result;
-
-		if (exoticToPrim) {
-			if (pref === undefined) pref = 'default';
-			result = call$9(exoticToPrim, input, pref);
-			if (!isObject$h(result) || isSymbol$2(result)) return result;
-			throw TypeError$g("Can't convert object to primitive value");
-		}
-
-		if (pref === undefined) pref = 'number';
-		return ordinaryToPrimitive(input, pref);
-	};
-
-	var toPrimitive = toPrimitive$1;
-	var isSymbol$1 = isSymbol$3; // `ToPropertyKey` abstract operation
-	// https://tc39.es/ecma262/#sec-topropertykey
-
-	var toPropertyKey$4 = function (argument) {
-		var key = toPrimitive(argument, 'string');
-		return isSymbol$1(key) ? key : key + '';
-	};
-
-	var global$B = global$P;
-	var isObject$g = isObject$j;
-	var document$1 = global$B.document; // typeof document.createElement is 'object' in old IE
-
-	var EXISTS$1 = isObject$g(document$1) && isObject$g(document$1.createElement);
-
-	var documentCreateElement$1 = function (it) {
-		return EXISTS$1 ? document$1.createElement(it) : {};
-	};
-
-	var DESCRIPTORS$h = descriptors;
-	var fails$o = fails$t;
-	var createElement = documentCreateElement$1; // Thanks to IE8 for its funny defineProperty
-
-	var ie8DomDefine = !DESCRIPTORS$h && !fails$o(function () {
-		// eslint-disable-next-line es/no-object-defineproperty -- required for testing
-		return Object.defineProperty(createElement('div'), 'a', {
-			get: function () {
-				return 7;
-			}
-		}).a != 7;
-	});
-
-	var DESCRIPTORS$g = descriptors;
-	var call$8 = functionCall;
-	var propertyIsEnumerableModule$2 = objectPropertyIsEnumerable;
-	var createPropertyDescriptor$4 = createPropertyDescriptor$5;
-	var toIndexedObject$a = toIndexedObject$b;
-	var toPropertyKey$3 = toPropertyKey$4;
-	var hasOwn$g = hasOwnProperty_1;
-	var IE8_DOM_DEFINE$1 = ie8DomDefine; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-
-	var $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method
-	// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
-
-	objectGetOwnPropertyDescriptor.f = DESCRIPTORS$g ? $getOwnPropertyDescriptor$2 : function getOwnPropertyDescriptor(O, P) {
-		O = toIndexedObject$a(O);
-		P = toPropertyKey$3(P);
-		if (IE8_DOM_DEFINE$1) try {
-			return $getOwnPropertyDescriptor$2(O, P);
-		} catch (error) {
-			/* empty */
-		}
-		if (hasOwn$g(O, P)) return createPropertyDescriptor$4(!call$8(propertyIsEnumerableModule$2.f, O, P), O[P]);
-	};
-
-	var fails$n = fails$t;
-	var isCallable$b = isCallable$h;
-	var replacement = /#|\.prototype\./;
-
-	var isForced$1 = function (feature, detection) {
-		var value = data[normalize(feature)];
-		return value == POLYFILL ? true : value == NATIVE ? false : isCallable$b(detection) ? fails$n(detection) : !!detection;
-	};
-
-	var normalize = isForced$1.normalize = function (string) {
-		return String(string).replace(replacement, '.').toLowerCase();
-	};
-
-	var data = isForced$1.data = {};
-	var NATIVE = isForced$1.NATIVE = 'N';
-	var POLYFILL = isForced$1.POLYFILL = 'P';
-	var isForced_1 = isForced$1;
-
-	var uncurryThis$q = functionUncurryThis;
-	var aCallable$5 = aCallable$7;
-	var NATIVE_BIND$1 = functionBindNative;
-	var bind$c = uncurryThis$q(uncurryThis$q.bind); // optional / simple context binding
-
-	var functionBindContext = function (fn, that) {
-		aCallable$5(fn);
-		return that === undefined ? fn : NATIVE_BIND$1 ? bind$c(fn, that) : function
-			/* ...args */
-			() {
-			return fn.apply(that, arguments);
-		};
-	};
-
-	var objectDefineProperty = {};
-
-	var DESCRIPTORS$f = descriptors;
-	var fails$m = fails$t; // V8 ~ Chrome 36-
-	// https://bugs.chromium.org/p/v8/issues/detail?id=3334
-
-	var v8PrototypeDefineBug = DESCRIPTORS$f && fails$m(function () {
-		// eslint-disable-next-line es/no-object-defineproperty -- required for testing
-		return Object.defineProperty(function () {
-			/* empty */
-		}, 'prototype', {
-			value: 42,
-			writable: false
-		}).prototype != 42;
-	});
-
-	var global$A = global$P;
-	var isObject$f = isObject$j;
-	var String$3 = global$A.String;
-	var TypeError$f = global$A.TypeError; // `Assert: Type(argument) is Object`
-
-	var anObject$d = function (argument) {
-		if (isObject$f(argument)) return argument;
-		throw TypeError$f(String$3(argument) + ' is not an object');
-	};
-
-	var global$z = global$P;
-	var DESCRIPTORS$e = descriptors;
-	var IE8_DOM_DEFINE = ie8DomDefine;
-	var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
-	var anObject$c = anObject$d;
-	var toPropertyKey$2 = toPropertyKey$4;
-	var TypeError$e = global$z.TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe
-
-	var $defineProperty$1 = Object.defineProperty; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-
-	var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
-	var ENUMERABLE = 'enumerable';
-	var CONFIGURABLE$1 = 'configurable';
-	var WRITABLE = 'writable'; // `Object.defineProperty` method
-	// https://tc39.es/ecma262/#sec-object.defineproperty
-
-	objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
-		anObject$c(O);
-		P = toPropertyKey$2(P);
-		anObject$c(Attributes);
-
-		if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
-			var current = $getOwnPropertyDescriptor$1(O, P);
-
-			if (current && current[WRITABLE]) {
-				O[P] = Attributes.value;
-				Attributes = {
-					configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
-					enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
-					writable: false
-				};
-			}
-		}
-
-		return $defineProperty$1(O, P, Attributes);
-	} : $defineProperty$1 : function defineProperty(O, P, Attributes) {
-		anObject$c(O);
-		P = toPropertyKey$2(P);
-		anObject$c(Attributes);
-		if (IE8_DOM_DEFINE) try {
-			return $defineProperty$1(O, P, Attributes);
-		} catch (error) {
-			/* empty */
-		}
-		if ('get' in Attributes || 'set' in Attributes) throw TypeError$e('Accessors not supported');
-		if ('value' in Attributes) O[P] = Attributes.value;
-		return O;
-	};
-
-	var DESCRIPTORS$d = descriptors;
-	var definePropertyModule$4 = objectDefineProperty;
-	var createPropertyDescriptor$3 = createPropertyDescriptor$5;
-	var createNonEnumerableProperty$6 = DESCRIPTORS$d ? function (object, key, value) {
-		return definePropertyModule$4.f(object, key, createPropertyDescriptor$3(1, value));
-	} : function (object, key, value) {
-		object[key] = value;
-		return object;
-	};
-
-	var global$y = global$P;
-	var apply$5 = functionApply;
-	var uncurryThis$p = functionUncurryThis;
-	var isCallable$a = isCallable$h;
-	var getOwnPropertyDescriptor$7 = objectGetOwnPropertyDescriptor.f;
-	var isForced = isForced_1;
-	var path$w = path$y;
-	var bind$b = functionBindContext;
-	var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
-	var hasOwn$f = hasOwnProperty_1;
-
-	var wrapConstructor = function (NativeConstructor) {
-		var Wrapper = function (a, b, c) {
-			if (this instanceof Wrapper) {
-				switch (arguments.length) {
-					case 0:
-						return new NativeConstructor();
-
-					case 1:
-						return new NativeConstructor(a);
-
-					case 2:
-						return new NativeConstructor(a, b);
-				}
-
-				return new NativeConstructor(a, b, c);
-			}
-
-			return apply$5(NativeConstructor, this, arguments);
-		};
-
-		Wrapper.prototype = NativeConstructor.prototype;
-		return Wrapper;
-	};
-	/*
-	  options.target      - name of the target object
-	  options.global      - target is the global object
-	  options.stat        - export as static methods of target
-	  options.proto       - export as prototype methods of target
-	  options.real        - real prototype method for the `pure` version
-	  options.forced      - export even if the native feature is available
-	  options.bind        - bind methods to the target, required for the `pure` version
-	  options.wrap        - wrap constructors to preventing global pollution, required for the `pure` version
-	  options.unsafe      - use the simple assignment of property instead of delete + defineProperty
-	  options.sham        - add a flag to not completely full polyfills
-	  options.enumerable  - export as enumerable property
-	  options.noTargetGet - prevent calling a getter on target
-	  options.name        - the .name of the function if it does not match the key
-	*/
-
-
-	var _export = function (options, source) {
-		var TARGET = options.target;
-		var GLOBAL = options.global;
-		var STATIC = options.stat;
-		var PROTO = options.proto;
-		var nativeSource = GLOBAL ? global$y : STATIC ? global$y[TARGET] : (global$y[TARGET] || {}).prototype;
-		var target = GLOBAL ? path$w : path$w[TARGET] || createNonEnumerableProperty$5(path$w, TARGET, {})[TARGET];
-		var targetPrototype = target.prototype;
-		var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
-		var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
-
-		for (key in source) {
-			FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contains in native
-
-			USE_NATIVE = !FORCED && nativeSource && hasOwn$f(nativeSource, key);
-			targetProperty = target[key];
-			if (USE_NATIVE) if (options.noTargetGet) {
-				descriptor = getOwnPropertyDescriptor$7(nativeSource, key);
-				nativeProperty = descriptor && descriptor.value;
-			} else nativeProperty = nativeSource[key]; // export native or implementation
-
-			sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
-			if (USE_NATIVE && typeof targetProperty == typeof sourceProperty) continue; // bind timers to global for call from export context
-
-			if (options.bind && USE_NATIVE) resultProperty = bind$b(sourceProperty, global$y); // wrap global constructors for prevent changs in this version
-			else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty); // make static versions for prototype methods
-			else if (PROTO && isCallable$a(sourceProperty)) resultProperty = uncurryThis$p(sourceProperty); // default case
-			else resultProperty = sourceProperty; // add a flag to not completely full polyfills
-
-			if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
-				createNonEnumerableProperty$5(resultProperty, 'sham', true);
-			}
-
-			createNonEnumerableProperty$5(target, key, resultProperty);
-
-			if (PROTO) {
-				VIRTUAL_PROTOTYPE = TARGET + 'Prototype';
-
-				if (!hasOwn$f(path$w, VIRTUAL_PROTOTYPE)) {
-					createNonEnumerableProperty$5(path$w, VIRTUAL_PROTOTYPE, {});
-				} // export virtual prototype methods
-
-
-				createNonEnumerableProperty$5(path$w[VIRTUAL_PROTOTYPE], key, sourceProperty); // export real prototype methods
-
-				if (options.real && targetPrototype && !targetPrototype[key]) {
-					createNonEnumerableProperty$5(targetPrototype, key, sourceProperty);
-				}
-			}
-		}
-	};
-
-	var ceil = Math.ceil;
-	var floor$1 = Math.floor; // `ToIntegerOrInfinity` abstract operation
-	// https://tc39.es/ecma262/#sec-tointegerorinfinity
-
-	var toIntegerOrInfinity$4 = function (argument) {
-		var number = +argument; // eslint-disable-next-line no-self-compare -- safe
-
-		return number !== number || number === 0 ? 0 : (number > 0 ? floor$1 : ceil)(number);
-	};
-
-	var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
-	var max$3 = Math.max;
-	var min$2 = Math.min; // Helper for a popular repeating case of the spec:
-	// Let integer be ? ToInteger(index).
-	// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
-
-	var toAbsoluteIndex$5 = function (index, length) {
-		var integer = toIntegerOrInfinity$3(index);
-		return integer < 0 ? max$3(integer + length, 0) : min$2(integer, length);
-	};
-
-	var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;
-	var min$1 = Math.min; // `ToLength` abstract operation
-	// https://tc39.es/ecma262/#sec-tolength
-
-	var toLength$1 = function (argument) {
-		return argument > 0 ? min$1(toIntegerOrInfinity$2(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
-	};
-
-	var toLength = toLength$1; // `LengthOfArrayLike` abstract operation
-	// https://tc39.es/ecma262/#sec-lengthofarraylike
-
-	var lengthOfArrayLike$d = function (obj) {
-		return toLength(obj.length);
-	};
-
-	var toIndexedObject$9 = toIndexedObject$b;
-	var toAbsoluteIndex$4 = toAbsoluteIndex$5;
-	var lengthOfArrayLike$c = lengthOfArrayLike$d; // `Array.prototype.{ indexOf, includes }` methods implementation
-
-	var createMethod$5 = function (IS_INCLUDES) {
-		return function ($this, el, fromIndex) {
-			var O = toIndexedObject$9($this);
-			var length = lengthOfArrayLike$c(O);
-			var index = toAbsoluteIndex$4(fromIndex, length);
-			var value; // Array#includes uses SameValueZero equality algorithm
-			// eslint-disable-next-line no-self-compare -- NaN check
-
-			if (IS_INCLUDES && el != el) while (length > index) {
-				value = O[index++]; // eslint-disable-next-line no-self-compare -- NaN check
-
-				if (value != value) return true; // Array#indexOf ignores holes, Array#includes - not
-			} else for (; length > index; index++) {
-				if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
-			}
-			return !IS_INCLUDES && -1;
-		};
-	};
-
-	var arrayIncludes = {
-		// `Array.prototype.includes` method
-		// https://tc39.es/ecma262/#sec-array.prototype.includes
-		includes: createMethod$5(true),
-		// `Array.prototype.indexOf` method
-		// https://tc39.es/ecma262/#sec-array.prototype.indexof
-		indexOf: createMethod$5(false)
-	};
-
-	var hiddenKeys$6 = {};
-
-	var uncurryThis$o = functionUncurryThis;
-	var hasOwn$e = hasOwnProperty_1;
-	var toIndexedObject$8 = toIndexedObject$b;
-	var indexOf$4 = arrayIncludes.indexOf;
-	var hiddenKeys$5 = hiddenKeys$6;
-	var push$5 = uncurryThis$o([].push);
-
-	var objectKeysInternal = function (object, names) {
-		var O = toIndexedObject$8(object);
-		var i = 0;
-		var result = [];
-		var key;
-
-		for (key in O) !hasOwn$e(hiddenKeys$5, key) && hasOwn$e(O, key) && push$5(result, key); // Don't enum bug & hidden keys
-
-
-		while (names.length > i) if (hasOwn$e(O, key = names[i++])) {
-			~indexOf$4(result, key) || push$5(result, key);
-		}
-
-		return result;
-	};
-
-	var enumBugKeys$3 = ['constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf'];
-
-	var internalObjectKeys$1 = objectKeysInternal;
-	var enumBugKeys$2 = enumBugKeys$3; // `Object.keys` method
-	// https://tc39.es/ecma262/#sec-object.keys
-	// eslint-disable-next-line es/no-object-keys -- safe
-
-	var objectKeys$4 = Object.keys || function keys(O) {
-		return internalObjectKeys$1(O, enumBugKeys$2);
-	};
-
-	var objectGetOwnPropertySymbols = {};
-
-	objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
-
-	var DESCRIPTORS$c = descriptors;
-	var uncurryThis$n = functionUncurryThis;
-	var call$7 = functionCall;
-	var fails$l = fails$t;
-	var objectKeys$3 = objectKeys$4;
-	var getOwnPropertySymbolsModule$2 = objectGetOwnPropertySymbols;
-	var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
-	var toObject$c = toObject$e;
-	var IndexedObject$2 = indexedObject; // eslint-disable-next-line es/no-object-assign -- safe
-
-	var $assign = Object.assign; // eslint-disable-next-line es/no-object-defineproperty -- required for testing
-
-	var defineProperty$d = Object.defineProperty;
-	var concat$6 = uncurryThis$n([].concat); // `Object.assign` method
-	// https://tc39.es/ecma262/#sec-object.assign
-
-	var objectAssign = !$assign || fails$l(function () {
-		// should have correct order of operations (Edge bug)
-		if (DESCRIPTORS$c && $assign({
-			b: 1
-		}, $assign(defineProperty$d({}, 'a', {
-			enumerable: true,
-			get: function () {
-				defineProperty$d(this, 'b', {
-					value: 3,
-					enumerable: false
-				});
-			}
-		}), {
-			b: 2
-		})).b !== 1) return true; // should work with symbols and should have deterministic property order (V8 bug)
-
-		var A = {};
-		var B = {}; // eslint-disable-next-line es/no-symbol -- safe
-
-		var symbol = Symbol();
-		var alphabet = 'abcdefghijklmnopqrst';
-		A[symbol] = 7;
-		alphabet.split('').forEach(function (chr) {
-			B[chr] = chr;
-		});
-		return $assign({}, A)[symbol] != 7 || objectKeys$3($assign({}, B)).join('') != alphabet;
-	}) ? function assign(target, source) {
-		// eslint-disable-line no-unused-vars -- required for `.length`
-		var T = toObject$c(target);
-		var argumentsLength = arguments.length;
-		var index = 1;
-		var getOwnPropertySymbols = getOwnPropertySymbolsModule$2.f;
-		var propertyIsEnumerable = propertyIsEnumerableModule$1.f;
-
-		while (argumentsLength > index) {
-			var S = IndexedObject$2(arguments[index++]);
-			var keys = getOwnPropertySymbols ? concat$6(objectKeys$3(S), getOwnPropertySymbols(S)) : objectKeys$3(S);
-			var length = keys.length;
-			var j = 0;
-			var key;
-
-			while (length > j) {
-				key = keys[j++];
-				if (!DESCRIPTORS$c || call$7(propertyIsEnumerable, S, key)) T[key] = S[key];
-			}
-		}
-
-		return T;
-	} : $assign;
-
-	var $$J = _export;
-	var assign$5 = objectAssign; // `Object.assign` method
-	// https://tc39.es/ecma262/#sec-object.assign
-	// eslint-disable-next-line es/no-object-assign -- required for testing
-
-	$$J({
-		target: 'Object',
-		stat: true,
-		forced: Object.assign !== assign$5
-	}, {
-		assign: assign$5
-	});
-
-	var path$v = path$y;
-	var assign$4 = path$v.Object.assign;
-
-	var parent$1c = assign$4;
-	var assign$3 = parent$1c;
-
-	var assign$2 = assign$3;
-
-	var uncurryThis$m = functionUncurryThis;
-	var arraySlice$5 = uncurryThis$m([].slice);
-
-	var global$x = global$P;
-	var uncurryThis$l = functionUncurryThis;
-	var aCallable$4 = aCallable$7;
-	var isObject$e = isObject$j;
-	var hasOwn$d = hasOwnProperty_1;
-	var arraySlice$4 = arraySlice$5;
-	var NATIVE_BIND = functionBindNative;
-	var Function$2 = global$x.Function;
-	var concat$5 = uncurryThis$l([].concat);
-	var join = uncurryThis$l([].join);
-	var factories = {};
-
-	var construct$4 = function (C, argsLength, args) {
-		if (!hasOwn$d(factories, argsLength)) {
-			for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';
-
-			factories[argsLength] = Function$2('C,a', 'return new C(' + join(list, ',') + ')');
-		}
-
-		return factories[argsLength](C, args);
-	}; // `Function.prototype.bind` method implementation
-	// https://tc39.es/ecma262/#sec-function.prototype.bind
-
-
-	var functionBind = NATIVE_BIND ? Function$2.bind : function bind(that
-		/* , ...args */
-	) {
-		var F = aCallable$4(this);
-		var Prototype = F.prototype;
-		var partArgs = arraySlice$4(arguments, 1);
-
-		var boundFunction = function
-			/* args... */
-			bound() {
-			var args = concat$5(partArgs, arraySlice$4(arguments));
-			return this instanceof boundFunction ? construct$4(F, args.length, args) : F.apply(that, args);
-		};
-
-		if (isObject$e(Prototype)) boundFunction.prototype = Prototype;
-		return boundFunction;
-	};
-
-	var $$I = _export;
-	var bind$a = functionBind; // `Function.prototype.bind` method
-	// https://tc39.es/ecma262/#sec-function.prototype.bind
-
-	$$I({
-		target: 'Function',
-		proto: true,
-		forced: Function.bind !== bind$a
-	}, {
-		bind: bind$a
-	});
-
-	var path$u = path$y;
-
-	var entryVirtual$l = function (CONSTRUCTOR) {
-		return path$u[CONSTRUCTOR + 'Prototype'];
-	};
-
-	var entryVirtual$k = entryVirtual$l;
-	var bind$9 = entryVirtual$k('Function').bind;
-
-	var isPrototypeOf$m = objectIsPrototypeOf;
-	var method$i = bind$9;
-	var FunctionPrototype$1 = Function.prototype;
-
-	var bind$8 = function (it) {
-		var own = it.bind;
-		return it === FunctionPrototype$1 || isPrototypeOf$m(FunctionPrototype$1, it) && own === FunctionPrototype$1.bind ? method$i : own;
-	};
-
-	var parent$1b = bind$8;
-	var bind$7 = parent$1b;
-
-	var bind$6 = bind$7;
-
-	/**
-	 * Draw a circle.
-	 *
-	 * @param ctx - The context this shape will be rendered to.
-	 * @param x - The position of the center on the x axis.
-	 * @param y - The position of the center on the y axis.
-	 * @param r - The radius of the circle.
-	 */
-	function drawCircle(ctx, x, y, r) {
-		ctx.beginPath();
-		ctx.arc(x, y, r, 0, 2 * Math.PI, false);
-		ctx.closePath();
-	}
-	/**
-	 * Draw a square.
-	 *
-	 * @param ctx - The context this shape will be rendered to.
-	 * @param x - The position of the center on the x axis.
-	 * @param y - The position of the center on the y axis.
-	 * @param r - Half of the width and height of the square.
-	 */
-
-	function drawSquare(ctx, x, y, r) {
-		ctx.beginPath();
-		ctx.rect(x - r, y - r, r * 2, r * 2);
-		ctx.closePath();
-	}
-	/**
-	 * Draw an equilateral triangle standing on a side.
-	 *
-	 * @param ctx - The context this shape will be rendered to.
-	 * @param x - The position of the center on the x axis.
-	 * @param y - The position of the center on the y axis.
-	 * @param r - Half of the length of the sides.
-	 * @remarks
-	 * http://en.wikipedia.org/wiki/Equilateral_triangle
-	 */
-
-	function drawTriangle(ctx, x, y, r) {
-		ctx.beginPath(); // the change in radius and the offset is here to center the shape
-
-		r *= 1.15;
-		y += 0.275 * r;
-		var s = r * 2;
-		var s2 = s / 2;
-		var ir = Math.sqrt(3) / 6 * s; // radius of inner circle
-
-		var h = Math.sqrt(s * s - s2 * s2); // height
-
-		ctx.moveTo(x, y - (h - ir));
-		ctx.lineTo(x + s2, y + ir);
-		ctx.lineTo(x - s2, y + ir);
-		ctx.lineTo(x, y - (h - ir));
-		ctx.closePath();
-	}
-	/**
-	 * Draw an equilateral triangle standing on a vertex.
-	 *
-	 * @param ctx - The context this shape will be rendered to.
-	 * @param x - The position of the center on the x axis.
-	 * @param y - The position of the center on the y axis.
-	 * @param r - Half of the length of the sides.
-	 * @remarks
-	 * http://en.wikipedia.org/wiki/Equilateral_triangle
-	 */
-
-	function drawTriangleDown(ctx, x, y, r) {
-		ctx.beginPath(); // the change in radius and the offset is here to center the shape
-
-		r *= 1.15;
-		y -= 0.275 * r;
-		var s = r * 2;
-		var s2 = s / 2;
-		var ir = Math.sqrt(3) / 6 * s; // radius of inner circle
-
-		var h = Math.sqrt(s * s - s2 * s2); // height
-
-		ctx.moveTo(x, y + (h - ir));
-		ctx.lineTo(x + s2, y - ir);
-		ctx.lineTo(x - s2, y - ir);
-		ctx.lineTo(x, y + (h - ir));
-		ctx.closePath();
-	}
-	/**
-	 * Draw a star.
-	 *
-	 * @param ctx - The context this shape will be rendered to.
-	 * @param x - The position of the center on the x axis.
-	 * @param y - The position of the center on the y axis.
-	 * @param r - The outer radius of the star.
-	 */
-
-	function drawStar(ctx, x, y, r) {
-		// http://www.html5canvastutorials.com/labs/html5-canvas-star-spinner/
-		ctx.beginPath(); // the change in radius and the offset is here to center the shape
-
-		r *= 0.82;
-		y += 0.1 * r;
-
-		for (var n = 0; n < 10; n++) {
-			var radius = n % 2 === 0 ? r * 1.3 : r * 0.5;
-			ctx.lineTo(x + radius * Math.sin(n * 2 * Math.PI / 10), y - radius * Math.cos(n * 2 * Math.PI / 10));
-		}
-
-		ctx.closePath();
-	}
-	/**
-	 * Draw a diamond.
-	 *
-	 * @param ctx - The context this shape will be rendered to.
-	 * @param x - The position of the center on the x axis.
-	 * @param y - The position of the center on the y axis.
-	 * @param r - Half of the width and height of the diamond.
-	 * @remarks
-	 * http://www.html5canvastutorials.com/labs/html5-canvas-star-spinner/
-	 */
-
-	function drawDiamond(ctx, x, y, r) {
-		ctx.beginPath();
-		ctx.lineTo(x, y + r);
-		ctx.lineTo(x + r, y);
-		ctx.lineTo(x, y - r);
-		ctx.lineTo(x - r, y);
-		ctx.closePath();
-	}
-	/**
-	 * Draw a rectangle with rounded corners.
-	 *
-	 * @param ctx - The context this shape will be rendered to.
-	 * @param x - The position of the center on the x axis.
-	 * @param y - The position of the center on the y axis.
-	 * @param w - The width of the rectangle.
-	 * @param h - The height of the rectangle.
-	 * @param r - The radius of the corners.
-	 * @remarks
-	 * http://stackoverflow.com/questions/1255512/how-to-draw-a-rounded-rectangle-on-html-canvas
-	 */
-
-	function drawRoundRect(ctx, x, y, w, h, r) {
-		var r2d = Math.PI / 180;
-
-		if (w - 2 * r < 0) {
-			r = w / 2;
-		} //ensure that the radius isn't too large for x
-
-
-		if (h - 2 * r < 0) {
-			r = h / 2;
-		} //ensure that the radius isn't too large for y
-
-
-		ctx.beginPath();
-		ctx.moveTo(x + r, y);
-		ctx.lineTo(x + w - r, y);
-		ctx.arc(x + w - r, y + r, r, r2d * 270, r2d * 360, false);
-		ctx.lineTo(x + w, y + h - r);
-		ctx.arc(x + w - r, y + h - r, r, 0, r2d * 90, false);
-		ctx.lineTo(x + r, y + h);
-		ctx.arc(x + r, y + h - r, r, r2d * 90, r2d * 180, false);
-		ctx.lineTo(x, y + r);
-		ctx.arc(x + r, y + r, r, r2d * 180, r2d * 270, false);
-		ctx.closePath();
-	}
-	/**
-	 * Draw an ellipse.
-	 *
-	 * @param ctx - The context this shape will be rendered to.
-	 * @param x - The position of the center on the x axis.
-	 * @param y - The position of the center on the y axis.
-	 * @param w - The width of the ellipse.
-	 * @param h - The height of the ellipse.
-	 * @remarks
-	 * http://stackoverflow.com/questions/2172798/how-to-draw-an-oval-in-html5-canvas
-	 *
-	 * Postfix '_vis' added to discern it from standard method ellipse().
-	 */
-
-	function drawEllipse(ctx, x, y, w, h) {
-		var kappa = 0.5522848,
-			ox = w / 2 * kappa,
-			// control point offset horizontal
-			oy = h / 2 * kappa,
-			// control point offset vertical
-			xe = x + w,
-			// x-end
-			ye = y + h,
-			// y-end
-			xm = x + w / 2,
-			// x-middle
-			ym = y + h / 2; // y-middle
-
-		ctx.beginPath();
-		ctx.moveTo(x, ym);
-		ctx.bezierCurveTo(x, ym - oy, xm - ox, y, xm, y);
-		ctx.bezierCurveTo(xm + ox, y, xe, ym - oy, xe, ym);
-		ctx.bezierCurveTo(xe, ym + oy, xm + ox, ye, xm, ye);
-		ctx.bezierCurveTo(xm - ox, ye, x, ym + oy, x, ym);
-		ctx.closePath();
-	}
-	/**
-	 * Draw an isometric cylinder.
-	 *
-	 * @param ctx - The context this shape will be rendered to.
-	 * @param x - The position of the center on the x axis.
-	 * @param y - The position of the center on the y axis.
-	 * @param w - The width of the database.
-	 * @param h - The height of the database.
-	 * @remarks
-	 * http://stackoverflow.com/questions/2172798/how-to-draw-an-oval-in-html5-canvas
-	 */
-
-	function drawDatabase(ctx, x, y, w, h) {
-		var f = 1 / 3;
-		var wEllipse = w;
-		var hEllipse = h * f;
-		var kappa = 0.5522848,
-			ox = wEllipse / 2 * kappa,
-			// control point offset horizontal
-			oy = hEllipse / 2 * kappa,
-			// control point offset vertical
-			xe = x + wEllipse,
-			// x-end
-			ye = y + hEllipse,
-			// y-end
-			xm = x + wEllipse / 2,
-			// x-middle
-			ym = y + hEllipse / 2,
-			// y-middle
-			ymb = y + (h - hEllipse / 2),
-			// y-midlle, bottom ellipse
-			yeb = y + h; // y-end, bottom ellipse
-
-		ctx.beginPath();
-		ctx.moveTo(xe, ym);
-		ctx.bezierCurveTo(xe, ym + oy, xm + ox, ye, xm, ye);
-		ctx.bezierCurveTo(xm - ox, ye, x, ym + oy, x, ym);
-		ctx.bezierCurveTo(x, ym - oy, xm - ox, y, xm, y);
-		ctx.bezierCurveTo(xm + ox, y, xe, ym - oy, xe, ym);
-		ctx.lineTo(xe, ymb);
-		ctx.bezierCurveTo(xe, ymb + oy, xm + ox, yeb, xm, yeb);
-		ctx.bezierCurveTo(xm - ox, yeb, x, ymb + oy, x, ymb);
-		ctx.lineTo(x, ym);
-	}
-	/**
-	 * Draw a dashed line.
-	 *
-	 * @param ctx - The context this shape will be rendered to.
-	 * @param x - The start position on the x axis.
-	 * @param y - The start position on the y axis.
-	 * @param x2 - The end position on the x axis.
-	 * @param y2 - The end position on the y axis.
-	 * @param pattern - List of lengths starting with line and then alternating between space and line.
-	 * @author David Jordan
-	 * @remarks
-	 * date 2012-08-08
-	 * http://stackoverflow.com/questions/4576724/dotted-stroke-in-canvas
-	 */
-
-	function drawDashedLine(ctx, x, y, x2, y2, pattern) {
-		ctx.beginPath();
-		ctx.moveTo(x, y);
-		var patternLength = pattern.length;
-		var dx = x2 - x;
-		var dy = y2 - y;
-		var slope = dy / dx;
-		var distRemaining = Math.sqrt(dx * dx + dy * dy);
-		var patternIndex = 0;
-		var draw = true;
-		var xStep = 0;
-		var dashLength = +pattern[0];
-
-		while (distRemaining >= 0.1) {
-			dashLength = +pattern[patternIndex++ % patternLength];
-
-			if (dashLength > distRemaining) {
-				dashLength = distRemaining;
-			}
-
-			xStep = Math.sqrt(dashLength * dashLength / (1 + slope * slope));
-			xStep = dx < 0 ? -xStep : xStep;
-			x += xStep;
-			y += slope * xStep;
-
-			if (draw === true) {
-				ctx.lineTo(x, y);
-			} else {
-				ctx.moveTo(x, y);
-			}
-
-			distRemaining -= dashLength;
-			draw = !draw;
-		}
-	}
-	/**
-	 * Draw a hexagon.
-	 *
-	 * @param ctx - The context this shape will be rendered to.
-	 * @param x - The position of the center on the x axis.
-	 * @param y - The position of the center on the y axis.
-	 * @param r - The radius of the hexagon.
-	 */
-
-	function drawHexagon(ctx, x, y, r) {
-		ctx.beginPath();
-		var sides = 6;
-		var a = Math.PI * 2 / sides;
-		ctx.moveTo(x + r, y);
-
-		for (var i = 1; i < sides; i++) {
-			ctx.lineTo(x + r * Math.cos(a * i), y + r * Math.sin(a * i));
-		}
-
-		ctx.closePath();
-	}
-	var shapeMap = {
-		circle: drawCircle,
-		dashedLine: drawDashedLine,
-		database: drawDatabase,
-		diamond: drawDiamond,
-		ellipse: drawEllipse,
-		ellipse_vis: drawEllipse,
-		hexagon: drawHexagon,
-		roundRect: drawRoundRect,
-		square: drawSquare,
-		star: drawStar,
-		triangle: drawTriangle,
-		triangleDown: drawTriangleDown
-	};
-	/**
-	 * Returns either custom or native drawing function base on supplied name.
-	 *
-	 * @param name - The name of the function. Either the name of a
-	 * CanvasRenderingContext2D property or an export from shapes.ts without the
-	 * draw prefix.
-	 * @returns The function that can be used for rendering. In case of native
-	 * CanvasRenderingContext2D function the API is normalized to
-	 * `(ctx: CanvasRenderingContext2D, ...originalArgs) => void`.
-	 */
-
-	function getShape(name) {
-		if (Object.prototype.hasOwnProperty.call(shapeMap, name)) {
-			return shapeMap[name];
-		} else {
-			return function (ctx) {
-				for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
-					args[_key - 1] = arguments[_key];
-				}
-
-				CanvasRenderingContext2D.prototype[name].call(ctx, args);
-			};
-		}
-	}
-
-	var componentEmitter = { exports: {} };
-
-	(function (module) {
-		/**
-		 * Expose `Emitter`.
-		 */
-		{
-			module.exports = Emitter;
-		}
-		/**
-		 * Initialize a new `Emitter`.
-		 *
-		 * @api public
-		 */
-
-
-		function Emitter(obj) {
-			if (obj) return mixin(obj);
-		}
-		/**
-		 * Mixin the emitter properties.
-		 *
-		 * @param {Object} obj
-		 * @return {Object}
-		 * @api private
-		 */
-
-		function mixin(obj) {
-			for (var key in Emitter.prototype) {
-				obj[key] = Emitter.prototype[key];
-			}
-
-			return obj;
-		}
-		/**
-		 * Listen on the given `event` with `fn`.
-		 *
-		 * @param {String} event
-		 * @param {Function} fn
-		 * @return {Emitter}
-		 * @api public
-		 */
-
-
-		Emitter.prototype.on = Emitter.prototype.addEventListener = function (event, fn) {
-			this._callbacks = this._callbacks || {};
-			(this._callbacks['$' + event] = this._callbacks['$' + event] || []).push(fn);
-			return this;
-		};
-		/**
-		 * Adds an `event` listener that will be invoked a single
-		 * time then automatically removed.
-		 *
-		 * @param {String} event
-		 * @param {Function} fn
-		 * @return {Emitter}
-		 * @api public
-		 */
-
-
-		Emitter.prototype.once = function (event, fn) {
-			function on() {
-				this.off(event, on);
-				fn.apply(this, arguments);
-			}
-
-			on.fn = fn;
-			this.on(event, on);
-			return this;
-		};
-		/**
-		 * Remove the given callback for `event` or all
-		 * registered callbacks.
-		 *
-		 * @param {String} event
-		 * @param {Function} fn
-		 * @return {Emitter}
-		 * @api public
-		 */
-
-
-		Emitter.prototype.off = Emitter.prototype.removeListener = Emitter.prototype.removeAllListeners = Emitter.prototype.removeEventListener = function (event, fn) {
-			this._callbacks = this._callbacks || {}; // all
-
-			if (0 == arguments.length) {
-				this._callbacks = {};
-				return this;
-			} // specific event
-
-
-			var callbacks = this._callbacks['$' + event];
-			if (!callbacks) return this; // remove all handlers
-
-			if (1 == arguments.length) {
-				delete this._callbacks['$' + event];
-				return this;
-			} // remove specific handler
-
-
-			var cb;
-
-			for (var i = 0; i < callbacks.length; i++) {
-				cb = callbacks[i];
-
-				if (cb === fn || cb.fn === fn) {
-					callbacks.splice(i, 1);
-					break;
-				}
-			} // Remove event specific arrays for event types that no
-			// one is subscribed for to avoid memory leak.
-
-
-			if (callbacks.length === 0) {
-				delete this._callbacks['$' + event];
-			}
-
-			return this;
-		};
-		/**
-		 * Emit `event` with the given args.
-		 *
-		 * @param {String} event
-		 * @param {Mixed} ...
-		 * @return {Emitter}
-		 */
-
-
-		Emitter.prototype.emit = function (event) {
-			this._callbacks = this._callbacks || {};
-			var args = new Array(arguments.length - 1),
-				callbacks = this._callbacks['$' + event];
-
-			for (var i = 1; i < arguments.length; i++) {
-				args[i - 1] = arguments[i];
-			}
-
-			if (callbacks) {
-				callbacks = callbacks.slice(0);
-
-				for (var i = 0, len = callbacks.length; i < len; ++i) {
-					callbacks[i].apply(this, args);
-				}
-			}
-
-			return this;
-		};
-		/**
-		 * Return array of callbacks for `event`.
-		 *
-		 * @param {String} event
-		 * @return {Array}
-		 * @api public
-		 */
-
-
-		Emitter.prototype.listeners = function (event) {
-			this._callbacks = this._callbacks || {};
-			return this._callbacks['$' + event] || [];
-		};
-		/**
-		 * Check if this emitter has `event` handlers.
-		 *
-		 * @param {String} event
-		 * @return {Boolean}
-		 * @api public
-		 */
-
-
-		Emitter.prototype.hasListeners = function (event) {
-			return !!this.listeners(event).length;
-		};
-	})(componentEmitter);
-
-	var Emitter = componentEmitter.exports;
-
-	var wellKnownSymbol$h = wellKnownSymbol$j;
-	var TO_STRING_TAG$3 = wellKnownSymbol$h('toStringTag');
-	var test$2 = {};
-	test$2[TO_STRING_TAG$3] = 'z';
-	var toStringTagSupport = String(test$2) === '[object z]';
-
-	var global$w = global$P;
-	var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
-	var isCallable$9 = isCallable$h;
-	var classofRaw = classofRaw$1;
-	var wellKnownSymbol$g = wellKnownSymbol$j;
-	var TO_STRING_TAG$2 = wellKnownSymbol$g('toStringTag');
-	var Object$7 = global$w.Object; // ES3 wrong here
-
-	var CORRECT_ARGUMENTS = classofRaw(function () {
-		return arguments;
-	}()) == 'Arguments'; // fallback for IE11 Script Access Denied error
-
-	var tryGet = function (it, key) {
-		try {
-			return it[key];
-		} catch (error) {
-			/* empty */
-		}
-	}; // getting tag from ES6+ `Object.prototype.toString`
-
-
-	var classof$e = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
-		var O, tag, result;
-		return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case
-			: typeof (tag = tryGet(O = Object$7(it), TO_STRING_TAG$2)) == 'string' ? tag // builtinTag case
-				: CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback
-					: (result = classofRaw(O)) == 'Object' && isCallable$9(O.callee) ? 'Arguments' : result;
-	};
-
-	var global$v = global$P;
-	var classof$d = classof$e;
-	var String$2 = global$v.String;
-
-	var toString$8 = function (argument) {
-		if (classof$d(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
-		return String$2(argument);
-	};
-
-	var uncurryThis$k = functionUncurryThis;
-	var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
-	var toString$7 = toString$8;
-	var requireObjectCoercible$2 = requireObjectCoercible$5;
-	var charAt$3 = uncurryThis$k(''.charAt);
-	var charCodeAt$1 = uncurryThis$k(''.charCodeAt);
-	var stringSlice = uncurryThis$k(''.slice);
-
-	var createMethod$4 = function (CONVERT_TO_STRING) {
-		return function ($this, pos) {
-			var S = toString$7(requireObjectCoercible$2($this));
-			var position = toIntegerOrInfinity$1(pos);
-			var size = S.length;
-			var first, second;
-			if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
-			first = charCodeAt$1(S, position);
-			return first < 0xD800 || first > 0xDBFF || position + 1 === size || (second = charCodeAt$1(S, position + 1)) < 0xDC00 || second > 0xDFFF ? CONVERT_TO_STRING ? charAt$3(S, position) : first : CONVERT_TO_STRING ? stringSlice(S, position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
-		};
-	};
-
-	var stringMultibyte = {
-		// `String.prototype.codePointAt` method
-		// https://tc39.es/ecma262/#sec-string.prototype.codepointat
-		codeAt: createMethod$4(false),
-		// `String.prototype.at` method
-		// https://github.com/mathiasbynens/String.prototype.at
-		charAt: createMethod$4(true)
-	};
-
-	var uncurryThis$j = functionUncurryThis;
-	var isCallable$8 = isCallable$h;
-	var store$1 = sharedStore;
-	var functionToString = uncurryThis$j(Function.toString); // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
-
-	if (!isCallable$8(store$1.inspectSource)) {
-		store$1.inspectSource = function (it) {
-			return functionToString(it);
-		};
-	}
-
-	var inspectSource$2 = store$1.inspectSource;
-
-	var global$u = global$P;
-	var isCallable$7 = isCallable$h;
-	var inspectSource$1 = inspectSource$2;
-	var WeakMap$1 = global$u.WeakMap;
-	var nativeWeakMap = isCallable$7(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
-
-	var shared$2 = shared$4.exports;
-	var uid$2 = uid$4;
-	var keys$7 = shared$2('keys');
-
-	var sharedKey$4 = function (key) {
-		return keys$7[key] || (keys$7[key] = uid$2(key));
-	};
-
-	var NATIVE_WEAK_MAP$1 = nativeWeakMap;
-	var global$t = global$P;
-	var uncurryThis$i = functionUncurryThis;
-	var isObject$d = isObject$j;
-	var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
-	var hasOwn$c = hasOwnProperty_1;
-	var shared$1 = sharedStore;
-	var sharedKey$3 = sharedKey$4;
-	var hiddenKeys$4 = hiddenKeys$6;
-	var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
-	var TypeError$d = global$t.TypeError;
-	var WeakMap = global$t.WeakMap;
-	var set$3, get$6, has;
-
-	var enforce = function (it) {
-		return has(it) ? get$6(it) : set$3(it, {});
-	};
-
-	var getterFor = function (TYPE) {
-		return function (it) {
-			var state;
-
-			if (!isObject$d(it) || (state = get$6(it)).type !== TYPE) {
-				throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
-			}
-
-			return state;
-		};
-	};
-
-	if (NATIVE_WEAK_MAP$1 || shared$1.state) {
-		var store = shared$1.state || (shared$1.state = new WeakMap());
-		var wmget = uncurryThis$i(store.get);
-		var wmhas = uncurryThis$i(store.has);
-		var wmset = uncurryThis$i(store.set);
-
-		set$3 = function (it, metadata) {
-			if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
-			metadata.facade = it;
-			wmset(store, it, metadata);
-			return metadata;
-		};
-
-		get$6 = function (it) {
-			return wmget(store, it) || {};
-		};
-
-		has = function (it) {
-			return wmhas(store, it);
-		};
-	} else {
-		var STATE = sharedKey$3('state');
-		hiddenKeys$4[STATE] = true;
-
-		set$3 = function (it, metadata) {
-			if (hasOwn$c(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
-			metadata.facade = it;
-			createNonEnumerableProperty$4(it, STATE, metadata);
-			return metadata;
-		};
-
-		get$6 = function (it) {
-			return hasOwn$c(it, STATE) ? it[STATE] : {};
-		};
-
-		has = function (it) {
-			return hasOwn$c(it, STATE);
-		};
-	}
-
-	var internalState = {
-		set: set$3,
-		get: get$6,
-		has: has,
-		enforce: enforce,
-		getterFor: getterFor
-	};
-
-	var DESCRIPTORS$b = descriptors;
-	var hasOwn$b = hasOwnProperty_1;
-	var FunctionPrototype = Function.prototype; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-
-	var getDescriptor = DESCRIPTORS$b && Object.getOwnPropertyDescriptor;
-	var EXISTS = hasOwn$b(FunctionPrototype, 'name'); // additional protection from minified / mangled / dropped function names
-
-	var PROPER = EXISTS && function something() {
-		/* empty */
-	}.name === 'something';
-
-	var CONFIGURABLE = EXISTS && (!DESCRIPTORS$b || DESCRIPTORS$b && getDescriptor(FunctionPrototype, 'name').configurable);
-	var functionName = {
-		EXISTS: EXISTS,
-		PROPER: PROPER,
-		CONFIGURABLE: CONFIGURABLE
-	};
-
-	var objectDefineProperties = {};
-
-	var DESCRIPTORS$a = descriptors;
-	var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
-	var definePropertyModule$3 = objectDefineProperty;
-	var anObject$b = anObject$d;
-	var toIndexedObject$7 = toIndexedObject$b;
-	var objectKeys$2 = objectKeys$4; // `Object.defineProperties` method
-	// https://tc39.es/ecma262/#sec-object.defineproperties
-	// eslint-disable-next-line es/no-object-defineproperties -- safe
-
-	objectDefineProperties.f = DESCRIPTORS$a && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
-		anObject$b(O);
-		var props = toIndexedObject$7(Properties);
-		var keys = objectKeys$2(Properties);
-		var length = keys.length;
-		var index = 0;
-		var key;
-
-		while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
-
-		return O;
-	};
-
-	var getBuiltIn$6 = getBuiltIn$9;
-	var html$1 = getBuiltIn$6('document', 'documentElement');
-
-	/* global ActiveXObject -- old IE, WSH */
-	var anObject$a = anObject$d;
-	var definePropertiesModule$1 = objectDefineProperties;
-	var enumBugKeys$1 = enumBugKeys$3;
-	var hiddenKeys$3 = hiddenKeys$6;
-	var html = html$1;
-	var documentCreateElement = documentCreateElement$1;
-	var sharedKey$2 = sharedKey$4;
-	var GT = '>';
-	var LT = '<';
-	var PROTOTYPE$1 = 'prototype';
-	var SCRIPT = 'script';
-	var IE_PROTO$1 = sharedKey$2('IE_PROTO');
-
-	var EmptyConstructor = function () {
-		/* empty */
-	};
-
-	var scriptTag = function (content) {
-		return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
-	}; // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
-
-
-	var NullProtoObjectViaActiveX = function (activeXDocument) {
-		activeXDocument.write(scriptTag(''));
-		activeXDocument.close();
-		var temp = activeXDocument.parentWindow.Object;
-		activeXDocument = null; // avoid memory leak
-
-		return temp;
-	}; // Create object with fake `null` prototype: use iframe Object with cleared prototype
-
-
-	var NullProtoObjectViaIFrame = function () {
-		// Thrash, waste and sodomy: IE GC bug
-		var iframe = documentCreateElement('iframe');
-		var JS = 'java' + SCRIPT + ':';
-		var iframeDocument;
-		iframe.style.display = 'none';
-		html.appendChild(iframe); // https://github.com/zloirock/core-js/issues/475
-
-		iframe.src = String(JS);
-		iframeDocument = iframe.contentWindow.document;
-		iframeDocument.open();
-		iframeDocument.write(scriptTag('document.F=Object'));
-		iframeDocument.close();
-		return iframeDocument.F;
-	}; // Check for document.domain and active x support
-	// No need to use active x approach when document.domain is not set
-	// see https://github.com/es-shims/es5-shim/issues/150
-	// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
-	// avoid IE GC bug
-
-
-	var activeXDocument;
-
-	var NullProtoObject = function () {
-		try {
-			activeXDocument = new ActiveXObject('htmlfile');
-		} catch (error) {
-			/* ignore */
-		}
-
-		NullProtoObject = typeof document != 'undefined' ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) // old IE
-			: NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); // WSH
-
-		var length = enumBugKeys$1.length;
-
-		while (length--) delete NullProtoObject[PROTOTYPE$1][enumBugKeys$1[length]];
-
-		return NullProtoObject();
-	};
-
-	hiddenKeys$3[IE_PROTO$1] = true; // `Object.create` method
-	// https://tc39.es/ecma262/#sec-object.create
-
-	var objectCreate = Object.create || function create(O, Properties) {
-		var result;
-
-		if (O !== null) {
-			EmptyConstructor[PROTOTYPE$1] = anObject$a(O);
-			result = new EmptyConstructor();
-			EmptyConstructor[PROTOTYPE$1] = null; // add "__proto__" for Object.getPrototypeOf polyfill
-
-			result[IE_PROTO$1] = O;
-		} else result = NullProtoObject();
-
-		return Properties === undefined ? result : definePropertiesModule$1.f(result, Properties);
-	};
-
-	var fails$k = fails$t;
-	var correctPrototypeGetter = !fails$k(function () {
-		function F() {
-			/* empty */
-		}
-
-		F.prototype.constructor = null; // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
-
-		return Object.getPrototypeOf(new F()) !== F.prototype;
-	});
-
-	var global$s = global$P;
-	var hasOwn$a = hasOwnProperty_1;
-	var isCallable$6 = isCallable$h;
-	var toObject$b = toObject$e;
-	var sharedKey$1 = sharedKey$4;
-	var CORRECT_PROTOTYPE_GETTER$1 = correctPrototypeGetter;
-	var IE_PROTO = sharedKey$1('IE_PROTO');
-	var Object$6 = global$s.Object;
-	var ObjectPrototype$2 = Object$6.prototype; // `Object.getPrototypeOf` method
-	// https://tc39.es/ecma262/#sec-object.getprototypeof
-
-	var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER$1 ? Object$6.getPrototypeOf : function (O) {
-		var object = toObject$b(O);
-		if (hasOwn$a(object, IE_PROTO)) return object[IE_PROTO];
-		var constructor = object.constructor;
-
-		if (isCallable$6(constructor) && object instanceof constructor) {
-			return constructor.prototype;
-		}
-
-		return object instanceof Object$6 ? ObjectPrototype$2 : null;
-	};
-
-	var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
-
-	var redefine$4 = function (target, key, value, options) {
-		if (options && options.enumerable) target[key] = value; else createNonEnumerableProperty$3(target, key, value);
-	};
-
-	var fails$j = fails$t;
-	var isCallable$5 = isCallable$h;
-	var create$a = objectCreate;
-	var getPrototypeOf$8 = objectGetPrototypeOf;
-	var redefine$3 = redefine$4;
-	var wellKnownSymbol$f = wellKnownSymbol$j;
-	var ITERATOR$6 = wellKnownSymbol$f('iterator');
-	var BUGGY_SAFARI_ITERATORS$1 = false; // `%IteratorPrototype%` object
-	// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
-
-	var IteratorPrototype$1, PrototypeOfArrayIteratorPrototype, arrayIterator;
-	/* eslint-disable es/no-array-prototype-keys -- safe */
-
-	if ([].keys) {
-		arrayIterator = [].keys(); // Safari 8 has buggy iterators w/o `next`
-
-		if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true; else {
-			PrototypeOfArrayIteratorPrototype = getPrototypeOf$8(getPrototypeOf$8(arrayIterator));
-			if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$1 = PrototypeOfArrayIteratorPrototype;
-		}
-	}
-
-	var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$1 == undefined || fails$j(function () {
-		var test = {}; // FF44- legacy iterators case
-
-		return IteratorPrototype$1[ITERATOR$6].call(test) !== test;
-	});
-	if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$1 = {}; else IteratorPrototype$1 = create$a(IteratorPrototype$1); // `%IteratorPrototype%[@@iterator]()` method
-	// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
-
-	if (!isCallable$5(IteratorPrototype$1[ITERATOR$6])) {
-		redefine$3(IteratorPrototype$1, ITERATOR$6, function () {
-			return this;
-		});
-	}
-
-	var iteratorsCore = {
-		IteratorPrototype: IteratorPrototype$1,
-		BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
-	};
-
-	var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
-	var classof$c = classof$e; // `Object.prototype.toString` method implementation
-	// https://tc39.es/ecma262/#sec-object.prototype.tostring
-
-	var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
-		return '[object ' + classof$c(this) + ']';
-	};
-
-	var TO_STRING_TAG_SUPPORT = toStringTagSupport;
-	var defineProperty$c = objectDefineProperty.f;
-	var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
-	var hasOwn$9 = hasOwnProperty_1;
-	var toString$6 = objectToString;
-	var wellKnownSymbol$e = wellKnownSymbol$j;
-	var TO_STRING_TAG$1 = wellKnownSymbol$e('toStringTag');
-
-	var setToStringTag$5 = function (it, TAG, STATIC, SET_METHOD) {
-		if (it) {
-			var target = STATIC ? it : it.prototype;
-
-			if (!hasOwn$9(target, TO_STRING_TAG$1)) {
-				defineProperty$c(target, TO_STRING_TAG$1, {
-					configurable: true,
-					value: TAG
-				});
-			}
-
-			if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {
-				createNonEnumerableProperty$2(target, 'toString', toString$6);
-			}
-		}
-	};
-
-	var iterators = {};
-
-	var IteratorPrototype = iteratorsCore.IteratorPrototype;
-	var create$9 = objectCreate;
-	var createPropertyDescriptor$2 = createPropertyDescriptor$5;
-	var setToStringTag$4 = setToStringTag$5;
-	var Iterators$5 = iterators;
-
-	var returnThis$1 = function () {
-		return this;
-	};
-
-	var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
-		var TO_STRING_TAG = NAME + ' Iterator';
-		IteratorConstructor.prototype = create$9(IteratorPrototype, {
-			next: createPropertyDescriptor$2(+!ENUMERABLE_NEXT, next)
-		});
-		setToStringTag$4(IteratorConstructor, TO_STRING_TAG, false, true);
-		Iterators$5[TO_STRING_TAG] = returnThis$1;
-		return IteratorConstructor;
-	};
-
-	var global$r = global$P;
-	var isCallable$4 = isCallable$h;
-	var String$1 = global$r.String;
-	var TypeError$c = global$r.TypeError;
-
-	var aPossiblePrototype$1 = function (argument) {
-		if (typeof argument == 'object' || isCallable$4(argument)) return argument;
-		throw TypeError$c("Can't set " + String$1(argument) + ' as a prototype');
-	};
-
-	/* eslint-disable no-proto -- safe */
-	var uncurryThis$h = functionUncurryThis;
-	var anObject$9 = anObject$d;
-	var aPossiblePrototype = aPossiblePrototype$1; // `Object.setPrototypeOf` method
-	// https://tc39.es/ecma262/#sec-object.setprototypeof
-	// Works with __proto__ only. Old v8 can't work with null proto objects.
-	// eslint-disable-next-line es/no-object-setprototypeof -- safe
-
-	var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
-		var CORRECT_SETTER = false;
-		var test = {};
-		var setter;
-
-		try {
-			// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-			setter = uncurryThis$h(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
-			setter(test, []);
-			CORRECT_SETTER = test instanceof Array;
-		} catch (error) {
-			/* empty */
-		}
-
-		return function setPrototypeOf(O, proto) {
-			anObject$9(O);
-			aPossiblePrototype(proto);
-			if (CORRECT_SETTER) setter(O, proto); else O.__proto__ = proto;
-			return O;
-		};
-	}() : undefined);
-
-	var $$H = _export;
-	var call$6 = functionCall;
-	var FunctionName = functionName;
-	var createIteratorConstructor = createIteratorConstructor$1;
-	var getPrototypeOf$7 = objectGetPrototypeOf;
-	var setToStringTag$3 = setToStringTag$5;
-	var redefine$2 = redefine$4;
-	var wellKnownSymbol$d = wellKnownSymbol$j;
-	var Iterators$4 = iterators;
-	var IteratorsCore = iteratorsCore;
-	var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
-	var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
-	var ITERATOR$5 = wellKnownSymbol$d('iterator');
-	var KEYS = 'keys';
-	var VALUES = 'values';
-	var ENTRIES = 'entries';
-
-	var returnThis = function () {
-		return this;
-	};
-
-	var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
-		createIteratorConstructor(IteratorConstructor, NAME, next);
-
-		var getIterationMethod = function (KIND) {
-			if (KIND === DEFAULT && defaultIterator) return defaultIterator;
-			if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
-
-			switch (KIND) {
-				case KEYS:
-					return function keys() {
-						return new IteratorConstructor(this, KIND);
-					};
-
-				case VALUES:
-					return function values() {
-						return new IteratorConstructor(this, KIND);
-					};
-
-				case ENTRIES:
-					return function entries() {
-						return new IteratorConstructor(this, KIND);
-					};
-			}
-
-			return function () {
-				return new IteratorConstructor(this);
-			};
-		};
-
-		var TO_STRING_TAG = NAME + ' Iterator';
-		var INCORRECT_VALUES_NAME = false;
-		var IterablePrototype = Iterable.prototype;
-		var nativeIterator = IterablePrototype[ITERATOR$5] || IterablePrototype['@@iterator'] || DEFAULT && IterablePrototype[DEFAULT];
-		var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
-		var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
-		var CurrentIteratorPrototype, methods, KEY; // fix native
-
-		if (anyNativeIterator) {
-			CurrentIteratorPrototype = getPrototypeOf$7(anyNativeIterator.call(new Iterable()));
-
-			if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
-
-
-				setToStringTag$3(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
-				Iterators$4[TO_STRING_TAG] = returnThis;
-			}
-		} // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
-
-
-		if (PROPER_FUNCTION_NAME$1 && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
-			{
-				INCORRECT_VALUES_NAME = true;
-
-				defaultIterator = function values() {
-					return call$6(nativeIterator, this);
-				};
-			}
-		} // export additional methods
-
-
-		if (DEFAULT) {
-			methods = {
-				values: getIterationMethod(VALUES),
-				keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
-				entries: getIterationMethod(ENTRIES)
-			};
-			if (FORCED) for (KEY in methods) {
-				if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
-					redefine$2(IterablePrototype, KEY, methods[KEY]);
-				}
-			} else $$H({
-				target: NAME,
-				proto: true,
-				forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME
-			}, methods);
-		} // define iterator
-
-
-		if ((FORCED) && IterablePrototype[ITERATOR$5] !== defaultIterator) {
-			redefine$2(IterablePrototype, ITERATOR$5, defaultIterator, {
-				name: DEFAULT
-			});
-		}
-
-		Iterators$4[NAME] = defaultIterator;
-		return methods;
-	};
-
-	var charAt$2 = stringMultibyte.charAt;
-	var toString$5 = toString$8;
-	var InternalStateModule$5 = internalState;
-	var defineIterator$2 = defineIterator$3;
-	var STRING_ITERATOR = 'String Iterator';
-	var setInternalState$5 = InternalStateModule$5.set;
-	var getInternalState$2 = InternalStateModule$5.getterFor(STRING_ITERATOR); // `String.prototype[@@iterator]` method
-	// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
-
-	defineIterator$2(String, 'String', function (iterated) {
-		setInternalState$5(this, {
-			type: STRING_ITERATOR,
-			string: toString$5(iterated),
-			index: 0
-		}); // `%StringIteratorPrototype%.next` method
-		// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
-	}, function next() {
-		var state = getInternalState$2(this);
-		var string = state.string;
-		var index = state.index;
-		var point;
-		if (index >= string.length) return {
-			value: undefined,
-			done: true
-		};
-		point = charAt$2(string, index);
-		state.index += point.length;
-		return {
-			value: point,
-			done: false
-		};
-	});
-
-	var call$5 = functionCall;
-	var anObject$8 = anObject$d;
-	var getMethod$1 = getMethod$3;
-
-	var iteratorClose$2 = function (iterator, kind, value) {
-		var innerResult, innerError;
-		anObject$8(iterator);
-
-		try {
-			innerResult = getMethod$1(iterator, 'return');
-
-			if (!innerResult) {
-				if (kind === 'throw') throw value;
-				return value;
-			}
-
-			innerResult = call$5(innerResult, iterator);
-		} catch (error) {
-			innerError = true;
-			innerResult = error;
-		}
-
-		if (kind === 'throw') throw value;
-		if (innerError) throw innerResult;
-		anObject$8(innerResult);
-		return value;
-	};
-
-	var anObject$7 = anObject$d;
-	var iteratorClose$1 = iteratorClose$2; // call something on iterator step with safe closing on error
-
-	var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
-		try {
-			return ENTRIES ? fn(anObject$7(value)[0], value[1]) : fn(value);
-		} catch (error) {
-			iteratorClose$1(iterator, 'throw', error);
-		}
-	};
-
-	var wellKnownSymbol$c = wellKnownSymbol$j;
-	var Iterators$3 = iterators;
-	var ITERATOR$4 = wellKnownSymbol$c('iterator');
-	var ArrayPrototype$i = Array.prototype; // check on default Array iterator
-
-	var isArrayIteratorMethod$2 = function (it) {
-		return it !== undefined && (Iterators$3.Array === it || ArrayPrototype$i[ITERATOR$4] === it);
-	};
-
-	var uncurryThis$g = functionUncurryThis;
-	var fails$i = fails$t;
-	var isCallable$3 = isCallable$h;
-	var classof$b = classof$e;
-	var getBuiltIn$5 = getBuiltIn$9;
-	var inspectSource = inspectSource$2;
-
-	var noop = function () {
-		/* empty */
-	};
-
-	var empty = [];
-	var construct$3 = getBuiltIn$5('Reflect', 'construct');
-	var constructorRegExp = /^\s*(?:class|function)\b/;
-	var exec$2 = uncurryThis$g(constructorRegExp.exec);
-	var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
-
-	var isConstructorModern = function isConstructor(argument) {
-		if (!isCallable$3(argument)) return false;
-
-		try {
-			construct$3(noop, empty, argument);
-			return true;
-		} catch (error) {
-			return false;
-		}
-	};
-
-	var isConstructorLegacy = function isConstructor(argument) {
-		if (!isCallable$3(argument)) return false;
-
-		switch (classof$b(argument)) {
-			case 'AsyncFunction':
-			case 'GeneratorFunction':
-			case 'AsyncGeneratorFunction':
-				return false;
-		}
-
-		try {
-			// we can't check .prototype since constructors produced by .bind haven't it
-			// `Function#toString` throws on some built-it function in some legacy engines
-			// (for example, `DOMQuad` and similar in FF41-)
-			return INCORRECT_TO_STRING || !!exec$2(constructorRegExp, inspectSource(argument));
-		} catch (error) {
-			return true;
-		}
-	};
-
-	isConstructorLegacy.sham = true; // `IsConstructor` abstract operation
-	// https://tc39.es/ecma262/#sec-isconstructor
-
-	var isConstructor$4 = !construct$3 || fails$i(function () {
-		var called;
-		return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function () {
-			called = true;
-		}) || called;
-	}) ? isConstructorLegacy : isConstructorModern;
-
-	var toPropertyKey$1 = toPropertyKey$4;
-	var definePropertyModule$2 = objectDefineProperty;
-	var createPropertyDescriptor$1 = createPropertyDescriptor$5;
-
-	var createProperty$6 = function (object, key, value) {
-		var propertyKey = toPropertyKey$1(key);
-		if (propertyKey in object) definePropertyModule$2.f(object, propertyKey, createPropertyDescriptor$1(0, value)); else object[propertyKey] = value;
-	};
-
-	var classof$a = classof$e;
-	var getMethod = getMethod$3;
-	var Iterators$2 = iterators;
-	var wellKnownSymbol$b = wellKnownSymbol$j;
-	var ITERATOR$3 = wellKnownSymbol$b('iterator');
-
-	var getIteratorMethod$8 = function (it) {
-		if (it != undefined) return getMethod(it, ITERATOR$3) || getMethod(it, '@@iterator') || Iterators$2[classof$a(it)];
-	};
-
-	var global$q = global$P;
-	var call$4 = functionCall;
-	var aCallable$3 = aCallable$7;
-	var anObject$6 = anObject$d;
-	var tryToString$2 = tryToString$4;
-	var getIteratorMethod$7 = getIteratorMethod$8;
-	var TypeError$b = global$q.TypeError;
-
-	var getIterator$7 = function (argument, usingIterator) {
-		var iteratorMethod = arguments.length < 2 ? getIteratorMethod$7(argument) : usingIterator;
-		if (aCallable$3(iteratorMethod)) return anObject$6(call$4(iteratorMethod, argument));
-		throw TypeError$b(tryToString$2(argument) + ' is not iterable');
-	};
-
-	var global$p = global$P;
-	var bind$5 = functionBindContext;
-	var call$3 = functionCall;
-	var toObject$a = toObject$e;
-	var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
-	var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
-	var isConstructor$3 = isConstructor$4;
-	var lengthOfArrayLike$b = lengthOfArrayLike$d;
-	var createProperty$5 = createProperty$6;
-	var getIterator$6 = getIterator$7;
-	var getIteratorMethod$6 = getIteratorMethod$8;
-	var Array$5 = global$p.Array; // `Array.from` method implementation
-	// https://tc39.es/ecma262/#sec-array.from
-
-	var arrayFrom = function from(arrayLike
-		/* , mapfn = undefined, thisArg = undefined */
-	) {
-		var O = toObject$a(arrayLike);
-		var IS_CONSTRUCTOR = isConstructor$3(this);
-		var argumentsLength = arguments.length;
-		var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
-		var mapping = mapfn !== undefined;
-		if (mapping) mapfn = bind$5(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
-		var iteratorMethod = getIteratorMethod$6(O);
-		var index = 0;
-		var length, result, step, iterator, next, value; // if the target is not iterable or it's an array with the default iterator - use a simple case
-
-		if (iteratorMethod && !(this == Array$5 && isArrayIteratorMethod$1(iteratorMethod))) {
-			iterator = getIterator$6(O, iteratorMethod);
-			next = iterator.next;
-			result = IS_CONSTRUCTOR ? new this() : [];
-
-			for (; !(step = call$3(next, iterator)).done; index++) {
-				value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
-				createProperty$5(result, index, value);
-			}
-		} else {
-			length = lengthOfArrayLike$b(O);
-			result = IS_CONSTRUCTOR ? new this(length) : Array$5(length);
-
-			for (; length > index; index++) {
-				value = mapping ? mapfn(O[index], index) : O[index];
-				createProperty$5(result, index, value);
-			}
-		}
-
-		result.length = index;
-		return result;
-	};
-
-	var wellKnownSymbol$a = wellKnownSymbol$j;
-	var ITERATOR$2 = wellKnownSymbol$a('iterator');
-	var SAFE_CLOSING = false;
-
-	try {
-		var called = 0;
-		var iteratorWithReturn = {
-			next: function () {
-				return {
-					done: !!called++
-				};
-			},
-			'return': function () {
-				SAFE_CLOSING = true;
-			}
-		};
-
-		iteratorWithReturn[ITERATOR$2] = function () {
-			return this;
-		}; // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
-
-
-		Array.from(iteratorWithReturn, function () {
-			throw 2;
-		});
-	} catch (error) {
-		/* empty */
-	}
-
-	var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
-		if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
-		var ITERATION_SUPPORT = false;
-
-		try {
-			var object = {};
-
-			object[ITERATOR$2] = function () {
-				return {
-					next: function () {
-						return {
-							done: ITERATION_SUPPORT = true
-						};
-					}
-				};
-			};
-
-			exec(object);
-		} catch (error) {
-			/* empty */
-		}
-
-		return ITERATION_SUPPORT;
-	};
-
-	var $$G = _export;
-	var from$6 = arrayFrom;
-	var checkCorrectnessOfIteration = checkCorrectnessOfIteration$1;
-	var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
-		// eslint-disable-next-line es/no-array-from -- required for testing
-		Array.from(iterable);
-	}); // `Array.from` method
-	// https://tc39.es/ecma262/#sec-array.from
-
-	$$G({
-		target: 'Array',
-		stat: true,
-		forced: INCORRECT_ITERATION
-	}, {
-		from: from$6
-	});
-
-	var path$t = path$y;
-	var from$5 = path$t.Array.from;
-
-	var parent$1a = from$5;
-	var from$4 = parent$1a;
-
-	var from$3 = from$4;
-
-	var toIndexedObject$6 = toIndexedObject$b;
-	var Iterators$1 = iterators;
-	var InternalStateModule$4 = internalState;
-	objectDefineProperty.f;
-	var defineIterator$1 = defineIterator$3;
-	var ARRAY_ITERATOR = 'Array Iterator';
-	var setInternalState$4 = InternalStateModule$4.set;
-	var getInternalState$1 = InternalStateModule$4.getterFor(ARRAY_ITERATOR); // `Array.prototype.entries` method
-	// https://tc39.es/ecma262/#sec-array.prototype.entries
-	// `Array.prototype.keys` method
-	// https://tc39.es/ecma262/#sec-array.prototype.keys
-	// `Array.prototype.values` method
-	// https://tc39.es/ecma262/#sec-array.prototype.values
-	// `Array.prototype[@@iterator]` method
-	// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
-	// `CreateArrayIterator` internal method
-	// https://tc39.es/ecma262/#sec-createarrayiterator
-
-	defineIterator$1(Array, 'Array', function (iterated, kind) {
-		setInternalState$4(this, {
-			type: ARRAY_ITERATOR,
-			target: toIndexedObject$6(iterated),
-			// target
-			index: 0,
-			// next index
-			kind: kind // kind
-
-		}); // `%ArrayIteratorPrototype%.next` method
-		// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
-	}, function () {
-		var state = getInternalState$1(this);
-		var target = state.target;
-		var kind = state.kind;
-		var index = state.index++;
-
-		if (!target || index >= target.length) {
-			state.target = undefined;
-			return {
-				value: undefined,
-				done: true
-			};
-		}
-
-		if (kind == 'keys') return {
-			value: index,
-			done: false
-		};
-		if (kind == 'values') return {
-			value: target[index],
-			done: false
-		};
-		return {
-			value: [index, target[index]],
-			done: false
-		};
-	}, 'values'); // argumentsList[@@iterator] is %ArrayProto_values%
-	// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
-	// https://tc39.es/ecma262/#sec-createmappedargumentsobject
-
-	Iterators$1.Arguments = Iterators$1.Array; // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-
-	var getIteratorMethod$5 = getIteratorMethod$8;
-	var getIteratorMethod_1 = getIteratorMethod$5;
-
-	// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
-
-	var domIterables = {
-		CSSRuleList: 0,
-		CSSStyleDeclaration: 0,
-		CSSValueList: 0,
-		ClientRectList: 0,
-		DOMRectList: 0,
-		DOMStringList: 0,
-		DOMTokenList: 1,
-		DataTransferItemList: 0,
-		FileList: 0,
-		HTMLAllCollection: 0,
-		HTMLCollection: 0,
-		HTMLFormElement: 0,
-		HTMLSelectElement: 0,
-		MediaList: 0,
-		MimeTypeArray: 0,
-		NamedNodeMap: 0,
-		NodeList: 1,
-		PaintRequestList: 0,
-		Plugin: 0,
-		PluginArray: 0,
-		SVGLengthList: 0,
-		SVGNumberList: 0,
-		SVGPathSegList: 0,
-		SVGPointList: 0,
-		SVGStringList: 0,
-		SVGTransformList: 0,
-		SourceBufferList: 0,
-		StyleSheetList: 0,
-		TextTrackCueList: 0,
-		TextTrackList: 0,
-		TouchList: 0
-	};
-
-	var DOMIterables$4 = domIterables;
-	var global$o = global$P;
-	var classof$9 = classof$e;
-	var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
-	var Iterators = iterators;
-	var wellKnownSymbol$9 = wellKnownSymbol$j;
-	var TO_STRING_TAG = wellKnownSymbol$9('toStringTag');
-
-	for (var COLLECTION_NAME in DOMIterables$4) {
-		var Collection = global$o[COLLECTION_NAME];
-		var CollectionPrototype = Collection && Collection.prototype;
-
-		if (CollectionPrototype && classof$9(CollectionPrototype) !== TO_STRING_TAG) {
-			createNonEnumerableProperty$1(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
-		}
-
-		Iterators[COLLECTION_NAME] = Iterators.Array;
-	}
-
-	var parent$19 = getIteratorMethod_1;
-	var getIteratorMethod$4 = parent$19;
-
-	var parent$18 = getIteratorMethod$4;
-	var getIteratorMethod$3 = parent$18;
-
-	var parent$17 = getIteratorMethod$3;
-	var getIteratorMethod$2 = parent$17;
-
-	var getIteratorMethod$1 = getIteratorMethod$2;
-
-	var classof$8 = classofRaw$1; // `IsArray` abstract operation
-	// https://tc39.es/ecma262/#sec-isarray
-	// eslint-disable-next-line es/no-array-isarray -- safe
-
-	var isArray$d = Array.isArray || function isArray(argument) {
-		return classof$8(argument) == 'Array';
-	};
-
-	var objectGetOwnPropertyNames = {};
-
-	var internalObjectKeys = objectKeysInternal;
-	var enumBugKeys = enumBugKeys$3;
-	var hiddenKeys$2 = enumBugKeys.concat('length', 'prototype'); // `Object.getOwnPropertyNames` method
-	// https://tc39.es/ecma262/#sec-object.getownpropertynames
-	// eslint-disable-next-line es/no-object-getownpropertynames -- safe
-
-	objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
-		return internalObjectKeys(O, hiddenKeys$2);
-	};
-
-	var objectGetOwnPropertyNamesExternal = {};
-
-	var global$n = global$P;
-	var toAbsoluteIndex$3 = toAbsoluteIndex$5;
-	var lengthOfArrayLike$a = lengthOfArrayLike$d;
-	var createProperty$4 = createProperty$6;
-	var Array$4 = global$n.Array;
-	var max$2 = Math.max;
-
-	var arraySliceSimple = function (O, start, end) {
-		var length = lengthOfArrayLike$a(O);
-		var k = toAbsoluteIndex$3(start, length);
-		var fin = toAbsoluteIndex$3(end === undefined ? length : end, length);
-		var result = Array$4(max$2(fin - k, 0));
-
-		for (var n = 0; k < fin; k++, n++) createProperty$4(result, n, O[k]);
-
-		result.length = n;
-		return result;
-	};
-
-	/* eslint-disable es/no-object-getownpropertynames -- safe */
-	var classof$7 = classofRaw$1;
-	var toIndexedObject$5 = toIndexedObject$b;
-	var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
-	var arraySlice$3 = arraySliceSimple;
-	var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
-
-	var getWindowNames = function (it) {
-		try {
-			return $getOwnPropertyNames$1(it);
-		} catch (error) {
-			return arraySlice$3(windowNames);
-		}
-	}; // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
-
-
-	objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
-		return windowNames && classof$7(it) == 'Window' ? getWindowNames(it) : $getOwnPropertyNames$1(toIndexedObject$5(it));
-	};
-
-	var wellKnownSymbolWrapped = {};
-
-	var wellKnownSymbol$8 = wellKnownSymbol$j;
-	wellKnownSymbolWrapped.f = wellKnownSymbol$8;
-
-	var path$s = path$y;
-	var hasOwn$8 = hasOwnProperty_1;
-	var wrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
-	var defineProperty$b = objectDefineProperty.f;
-
-	var defineWellKnownSymbol$l = function (NAME) {
-		var Symbol = path$s.Symbol || (path$s.Symbol = {});
-		if (!hasOwn$8(Symbol, NAME)) defineProperty$b(Symbol, NAME, {
-			value: wrappedWellKnownSymbolModule$1.f(NAME)
-		});
-	};
-
-	var global$m = global$P;
-	var isArray$c = isArray$d;
-	var isConstructor$2 = isConstructor$4;
-	var isObject$c = isObject$j;
-	var wellKnownSymbol$7 = wellKnownSymbol$j;
-	var SPECIES$3 = wellKnownSymbol$7('species');
-	var Array$3 = global$m.Array; // a part of `ArraySpeciesCreate` abstract operation
-	// https://tc39.es/ecma262/#sec-arrayspeciescreate
-
-	var arraySpeciesConstructor$1 = function (originalArray) {
-		var C;
-
-		if (isArray$c(originalArray)) {
-			C = originalArray.constructor; // cross-realm fallback
-
-			if (isConstructor$2(C) && (C === Array$3 || isArray$c(C.prototype))) C = undefined; else if (isObject$c(C)) {
-				C = C[SPECIES$3];
-				if (C === null) C = undefined;
-			}
-		}
-
-		return C === undefined ? Array$3 : C;
-	};
-
-	var arraySpeciesConstructor = arraySpeciesConstructor$1; // `ArraySpeciesCreate` abstract operation
-	// https://tc39.es/ecma262/#sec-arrayspeciescreate
-
-	var arraySpeciesCreate$4 = function (originalArray, length) {
-		return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
-	};
-
-	var bind$4 = functionBindContext;
-	var uncurryThis$f = functionUncurryThis;
-	var IndexedObject$1 = indexedObject;
-	var toObject$9 = toObject$e;
-	var lengthOfArrayLike$9 = lengthOfArrayLike$d;
-	var arraySpeciesCreate$3 = arraySpeciesCreate$4;
-	var push$4 = uncurryThis$f([].push); // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
-
-	var createMethod$3 = function (TYPE) {
-		var IS_MAP = TYPE == 1;
-		var IS_FILTER = TYPE == 2;
-		var IS_SOME = TYPE == 3;
-		var IS_EVERY = TYPE == 4;
-		var IS_FIND_INDEX = TYPE == 6;
-		var IS_FILTER_REJECT = TYPE == 7;
-		var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
-		return function ($this, callbackfn, that, specificCreate) {
-			var O = toObject$9($this);
-			var self = IndexedObject$1(O);
-			var boundFunction = bind$4(callbackfn, that);
-			var length = lengthOfArrayLike$9(self);
-			var index = 0;
-			var create = specificCreate || arraySpeciesCreate$3;
-			var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
-			var value, result;
-
-			for (; length > index; index++) if (NO_HOLES || index in self) {
-				value = self[index];
-				result = boundFunction(value, index, O);
-
-				if (TYPE) {
-					if (IS_MAP) target[index] = result; // map
-					else if (result) switch (TYPE) {
-						case 3:
-							return true;
-						// some
-
-						case 5:
-							return value;
-						// find
-
-						case 6:
-							return index;
-						// findIndex
-
-						case 2:
-							push$4(target, value);
-						// filter
-					} else switch (TYPE) {
-						case 4:
-							return false;
-						// every
-
-						case 7:
-							push$4(target, value);
-						// filterReject
-					}
-				}
-			}
-
-			return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
-		};
-	};
-
-	var arrayIteration = {
-		// `Array.prototype.forEach` method
-		// https://tc39.es/ecma262/#sec-array.prototype.foreach
-		forEach: createMethod$3(0),
-		// `Array.prototype.map` method
-		// https://tc39.es/ecma262/#sec-array.prototype.map
-		map: createMethod$3(1),
-		// `Array.prototype.filter` method
-		// https://tc39.es/ecma262/#sec-array.prototype.filter
-		filter: createMethod$3(2),
-		// `Array.prototype.some` method
-		// https://tc39.es/ecma262/#sec-array.prototype.some
-		some: createMethod$3(3),
-		// `Array.prototype.every` method
-		// https://tc39.es/ecma262/#sec-array.prototype.every
-		every: createMethod$3(4),
-		// `Array.prototype.find` method
-		// https://tc39.es/ecma262/#sec-array.prototype.find
-		find: createMethod$3(5),
-		// `Array.prototype.findIndex` method
-		// https://tc39.es/ecma262/#sec-array.prototype.findIndex
-		findIndex: createMethod$3(6),
-		// `Array.prototype.filterReject` method
-		// https://github.com/tc39/proposal-array-filtering
-		filterReject: createMethod$3(7)
-	};
-
-	var $$F = _export;
-	var global$l = global$P;
-	var getBuiltIn$4 = getBuiltIn$9;
-	var apply$4 = functionApply;
-	var call$2 = functionCall;
-	var uncurryThis$e = functionUncurryThis;
-	var DESCRIPTORS$9 = descriptors;
-	var NATIVE_SYMBOL = nativeSymbol;
-	var fails$h = fails$t;
-	var hasOwn$7 = hasOwnProperty_1;
-	var isArray$b = isArray$d;
-	var isCallable$2 = isCallable$h;
-	var isObject$b = isObject$j;
-	var isPrototypeOf$l = objectIsPrototypeOf;
-	var isSymbol = isSymbol$3;
-	var anObject$5 = anObject$d;
-	var toObject$8 = toObject$e;
-	var toIndexedObject$4 = toIndexedObject$b;
-	var toPropertyKey = toPropertyKey$4;
-	var $toString = toString$8;
-	var createPropertyDescriptor = createPropertyDescriptor$5;
-	var nativeObjectCreate = objectCreate;
-	var objectKeys$1 = objectKeys$4;
-	var getOwnPropertyNamesModule$2 = objectGetOwnPropertyNames;
-	var getOwnPropertyNamesExternal = objectGetOwnPropertyNamesExternal;
-	var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
-	var getOwnPropertyDescriptorModule$2 = objectGetOwnPropertyDescriptor;
-	var definePropertyModule$1 = objectDefineProperty;
-	var definePropertiesModule = objectDefineProperties;
-	var propertyIsEnumerableModule = objectPropertyIsEnumerable;
-	var arraySlice$2 = arraySlice$5;
-	var redefine$1 = redefine$4;
-	var shared = shared$4.exports;
-	var sharedKey = sharedKey$4;
-	var hiddenKeys$1 = hiddenKeys$6;
-	var uid$1 = uid$4;
-	var wellKnownSymbol$6 = wellKnownSymbol$j;
-	var wrappedWellKnownSymbolModule = wellKnownSymbolWrapped;
-	var defineWellKnownSymbol$k = defineWellKnownSymbol$l;
-	var setToStringTag$2 = setToStringTag$5;
-	var InternalStateModule$3 = internalState;
-	var $forEach$1 = arrayIteration.forEach;
-	var HIDDEN = sharedKey('hidden');
-	var SYMBOL = 'Symbol';
-	var PROTOTYPE = 'prototype';
-	var TO_PRIMITIVE = wellKnownSymbol$6('toPrimitive');
-	var setInternalState$3 = InternalStateModule$3.set;
-	var getInternalState = InternalStateModule$3.getterFor(SYMBOL);
-	var ObjectPrototype$1 = Object[PROTOTYPE];
-	var $Symbol = global$l.Symbol;
-	var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
-	var TypeError$a = global$l.TypeError;
-	var QObject = global$l.QObject;
-	var $stringify$1 = getBuiltIn$4('JSON', 'stringify');
-	var nativeGetOwnPropertyDescriptor$1 = getOwnPropertyDescriptorModule$2.f;
-	var nativeDefineProperty = definePropertyModule$1.f;
-	var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
-	var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
-	var push$3 = uncurryThis$e([].push);
-	var AllSymbols = shared('symbols');
-	var ObjectPrototypeSymbols = shared('op-symbols');
-	var StringToSymbolRegistry = shared('string-to-symbol-registry');
-	var SymbolToStringRegistry = shared('symbol-to-string-registry');
-	var WellKnownSymbolsStore = shared('wks'); // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
-
-	var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
-
-	var setSymbolDescriptor = DESCRIPTORS$9 && fails$h(function () {
-		return nativeObjectCreate(nativeDefineProperty({}, 'a', {
-			get: function () {
-				return nativeDefineProperty(this, 'a', {
-					value: 7
-				}).a;
-			}
-		})).a != 7;
-	}) ? function (O, P, Attributes) {
-		var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor$1(ObjectPrototype$1, P);
-		if (ObjectPrototypeDescriptor) delete ObjectPrototype$1[P];
-		nativeDefineProperty(O, P, Attributes);
-
-		if (ObjectPrototypeDescriptor && O !== ObjectPrototype$1) {
-			nativeDefineProperty(ObjectPrototype$1, P, ObjectPrototypeDescriptor);
-		}
-	} : nativeDefineProperty;
-
-	var wrap$1 = function (tag, description) {
-		var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);
-		setInternalState$3(symbol, {
-			type: SYMBOL,
-			tag: tag,
-			description: description
-		});
-		if (!DESCRIPTORS$9) symbol.description = description;
-		return symbol;
-	};
-
-	var $defineProperty = function defineProperty(O, P, Attributes) {
-		if (O === ObjectPrototype$1) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
-		anObject$5(O);
-		var key = toPropertyKey(P);
-		anObject$5(Attributes);
-
-		if (hasOwn$7(AllSymbols, key)) {
-			if (!Attributes.enumerable) {
-				if (!hasOwn$7(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));
-				O[HIDDEN][key] = true;
-			} else {
-				if (hasOwn$7(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
-				Attributes = nativeObjectCreate(Attributes, {
-					enumerable: createPropertyDescriptor(0, false)
-				});
-			}
-
-			return setSymbolDescriptor(O, key, Attributes);
-		}
-
-		return nativeDefineProperty(O, key, Attributes);
-	};
-
-	var $defineProperties = function defineProperties(O, Properties) {
-		anObject$5(O);
-		var properties = toIndexedObject$4(Properties);
-		var keys = objectKeys$1(properties).concat($getOwnPropertySymbols(properties));
-		$forEach$1(keys, function (key) {
-			if (!DESCRIPTORS$9 || call$2($propertyIsEnumerable$1, properties, key)) $defineProperty(O, key, properties[key]);
-		});
-		return O;
-	};
-
-	var $create = function create(O, Properties) {
-		return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
-	};
-
-	var $propertyIsEnumerable$1 = function propertyIsEnumerable(V) {
-		var P = toPropertyKey(V);
-		var enumerable = call$2(nativePropertyIsEnumerable, this, P);
-		if (this === ObjectPrototype$1 && hasOwn$7(AllSymbols, P) && !hasOwn$7(ObjectPrototypeSymbols, P)) return false;
-		return enumerable || !hasOwn$7(this, P) || !hasOwn$7(AllSymbols, P) || hasOwn$7(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
-	};
-
-	var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
-		var it = toIndexedObject$4(O);
-		var key = toPropertyKey(P);
-		if (it === ObjectPrototype$1 && hasOwn$7(AllSymbols, key) && !hasOwn$7(ObjectPrototypeSymbols, key)) return;
-		var descriptor = nativeGetOwnPropertyDescriptor$1(it, key);
-
-		if (descriptor && hasOwn$7(AllSymbols, key) && !(hasOwn$7(it, HIDDEN) && it[HIDDEN][key])) {
-			descriptor.enumerable = true;
-		}
-
-		return descriptor;
-	};
-
-	var $getOwnPropertyNames = function getOwnPropertyNames(O) {
-		var names = nativeGetOwnPropertyNames(toIndexedObject$4(O));
-		var result = [];
-		$forEach$1(names, function (key) {
-			if (!hasOwn$7(AllSymbols, key) && !hasOwn$7(hiddenKeys$1, key)) push$3(result, key);
-		});
-		return result;
-	};
-
-	var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
-		var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$1;
-		var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject$4(O));
-		var result = [];
-		$forEach$1(names, function (key) {
-			if (hasOwn$7(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn$7(ObjectPrototype$1, key))) {
-				push$3(result, AllSymbols[key]);
-			}
-		});
-		return result;
-	}; // `Symbol` constructor
-	// https://tc39.es/ecma262/#sec-symbol-constructor
-
-
-	if (!NATIVE_SYMBOL) {
-		$Symbol = function Symbol() {
-			if (isPrototypeOf$l(SymbolPrototype, this)) throw TypeError$a('Symbol is not a constructor');
-			var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);
-			var tag = uid$1(description);
-
-			var setter = function (value) {
-				if (this === ObjectPrototype$1) call$2(setter, ObjectPrototypeSymbols, value);
-				if (hasOwn$7(this, HIDDEN) && hasOwn$7(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
-				setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));
-			};
-
-			if (DESCRIPTORS$9 && USE_SETTER) setSymbolDescriptor(ObjectPrototype$1, tag, {
-				configurable: true,
-				set: setter
-			});
-			return wrap$1(tag, description);
-		};
-
-		SymbolPrototype = $Symbol[PROTOTYPE];
-		redefine$1(SymbolPrototype, 'toString', function toString() {
-			return getInternalState(this).tag;
-		});
-		redefine$1($Symbol, 'withoutSetter', function (description) {
-			return wrap$1(uid$1(description), description);
-		});
-		propertyIsEnumerableModule.f = $propertyIsEnumerable$1;
-		definePropertyModule$1.f = $defineProperty;
-		definePropertiesModule.f = $defineProperties;
-		getOwnPropertyDescriptorModule$2.f = $getOwnPropertyDescriptor;
-		getOwnPropertyNamesModule$2.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
-		getOwnPropertySymbolsModule$1.f = $getOwnPropertySymbols;
-
-		wrappedWellKnownSymbolModule.f = function (name) {
-			return wrap$1(wellKnownSymbol$6(name), name);
-		};
-
-		if (DESCRIPTORS$9) {
-			// https://github.com/tc39/proposal-Symbol-description
-			nativeDefineProperty(SymbolPrototype, 'description', {
-				configurable: true,
-				get: function description() {
-					return getInternalState(this).description;
-				}
-			});
-		}
-	}
-
-	$$F({
-		global: true,
-		wrap: true,
-		forced: !NATIVE_SYMBOL,
-		sham: !NATIVE_SYMBOL
-	}, {
-		Symbol: $Symbol
-	});
-	$forEach$1(objectKeys$1(WellKnownSymbolsStore), function (name) {
-		defineWellKnownSymbol$k(name);
-	});
-	$$F({
-		target: SYMBOL,
-		stat: true,
-		forced: !NATIVE_SYMBOL
-	}, {
-		// `Symbol.for` method
-		// https://tc39.es/ecma262/#sec-symbol.for
-		'for': function (key) {
-			var string = $toString(key);
-			if (hasOwn$7(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
-			var symbol = $Symbol(string);
-			StringToSymbolRegistry[string] = symbol;
-			SymbolToStringRegistry[symbol] = string;
-			return symbol;
-		},
-		// `Symbol.keyFor` method
-		// https://tc39.es/ecma262/#sec-symbol.keyfor
-		keyFor: function keyFor(sym) {
-			if (!isSymbol(sym)) throw TypeError$a(sym + ' is not a symbol');
-			if (hasOwn$7(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
-		},
-		useSetter: function () {
-			USE_SETTER = true;
-		},
-		useSimple: function () {
-			USE_SETTER = false;
-		}
-	});
-	$$F({
-		target: 'Object',
-		stat: true,
-		forced: !NATIVE_SYMBOL,
-		sham: !DESCRIPTORS$9
-	}, {
-		// `Object.create` method
-		// https://tc39.es/ecma262/#sec-object.create
-		create: $create,
-		// `Object.defineProperty` method
-		// https://tc39.es/ecma262/#sec-object.defineproperty
-		defineProperty: $defineProperty,
-		// `Object.defineProperties` method
-		// https://tc39.es/ecma262/#sec-object.defineproperties
-		defineProperties: $defineProperties,
-		// `Object.getOwnPropertyDescriptor` method
-		// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
-		getOwnPropertyDescriptor: $getOwnPropertyDescriptor
-	});
-	$$F({
-		target: 'Object',
-		stat: true,
-		forced: !NATIVE_SYMBOL
-	}, {
-		// `Object.getOwnPropertyNames` method
-		// https://tc39.es/ecma262/#sec-object.getownpropertynames
-		getOwnPropertyNames: $getOwnPropertyNames,
-		// `Object.getOwnPropertySymbols` method
-		// https://tc39.es/ecma262/#sec-object.getownpropertysymbols
-		getOwnPropertySymbols: $getOwnPropertySymbols
-	}); // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
-	// https://bugs.chromium.org/p/v8/issues/detail?id=3443
-
-	$$F({
-		target: 'Object',
-		stat: true,
-		forced: fails$h(function () {
-			getOwnPropertySymbolsModule$1.f(1);
-		})
-	}, {
-		getOwnPropertySymbols: function getOwnPropertySymbols(it) {
-			return getOwnPropertySymbolsModule$1.f(toObject$8(it));
-		}
-	}); // `JSON.stringify` method behavior with symbols
-	// https://tc39.es/ecma262/#sec-json.stringify
-
-	if ($stringify$1) {
-		var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails$h(function () {
-			var symbol = $Symbol(); // MS Edge converts symbol values to JSON as {}
-
-			return $stringify$1([symbol]) != '[null]' // WebKit converts symbol values to JSON as null
-				|| $stringify$1({
-					a: symbol
-				}) != '{}' // V8 throws on boxed symbols
-				|| $stringify$1(Object(symbol)) != '{}';
-		});
-		$$F({
-			target: 'JSON',
-			stat: true,
-			forced: FORCED_JSON_STRINGIFY
-		}, {
-			// eslint-disable-next-line no-unused-vars -- required for `.length`
-			stringify: function stringify(it, replacer, space) {
-				var args = arraySlice$2(arguments);
-				var $replacer = replacer;
-				if (!isObject$b(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
-
-				if (!isArray$b(replacer)) replacer = function (key, value) {
-					if (isCallable$2($replacer)) value = call$2($replacer, this, key, value);
-					if (!isSymbol(value)) return value;
-				};
-				args[1] = replacer;
-				return apply$4($stringify$1, null, args);
-			}
-		});
-	} // `Symbol.prototype[@@toPrimitive]` method
-	// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
-
-
-	if (!SymbolPrototype[TO_PRIMITIVE]) {
-		var valueOf = SymbolPrototype.valueOf; // eslint-disable-next-line no-unused-vars -- required for .length
-
-		redefine$1(SymbolPrototype, TO_PRIMITIVE, function (hint) {
-			// TODO: improve hint logic
-			return call$2(valueOf, this);
-		});
-	} // `Symbol.prototype[@@toStringTag]` property
-	// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
-
-
-	setToStringTag$2($Symbol, SYMBOL);
-	hiddenKeys$1[HIDDEN] = true;
-
-	var path$r = path$y;
-	var getOwnPropertySymbols$2 = path$r.Object.getOwnPropertySymbols;
-
-	var parent$16 = getOwnPropertySymbols$2;
-	var getOwnPropertySymbols$1 = parent$16;
-
-	var getOwnPropertySymbols = getOwnPropertySymbols$1;
-
-	var getOwnPropertyDescriptor$6 = { exports: {} };
-
-	var $$E = _export;
-	var fails$g = fails$t;
-	var toIndexedObject$3 = toIndexedObject$b;
-	var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
-	var DESCRIPTORS$8 = descriptors;
-	var FAILS_ON_PRIMITIVES$4 = fails$g(function () {
-		nativeGetOwnPropertyDescriptor(1);
-	});
-	var FORCED$6 = !DESCRIPTORS$8 || FAILS_ON_PRIMITIVES$4; // `Object.getOwnPropertyDescriptor` method
-	// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
-
-	$$E({
-		target: 'Object',
-		stat: true,
-		forced: FORCED$6,
-		sham: !DESCRIPTORS$8
-	}, {
-		getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
-			return nativeGetOwnPropertyDescriptor(toIndexedObject$3(it), key);
-		}
-	});
-
-	var path$q = path$y;
-	var Object$5 = path$q.Object;
-
-	var getOwnPropertyDescriptor$5 = getOwnPropertyDescriptor$6.exports = function getOwnPropertyDescriptor(it, key) {
-		return Object$5.getOwnPropertyDescriptor(it, key);
-	};
-
-	if (Object$5.getOwnPropertyDescriptor.sham) getOwnPropertyDescriptor$5.sham = true;
-
-	var parent$15 = getOwnPropertyDescriptor$6.exports;
-	var getOwnPropertyDescriptor$4 = parent$15;
-
-	var getOwnPropertyDescriptor$3 = getOwnPropertyDescriptor$4;
-
-	var getBuiltIn$3 = getBuiltIn$9;
-	var uncurryThis$d = functionUncurryThis;
-	var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
-	var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
-	var anObject$4 = anObject$d;
-	var concat$4 = uncurryThis$d([].concat); // all object keys, includes non-enumerable and symbols
-
-	var ownKeys$b = getBuiltIn$3('Reflect', 'ownKeys') || function ownKeys(it) {
-		var keys = getOwnPropertyNamesModule$1.f(anObject$4(it));
-		var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
-		return getOwnPropertySymbols ? concat$4(keys, getOwnPropertySymbols(it)) : keys;
-	};
-
-	var $$D = _export;
-	var DESCRIPTORS$7 = descriptors;
-	var ownKeys$a = ownKeys$b;
-	var toIndexedObject$2 = toIndexedObject$b;
-	var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor;
-	var createProperty$3 = createProperty$6; // `Object.getOwnPropertyDescriptors` method
-	// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
-
-	$$D({
-		target: 'Object',
-		stat: true,
-		sham: !DESCRIPTORS$7
-	}, {
-		getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
-			var O = toIndexedObject$2(object);
-			var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule$1.f;
-			var keys = ownKeys$a(O);
-			var result = {};
-			var index = 0;
-			var key, descriptor;
-
-			while (keys.length > index) {
-				descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);
-				if (descriptor !== undefined) createProperty$3(result, key, descriptor);
-			}
-
-			return result;
-		}
-	});
-
-	var path$p = path$y;
-	var getOwnPropertyDescriptors$2 = path$p.Object.getOwnPropertyDescriptors;
-
-	var parent$14 = getOwnPropertyDescriptors$2;
-	var getOwnPropertyDescriptors$1 = parent$14;
-
-	var getOwnPropertyDescriptors = getOwnPropertyDescriptors$1;
-
-	var defineProperties$4 = { exports: {} };
-
-	var $$C = _export;
-	var DESCRIPTORS$6 = descriptors;
-	var defineProperties$3 = objectDefineProperties.f; // `Object.defineProperties` method
-	// https://tc39.es/ecma262/#sec-object.defineproperties
-	// eslint-disable-next-line es/no-object-defineproperties -- safe
-
-	$$C({
-		target: 'Object',
-		stat: true,
-		forced: Object.defineProperties !== defineProperties$3,
-		sham: !DESCRIPTORS$6
-	}, {
-		defineProperties: defineProperties$3
-	});
-
-	var path$o = path$y;
-	var Object$4 = path$o.Object;
-
-	var defineProperties$2 = defineProperties$4.exports = function defineProperties(T, D) {
-		return Object$4.defineProperties(T, D);
-	};
-
-	if (Object$4.defineProperties.sham) defineProperties$2.sham = true;
-
-	var parent$13 = defineProperties$4.exports;
-	var defineProperties$1 = parent$13;
-
-	var defineProperties = defineProperties$1;
-
-	var defineProperty$a = { exports: {} };
-
-	var $$B = _export;
-	var DESCRIPTORS$5 = descriptors;
-	var defineProperty$9 = objectDefineProperty.f; // `Object.defineProperty` method
-	// https://tc39.es/ecma262/#sec-object.defineproperty
-	// eslint-disable-next-line es/no-object-defineproperty -- safe
-
-	$$B({
-		target: 'Object',
-		stat: true,
-		forced: Object.defineProperty !== defineProperty$9,
-		sham: !DESCRIPTORS$5
-	}, {
-		defineProperty: defineProperty$9
-	});
-
-	var path$n = path$y;
-	var Object$3 = path$n.Object;
-
-	var defineProperty$8 = defineProperty$a.exports = function defineProperty(it, key, desc) {
-		return Object$3.defineProperty(it, key, desc);
-	};
-
-	if (Object$3.defineProperty.sham) defineProperty$8.sham = true;
-
-	var parent$12 = defineProperty$a.exports;
-	var defineProperty$7 = parent$12;
-
-	var defineProperty$6 = defineProperty$7;
-
-	function _classCallCheck(instance, Constructor) {
-		if (!(instance instanceof Constructor)) {
-			throw new TypeError("Cannot call a class as a function");
-		}
-	}
-
-	var parent$11 = defineProperty$7;
-	var defineProperty$5 = parent$11;
-
-	var parent$10 = defineProperty$5;
-	var defineProperty$4 = parent$10;
-
-	var defineProperty$3 = defineProperty$4;
-
-	function _defineProperties(target, props) {
-		for (var i = 0; i < props.length; i++) {
-			var descriptor = props[i];
-			descriptor.enumerable = descriptor.enumerable || false;
-			descriptor.configurable = true;
-			if ("value" in descriptor) descriptor.writable = true;
-
-			defineProperty$3(target, descriptor.key, descriptor);
-		}
-	}
-
-	function _createClass(Constructor, protoProps, staticProps) {
-		if (protoProps) _defineProperties(Constructor.prototype, protoProps);
-		if (staticProps) _defineProperties(Constructor, staticProps);
-
-		defineProperty$3(Constructor, "prototype", {
-			writable: false
-		});
-
-		return Constructor;
-	}
-
-	function _defineProperty(obj, key, value) {
-		if (key in obj) {
-			defineProperty$3(obj, key, {
-				value: value,
-				enumerable: true,
-				configurable: true,
-				writable: true
-			});
-		} else {
-			obj[key] = value;
-		}
-
-		return obj;
-	}
-
-	var $$A = _export;
-	var isArray$a = isArray$d; // `Array.isArray` method
-	// https://tc39.es/ecma262/#sec-array.isarray
-
-	$$A({
-		target: 'Array',
-		stat: true
-	}, {
-		isArray: isArray$a
-	});
-
-	var path$m = path$y;
-	var isArray$9 = path$m.Array.isArray;
-
-	var parent$$ = isArray$9;
-	var isArray$8 = parent$$;
-
-	var parent$_ = isArray$8;
-	var isArray$7 = parent$_;
-
-	var parent$Z = isArray$7;
-	var isArray$6 = parent$Z;
-
-	var isArray$5 = isArray$6;
-
-	function _arrayWithHoles(arr) {
-		if (isArray$5(arr)) return arr;
-	}
-
-	var fails$f = fails$t;
-	var wellKnownSymbol$5 = wellKnownSymbol$j;
-	var V8_VERSION$1 = engineV8Version;
-	var SPECIES$2 = wellKnownSymbol$5('species');
-
-	var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) {
-		// We can't use this feature detection in V8 since it causes
-		// deoptimization and serious performance degradation
-		// https://github.com/zloirock/core-js/issues/677
-		return V8_VERSION$1 >= 51 || !fails$f(function () {
-			var array = [];
-			var constructor = array.constructor = {};
-
-			constructor[SPECIES$2] = function () {
-				return {
-					foo: 1
-				};
-			};
-
-			return array[METHOD_NAME](Boolean).foo !== 1;
-		});
-	};
-
-	var $$z = _export;
-	var global$k = global$P;
-	var fails$e = fails$t;
-	var isArray$4 = isArray$d;
-	var isObject$a = isObject$j;
-	var toObject$7 = toObject$e;
-	var lengthOfArrayLike$8 = lengthOfArrayLike$d;
-	var createProperty$2 = createProperty$6;
-	var arraySpeciesCreate$2 = arraySpeciesCreate$4;
-	var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5;
-	var wellKnownSymbol$4 = wellKnownSymbol$j;
-	var V8_VERSION = engineV8Version;
-	var IS_CONCAT_SPREADABLE = wellKnownSymbol$4('isConcatSpreadable');
-	var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF;
-	var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
-	var TypeError$9 = global$k.TypeError; // We can't use this feature detection in V8 since it causes
-	// deoptimization and serious performance degradation
-	// https://github.com/zloirock/core-js/issues/679
-
-	var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$e(function () {
-		var array = [];
-		array[IS_CONCAT_SPREADABLE] = false;
-		return array.concat()[0] !== array;
-	});
-	var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$4('concat');
-
-	var isConcatSpreadable = function (O) {
-		if (!isObject$a(O)) return false;
-		var spreadable = O[IS_CONCAT_SPREADABLE];
-		return spreadable !== undefined ? !!spreadable : isArray$4(O);
-	};
-
-	var FORCED$5 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; // `Array.prototype.concat` method
-	// https://tc39.es/ecma262/#sec-array.prototype.concat
-	// with adding support of @@isConcatSpreadable and @@species
-
-	$$z({
-		target: 'Array',
-		proto: true,
-		forced: FORCED$5
-	}, {
-		// eslint-disable-next-line no-unused-vars -- required for `.length`
-		concat: function concat(arg) {
-			var O = toObject$7(this);
-			var A = arraySpeciesCreate$2(O, 0);
-			var n = 0;
-			var i, k, length, len, E;
-
-			for (i = -1, length = arguments.length; i < length; i++) {
-				E = i === -1 ? O : arguments[i];
-
-				if (isConcatSpreadable(E)) {
-					len = lengthOfArrayLike$8(E);
-					if (n + len > MAX_SAFE_INTEGER$1) throw TypeError$9(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
-
-					for (k = 0; k < len; k++, n++) if (k in E) createProperty$2(A, n, E[k]);
-				} else {
-					if (n >= MAX_SAFE_INTEGER$1) throw TypeError$9(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
-					createProperty$2(A, n++, E);
-				}
-			}
-
-			A.length = n;
-			return A;
-		}
-	});
-
-	var defineWellKnownSymbol$j = defineWellKnownSymbol$l; // `Symbol.asyncIterator` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.asynciterator
-
-	defineWellKnownSymbol$j('asyncIterator');
-
-	var defineWellKnownSymbol$i = defineWellKnownSymbol$l; // `Symbol.hasInstance` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.hasinstance
-
-	defineWellKnownSymbol$i('hasInstance');
-
-	var defineWellKnownSymbol$h = defineWellKnownSymbol$l; // `Symbol.isConcatSpreadable` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable
-
-	defineWellKnownSymbol$h('isConcatSpreadable');
-
-	var defineWellKnownSymbol$g = defineWellKnownSymbol$l; // `Symbol.iterator` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.iterator
-
-	defineWellKnownSymbol$g('iterator');
-
-	var defineWellKnownSymbol$f = defineWellKnownSymbol$l; // `Symbol.match` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.match
-
-	defineWellKnownSymbol$f('match');
-
-	var defineWellKnownSymbol$e = defineWellKnownSymbol$l; // `Symbol.matchAll` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.matchall
-
-	defineWellKnownSymbol$e('matchAll');
-
-	var defineWellKnownSymbol$d = defineWellKnownSymbol$l; // `Symbol.replace` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.replace
-
-	defineWellKnownSymbol$d('replace');
-
-	var defineWellKnownSymbol$c = defineWellKnownSymbol$l; // `Symbol.search` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.search
-
-	defineWellKnownSymbol$c('search');
-
-	var defineWellKnownSymbol$b = defineWellKnownSymbol$l; // `Symbol.species` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.species
-
-	defineWellKnownSymbol$b('species');
-
-	var defineWellKnownSymbol$a = defineWellKnownSymbol$l; // `Symbol.split` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.split
-
-	defineWellKnownSymbol$a('split');
-
-	var defineWellKnownSymbol$9 = defineWellKnownSymbol$l; // `Symbol.toPrimitive` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.toprimitive
-
-	defineWellKnownSymbol$9('toPrimitive');
-
-	var defineWellKnownSymbol$8 = defineWellKnownSymbol$l; // `Symbol.toStringTag` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.tostringtag
-
-	defineWellKnownSymbol$8('toStringTag');
-
-	var defineWellKnownSymbol$7 = defineWellKnownSymbol$l; // `Symbol.unscopables` well-known symbol
-	// https://tc39.es/ecma262/#sec-symbol.unscopables
-
-	defineWellKnownSymbol$7('unscopables');
-
-	var global$j = global$P;
-	var setToStringTag$1 = setToStringTag$5; // JSON[@@toStringTag] property
-	// https://tc39.es/ecma262/#sec-json-@@tostringtag
-
-	setToStringTag$1(global$j.JSON, 'JSON', true);
-
-	var path$l = path$y;
-	var symbol$5 = path$l.Symbol;
-
-	var parent$Y = symbol$5;
-	var symbol$4 = parent$Y;
-
-	var parent$X = symbol$4;
-	var symbol$3 = parent$X;
-
-	var defineWellKnownSymbol$6 = defineWellKnownSymbol$l; // `Symbol.asyncDispose` well-known symbol
-	// https://github.com/tc39/proposal-using-statement
-
-	defineWellKnownSymbol$6('asyncDispose');
-
-	var defineWellKnownSymbol$5 = defineWellKnownSymbol$l; // `Symbol.dispose` well-known symbol
-	// https://github.com/tc39/proposal-using-statement
-
-	defineWellKnownSymbol$5('dispose');
-
-	var defineWellKnownSymbol$4 = defineWellKnownSymbol$l; // `Symbol.matcher` well-known symbol
-	// https://github.com/tc39/proposal-pattern-matching
-
-	defineWellKnownSymbol$4('matcher');
-
-	var defineWellKnownSymbol$3 = defineWellKnownSymbol$l; // `Symbol.metadata` well-known symbol
-	// https://github.com/tc39/proposal-decorators
-
-	defineWellKnownSymbol$3('metadata');
-
-	var defineWellKnownSymbol$2 = defineWellKnownSymbol$l; // `Symbol.observable` well-known symbol
-	// https://github.com/tc39/proposal-observable
-
-	defineWellKnownSymbol$2('observable');
-
-	var defineWellKnownSymbol$1 = defineWellKnownSymbol$l; // `Symbol.patternMatch` well-known symbol
-	// https://github.com/tc39/proposal-pattern-matching
-
-	defineWellKnownSymbol$1('patternMatch');
-
-	var defineWellKnownSymbol = defineWellKnownSymbol$l;
-	defineWellKnownSymbol('replaceAll');
-
-	var parent$W = symbol$3; // TODO: Remove from `core-js@4`
-	// TODO: Remove from `core-js@4`
-
-	var symbol$2 = parent$W;
-
-	var symbol$1 = symbol$2;
-
-	function _iterableToArrayLimit(arr, i) {
-		var _i = arr == null ? null : typeof symbol$1 !== "undefined" && getIteratorMethod$1(arr) || arr["@@iterator"];
-
-		if (_i == null) return;
-		var _arr = [];
-		var _n = true;
-		var _d = false;
-
-		var _s, _e;
-
-		try {
-			for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
-				_arr.push(_s.value);
-
-				if (i && _arr.length === i) break;
-			}
-		} catch (err) {
-			_d = true;
-			_e = err;
-		} finally {
-			try {
-				if (!_n && _i["return"] != null) _i["return"]();
-			} finally {
-				if (_d) throw _e;
-			}
-		}
-
-		return _arr;
-	}
-
-	var $$y = _export;
-	var global$i = global$P;
-	var isArray$3 = isArray$d;
-	var isConstructor$1 = isConstructor$4;
-	var isObject$9 = isObject$j;
-	var toAbsoluteIndex$2 = toAbsoluteIndex$5;
-	var lengthOfArrayLike$7 = lengthOfArrayLike$d;
-	var toIndexedObject$1 = toIndexedObject$b;
-	var createProperty$1 = createProperty$6;
-	var wellKnownSymbol$3 = wellKnownSymbol$j;
-	var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$5;
-	var un$Slice = arraySlice$5;
-	var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport$3('slice');
-	var SPECIES$1 = wellKnownSymbol$3('species');
-	var Array$2 = global$i.Array;
-	var max$1 = Math.max; // `Array.prototype.slice` method
-	// https://tc39.es/ecma262/#sec-array.prototype.slice
-	// fallback for not array-like ES3 strings and DOM objects
-
-	$$y({
-		target: 'Array',
-		proto: true,
-		forced: !HAS_SPECIES_SUPPORT$3
-	}, {
-		slice: function slice(start, end) {
-			var O = toIndexedObject$1(this);
-			var length = lengthOfArrayLike$7(O);
-			var k = toAbsoluteIndex$2(start, length);
-			var fin = toAbsoluteIndex$2(end === undefined ? length : end, length); // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
-
-			var Constructor, result, n;
-
-			if (isArray$3(O)) {
-				Constructor = O.constructor; // cross-realm fallback
-
-				if (isConstructor$1(Constructor) && (Constructor === Array$2 || isArray$3(Constructor.prototype))) {
-					Constructor = undefined;
-				} else if (isObject$9(Constructor)) {
-					Constructor = Constructor[SPECIES$1];
-					if (Constructor === null) Constructor = undefined;
-				}
-
-				if (Constructor === Array$2 || Constructor === undefined) {
-					return un$Slice(O, k, fin);
-				}
-			}
-
-			result = new (Constructor === undefined ? Array$2 : Constructor)(max$1(fin - k, 0));
-
-			for (n = 0; k < fin; k++, n++) if (k in O) createProperty$1(result, n, O[k]);
-
-			result.length = n;
-			return result;
-		}
-	});
-
-	var entryVirtual$j = entryVirtual$l;
-	var slice$6 = entryVirtual$j('Array').slice;
-
-	var isPrototypeOf$k = objectIsPrototypeOf;
-	var method$h = slice$6;
-	var ArrayPrototype$h = Array.prototype;
-
-	var slice$5 = function (it) {
-		var own = it.slice;
-		return it === ArrayPrototype$h || isPrototypeOf$k(ArrayPrototype$h, it) && own === ArrayPrototype$h.slice ? method$h : own;
-	};
-
-	var parent$V = slice$5;
-	var slice$4 = parent$V;
-
-	var parent$U = slice$4;
-	var slice$3 = parent$U;
-
-	var parent$T = slice$3;
-	var slice$2 = parent$T;
-
-	var slice$1 = slice$2;
-
-	var parent$S = from$4;
-	var from$2 = parent$S;
-
-	var parent$R = from$2;
-	var from$1 = parent$R;
-
-	var from = from$1;
-
-	function _arrayLikeToArray$9(arr, len) {
-		if (len == null || len > arr.length) len = arr.length;
-
-		for (var i = 0, arr2 = new Array(len); i < len; i++) {
-			arr2[i] = arr[i];
-		}
-
-		return arr2;
-	}
-
-	function _unsupportedIterableToArray$9(o, minLen) {
-		var _context;
-
-		if (!o) return;
-		if (typeof o === "string") return _arrayLikeToArray$9(o, minLen);
-
-		var n = slice$1(_context = Object.prototype.toString.call(o)).call(_context, 8, -1);
-
-		if (n === "Object" && o.constructor) n = o.constructor.name;
-		if (n === "Map" || n === "Set") return from(o);
-		if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$9(o, minLen);
-	}
-
-	function _nonIterableRest() {
-		throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
-	}
-
-	function _slicedToArray(arr, i) {
-		return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$9(arr, i) || _nonIterableRest();
-	}
-
-	var WrappedWellKnownSymbolModule = wellKnownSymbolWrapped;
-	var iterator$5 = WrappedWellKnownSymbolModule.f('iterator');
-
-	var parent$Q = iterator$5;
-	var iterator$4 = parent$Q;
-
-	var parent$P = iterator$4;
-	var iterator$3 = parent$P;
-
-	var parent$O = iterator$3;
-	var iterator$2 = parent$O;
-
-	var iterator$1 = iterator$2;
-
-	function _typeof(obj) {
-		"@babel/helpers - typeof";
-
-		return _typeof = "function" == typeof symbol$1 && "symbol" == typeof iterator$1 ? function (obj) {
-			return typeof obj;
-		} : function (obj) {
-			return obj && "function" == typeof symbol$1 && obj.constructor === symbol$1 && obj !== symbol$1.prototype ? "symbol" : typeof obj;
-		}, _typeof(obj);
-	}
-
-	function _arrayWithoutHoles(arr) {
-		if (isArray$5(arr)) return _arrayLikeToArray$9(arr);
-	}
-
-	function _iterableToArray(iter) {
-		if (typeof symbol$1 !== "undefined" && getIteratorMethod$1(iter) != null || iter["@@iterator"] != null) return from(iter);
-	}
-
-	function _nonIterableSpread() {
-		throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
-	}
-
-	function _toConsumableArray(arr) {
-		return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$9(arr) || _nonIterableSpread();
-	}
-
-	var symbol = symbol$4;
-
-	var entryVirtual$i = entryVirtual$l;
-	var concat$3 = entryVirtual$i('Array').concat;
-
-	var isPrototypeOf$j = objectIsPrototypeOf;
-	var method$g = concat$3;
-	var ArrayPrototype$g = Array.prototype;
-
-	var concat$2 = function (it) {
-		var own = it.concat;
-		return it === ArrayPrototype$g || isPrototypeOf$j(ArrayPrototype$g, it) && own === ArrayPrototype$g.concat ? method$g : own;
-	};
-
-	var parent$N = concat$2;
-	var concat$1 = parent$N;
-
-	var concat = concat$1;
-
-	var slice = slice$4;
-
-	var $$x = _export;
-	var ownKeys$9 = ownKeys$b; // `Reflect.ownKeys` method
-	// https://tc39.es/ecma262/#sec-reflect.ownkeys
-
-	$$x({
-		target: 'Reflect',
-		stat: true
-	}, {
-		ownKeys: ownKeys$9
-	});
-
-	var path$k = path$y;
-	var ownKeys$8 = path$k.Reflect.ownKeys;
-
-	var parent$M = ownKeys$8;
-	var ownKeys$7 = parent$M;
-
-	var ownKeys$6 = ownKeys$7;
-
-	var isArray$2 = isArray$8;
-
-	var $$w = _export;
-	var $map = arrayIteration.map;
-	var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$5;
-	var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2('map'); // `Array.prototype.map` method
-	// https://tc39.es/ecma262/#sec-array.prototype.map
-	// with adding support of @@species
-
-	$$w({
-		target: 'Array',
-		proto: true,
-		forced: !HAS_SPECIES_SUPPORT$2
-	}, {
-		map: function map(callbackfn
-			/* , thisArg */
-		) {
-			return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
-		}
-	});
-
-	var entryVirtual$h = entryVirtual$l;
-	var map$6 = entryVirtual$h('Array').map;
-
-	var isPrototypeOf$i = objectIsPrototypeOf;
-	var method$f = map$6;
-	var ArrayPrototype$f = Array.prototype;
-
-	var map$5 = function (it) {
-		var own = it.map;
-		return it === ArrayPrototype$f || isPrototypeOf$i(ArrayPrototype$f, it) && own === ArrayPrototype$f.map ? method$f : own;
-	};
-
-	var parent$L = map$5;
-	var map$4 = parent$L;
-
-	var map$3 = map$4;
-
-	var $$v = _export;
-	var toObject$6 = toObject$e;
-	var nativeKeys = objectKeys$4;
-	var fails$d = fails$t;
-	var FAILS_ON_PRIMITIVES$3 = fails$d(function () {
-		nativeKeys(1);
-	}); // `Object.keys` method
-	// https://tc39.es/ecma262/#sec-object.keys
-
-	$$v({
-		target: 'Object',
-		stat: true,
-		forced: FAILS_ON_PRIMITIVES$3
-	}, {
-		keys: function keys(it) {
-			return nativeKeys(toObject$6(it));
-		}
-	});
-
-	var path$j = path$y;
-	var keys$6 = path$j.Object.keys;
-
-	var parent$K = keys$6;
-	var keys$5 = parent$K;
-
-	var keys$4 = keys$5;
-
-	var $$u = _export;
-	var global$h = global$P;
-	var uncurryThis$c = functionUncurryThis;
-	var Date$1 = global$h.Date;
-	var getTime = uncurryThis$c(Date$1.prototype.getTime); // `Date.now` method
-	// https://tc39.es/ecma262/#sec-date.now
-
-	$$u({
-		target: 'Date',
-		stat: true
-	}, {
-		now: function now() {
-			return getTime(new Date$1());
-		}
-	});
-
-	var path$i = path$y;
-	var now$3 = path$i.Date.now;
-
-	var parent$J = now$3;
-	var now$2 = parent$J;
-
-	var now$1 = now$2;
-
-	var fails$c = fails$t;
-
-	var arrayMethodIsStrict$6 = function (METHOD_NAME, argument) {
-		var method = [][METHOD_NAME];
-		return !!method && fails$c(function () {
-			// eslint-disable-next-line no-useless-call -- required for testing
-			method.call(null, argument || function () {
-				return 1;
-			}, 1);
-		});
-	};
-
-	var $forEach = arrayIteration.forEach;
-	var arrayMethodIsStrict$5 = arrayMethodIsStrict$6;
-	var STRICT_METHOD$5 = arrayMethodIsStrict$5('forEach'); // `Array.prototype.forEach` method implementation
-	// https://tc39.es/ecma262/#sec-array.prototype.foreach
-
-	var arrayForEach = !STRICT_METHOD$5 ? function forEach(callbackfn
-		/* , thisArg */
-	) {
-		return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); // eslint-disable-next-line es/no-array-prototype-foreach -- safe
-	} : [].forEach;
-
-	var $$t = _export;
-	var forEach$6 = arrayForEach; // `Array.prototype.forEach` method
-	// https://tc39.es/ecma262/#sec-array.prototype.foreach
-	// eslint-disable-next-line es/no-array-prototype-foreach -- safe
-
-	$$t({
-		target: 'Array',
-		proto: true,
-		forced: [].forEach != forEach$6
-	}, {
-		forEach: forEach$6
-	});
-
-	var entryVirtual$g = entryVirtual$l;
-	var forEach$5 = entryVirtual$g('Array').forEach;
-
-	var parent$I = forEach$5;
-	var forEach$4 = parent$I;
-
-	var classof$6 = classof$e;
-	var hasOwn$6 = hasOwnProperty_1;
-	var isPrototypeOf$h = objectIsPrototypeOf;
-	var method$e = forEach$4;
-	var ArrayPrototype$e = Array.prototype;
-	var DOMIterables$3 = {
-		DOMTokenList: true,
-		NodeList: true
-	};
-
-	var forEach$3 = function (it) {
-		var own = it.forEach;
-		return it === ArrayPrototype$e || isPrototypeOf$h(ArrayPrototype$e, it) && own === ArrayPrototype$e.forEach || hasOwn$6(DOMIterables$3, classof$6(it)) ? method$e : own;
-	};
-
-	var forEach$2 = forEach$3;
-
-	var $$s = _export;
-	var uncurryThis$b = functionUncurryThis;
-	var isArray$1 = isArray$d;
-	var un$Reverse = uncurryThis$b([].reverse);
-	var test$1 = [1, 2]; // `Array.prototype.reverse` method
-	// https://tc39.es/ecma262/#sec-array.prototype.reverse
-	// fix for Safari 12.0 bug
-	// https://bugs.webkit.org/show_bug.cgi?id=188794
-
-	$$s({
-		target: 'Array',
-		proto: true,
-		forced: String(test$1) === String(test$1.reverse())
-	}, {
-		reverse: function reverse() {
-			// eslint-disable-next-line no-self-assign -- dirty hack
-			if (isArray$1(this)) this.length = this.length;
-			return un$Reverse(this);
-		}
-	});
-
-	var entryVirtual$f = entryVirtual$l;
-	var reverse$3 = entryVirtual$f('Array').reverse;
-
-	var isPrototypeOf$g = objectIsPrototypeOf;
-	var method$d = reverse$3;
-	var ArrayPrototype$d = Array.prototype;
-
-	var reverse$2 = function (it) {
-		var own = it.reverse;
-		return it === ArrayPrototype$d || isPrototypeOf$g(ArrayPrototype$d, it) && own === ArrayPrototype$d.reverse ? method$d : own;
-	};
-
-	var parent$H = reverse$2;
-	var reverse$1 = parent$H;
-
-	var reverse = reverse$1;
-
-	var $$r = _export;
-	var global$g = global$P;
-	var toAbsoluteIndex$1 = toAbsoluteIndex$5;
-	var toIntegerOrInfinity = toIntegerOrInfinity$4;
-	var lengthOfArrayLike$6 = lengthOfArrayLike$d;
-	var toObject$5 = toObject$e;
-	var arraySpeciesCreate$1 = arraySpeciesCreate$4;
-	var createProperty = createProperty$6;
-	var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5;
-	var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('splice');
-	var TypeError$8 = global$g.TypeError;
-	var max = Math.max;
-	var min = Math.min;
-	var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
-	var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; // `Array.prototype.splice` method
-	// https://tc39.es/ecma262/#sec-array.prototype.splice
-	// with adding support of @@species
-
-	$$r({
-		target: 'Array',
-		proto: true,
-		forced: !HAS_SPECIES_SUPPORT$1
-	}, {
-		splice: function splice(start, deleteCount
-			/* , ...items */
-		) {
-			var O = toObject$5(this);
-			var len = lengthOfArrayLike$6(O);
-			var actualStart = toAbsoluteIndex$1(start, len);
-			var argumentsLength = arguments.length;
-			var insertCount, actualDeleteCount, A, k, from, to;
-
-			if (argumentsLength === 0) {
-				insertCount = actualDeleteCount = 0;
-			} else if (argumentsLength === 1) {
-				insertCount = 0;
-				actualDeleteCount = len - actualStart;
-			} else {
-				insertCount = argumentsLength - 2;
-				actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
-			}
-
-			if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
-				throw TypeError$8(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
-			}
-
-			A = arraySpeciesCreate$1(O, actualDeleteCount);
-
-			for (k = 0; k < actualDeleteCount; k++) {
-				from = actualStart + k;
-				if (from in O) createProperty(A, k, O[from]);
-			}
-
-			A.length = actualDeleteCount;
-
-			if (insertCount < actualDeleteCount) {
-				for (k = actualStart; k < len - actualDeleteCount; k++) {
-					from = k + actualDeleteCount;
-					to = k + insertCount;
-					if (from in O) O[to] = O[from]; else delete O[to];
-				}
-
-				for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];
-			} else if (insertCount > actualDeleteCount) {
-				for (k = len - actualDeleteCount; k > actualStart; k--) {
-					from = k + actualDeleteCount - 1;
-					to = k + insertCount - 1;
-					if (from in O) O[to] = O[from]; else delete O[to];
-				}
-			}
-
-			for (k = 0; k < insertCount; k++) {
-				O[k + actualStart] = arguments[k + 2];
-			}
-
-			O.length = len - actualDeleteCount + insertCount;
-			return A;
-		}
-	});
-
-	var entryVirtual$e = entryVirtual$l;
-	var splice$4 = entryVirtual$e('Array').splice;
-
-	var isPrototypeOf$f = objectIsPrototypeOf;
-	var method$c = splice$4;
-	var ArrayPrototype$c = Array.prototype;
-
-	var splice$3 = function (it) {
-		var own = it.splice;
-		return it === ArrayPrototype$c || isPrototypeOf$f(ArrayPrototype$c, it) && own === ArrayPrototype$c.splice ? method$c : own;
-	};
-
-	var parent$G = splice$3;
-	var splice$2 = parent$G;
-
-	var splice$1 = splice$2;
-
-	var $$q = _export;
-	var $includes = arrayIncludes.includes;
-	// https://tc39.es/ecma262/#sec-array.prototype.includes
-
-	$$q({
-		target: 'Array',
-		proto: true
-	}, {
-		includes: function includes(el
-			/* , fromIndex = 0 */
-		) {
-			return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
-		}
-	}); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-
-	var entryVirtual$d = entryVirtual$l;
-	var includes$4 = entryVirtual$d('Array').includes;
-
-	var isObject$8 = isObject$j;
-	var classof$5 = classofRaw$1;
-	var wellKnownSymbol$2 = wellKnownSymbol$j;
-	var MATCH$1 = wellKnownSymbol$2('match'); // `IsRegExp` abstract operation
-	// https://tc39.es/ecma262/#sec-isregexp
-
-	var isRegexp = function (it) {
-		var isRegExp;
-		return isObject$8(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
-	};
-
-	var global$f = global$P;
-	var isRegExp = isRegexp;
-	var TypeError$7 = global$f.TypeError;
-
-	var notARegexp = function (it) {
-		if (isRegExp(it)) {
-			throw TypeError$7("The method doesn't accept regular expressions");
-		}
-
-		return it;
-	};
-
-	var wellKnownSymbol$1 = wellKnownSymbol$j;
-	var MATCH = wellKnownSymbol$1('match');
-
-	var correctIsRegexpLogic = function (METHOD_NAME) {
-		var regexp = /./;
-
-		try {
-			'/./'[METHOD_NAME](regexp);
-		} catch (error1) {
-			try {
-				regexp[MATCH] = false;
-				return '/./'[METHOD_NAME](regexp);
-			} catch (error2) {
-				/* empty */
-			}
-		}
-
-		return false;
-	};
-
-	var $$p = _export;
-	var uncurryThis$a = functionUncurryThis;
-	var notARegExp = notARegexp;
-	var requireObjectCoercible$1 = requireObjectCoercible$5;
-	var toString$4 = toString$8;
-	var correctIsRegExpLogic = correctIsRegexpLogic;
-	var stringIndexOf = uncurryThis$a(''.indexOf); // `String.prototype.includes` method
-	// https://tc39.es/ecma262/#sec-string.prototype.includes
-
-	$$p({
-		target: 'String',
-		proto: true,
-		forced: !correctIsRegExpLogic('includes')
-	}, {
-		includes: function includes(searchString
-			/* , position = 0 */
-		) {
-			return !!~stringIndexOf(toString$4(requireObjectCoercible$1(this)), toString$4(notARegExp(searchString)), arguments.length > 1 ? arguments[1] : undefined);
-		}
-	});
-
-	var entryVirtual$c = entryVirtual$l;
-	var includes$3 = entryVirtual$c('String').includes;
-
-	var isPrototypeOf$e = objectIsPrototypeOf;
-	var arrayMethod = includes$4;
-	var stringMethod = includes$3;
-	var ArrayPrototype$b = Array.prototype;
-	var StringPrototype$1 = String.prototype;
-
-	var includes$2 = function (it) {
-		var own = it.includes;
-		if (it === ArrayPrototype$b || isPrototypeOf$e(ArrayPrototype$b, it) && own === ArrayPrototype$b.includes) return arrayMethod;
-
-		if (typeof it == 'string' || it === StringPrototype$1 || isPrototypeOf$e(StringPrototype$1, it) && own === StringPrototype$1.includes) {
-			return stringMethod;
-		}
-
-		return own;
-	};
-
-	var parent$F = includes$2;
-	var includes$1 = parent$F;
-
-	var includes = includes$1;
-
-	var $$o = _export;
-	var fails$b = fails$t;
-	var toObject$4 = toObject$e;
-	var nativeGetPrototypeOf = objectGetPrototypeOf;
-	var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
-	var FAILS_ON_PRIMITIVES$2 = fails$b(function () {
-		nativeGetPrototypeOf(1);
-	}); // `Object.getPrototypeOf` method
-	// https://tc39.es/ecma262/#sec-object.getprototypeof
-
-	$$o({
-		target: 'Object',
-		stat: true,
-		forced: FAILS_ON_PRIMITIVES$2,
-		sham: !CORRECT_PROTOTYPE_GETTER
-	}, {
-		getPrototypeOf: function getPrototypeOf(it) {
-			return nativeGetPrototypeOf(toObject$4(it));
-		}
-	});
-
-	var path$h = path$y;
-	var getPrototypeOf$6 = path$h.Object.getPrototypeOf;
-
-	var parent$E = getPrototypeOf$6;
-	var getPrototypeOf$5 = parent$E;
-
-	var getPrototypeOf$4 = getPrototypeOf$5;
-
-	var $$n = _export;
-	var $filter = arrayIteration.filter;
-	var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5;
-	var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); // `Array.prototype.filter` method
-	// https://tc39.es/ecma262/#sec-array.prototype.filter
-	// with adding support of @@species
-
-	$$n({
-		target: 'Array',
-		proto: true,
-		forced: !HAS_SPECIES_SUPPORT
-	}, {
-		filter: function filter(callbackfn
-			/* , thisArg */
-		) {
-			return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
-		}
-	});
-
-	var entryVirtual$b = entryVirtual$l;
-	var filter$3 = entryVirtual$b('Array').filter;
-
-	var isPrototypeOf$d = objectIsPrototypeOf;
-	var method$b = filter$3;
-	var ArrayPrototype$a = Array.prototype;
-
-	var filter$2 = function (it) {
-		var own = it.filter;
-		return it === ArrayPrototype$a || isPrototypeOf$d(ArrayPrototype$a, it) && own === ArrayPrototype$a.filter ? method$b : own;
-	};
-
-	var parent$D = filter$2;
-	var filter$1 = parent$D;
-
-	var filter = filter$1;
-
-	var DESCRIPTORS$4 = descriptors;
-	var uncurryThis$9 = functionUncurryThis;
-	var objectKeys = objectKeys$4;
-	var toIndexedObject = toIndexedObject$b;
-	var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
-	var propertyIsEnumerable = uncurryThis$9($propertyIsEnumerable);
-	var push$2 = uncurryThis$9([].push); // `Object.{ entries, values }` methods implementation
-
-	var createMethod$2 = function (TO_ENTRIES) {
-		return function (it) {
-			var O = toIndexedObject(it);
-			var keys = objectKeys(O);
-			var length = keys.length;
-			var i = 0;
-			var result = [];
-			var key;
-
-			while (length > i) {
-				key = keys[i++];
-
-				if (!DESCRIPTORS$4 || propertyIsEnumerable(O, key)) {
-					push$2(result, TO_ENTRIES ? [key, O[key]] : O[key]);
-				}
-			}
-
-			return result;
-		};
-	};
-
-	var objectToArray = {
-		// `Object.entries` method
-		// https://tc39.es/ecma262/#sec-object.entries
-		entries: createMethod$2(true),
-		// `Object.values` method
-		// https://tc39.es/ecma262/#sec-object.values
-		values: createMethod$2(false)
-	};
-
-	var $$m = _export;
-	var $values = objectToArray.values; // `Object.values` method
-	// https://tc39.es/ecma262/#sec-object.values
-
-	$$m({
-		target: 'Object',
-		stat: true
-	}, {
-		values: function values(O) {
-			return $values(O);
-		}
-	});
-
-	var path$g = path$y;
-	var values$6 = path$g.Object.values;
-
-	var parent$C = values$6;
-	var values$5 = parent$C;
-
-	var values$4 = values$5;
-
-	var whitespaces$4 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
-
-	var uncurryThis$8 = functionUncurryThis;
-	var requireObjectCoercible = requireObjectCoercible$5;
-	var toString$3 = toString$8;
-	var whitespaces$3 = whitespaces$4;
-	var replace$1 = uncurryThis$8(''.replace);
-	var whitespace = '[' + whitespaces$3 + ']';
-	var ltrim = RegExp('^' + whitespace + whitespace + '*');
-	var rtrim = RegExp(whitespace + whitespace + '*$'); // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
-
-	var createMethod$1 = function (TYPE) {
-		return function ($this) {
-			var string = toString$3(requireObjectCoercible($this));
-			if (TYPE & 1) string = replace$1(string, ltrim, '');
-			if (TYPE & 2) string = replace$1(string, rtrim, '');
-			return string;
-		};
-	};
-
-	var stringTrim = {
-		// `String.prototype.{ trimLeft, trimStart }` methods
-		// https://tc39.es/ecma262/#sec-string.prototype.trimstart
-		start: createMethod$1(1),
-		// `String.prototype.{ trimRight, trimEnd }` methods
-		// https://tc39.es/ecma262/#sec-string.prototype.trimend
-		end: createMethod$1(2),
-		// `String.prototype.trim` method
-		// https://tc39.es/ecma262/#sec-string.prototype.trim
-		trim: createMethod$1(3)
-	};
-
-	var global$e = global$P;
-	var fails$a = fails$t;
-	var uncurryThis$7 = functionUncurryThis;
-	var toString$2 = toString$8;
-	var trim$5 = stringTrim.trim;
-	var whitespaces$2 = whitespaces$4;
-	var $parseInt$1 = global$e.parseInt;
-	var Symbol$2 = global$e.Symbol;
-	var ITERATOR$1 = Symbol$2 && Symbol$2.iterator;
-	var hex = /^[+-]?0x/i;
-	var exec$1 = uncurryThis$7(hex.exec);
-	var FORCED$4 = $parseInt$1(whitespaces$2 + '08') !== 8 || $parseInt$1(whitespaces$2 + '0x16') !== 22 // MS Edge 18- broken with boxed symbols
-		|| ITERATOR$1 && !fails$a(function () {
-			$parseInt$1(Object(ITERATOR$1));
-		}); // `parseInt` method
-	// https://tc39.es/ecma262/#sec-parseint-string-radix
-
-	var numberParseInt = FORCED$4 ? function parseInt(string, radix) {
-		var S = trim$5(toString$2(string));
-		return $parseInt$1(S, radix >>> 0 || (exec$1(hex, S) ? 16 : 10));
-	} : $parseInt$1;
-
-	var $$l = _export;
-	var $parseInt = numberParseInt; // `parseInt` method
-	// https://tc39.es/ecma262/#sec-parseint-string-radix
-
-	$$l({
-		global: true,
-		forced: parseInt != $parseInt
-	}, {
-		parseInt: $parseInt
-	});
-
-	var path$f = path$y;
-	var _parseInt$2 = path$f.parseInt;
-
-	var parent$B = _parseInt$2;
-	var _parseInt$1 = parent$B;
-
-	var _parseInt = _parseInt$1;
-
-	/* eslint-disable es/no-array-prototype-indexof -- required for testing */
-
-
-	var $$k = _export;
-	var uncurryThis$6 = functionUncurryThis;
-	var $IndexOf = arrayIncludes.indexOf;
-	var arrayMethodIsStrict$4 = arrayMethodIsStrict$6;
-	var un$IndexOf = uncurryThis$6([].indexOf);
-	var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;
-	var STRICT_METHOD$4 = arrayMethodIsStrict$4('indexOf'); // `Array.prototype.indexOf` method
-	// https://tc39.es/ecma262/#sec-array.prototype.indexof
-
-	$$k({
-		target: 'Array',
-		proto: true,
-		forced: NEGATIVE_ZERO || !STRICT_METHOD$4
-	}, {
-		indexOf: function indexOf(searchElement
-			/* , fromIndex = 0 */
-		) {
-			var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
-			return NEGATIVE_ZERO // convert -0 to +0
-				? un$IndexOf(this, searchElement, fromIndex) || 0 : $IndexOf(this, searchElement, fromIndex);
-		}
-	});
-
-	var entryVirtual$a = entryVirtual$l;
-	var indexOf$3 = entryVirtual$a('Array').indexOf;
-
-	var isPrototypeOf$c = objectIsPrototypeOf;
-	var method$a = indexOf$3;
-	var ArrayPrototype$9 = Array.prototype;
-
-	var indexOf$2 = function (it) {
-		var own = it.indexOf;
-		return it === ArrayPrototype$9 || isPrototypeOf$c(ArrayPrototype$9, it) && own === ArrayPrototype$9.indexOf ? method$a : own;
-	};
-
-	var parent$A = indexOf$2;
-	var indexOf$1 = parent$A;
-
-	var indexOf = indexOf$1;
-
-	var PROPER_FUNCTION_NAME = functionName.PROPER;
-	var fails$9 = fails$t;
-	var whitespaces$1 = whitespaces$4;
-	var non = '\u200B\u0085\u180E'; // check that a method works with the correct list
-	// of whitespaces and has a correct name
-
-	var stringTrimForced = function (METHOD_NAME) {
-		return fails$9(function () {
-			return !!whitespaces$1[METHOD_NAME]() || non[METHOD_NAME]() !== non || PROPER_FUNCTION_NAME && whitespaces$1[METHOD_NAME].name !== METHOD_NAME;
-		});
-	};
-
-	var $$j = _export;
-	var $trim = stringTrim.trim;
-	var forcedStringTrimMethod = stringTrimForced; // `String.prototype.trim` method
-	// https://tc39.es/ecma262/#sec-string.prototype.trim
-
-	$$j({
-		target: 'String',
-		proto: true,
-		forced: forcedStringTrimMethod('trim')
-	}, {
-		trim: function trim() {
-			return $trim(this);
-		}
-	});
-
-	var entryVirtual$9 = entryVirtual$l;
-	var trim$4 = entryVirtual$9('String').trim;
-
-	var isPrototypeOf$b = objectIsPrototypeOf;
-	var method$9 = trim$4;
-	var StringPrototype = String.prototype;
-
-	var trim$3 = function (it) {
-		var own = it.trim;
-		return typeof it == 'string' || it === StringPrototype || isPrototypeOf$b(StringPrototype, it) && own === StringPrototype.trim ? method$9 : own;
-	};
-
-	var parent$z = trim$3;
-	var trim$2 = parent$z;
-
-	var trim$1 = trim$2;
-
-	var $$i = _export;
-	var DESCRIPTORS$3 = descriptors;
-	var create$8 = objectCreate; // `Object.create` method
-	// https://tc39.es/ecma262/#sec-object.create
-
-	$$i({
-		target: 'Object',
-		stat: true,
-		sham: !DESCRIPTORS$3
-	}, {
-		create: create$8
-	});
-
-	var path$e = path$y;
-	var Object$2 = path$e.Object;
-
-	var create$7 = function create(P, D) {
-		return Object$2.create(P, D);
-	};
-
-	var parent$y = create$7;
-	var create$6 = parent$y;
-
-	var create$5 = create$6;
-
-	var $$h = _export;
-	var global$d = global$P;
-	var getBuiltIn$2 = getBuiltIn$9;
-	var apply$3 = functionApply;
-	var uncurryThis$5 = functionUncurryThis;
-	var fails$8 = fails$t;
-	var Array$1 = global$d.Array;
-	var $stringify = getBuiltIn$2('JSON', 'stringify');
-	var exec = uncurryThis$5(/./.exec);
-	var charAt$1 = uncurryThis$5(''.charAt);
-	var charCodeAt = uncurryThis$5(''.charCodeAt);
-	var replace = uncurryThis$5(''.replace);
-	var numberToString = uncurryThis$5(1.0.toString);
-	var tester = /[\uD800-\uDFFF]/g;
-	var low = /^[\uD800-\uDBFF]$/;
-	var hi = /^[\uDC00-\uDFFF]$/;
-
-	var fix = function (match, offset, string) {
-		var prev = charAt$1(string, offset - 1);
-		var next = charAt$1(string, offset + 1);
-
-		if (exec(low, match) && !exec(hi, next) || exec(hi, match) && !exec(low, prev)) {
-			return '\\u' + numberToString(charCodeAt(match, 0), 16);
-		}
-
-		return match;
-	};
-
-	var FORCED$3 = fails$8(function () {
-		return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' || $stringify('\uDEAD') !== '"\\udead"';
-	});
-
-	if ($stringify) {
-		// `JSON.stringify` method
-		// https://tc39.es/ecma262/#sec-json.stringify
-		// https://github.com/tc39/proposal-well-formed-stringify
-		$$h({
-			target: 'JSON',
-			stat: true,
-			forced: FORCED$3
-		}, {
-			// eslint-disable-next-line no-unused-vars -- required for `.length`
-			stringify: function stringify(it, replacer, space) {
-				for (var i = 0, l = arguments.length, args = Array$1(l); i < l; i++) args[i] = arguments[i];
-
-				var result = apply$3($stringify, null, args);
-				return typeof result == 'string' ? replace(result, tester, fix) : result;
-			}
-		});
-	}
-
-	var path$d = path$y;
-	var apply$2 = functionApply; // eslint-disable-next-line es/no-json -- safe
-
-	if (!path$d.JSON) path$d.JSON = {
-		stringify: JSON.stringify
-	}; // eslint-disable-next-line no-unused-vars -- required for `.length`
-
-	var stringify$3 = function stringify(it, replacer, space) {
-		return apply$2(path$d.JSON.stringify, null, arguments);
-	};
-
-	var parent$x = stringify$3;
-	var stringify$2 = parent$x;
-
-	var stringify$1 = stringify$2;
-
-	var global$c = global$P;
-	var TypeError$6 = global$c.TypeError;
-
-	var validateArgumentsLength$1 = function (passed, required) {
-		if (passed < required) throw TypeError$6('Not enough arguments');
-		return passed;
-	};
-
-	var $$g = _export;
-	var global$b = global$P;
-	var apply$1 = functionApply;
-	var isCallable$1 = isCallable$h;
-	var userAgent$2 = engineUserAgent;
-	var arraySlice$1 = arraySlice$5;
-	var validateArgumentsLength = validateArgumentsLength$1;
-	var MSIE = /MSIE .\./.test(userAgent$2); // <- dirty ie9- check
-
-	var Function$1 = global$b.Function;
-
-	var wrap = function (scheduler) {
-		return function (handler, timeout
-			/* , ...arguments */
-		) {
-			var boundArgs = validateArgumentsLength(arguments.length, 1) > 2;
-			var fn = isCallable$1(handler) ? handler : Function$1(handler);
-			var args = boundArgs ? arraySlice$1(arguments, 2) : undefined;
-			return scheduler(boundArgs ? function () {
-				apply$1(fn, this, args);
-			} : fn, timeout);
-		};
-	}; // ie9- setTimeout & setInterval additional parameters fix
-	// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
-
-
-	$$g({
-		global: true,
-		bind: true,
-		forced: MSIE
-	}, {
-		// `setTimeout` method
-		// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
-		setTimeout: wrap(global$b.setTimeout),
-		// `setInterval` method
-		// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
-		setInterval: wrap(global$b.setInterval)
-	});
-
-	var path$c = path$y;
-	var setTimeout$2 = path$c.setTimeout;
-
-	var setTimeout$1 = setTimeout$2;
-
-	var toObject$3 = toObject$e;
-	var toAbsoluteIndex = toAbsoluteIndex$5;
-	var lengthOfArrayLike$5 = lengthOfArrayLike$d; // `Array.prototype.fill` method implementation
-	// https://tc39.es/ecma262/#sec-array.prototype.fill
-
-	var arrayFill = function fill(value
-		/* , start = 0, end = @length */
-	) {
-		var O = toObject$3(this);
-		var length = lengthOfArrayLike$5(O);
-		var argumentsLength = arguments.length;
-		var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);
-		var end = argumentsLength > 2 ? arguments[2] : undefined;
-		var endPos = end === undefined ? length : toAbsoluteIndex(end, length);
-
-		while (endPos > index) O[index++] = value;
-
-		return O;
-	};
-
-	var $$f = _export;
-	var fill$4 = arrayFill;
-	// https://tc39.es/ecma262/#sec-array.prototype.fill
-
-	$$f({
-		target: 'Array',
-		proto: true
-	}, {
-		fill: fill$4
-	}); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-
-	var entryVirtual$8 = entryVirtual$l;
-	var fill$3 = entryVirtual$8('Array').fill;
-
-	var isPrototypeOf$a = objectIsPrototypeOf;
-	var method$8 = fill$3;
-	var ArrayPrototype$8 = Array.prototype;
-
-	var fill$2 = function (it) {
-		var own = it.fill;
-		return it === ArrayPrototype$8 || isPrototypeOf$a(ArrayPrototype$8, it) && own === ArrayPrototype$8.fill ? method$8 : own;
-	};
-
-	var parent$w = fill$2;
-	var fill$1 = parent$w;
-
-	var fill = fill$1;
-
-	/*! Hammer.JS - v2.0.17-rc - 2019-12-16
-	 * http://naver.github.io/egjs
-	 *
-	 * Forked By Naver egjs
-	 * Copyright (c) hammerjs
-	 * Licensed under the MIT license */
-	function _extends() {
-		_extends = Object.assign || function (target) {
-			for (var i = 1; i < arguments.length; i++) {
-				var source = arguments[i];
-
-				for (var key in source) {
-					if (Object.prototype.hasOwnProperty.call(source, key)) {
-						target[key] = source[key];
-					}
-				}
-			}
-
-			return target;
-		};
-
-		return _extends.apply(this, arguments);
-	}
-
-	function _inheritsLoose(subClass, superClass) {
-		subClass.prototype = Object.create(superClass.prototype);
-		subClass.prototype.constructor = subClass;
-		subClass.__proto__ = superClass;
-	}
-
-	function _assertThisInitialized$1(self) {
-		if (self === void 0) {
-			throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
-		}
-
-		return self;
-	}
-	/**
-	 * @private
-	 * extend object.
-	 * means that properties in dest will be overwritten by the ones in src.
-	 * @param {Object} target
-	 * @param {...Object} objects_to_assign
-	 * @returns {Object} target
-	 */
-
-
-	var assign;
-
-	if (typeof Object.assign !== 'function') {
-		assign = function assign(target) {
-			if (target === undefined || target === null) {
-				throw new TypeError('Cannot convert undefined or null to object');
-			}
-
-			var output = Object(target);
-
-			for (var index = 1; index < arguments.length; index++) {
-				var source = arguments[index];
-
-				if (source !== undefined && source !== null) {
-					for (var nextKey in source) {
-						if (source.hasOwnProperty(nextKey)) {
-							output[nextKey] = source[nextKey];
-						}
-					}
-				}
-			}
-
-			return output;
-		};
-	} else {
-		assign = Object.assign;
-	}
-
-	var assign$1 = assign;
-	var VENDOR_PREFIXES = ['', 'webkit', 'Moz', 'MS', 'ms', 'o'];
-	var TEST_ELEMENT = typeof document === "undefined" ? {
-		style: {}
-	} : document.createElement('div');
-	var TYPE_FUNCTION = 'function';
-	var round = Math.round,
-		abs$1 = Math.abs;
-	var now = Date.now;
-	/**
-	 * @private
-	 * get the prefixed property
-	 * @param {Object} obj
-	 * @param {String} property
-	 * @returns {String|Undefined} prefixed
-	 */
-
-	function prefixed(obj, property) {
-		var prefix;
-		var prop;
-		var camelProp = property[0].toUpperCase() + property.slice(1);
-		var i = 0;
-
-		while (i < VENDOR_PREFIXES.length) {
-			prefix = VENDOR_PREFIXES[i];
-			prop = prefix ? prefix + camelProp : property;
-
-			if (prop in obj) {
-				return prop;
-			}
-
-			i++;
-		}
-
-		return undefined;
-	}
-	/* eslint-disable no-new-func, no-nested-ternary */
-
-
-	var win;
-
-	if (typeof window === "undefined") {
-		// window is undefined in node.js
-		win = {};
-	} else {
-		win = window;
-	}
-
-	var PREFIXED_TOUCH_ACTION = prefixed(TEST_ELEMENT.style, 'touchAction');
-	var NATIVE_TOUCH_ACTION = PREFIXED_TOUCH_ACTION !== undefined;
-
-	function getTouchActionProps() {
-		if (!NATIVE_TOUCH_ACTION) {
-			return false;
-		}
-
-		var touchMap = {};
-		var cssSupports = win.CSS && win.CSS.supports;
-		['auto', 'manipulation', 'pan-y', 'pan-x', 'pan-x pan-y', 'none'].forEach(function (val) {
-			// If css.supports is not supported but there is native touch-action assume it supports
-			// all values. This is the case for IE 10 and 11.
-			return touchMap[val] = cssSupports ? win.CSS.supports('touch-action', val) : true;
-		});
-		return touchMap;
-	}
-
-	var TOUCH_ACTION_COMPUTE = 'compute';
-	var TOUCH_ACTION_AUTO = 'auto';
-	var TOUCH_ACTION_MANIPULATION = 'manipulation'; // not implemented
-
-	var TOUCH_ACTION_NONE = 'none';
-	var TOUCH_ACTION_PAN_X = 'pan-x';
-	var TOUCH_ACTION_PAN_Y = 'pan-y';
-	var TOUCH_ACTION_MAP = getTouchActionProps();
-	var MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;
-	var SUPPORT_TOUCH = ('ontouchstart' in win);
-	var SUPPORT_POINTER_EVENTS = prefixed(win, 'PointerEvent') !== undefined;
-	var SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent);
-	var INPUT_TYPE_TOUCH = 'touch';
-	var INPUT_TYPE_PEN = 'pen';
-	var INPUT_TYPE_MOUSE = 'mouse';
-	var INPUT_TYPE_KINECT = 'kinect';
-	var COMPUTE_INTERVAL = 25;
-	var INPUT_START = 1;
-	var INPUT_MOVE = 2;
-	var INPUT_END = 4;
-	var INPUT_CANCEL = 8;
-	var DIRECTION_NONE = 1;
-	var DIRECTION_LEFT = 2;
-	var DIRECTION_RIGHT = 4;
-	var DIRECTION_UP = 8;
-	var DIRECTION_DOWN = 16;
-	var DIRECTION_HORIZONTAL = DIRECTION_LEFT | DIRECTION_RIGHT;
-	var DIRECTION_VERTICAL = DIRECTION_UP | DIRECTION_DOWN;
-	var DIRECTION_ALL = DIRECTION_HORIZONTAL | DIRECTION_VERTICAL;
-	var PROPS_XY = ['x', 'y'];
-	var PROPS_CLIENT_XY = ['clientX', 'clientY'];
-	/**
-	 * @private
-	 * walk objects and arrays
-	 * @param {Object} obj
-	 * @param {Function} iterator
-	 * @param {Object} context
-	 */
-
-	function each(obj, iterator, context) {
-		var i;
-
-		if (!obj) {
-			return;
-		}
-
-		if (obj.forEach) {
-			obj.forEach(iterator, context);
-		} else if (obj.length !== undefined) {
-			i = 0;
-
-			while (i < obj.length) {
-				iterator.call(context, obj[i], i, obj);
-				i++;
-			}
-		} else {
-			for (i in obj) {
-				obj.hasOwnProperty(i) && iterator.call(context, obj[i], i, obj);
-			}
-		}
-	}
-	/**
-	 * @private
-	 * let a boolean value also be a function that must return a boolean
-	 * this first item in args will be used as the context
-	 * @param {Boolean|Function} val
-	 * @param {Array} [args]
-	 * @returns {Boolean}
-	 */
-
-
-	function boolOrFn(val, args) {
-		if (typeof val === TYPE_FUNCTION) {
-			return val.apply(args ? args[0] || undefined : undefined, args);
-		}
-
-		return val;
-	}
-	/**
-	 * @private
-	 * small indexOf wrapper
-	 * @param {String} str
-	 * @param {String} find
-	 * @returns {Boolean} found
-	 */
-
-
-	function inStr(str, find) {
-		return str.indexOf(find) > -1;
-	}
-	/**
-	 * @private
-	 * when the touchActions are collected they are not a valid value, so we need to clean things up. *
-	 * @param {String} actions
-	 * @returns {*}
-	 */
-
-
-	function cleanTouchActions(actions) {
-		// none
-		if (inStr(actions, TOUCH_ACTION_NONE)) {
-			return TOUCH_ACTION_NONE;
-		}
-
-		var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X);
-		var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y); // if both pan-x and pan-y are set (different recognizers
-		// for different directions, e.g. horizontal pan but vertical swipe?)
-		// we need none (as otherwise with pan-x pan-y combined none of these
-		// recognizers will work, since the browser would handle all panning
-
-		if (hasPanX && hasPanY) {
-			return TOUCH_ACTION_NONE;
-		} // pan-x OR pan-y
-
-
-		if (hasPanX || hasPanY) {
-			return hasPanX ? TOUCH_ACTION_PAN_X : TOUCH_ACTION_PAN_Y;
-		} // manipulation
-
-
-		if (inStr(actions, TOUCH_ACTION_MANIPULATION)) {
-			return TOUCH_ACTION_MANIPULATION;
-		}
-
-		return TOUCH_ACTION_AUTO;
-	}
-	/**
-	 * @private
-	 * Touch Action
-	 * sets the touchAction property or uses the js alternative
-	 * @param {Manager} manager
-	 * @param {String} value
-	 * @constructor
-	 */
-
-
-	var TouchAction = /*#__PURE__*/function () {
-		function TouchAction(manager, value) {
-			this.manager = manager;
-			this.set(value);
-		}
-		/**
-		 * @private
-		 * set the touchAction value on the element or enable the polyfill
-		 * @param {String} value
-		 */
-
-
-		var _proto = TouchAction.prototype;
-
-		_proto.set = function set(value) {
-			// find out the touch-action by the event handlers
-			if (value === TOUCH_ACTION_COMPUTE) {
-				value = this.compute();
-			}
-
-			if (NATIVE_TOUCH_ACTION && this.manager.element.style && TOUCH_ACTION_MAP[value]) {
-				this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;
-			}
-
-			this.actions = value.toLowerCase().trim();
-		};
-		/**
-		 * @private
-		 * just re-set the touchAction value
-		 */
-
-
-		_proto.update = function update() {
-			this.set(this.manager.options.touchAction);
-		};
-		/**
-		 * @private
-		 * compute the value for the touchAction property based on the recognizer's settings
-		 * @returns {String} value
-		 */
-
-
-		_proto.compute = function compute() {
-			var actions = [];
-			each(this.manager.recognizers, function (recognizer) {
-				if (boolOrFn(recognizer.options.enable, [recognizer])) {
-					actions = actions.concat(recognizer.getTouchAction());
-				}
-			});
-			return cleanTouchActions(actions.join(' '));
-		};
-		/**
-		 * @private
-		 * this method is called on each input cycle and provides the preventing of the browser behavior
-		 * @param {Object} input
-		 */
-
-
-		_proto.preventDefaults = function preventDefaults(input) {
-			var srcEvent = input.srcEvent;
-			var direction = input.offsetDirection; // if the touch action did prevented once this session
-
-			if (this.manager.session.prevented) {
-				srcEvent.preventDefault();
-				return;
-			}
-
-			var actions = this.actions;
-			var hasNone = inStr(actions, TOUCH_ACTION_NONE) && !TOUCH_ACTION_MAP[TOUCH_ACTION_NONE];
-			var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_Y];
-			var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_X];
-
-			if (hasNone) {
-				// do not prevent defaults if this is a tap gesture
-				var isTapPointer = input.pointers.length === 1;
-				var isTapMovement = input.distance < 2;
-				var isTapTouchTime = input.deltaTime < 250;
-
-				if (isTapPointer && isTapMovement && isTapTouchTime) {
-					return;
-				}
-			}
-
-			if (hasPanX && hasPanY) {
-				// `pan-x pan-y` means browser handles all scrolling/panning, do not prevent
-				return;
-			}
-
-			if (hasNone || hasPanY && direction & DIRECTION_HORIZONTAL || hasPanX && direction & DIRECTION_VERTICAL) {
-				return this.preventSrc(srcEvent);
-			}
-		};
-		/**
-		 * @private
-		 * call preventDefault to prevent the browser's default behavior (scrolling in most cases)
-		 * @param {Object} srcEvent
-		 */
-
-
-		_proto.preventSrc = function preventSrc(srcEvent) {
-			this.manager.session.prevented = true;
-			srcEvent.preventDefault();
-		};
-
-		return TouchAction;
-	}();
-	/**
-	 * @private
-	 * find if a node is in the given parent
-	 * @method hasParent
-	 * @param {HTMLElement} node
-	 * @param {HTMLElement} parent
-	 * @return {Boolean} found
-	 */
-
-
-	function hasParent$1(node, parent) {
-		while (node) {
-			if (node === parent) {
-				return true;
-			}
-
-			node = node.parentNode;
-		}
-
-		return false;
-	}
-	/**
-	 * @private
-	 * get the center of all the pointers
-	 * @param {Array} pointers
-	 * @return {Object} center contains `x` and `y` properties
-	 */
-
-
-	function getCenter(pointers) {
-		var pointersLength = pointers.length; // no need to loop when only one touch
-
-		if (pointersLength === 1) {
-			return {
-				x: round(pointers[0].clientX),
-				y: round(pointers[0].clientY)
-			};
-		}
-
-		var x = 0;
-		var y = 0;
-		var i = 0;
-
-		while (i < pointersLength) {
-			x += pointers[i].clientX;
-			y += pointers[i].clientY;
-			i++;
-		}
-
-		return {
-			x: round(x / pointersLength),
-			y: round(y / pointersLength)
-		};
-	}
-	/**
-	 * @private
-	 * create a simple clone from the input used for storage of firstInput and firstMultiple
-	 * @param {Object} input
-	 * @returns {Object} clonedInputData
-	 */
-
-
-	function simpleCloneInputData(input) {
-		// make a simple copy of the pointers because we will get a reference if we don't
-		// we only need clientXY for the calculations
-		var pointers = [];
-		var i = 0;
-
-		while (i < input.pointers.length) {
-			pointers[i] = {
-				clientX: round(input.pointers[i].clientX),
-				clientY: round(input.pointers[i].clientY)
-			};
-			i++;
-		}
-
-		return {
-			timeStamp: now(),
-			pointers: pointers,
-			center: getCenter(pointers),
-			deltaX: input.deltaX,
-			deltaY: input.deltaY
-		};
-	}
-	/**
-	 * @private
-	 * calculate the absolute distance between two points
-	 * @param {Object} p1 {x, y}
-	 * @param {Object} p2 {x, y}
-	 * @param {Array} [props] containing x and y keys
-	 * @return {Number} distance
-	 */
-
-
-	function getDistance(p1, p2, props) {
-		if (!props) {
-			props = PROPS_XY;
-		}
-
-		var x = p2[props[0]] - p1[props[0]];
-		var y = p2[props[1]] - p1[props[1]];
-		return Math.sqrt(x * x + y * y);
-	}
-	/**
-	 * @private
-	 * calculate the angle between two coordinates
-	 * @param {Object} p1
-	 * @param {Object} p2
-	 * @param {Array} [props] containing x and y keys
-	 * @return {Number} angle
-	 */
-
-
-	function getAngle(p1, p2, props) {
-		if (!props) {
-			props = PROPS_XY;
-		}
-
-		var x = p2[props[0]] - p1[props[0]];
-		var y = p2[props[1]] - p1[props[1]];
-		return Math.atan2(y, x) * 180 / Math.PI;
-	}
-	/**
-	 * @private
-	 * get the direction between two points
-	 * @param {Number} x
-	 * @param {Number} y
-	 * @return {Number} direction
-	 */
-
-
-	function getDirection(x, y) {
-		if (x === y) {
-			return DIRECTION_NONE;
-		}
-
-		if (abs$1(x) >= abs$1(y)) {
-			return x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;
-		}
-
-		return y < 0 ? DIRECTION_UP : DIRECTION_DOWN;
-	}
-
-	function computeDeltaXY(session, input) {
-		var center = input.center; // let { offsetDelta:offset = {}, prevDelta = {}, prevInput = {} } = session;
-		// jscs throwing error on defalut destructured values and without defaults tests fail
-
-		var offset = session.offsetDelta || {};
-		var prevDelta = session.prevDelta || {};
-		var prevInput = session.prevInput || {};
-
-		if (input.eventType === INPUT_START || prevInput.eventType === INPUT_END) {
-			prevDelta = session.prevDelta = {
-				x: prevInput.deltaX || 0,
-				y: prevInput.deltaY || 0
-			};
-			offset = session.offsetDelta = {
-				x: center.x,
-				y: center.y
-			};
-		}
-
-		input.deltaX = prevDelta.x + (center.x - offset.x);
-		input.deltaY = prevDelta.y + (center.y - offset.y);
-	}
-	/**
-	 * @private
-	 * calculate the velocity between two points. unit is in px per ms.
-	 * @param {Number} deltaTime
-	 * @param {Number} x
-	 * @param {Number} y
-	 * @return {Object} velocity `x` and `y`
-	 */
-
-
-	function getVelocity(deltaTime, x, y) {
-		return {
-			x: x / deltaTime || 0,
-			y: y / deltaTime || 0
-		};
-	}
-	/**
-	 * @private
-	 * calculate the scale factor between two pointersets
-	 * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out
-	 * @param {Array} start array of pointers
-	 * @param {Array} end array of pointers
-	 * @return {Number} scale
-	 */
-
-
-	function getScale(start, end) {
-		return getDistance(end[0], end[1], PROPS_CLIENT_XY) / getDistance(start[0], start[1], PROPS_CLIENT_XY);
-	}
-	/**
-	 * @private
-	 * calculate the rotation degrees between two pointersets
-	 * @param {Array} start array of pointers
-	 * @param {Array} end array of pointers
-	 * @return {Number} rotation
-	 */
-
-
-	function getRotation(start, end) {
-		return getAngle(end[1], end[0], PROPS_CLIENT_XY) + getAngle(start[1], start[0], PROPS_CLIENT_XY);
-	}
-	/**
-	 * @private
-	 * velocity is calculated every x ms
-	 * @param {Object} session
-	 * @param {Object} input
-	 */
-
-
-	function computeIntervalInputData(session, input) {
-		var last = session.lastInterval || input;
-		var deltaTime = input.timeStamp - last.timeStamp;
-		var velocity;
-		var velocityX;
-		var velocityY;
-		var direction;
-
-		if (input.eventType !== INPUT_CANCEL && (deltaTime > COMPUTE_INTERVAL || last.velocity === undefined)) {
-			var deltaX = input.deltaX - last.deltaX;
-			var deltaY = input.deltaY - last.deltaY;
-			var v = getVelocity(deltaTime, deltaX, deltaY);
-			velocityX = v.x;
-			velocityY = v.y;
-			velocity = abs$1(v.x) > abs$1(v.y) ? v.x : v.y;
-			direction = getDirection(deltaX, deltaY);
-			session.lastInterval = input;
-		} else {
-			// use latest velocity info if it doesn't overtake a minimum period
-			velocity = last.velocity;
-			velocityX = last.velocityX;
-			velocityY = last.velocityY;
-			direction = last.direction;
-		}
-
-		input.velocity = velocity;
-		input.velocityX = velocityX;
-		input.velocityY = velocityY;
-		input.direction = direction;
-	}
-	/**
-	* @private
-	 * extend the data with some usable properties like scale, rotate, velocity etc
-	 * @param {Object} manager
-	 * @param {Object} input
-	 */
-
-
-	function computeInputData(manager, input) {
-		var session = manager.session;
-		var pointers = input.pointers;
-		var pointersLength = pointers.length; // store the first input to calculate the distance and direction
-
-		if (!session.firstInput) {
-			session.firstInput = simpleCloneInputData(input);
-		} // to compute scale and rotation we need to store the multiple touches
-
-
-		if (pointersLength > 1 && !session.firstMultiple) {
-			session.firstMultiple = simpleCloneInputData(input);
-		} else if (pointersLength === 1) {
-			session.firstMultiple = false;
-		}
-
-		var firstInput = session.firstInput,
-			firstMultiple = session.firstMultiple;
-		var offsetCenter = firstMultiple ? firstMultiple.center : firstInput.center;
-		var center = input.center = getCenter(pointers);
-		input.timeStamp = now();
-		input.deltaTime = input.timeStamp - firstInput.timeStamp;
-		input.angle = getAngle(offsetCenter, center);
-		input.distance = getDistance(offsetCenter, center);
-		computeDeltaXY(session, input);
-		input.offsetDirection = getDirection(input.deltaX, input.deltaY);
-		var overallVelocity = getVelocity(input.deltaTime, input.deltaX, input.deltaY);
-		input.overallVelocityX = overallVelocity.x;
-		input.overallVelocityY = overallVelocity.y;
-		input.overallVelocity = abs$1(overallVelocity.x) > abs$1(overallVelocity.y) ? overallVelocity.x : overallVelocity.y;
-		input.scale = firstMultiple ? getScale(firstMultiple.pointers, pointers) : 1;
-		input.rotation = firstMultiple ? getRotation(firstMultiple.pointers, pointers) : 0;
-		input.maxPointers = !session.prevInput ? input.pointers.length : input.pointers.length > session.prevInput.maxPointers ? input.pointers.length : session.prevInput.maxPointers;
-		computeIntervalInputData(session, input); // find the correct target
-
-		var target = manager.element;
-		var srcEvent = input.srcEvent;
-		var srcEventTarget;
-
-		if (srcEvent.composedPath) {
-			srcEventTarget = srcEvent.composedPath()[0];
-		} else if (srcEvent.path) {
-			srcEventTarget = srcEvent.path[0];
-		} else {
-			srcEventTarget = srcEvent.target;
-		}
-
-		if (hasParent$1(srcEventTarget, target)) {
-			target = srcEventTarget;
-		}
-
-		input.target = target;
-	}
-	/**
-	 * @private
-	 * handle input events
-	 * @param {Manager} manager
-	 * @param {String} eventType
-	 * @param {Object} input
-	 */
-
-
-	function inputHandler(manager, eventType, input) {
-		var pointersLen = input.pointers.length;
-		var changedPointersLen = input.changedPointers.length;
-		var isFirst = eventType & INPUT_START && pointersLen - changedPointersLen === 0;
-		var isFinal = eventType & (INPUT_END | INPUT_CANCEL) && pointersLen - changedPointersLen === 0;
-		input.isFirst = !!isFirst;
-		input.isFinal = !!isFinal;
-
-		if (isFirst) {
-			manager.session = {};
-		} // source event is the normalized value of the domEvents
-		// like 'touchstart, mouseup, pointerdown'
-
-
-		input.eventType = eventType; // compute scale, rotation etc
-
-		computeInputData(manager, input); // emit secret event
-
-		manager.emit('hammer.input', input);
-		manager.recognize(input);
-		manager.session.prevInput = input;
-	}
-	/**
-	 * @private
-	 * split string on whitespace
-	 * @param {String} str
-	 * @returns {Array} words
-	 */
-
-
-	function splitStr(str) {
-		return str.trim().split(/\s+/g);
-	}
-	/**
-	 * @private
-	 * addEventListener with multiple events at once
-	 * @param {EventTarget} target
-	 * @param {String} types
-	 * @param {Function} handler
-	 */
-
-
-	function addEventListeners(target, types, handler) {
-		each(splitStr(types), function (type) {
-			target.addEventListener(type, handler, false);
-		});
-	}
-	/**
-	 * @private
-	 * removeEventListener with multiple events at once
-	 * @param {EventTarget} target
-	 * @param {String} types
-	 * @param {Function} handler
-	 */
-
-
-	function removeEventListeners(target, types, handler) {
-		each(splitStr(types), function (type) {
-			target.removeEventListener(type, handler, false);
-		});
-	}
-	/**
-	 * @private
-	 * get the window object of an element
-	 * @param {HTMLElement} element
-	 * @returns {DocumentView|Window}
-	 */
-
-
-	function getWindowForElement(element) {
-		var doc = element.ownerDocument || element;
-		return doc.defaultView || doc.parentWindow || window;
-	}
-	/**
-	 * @private
-	 * create new input type manager
-	 * @param {Manager} manager
-	 * @param {Function} callback
-	 * @returns {Input}
-	 * @constructor
-	 */
-
-
-	var Input = /*#__PURE__*/function () {
-		function Input(manager, callback) {
-			var self = this;
-			this.manager = manager;
-			this.callback = callback;
-			this.element = manager.element;
-			this.target = manager.options.inputTarget; // smaller wrapper around the handler, for the scope and the enabled state of the manager,
-			// so when disabled the input events are completely bypassed.
-
-			this.domHandler = function (ev) {
-				if (boolOrFn(manager.options.enable, [manager])) {
-					self.handler(ev);
-				}
-			};
-
-			this.init();
-		}
-		/**
-		 * @private
-		 * should handle the inputEvent data and trigger the callback
-		 * @virtual
-		 */
-
-
-		var _proto = Input.prototype;
-
-		_proto.handler = function handler() { };
-		/**
-		 * @private
-		 * bind the events
-		 */
-
-
-		_proto.init = function init() {
-			this.evEl && addEventListeners(this.element, this.evEl, this.domHandler);
-			this.evTarget && addEventListeners(this.target, this.evTarget, this.domHandler);
-			this.evWin && addEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);
-		};
-		/**
-		 * @private
-		 * unbind the events
-		 */
-
-
-		_proto.destroy = function destroy() {
-			this.evEl && removeEventListeners(this.element, this.evEl, this.domHandler);
-			this.evTarget && removeEventListeners(this.target, this.evTarget, this.domHandler);
-			this.evWin && removeEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);
-		};
-
-		return Input;
-	}();
-	/**
-	 * @private
-	 * find if a array contains the object using indexOf or a simple polyFill
-	 * @param {Array} src
-	 * @param {String} find
-	 * @param {String} [findByKey]
-	 * @return {Boolean|Number} false when not found, or the index
-	 */
-
-
-	function inArray(src, find, findByKey) {
-		if (src.indexOf && !findByKey) {
-			return src.indexOf(find);
-		} else {
-			var i = 0;
-
-			while (i < src.length) {
-				if (findByKey && src[i][findByKey] == find || !findByKey && src[i] === find) {
-					// do not use === here, test fails
-					return i;
-				}
-
-				i++;
-			}
-
-			return -1;
-		}
-	}
-
-	var POINTER_INPUT_MAP = {
-		pointerdown: INPUT_START,
-		pointermove: INPUT_MOVE,
-		pointerup: INPUT_END,
-		pointercancel: INPUT_CANCEL,
-		pointerout: INPUT_CANCEL
-	}; // in IE10 the pointer types is defined as an enum
-
-	var IE10_POINTER_TYPE_ENUM = {
-		2: INPUT_TYPE_TOUCH,
-		3: INPUT_TYPE_PEN,
-		4: INPUT_TYPE_MOUSE,
-		5: INPUT_TYPE_KINECT // see https://twitter.com/jacobrossi/status/480596438489890816
-
-	};
-	var POINTER_ELEMENT_EVENTS = 'pointerdown';
-	var POINTER_WINDOW_EVENTS = 'pointermove pointerup pointercancel'; // IE10 has prefixed support, and case-sensitive
-
-	if (win.MSPointerEvent && !win.PointerEvent) {
-		POINTER_ELEMENT_EVENTS = 'MSPointerDown';
-		POINTER_WINDOW_EVENTS = 'MSPointerMove MSPointerUp MSPointerCancel';
-	}
-	/**
-	 * @private
-	 * Pointer events input
-	 * @constructor
-	 * @extends Input
-	 */
-
-
-	var PointerEventInput = /*#__PURE__*/function (_Input) {
-		_inheritsLoose(PointerEventInput, _Input);
-
-		function PointerEventInput() {
-			var _this;
-
-			var proto = PointerEventInput.prototype;
-			proto.evEl = POINTER_ELEMENT_EVENTS;
-			proto.evWin = POINTER_WINDOW_EVENTS;
-			_this = _Input.apply(this, arguments) || this;
-			_this.store = _this.manager.session.pointerEvents = [];
-			return _this;
-		}
-		/**
-		 * @private
-		 * handle mouse events
-		 * @param {Object} ev
-		 */
-
-
-		var _proto = PointerEventInput.prototype;
-
-		_proto.handler = function handler(ev) {
-			var store = this.store;
-			var removePointer = false;
-			var eventTypeNormalized = ev.type.toLowerCase().replace('ms', '');
-			var eventType = POINTER_INPUT_MAP[eventTypeNormalized];
-			var pointerType = IE10_POINTER_TYPE_ENUM[ev.pointerType] || ev.pointerType;
-			var isTouch = pointerType === INPUT_TYPE_TOUCH; // get index of the event in the store
-
-			var storeIndex = inArray(store, ev.pointerId, 'pointerId'); // start and mouse must be down
-
-			if (eventType & INPUT_START && (ev.button === 0 || isTouch)) {
-				if (storeIndex < 0) {
-					store.push(ev);
-					storeIndex = store.length - 1;
-				}
-			} else if (eventType & (INPUT_END | INPUT_CANCEL)) {
-				removePointer = true;
-			} // it not found, so the pointer hasn't been down (so it's probably a hover)
-
-
-			if (storeIndex < 0) {
-				return;
-			} // update the event in the store
-
-
-			store[storeIndex] = ev;
-			this.callback(this.manager, eventType, {
-				pointers: store,
-				changedPointers: [ev],
-				pointerType: pointerType,
-				srcEvent: ev
-			});
-
-			if (removePointer) {
-				// remove from the store
-				store.splice(storeIndex, 1);
-			}
-		};
-
-		return PointerEventInput;
-	}(Input);
-	/**
-	 * @private
-	 * convert array-like objects to real arrays
-	 * @param {Object} obj
-	 * @returns {Array}
-	 */
-
-
-	function toArray$1(obj) {
-		return Array.prototype.slice.call(obj, 0);
-	}
-	/**
-	 * @private
-	 * unique array with objects based on a key (like 'id') or just by the array's value
-	 * @param {Array} src [{id:1},{id:2},{id:1}]
-	 * @param {String} [key]
-	 * @param {Boolean} [sort=False]
-	 * @returns {Array} [{id:1},{id:2}]
-	 */
-
-
-	function uniqueArray(src, key, sort) {
-		var results = [];
-		var values = [];
-		var i = 0;
-
-		while (i < src.length) {
-			var val = key ? src[i][key] : src[i];
-
-			if (inArray(values, val) < 0) {
-				results.push(src[i]);
-			}
-
-			values[i] = val;
-			i++;
-		}
-
-		if (sort) {
-			if (!key) {
-				results = results.sort();
-			} else {
-				results = results.sort(function (a, b) {
-					return a[key] > b[key];
-				});
-			}
-		}
-
-		return results;
-	}
-
-	var TOUCH_INPUT_MAP = {
-		touchstart: INPUT_START,
-		touchmove: INPUT_MOVE,
-		touchend: INPUT_END,
-		touchcancel: INPUT_CANCEL
-	};
-	var TOUCH_TARGET_EVENTS = 'touchstart touchmove touchend touchcancel';
-	/**
-	 * @private
-	 * Multi-user touch events input
-	 * @constructor
-	 * @extends Input
-	 */
-
-	var TouchInput = /*#__PURE__*/function (_Input) {
-		_inheritsLoose(TouchInput, _Input);
-
-		function TouchInput() {
-			var _this;
-
-			TouchInput.prototype.evTarget = TOUCH_TARGET_EVENTS;
-			_this = _Input.apply(this, arguments) || this;
-			_this.targetIds = {}; // this.evTarget = TOUCH_TARGET_EVENTS;
-
-			return _this;
-		}
-
-		var _proto = TouchInput.prototype;
-
-		_proto.handler = function handler(ev) {
-			var type = TOUCH_INPUT_MAP[ev.type];
-			var touches = getTouches.call(this, ev, type);
-
-			if (!touches) {
-				return;
-			}
-
-			this.callback(this.manager, type, {
-				pointers: touches[0],
-				changedPointers: touches[1],
-				pointerType: INPUT_TYPE_TOUCH,
-				srcEvent: ev
-			});
-		};
-
-		return TouchInput;
-	}(Input);
-
-	function getTouches(ev, type) {
-		var allTouches = toArray$1(ev.touches);
-		var targetIds = this.targetIds; // when there is only one touch, the process can be simplified
-
-		if (type & (INPUT_START | INPUT_MOVE) && allTouches.length === 1) {
-			targetIds[allTouches[0].identifier] = true;
-			return [allTouches, allTouches];
-		}
-
-		var i;
-		var targetTouches;
-		var changedTouches = toArray$1(ev.changedTouches);
-		var changedTargetTouches = [];
-		var target = this.target; // get target touches from touches
-
-		targetTouches = allTouches.filter(function (touch) {
-			return hasParent$1(touch.target, target);
-		}); // collect touches
-
-		if (type === INPUT_START) {
-			i = 0;
-
-			while (i < targetTouches.length) {
-				targetIds[targetTouches[i].identifier] = true;
-				i++;
-			}
-		} // filter changed touches to only contain touches that exist in the collected target ids
-
-
-		i = 0;
-
-		while (i < changedTouches.length) {
-			if (targetIds[changedTouches[i].identifier]) {
-				changedTargetTouches.push(changedTouches[i]);
-			} // cleanup removed touches
-
-
-			if (type & (INPUT_END | INPUT_CANCEL)) {
-				delete targetIds[changedTouches[i].identifier];
-			}
-
-			i++;
-		}
-
-		if (!changedTargetTouches.length) {
-			return;
-		}
-
-		return [// merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'
-			uniqueArray(targetTouches.concat(changedTargetTouches), 'identifier', true), changedTargetTouches];
-	}
-
-	var MOUSE_INPUT_MAP = {
-		mousedown: INPUT_START,
-		mousemove: INPUT_MOVE,
-		mouseup: INPUT_END
-	};
-	var MOUSE_ELEMENT_EVENTS = 'mousedown';
-	var MOUSE_WINDOW_EVENTS = 'mousemove mouseup';
-	/**
-	 * @private
-	 * Mouse events input
-	 * @constructor
-	 * @extends Input
-	 */
-
-	var MouseInput = /*#__PURE__*/function (_Input) {
-		_inheritsLoose(MouseInput, _Input);
-
-		function MouseInput() {
-			var _this;
-
-			var proto = MouseInput.prototype;
-			proto.evEl = MOUSE_ELEMENT_EVENTS;
-			proto.evWin = MOUSE_WINDOW_EVENTS;
-			_this = _Input.apply(this, arguments) || this;
-			_this.pressed = false; // mousedown state
-
-			return _this;
-		}
-		/**
-		 * @private
-		 * handle mouse events
-		 * @param {Object} ev
-		 */
-
-
-		var _proto = MouseInput.prototype;
-
-		_proto.handler = function handler(ev) {
-			var eventType = MOUSE_INPUT_MAP[ev.type]; // on start we want to have the left mouse button down
-
-			if (eventType & INPUT_START && ev.button === 0) {
-				this.pressed = true;
-			}
-
-			if (eventType & INPUT_MOVE && ev.which !== 1) {
-				eventType = INPUT_END;
-			} // mouse must be down
-
-
-			if (!this.pressed) {
-				return;
-			}
-
-			if (eventType & INPUT_END) {
-				this.pressed = false;
-			}
-
-			this.callback(this.manager, eventType, {
-				pointers: [ev],
-				changedPointers: [ev],
-				pointerType: INPUT_TYPE_MOUSE,
-				srcEvent: ev
-			});
-		};
-
-		return MouseInput;
-	}(Input);
-	/**
-	 * @private
-	 * Combined touch and mouse input
-	 *
-	 * Touch has a higher priority then mouse, and while touching no mouse events are allowed.
-	 * This because touch devices also emit mouse events while doing a touch.
-	 *
-	 * @constructor
-	 * @extends Input
-	 */
-
-
-	var DEDUP_TIMEOUT = 2500;
-	var DEDUP_DISTANCE = 25;
-
-	function setLastTouch(eventData) {
-		var _eventData$changedPoi = eventData.changedPointers,
-			touch = _eventData$changedPoi[0];
-
-		if (touch.identifier === this.primaryTouch) {
-			var lastTouch = {
-				x: touch.clientX,
-				y: touch.clientY
-			};
-			var lts = this.lastTouches;
-			this.lastTouches.push(lastTouch);
-
-			var removeLastTouch = function removeLastTouch() {
-				var i = lts.indexOf(lastTouch);
-
-				if (i > -1) {
-					lts.splice(i, 1);
-				}
-			};
-
-			setTimeout(removeLastTouch, DEDUP_TIMEOUT);
-		}
-	}
-
-	function recordTouches(eventType, eventData) {
-		if (eventType & INPUT_START) {
-			this.primaryTouch = eventData.changedPointers[0].identifier;
-			setLastTouch.call(this, eventData);
-		} else if (eventType & (INPUT_END | INPUT_CANCEL)) {
-			setLastTouch.call(this, eventData);
-		}
-	}
-
-	function isSyntheticEvent(eventData) {
-		var x = eventData.srcEvent.clientX;
-		var y = eventData.srcEvent.clientY;
-
-		for (var i = 0; i < this.lastTouches.length; i++) {
-			var t = this.lastTouches[i];
-			var dx = Math.abs(x - t.x);
-			var dy = Math.abs(y - t.y);
-
-			if (dx <= DEDUP_DISTANCE && dy <= DEDUP_DISTANCE) {
-				return true;
-			}
-		}
-
-		return false;
-	}
-
-	var TouchMouseInput = /*#__PURE__*/function () {
-		var TouchMouseInput = /*#__PURE__*/function (_Input) {
-			_inheritsLoose(TouchMouseInput, _Input);
-
-			function TouchMouseInput(_manager, callback) {
-				var _this;
-
-				_this = _Input.call(this, _manager, callback) || this;
-
-				_this.handler = function (manager, inputEvent, inputData) {
-					var isTouch = inputData.pointerType === INPUT_TYPE_TOUCH;
-					var isMouse = inputData.pointerType === INPUT_TYPE_MOUSE;
-
-					if (isMouse && inputData.sourceCapabilities && inputData.sourceCapabilities.firesTouchEvents) {
-						return;
-					} // when we're in a touch event, record touches to  de-dupe synthetic mouse event
-
-
-					if (isTouch) {
-						recordTouches.call(_assertThisInitialized$1(_assertThisInitialized$1(_this)), inputEvent, inputData);
-					} else if (isMouse && isSyntheticEvent.call(_assertThisInitialized$1(_assertThisInitialized$1(_this)), inputData)) {
-						return;
-					}
-
-					_this.callback(manager, inputEvent, inputData);
-				};
-
-				_this.touch = new TouchInput(_this.manager, _this.handler);
-				_this.mouse = new MouseInput(_this.manager, _this.handler);
-				_this.primaryTouch = null;
-				_this.lastTouches = [];
-				return _this;
-			}
-			/**
-			 * @private
-			 * handle mouse and touch events
-			 * @param {Hammer} manager
-			 * @param {String} inputEvent
-			 * @param {Object} inputData
-			 */
-
-
-			var _proto = TouchMouseInput.prototype;
-			/**
-			 * @private
-			 * remove the event listeners
-			 */
-
-			_proto.destroy = function destroy() {
-				this.touch.destroy();
-				this.mouse.destroy();
-			};
-
-			return TouchMouseInput;
-		}(Input);
-
-		return TouchMouseInput;
-	}();
-	/**
-	 * @private
-	 * create new input type manager
-	 * called by the Manager constructor
-	 * @param {Hammer} manager
-	 * @returns {Input}
-	 */
-
-
-	function createInputInstance(manager) {
-		var Type; // let inputClass = manager.options.inputClass;
-
-		var inputClass = manager.options.inputClass;
-
-		if (inputClass) {
-			Type = inputClass;
-		} else if (SUPPORT_POINTER_EVENTS) {
-			Type = PointerEventInput;
-		} else if (SUPPORT_ONLY_TOUCH) {
-			Type = TouchInput;
-		} else if (!SUPPORT_TOUCH) {
-			Type = MouseInput;
-		} else {
-			Type = TouchMouseInput;
-		}
-
-		return new Type(manager, inputHandler);
-	}
-	/**
-	 * @private
-	 * if the argument is an array, we want to execute the fn on each entry
-	 * if it aint an array we don't want to do a thing.
-	 * this is used by all the methods that accept a single and array argument.
-	 * @param {*|Array} arg
-	 * @param {String} fn
-	 * @param {Object} [context]
-	 * @returns {Boolean}
-	 */
-
-
-	function invokeArrayArg(arg, fn, context) {
-		if (Array.isArray(arg)) {
-			each(arg, context[fn], context);
-			return true;
-		}
-
-		return false;
-	}
-
-	var STATE_POSSIBLE = 1;
-	var STATE_BEGAN = 2;
-	var STATE_CHANGED = 4;
-	var STATE_ENDED = 8;
-	var STATE_RECOGNIZED = STATE_ENDED;
-	var STATE_CANCELLED = 16;
-	var STATE_FAILED = 32;
-	/**
-	 * @private
-	 * get a unique id
-	 * @returns {number} uniqueId
-	 */
-
-	var _uniqueId = 1;
-
-	function uniqueId() {
-		return _uniqueId++;
-	}
-	/**
-	 * @private
-	 * get a recognizer by name if it is bound to a manager
-	 * @param {Recognizer|String} otherRecognizer
-	 * @param {Recognizer} recognizer
-	 * @returns {Recognizer}
-	 */
-
-
-	function getRecognizerByNameIfManager(otherRecognizer, recognizer) {
-		var manager = recognizer.manager;
-
-		if (manager) {
-			return manager.get(otherRecognizer);
-		}
-
-		return otherRecognizer;
-	}
-	/**
-	 * @private
-	 * get a usable string, used as event postfix
-	 * @param {constant} state
-	 * @returns {String} state
-	 */
-
-
-	function stateStr(state) {
-		if (state & STATE_CANCELLED) {
-			return 'cancel';
-		} else if (state & STATE_ENDED) {
-			return 'end';
-		} else if (state & STATE_CHANGED) {
-			return 'move';
-		} else if (state & STATE_BEGAN) {
-			return 'start';
-		}
-
-		return '';
-	}
-	/**
-	 * @private
-	 * Recognizer flow explained; *
-	 * All recognizers have the initial state of POSSIBLE when a input session starts.
-	 * The definition of a input session is from the first input until the last input, with all it's movement in it. *
-	 * Example session for mouse-input: mousedown -> mousemove -> mouseup
-	 *
-	 * On each recognizing cycle (see Manager.recognize) the .recognize() method is executed
-	 * which determines with state it should be.
-	 *
-	 * If the recognizer has the state FAILED, CANCELLED or RECOGNIZED (equals ENDED), it is reset to
-	 * POSSIBLE to give it another change on the next cycle.
-	 *
-	 *               Possible
-	 *                  |
-	 *            +-----+---------------+
-	 *            |                     |
-	 *      +-----+-----+               |
-	 *      |           |               |
-	 *   Failed      Cancelled          |
-	 *                          +-------+------+
-	 *                          |              |
-	 *                      Recognized       Began
-	 *                                         |
-	 *                                      Changed
-	 *                                         |
-	 *                                  Ended/Recognized
-	 */
-
-	/**
-	 * @private
-	 * Recognizer
-	 * Every recognizer needs to extend from this class.
-	 * @constructor
-	 * @param {Object} options
-	 */
-
-
-	var Recognizer = /*#__PURE__*/function () {
-		function Recognizer(options) {
-			if (options === void 0) {
-				options = {};
-			}
-
-			this.options = _extends({
-				enable: true
-			}, options);
-			this.id = uniqueId();
-			this.manager = null; // default is enable true
-
-			this.state = STATE_POSSIBLE;
-			this.simultaneous = {};
-			this.requireFail = [];
-		}
-		/**
-		 * @private
-		 * set options
-		 * @param {Object} options
-		 * @return {Recognizer}
-		 */
-
-
-		var _proto = Recognizer.prototype;
-
-		_proto.set = function set(options) {
-			assign$1(this.options, options); // also update the touchAction, in case something changed about the directions/enabled state
-
-			this.manager && this.manager.touchAction.update();
-			return this;
-		};
-		/**
-		 * @private
-		 * recognize simultaneous with an other recognizer.
-		 * @param {Recognizer} otherRecognizer
-		 * @returns {Recognizer} this
-		 */
-
-
-		_proto.recognizeWith = function recognizeWith(otherRecognizer) {
-			if (invokeArrayArg(otherRecognizer, 'recognizeWith', this)) {
-				return this;
-			}
-
-			var simultaneous = this.simultaneous;
-			otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);
-
-			if (!simultaneous[otherRecognizer.id]) {
-				simultaneous[otherRecognizer.id] = otherRecognizer;
-				otherRecognizer.recognizeWith(this);
-			}
-
-			return this;
-		};
-		/**
-		 * @private
-		 * drop the simultaneous link. it doesnt remove the link on the other recognizer.
-		 * @param {Recognizer} otherRecognizer
-		 * @returns {Recognizer} this
-		 */
-
-
-		_proto.dropRecognizeWith = function dropRecognizeWith(otherRecognizer) {
-			if (invokeArrayArg(otherRecognizer, 'dropRecognizeWith', this)) {
-				return this;
-			}
-
-			otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);
-			delete this.simultaneous[otherRecognizer.id];
-			return this;
-		};
-		/**
-		 * @private
-		 * recognizer can only run when an other is failing
-		 * @param {Recognizer} otherRecognizer
-		 * @returns {Recognizer} this
-		 */
-
-
-		_proto.requireFailure = function requireFailure(otherRecognizer) {
-			if (invokeArrayArg(otherRecognizer, 'requireFailure', this)) {
-				return this;
-			}
-
-			var requireFail = this.requireFail;
-			otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);
-
-			if (inArray(requireFail, otherRecognizer) === -1) {
-				requireFail.push(otherRecognizer);
-				otherRecognizer.requireFailure(this);
-			}
-
-			return this;
-		};
-		/**
-		 * @private
-		 * drop the requireFailure link. it does not remove the link on the other recognizer.
-		 * @param {Recognizer} otherRecognizer
-		 * @returns {Recognizer} this
-		 */
-
-
-		_proto.dropRequireFailure = function dropRequireFailure(otherRecognizer) {
-			if (invokeArrayArg(otherRecognizer, 'dropRequireFailure', this)) {
-				return this;
-			}
-
-			otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);
-			var index = inArray(this.requireFail, otherRecognizer);
-
-			if (index > -1) {
-				this.requireFail.splice(index, 1);
-			}
-
-			return this;
-		};
-		/**
-		 * @private
-		 * has require failures boolean
-		 * @returns {boolean}
-		 */
-
-
-		_proto.hasRequireFailures = function hasRequireFailures() {
-			return this.requireFail.length > 0;
-		};
-		/**
-		 * @private
-		 * if the recognizer can recognize simultaneous with an other recognizer
-		 * @param {Recognizer} otherRecognizer
-		 * @returns {Boolean}
-		 */
-
-
-		_proto.canRecognizeWith = function canRecognizeWith(otherRecognizer) {
-			return !!this.simultaneous[otherRecognizer.id];
-		};
-		/**
-		 * @private
-		 * You should use `tryEmit` instead of `emit` directly to check
-		 * that all the needed recognizers has failed before emitting.
-		 * @param {Object} input
-		 */
-
-
-		_proto.emit = function emit(input) {
-			var self = this;
-			var state = this.state;
-
-			function emit(event) {
-				self.manager.emit(event, input);
-			} // 'panstart' and 'panmove'
-
-
-			if (state < STATE_ENDED) {
-				emit(self.options.event + stateStr(state));
-			}
-
-			emit(self.options.event); // simple 'eventName' events
-
-			if (input.additionalEvent) {
-				// additional event(panleft, panright, pinchin, pinchout...)
-				emit(input.additionalEvent);
-			} // panend and pancancel
-
-
-			if (state >= STATE_ENDED) {
-				emit(self.options.event + stateStr(state));
-			}
-		};
-		/**
-		 * @private
-		 * Check that all the require failure recognizers has failed,
-		 * if true, it emits a gesture event,
-		 * otherwise, setup the state to FAILED.
-		 * @param {Object} input
-		 */
-
-
-		_proto.tryEmit = function tryEmit(input) {
-			if (this.canEmit()) {
-				return this.emit(input);
-			} // it's failing anyway
-
-
-			this.state = STATE_FAILED;
-		};
-		/**
-		 * @private
-		 * can we emit?
-		 * @returns {boolean}
-		 */
-
-
-		_proto.canEmit = function canEmit() {
-			var i = 0;
-
-			while (i < this.requireFail.length) {
-				if (!(this.requireFail[i].state & (STATE_FAILED | STATE_POSSIBLE))) {
-					return false;
-				}
-
-				i++;
-			}
-
-			return true;
-		};
-		/**
-		 * @private
-		 * update the recognizer
-		 * @param {Object} inputData
-		 */
-
-
-		_proto.recognize = function recognize(inputData) {
-			// make a new copy of the inputData
-			// so we can change the inputData without messing up the other recognizers
-			var inputDataClone = assign$1({}, inputData); // is is enabled and allow recognizing?
-
-			if (!boolOrFn(this.options.enable, [this, inputDataClone])) {
-				this.reset();
-				this.state = STATE_FAILED;
-				return;
-			} // reset when we've reached the end
-
-
-			if (this.state & (STATE_RECOGNIZED | STATE_CANCELLED | STATE_FAILED)) {
-				this.state = STATE_POSSIBLE;
-			}
-
-			this.state = this.process(inputDataClone); // the recognizer has recognized a gesture
-			// so trigger an event
-
-			if (this.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED | STATE_CANCELLED)) {
-				this.tryEmit(inputDataClone);
-			}
-		};
-		/**
-		 * @private
-		 * return the state of the recognizer
-		 * the actual recognizing happens in this method
-		 * @virtual
-		 * @param {Object} inputData
-		 * @returns {constant} STATE
-		 */
-
-		/* jshint ignore:start */
-
-
-		_proto.process = function process(inputData) { };
-		/* jshint ignore:end */
-
-		/**
-		 * @private
-		 * return the preferred touch-action
-		 * @virtual
-		 * @returns {Array}
-		 */
-
-
-		_proto.getTouchAction = function getTouchAction() { };
-		/**
-		 * @private
-		 * called when the gesture isn't allowed to recognize
-		 * like when another is being recognized or it is disabled
-		 * @virtual
-		 */
-
-
-		_proto.reset = function reset() { };
-
-		return Recognizer;
-	}();
-	/**
-	 * @private
-	 * A tap is recognized when the pointer is doing a small tap/click. Multiple taps are recognized if they occur
-	 * between the given interval and position. The delay option can be used to recognize multi-taps without firing
-	 * a single tap.
-	 *
-	 * The eventData from the emitted event contains the property `tapCount`, which contains the amount of
-	 * multi-taps being recognized.
-	 * @constructor
-	 * @extends Recognizer
-	 */
-
-
-	var TapRecognizer = /*#__PURE__*/function (_Recognizer) {
-		_inheritsLoose(TapRecognizer, _Recognizer);
-
-		function TapRecognizer(options) {
-			var _this;
-
-			if (options === void 0) {
-				options = {};
-			}
-
-			_this = _Recognizer.call(this, _extends({
-				event: 'tap',
-				pointers: 1,
-				taps: 1,
-				interval: 300,
-				// max time between the multi-tap taps
-				time: 250,
-				// max time of the pointer to be down (like finger on the screen)
-				threshold: 9,
-				// a minimal movement is ok, but keep it low
-				posThreshold: 10
-			}, options)) || this; // previous time and center,
-			// used for tap counting
-
-			_this.pTime = false;
-			_this.pCenter = false;
-			_this._timer = null;
-			_this._input = null;
-			_this.count = 0;
-			return _this;
-		}
-
-		var _proto = TapRecognizer.prototype;
-
-		_proto.getTouchAction = function getTouchAction() {
-			return [TOUCH_ACTION_MANIPULATION];
-		};
-
-		_proto.process = function process(input) {
-			var _this2 = this;
-
-			var options = this.options;
-			var validPointers = input.pointers.length === options.pointers;
-			var validMovement = input.distance < options.threshold;
-			var validTouchTime = input.deltaTime < options.time;
-			this.reset();
-
-			if (input.eventType & INPUT_START && this.count === 0) {
-				return this.failTimeout();
-			} // we only allow little movement
-			// and we've reached an end event, so a tap is possible
-
-
-			if (validMovement && validTouchTime && validPointers) {
-				if (input.eventType !== INPUT_END) {
-					return this.failTimeout();
-				}
-
-				var validInterval = this.pTime ? input.timeStamp - this.pTime < options.interval : true;
-				var validMultiTap = !this.pCenter || getDistance(this.pCenter, input.center) < options.posThreshold;
-				this.pTime = input.timeStamp;
-				this.pCenter = input.center;
-
-				if (!validMultiTap || !validInterval) {
-					this.count = 1;
-				} else {
-					this.count += 1;
-				}
-
-				this._input = input; // if tap count matches we have recognized it,
-				// else it has began recognizing...
-
-				var tapCount = this.count % options.taps;
-
-				if (tapCount === 0) {
-					// no failing requirements, immediately trigger the tap event
-					// or wait as long as the multitap interval to trigger
-					if (!this.hasRequireFailures()) {
-						return STATE_RECOGNIZED;
-					} else {
-						this._timer = setTimeout(function () {
-							_this2.state = STATE_RECOGNIZED;
-
-							_this2.tryEmit();
-						}, options.interval);
-						return STATE_BEGAN;
-					}
-				}
-			}
-
-			return STATE_FAILED;
-		};
-
-		_proto.failTimeout = function failTimeout() {
-			var _this3 = this;
-
-			this._timer = setTimeout(function () {
-				_this3.state = STATE_FAILED;
-			}, this.options.interval);
-			return STATE_FAILED;
-		};
-
-		_proto.reset = function reset() {
-			clearTimeout(this._timer);
-		};
-
-		_proto.emit = function emit() {
-			if (this.state === STATE_RECOGNIZED) {
-				this._input.tapCount = this.count;
-				this.manager.emit(this.options.event, this._input);
-			}
-		};
-
-		return TapRecognizer;
-	}(Recognizer);
-	/**
-	 * @private
-	 * This recognizer is just used as a base for the simple attribute recognizers.
-	 * @constructor
-	 * @extends Recognizer
-	 */
-
-
-	var AttrRecognizer = /*#__PURE__*/function (_Recognizer) {
-		_inheritsLoose(AttrRecognizer, _Recognizer);
-
-		function AttrRecognizer(options) {
-			if (options === void 0) {
-				options = {};
-			}
-
-			return _Recognizer.call(this, _extends({
-				pointers: 1
-			}, options)) || this;
-		}
-		/**
-		 * @private
-		 * Used to check if it the recognizer receives valid input, like input.distance > 10.
-		 * @memberof AttrRecognizer
-		 * @param {Object} input
-		 * @returns {Boolean} recognized
-		 */
-
-
-		var _proto = AttrRecognizer.prototype;
-
-		_proto.attrTest = function attrTest(input) {
-			var optionPointers = this.options.pointers;
-			return optionPointers === 0 || input.pointers.length === optionPointers;
-		};
-		/**
-		 * @private
-		 * Process the input and return the state for the recognizer
-		 * @memberof AttrRecognizer
-		 * @param {Object} input
-		 * @returns {*} State
-		 */
-
-
-		_proto.process = function process(input) {
-			var state = this.state;
-			var eventType = input.eventType;
-			var isRecognized = state & (STATE_BEGAN | STATE_CHANGED);
-			var isValid = this.attrTest(input); // on cancel input and we've recognized before, return STATE_CANCELLED
-
-			if (isRecognized && (eventType & INPUT_CANCEL || !isValid)) {
-				return state | STATE_CANCELLED;
-			} else if (isRecognized || isValid) {
-				if (eventType & INPUT_END) {
-					return state | STATE_ENDED;
-				} else if (!(state & STATE_BEGAN)) {
-					return STATE_BEGAN;
-				}
-
-				return state | STATE_CHANGED;
-			}
-
-			return STATE_FAILED;
-		};
-
-		return AttrRecognizer;
-	}(Recognizer);
-	/**
-	 * @private
-	 * direction cons to string
-	 * @param {constant} direction
-	 * @returns {String}
-	 */
-
-
-	function directionStr(direction) {
-		if (direction === DIRECTION_DOWN) {
-			return 'down';
-		} else if (direction === DIRECTION_UP) {
-			return 'up';
-		} else if (direction === DIRECTION_LEFT) {
-			return 'left';
-		} else if (direction === DIRECTION_RIGHT) {
-			return 'right';
-		}
-
-		return '';
-	}
-	/**
-	 * @private
-	 * Pan
-	 * Recognized when the pointer is down and moved in the allowed direction.
-	 * @constructor
-	 * @extends AttrRecognizer
-	 */
-
-
-	var PanRecognizer = /*#__PURE__*/function (_AttrRecognizer) {
-		_inheritsLoose(PanRecognizer, _AttrRecognizer);
-
-		function PanRecognizer(options) {
-			var _this;
-
-			if (options === void 0) {
-				options = {};
-			}
-
-			_this = _AttrRecognizer.call(this, _extends({
-				event: 'pan',
-				threshold: 10,
-				pointers: 1,
-				direction: DIRECTION_ALL
-			}, options)) || this;
-			_this.pX = null;
-			_this.pY = null;
-			return _this;
-		}
-
-		var _proto = PanRecognizer.prototype;
-
-		_proto.getTouchAction = function getTouchAction() {
-			var direction = this.options.direction;
-			var actions = [];
-
-			if (direction & DIRECTION_HORIZONTAL) {
-				actions.push(TOUCH_ACTION_PAN_Y);
-			}
-
-			if (direction & DIRECTION_VERTICAL) {
-				actions.push(TOUCH_ACTION_PAN_X);
-			}
-
-			return actions;
-		};
-
-		_proto.directionTest = function directionTest(input) {
-			var options = this.options;
-			var hasMoved = true;
-			var distance = input.distance;
-			var direction = input.direction;
-			var x = input.deltaX;
-			var y = input.deltaY; // lock to axis?
-
-			if (!(direction & options.direction)) {
-				if (options.direction & DIRECTION_HORIZONTAL) {
-					direction = x === 0 ? DIRECTION_NONE : x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;
-					hasMoved = x !== this.pX;
-					distance = Math.abs(input.deltaX);
-				} else {
-					direction = y === 0 ? DIRECTION_NONE : y < 0 ? DIRECTION_UP : DIRECTION_DOWN;
-					hasMoved = y !== this.pY;
-					distance = Math.abs(input.deltaY);
-				}
-			}
-
-			input.direction = direction;
-			return hasMoved && distance > options.threshold && direction & options.direction;
-		};
-
-		_proto.attrTest = function attrTest(input) {
-			return AttrRecognizer.prototype.attrTest.call(this, input) && ( // replace with a super call
-				this.state & STATE_BEGAN || !(this.state & STATE_BEGAN) && this.directionTest(input));
-		};
-
-		_proto.emit = function emit(input) {
-			this.pX = input.deltaX;
-			this.pY = input.deltaY;
-			var direction = directionStr(input.direction);
-
-			if (direction) {
-				input.additionalEvent = this.options.event + direction;
-			}
-
-			_AttrRecognizer.prototype.emit.call(this, input);
-		};
-
-		return PanRecognizer;
-	}(AttrRecognizer);
-	/**
-	 * @private
-	 * Swipe
-	 * Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction.
-	 * @constructor
-	 * @extends AttrRecognizer
-	 */
-
-
-	var SwipeRecognizer = /*#__PURE__*/function (_AttrRecognizer) {
-		_inheritsLoose(SwipeRecognizer, _AttrRecognizer);
-
-		function SwipeRecognizer(options) {
-			if (options === void 0) {
-				options = {};
-			}
-
-			return _AttrRecognizer.call(this, _extends({
-				event: 'swipe',
-				threshold: 10,
-				velocity: 0.3,
-				direction: DIRECTION_HORIZONTAL | DIRECTION_VERTICAL,
-				pointers: 1
-			}, options)) || this;
-		}
-
-		var _proto = SwipeRecognizer.prototype;
-
-		_proto.getTouchAction = function getTouchAction() {
-			return PanRecognizer.prototype.getTouchAction.call(this);
-		};
-
-		_proto.attrTest = function attrTest(input) {
-			var direction = this.options.direction;
-			var velocity;
-
-			if (direction & (DIRECTION_HORIZONTAL | DIRECTION_VERTICAL)) {
-				velocity = input.overallVelocity;
-			} else if (direction & DIRECTION_HORIZONTAL) {
-				velocity = input.overallVelocityX;
-			} else if (direction & DIRECTION_VERTICAL) {
-				velocity = input.overallVelocityY;
-			}
-
-			return _AttrRecognizer.prototype.attrTest.call(this, input) && direction & input.offsetDirection && input.distance > this.options.threshold && input.maxPointers === this.options.pointers && abs$1(velocity) > this.options.velocity && input.eventType & INPUT_END;
-		};
-
-		_proto.emit = function emit(input) {
-			var direction = directionStr(input.offsetDirection);
-
-			if (direction) {
-				this.manager.emit(this.options.event + direction, input);
-			}
-
-			this.manager.emit(this.options.event, input);
-		};
-
-		return SwipeRecognizer;
-	}(AttrRecognizer);
-	/**
-	 * @private
-	 * Pinch
-	 * Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out).
-	 * @constructor
-	 * @extends AttrRecognizer
-	 */
-
-
-	var PinchRecognizer = /*#__PURE__*/function (_AttrRecognizer) {
-		_inheritsLoose(PinchRecognizer, _AttrRecognizer);
-
-		function PinchRecognizer(options) {
-			if (options === void 0) {
-				options = {};
-			}
-
-			return _AttrRecognizer.call(this, _extends({
-				event: 'pinch',
-				threshold: 0,
-				pointers: 2
-			}, options)) || this;
-		}
-
-		var _proto = PinchRecognizer.prototype;
-
-		_proto.getTouchAction = function getTouchAction() {
-			return [TOUCH_ACTION_NONE];
-		};
-
-		_proto.attrTest = function attrTest(input) {
-			return _AttrRecognizer.prototype.attrTest.call(this, input) && (Math.abs(input.scale - 1) > this.options.threshold || this.state & STATE_BEGAN);
-		};
-
-		_proto.emit = function emit(input) {
-			if (input.scale !== 1) {
-				var inOut = input.scale < 1 ? 'in' : 'out';
-				input.additionalEvent = this.options.event + inOut;
-			}
-
-			_AttrRecognizer.prototype.emit.call(this, input);
-		};
-
-		return PinchRecognizer;
-	}(AttrRecognizer);
-	/**
-	 * @private
-	 * Rotate
-	 * Recognized when two or more pointer are moving in a circular motion.
-	 * @constructor
-	 * @extends AttrRecognizer
-	 */
-
-
-	var RotateRecognizer = /*#__PURE__*/function (_AttrRecognizer) {
-		_inheritsLoose(RotateRecognizer, _AttrRecognizer);
-
-		function RotateRecognizer(options) {
-			if (options === void 0) {
-				options = {};
-			}
-
-			return _AttrRecognizer.call(this, _extends({
-				event: 'rotate',
-				threshold: 0,
-				pointers: 2
-			}, options)) || this;
-		}
-
-		var _proto = RotateRecognizer.prototype;
-
-		_proto.getTouchAction = function getTouchAction() {
-			return [TOUCH_ACTION_NONE];
-		};
-
-		_proto.attrTest = function attrTest(input) {
-			return _AttrRecognizer.prototype.attrTest.call(this, input) && (Math.abs(input.rotation) > this.options.threshold || this.state & STATE_BEGAN);
-		};
-
-		return RotateRecognizer;
-	}(AttrRecognizer);
-	/**
-	 * @private
-	 * Press
-	 * Recognized when the pointer is down for x ms without any movement.
-	 * @constructor
-	 * @extends Recognizer
-	 */
-
-
-	var PressRecognizer = /*#__PURE__*/function (_Recognizer) {
-		_inheritsLoose(PressRecognizer, _Recognizer);
-
-		function PressRecognizer(options) {
-			var _this;
-
-			if (options === void 0) {
-				options = {};
-			}
-
-			_this = _Recognizer.call(this, _extends({
-				event: 'press',
-				pointers: 1,
-				time: 251,
-				// minimal time of the pointer to be pressed
-				threshold: 9
-			}, options)) || this;
-			_this._timer = null;
-			_this._input = null;
-			return _this;
-		}
-
-		var _proto = PressRecognizer.prototype;
-
-		_proto.getTouchAction = function getTouchAction() {
-			return [TOUCH_ACTION_AUTO];
-		};
-
-		_proto.process = function process(input) {
-			var _this2 = this;
-
-			var options = this.options;
-			var validPointers = input.pointers.length === options.pointers;
-			var validMovement = input.distance < options.threshold;
-			var validTime = input.deltaTime > options.time;
-			this._input = input; // we only allow little movement
-			// and we've reached an end event, so a tap is possible
-
-			if (!validMovement || !validPointers || input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime) {
-				this.reset();
-			} else if (input.eventType & INPUT_START) {
-				this.reset();
-				this._timer = setTimeout(function () {
-					_this2.state = STATE_RECOGNIZED;
-
-					_this2.tryEmit();
-				}, options.time);
-			} else if (input.eventType & INPUT_END) {
-				return STATE_RECOGNIZED;
-			}
-
-			return STATE_FAILED;
-		};
-
-		_proto.reset = function reset() {
-			clearTimeout(this._timer);
-		};
-
-		_proto.emit = function emit(input) {
-			if (this.state !== STATE_RECOGNIZED) {
-				return;
-			}
-
-			if (input && input.eventType & INPUT_END) {
-				this.manager.emit(this.options.event + "up", input);
-			} else {
-				this._input.timeStamp = now();
-				this.manager.emit(this.options.event, this._input);
-			}
-		};
-
-		return PressRecognizer;
-	}(Recognizer);
-
-	var defaults = {
-		/**
-		 * @private
-		 * set if DOM events are being triggered.
-		 * But this is slower and unused by simple implementations, so disabled by default.
-		 * @type {Boolean}
-		 * @default false
-		 */
-		domEvents: false,
-
-		/**
-		 * @private
-		 * The value for the touchAction property/fallback.
-		 * When set to `compute` it will magically set the correct value based on the added recognizers.
-		 * @type {String}
-		 * @default compute
-		 */
-		touchAction: TOUCH_ACTION_COMPUTE,
-
-		/**
-		 * @private
-		 * @type {Boolean}
-		 * @default true
-		 */
-		enable: true,
-
-		/**
-		 * @private
-		 * EXPERIMENTAL FEATURE -- can be removed/changed
-		 * Change the parent input target element.
-		 * If Null, then it is being set the to main element.
-		 * @type {Null|EventTarget}
-		 * @default null
-		 */
-		inputTarget: null,
-
-		/**
-		 * @private
-		 * force an input class
-		 * @type {Null|Function}
-		 * @default null
-		 */
-		inputClass: null,
-
-		/**
-		 * @private
-		 * Some CSS properties can be used to improve the working of Hammer.
-		 * Add them to this method and they will be set when creating a new Manager.
-		 * @namespace
-		 */
-		cssProps: {
-			/**
-			 * @private
-			 * Disables text selection to improve the dragging gesture. Mainly for desktop browsers.
-			 * @type {String}
-			 * @default 'none'
-			 */
-			userSelect: "none",
-
-			/**
-			 * @private
-			 * Disable the Windows Phone grippers when pressing an element.
-			 * @type {String}
-			 * @default 'none'
-			 */
-			touchSelect: "none",
-
-			/**
-			 * @private
-			 * Disables the default callout shown when you touch and hold a touch target.
-			 * On iOS, when you touch and hold a touch target such as a link, Safari displays
-			 * a callout containing information about the link. This property allows you to disable that callout.
-			 * @type {String}
-			 * @default 'none'
-			 */
-			touchCallout: "none",
-
-			/**
-			 * @private
-			 * Specifies whether zooming is enabled. Used by IE10>
-			 * @type {String}
-			 * @default 'none'
-			 */
-			contentZooming: "none",
-
-			/**
-			 * @private
-			 * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.
-			 * @type {String}
-			 * @default 'none'
-			 */
-			userDrag: "none",
-
-			/**
-			 * @private
-			 * Overrides the highlight color shown when the user taps a link or a JavaScript
-			 * clickable element in iOS. This property obeys the alpha value, if specified.
-			 * @type {String}
-			 * @default 'rgba(0,0,0,0)'
-			 */
-			tapHighlightColor: "rgba(0,0,0,0)"
-		}
-	};
-	/**
-	 * @private
-	 * Default recognizer setup when calling `Hammer()`
-	 * When creating a new Manager these will be skipped.
-	 * This is separated with other defaults because of tree-shaking.
-	 * @type {Array}
-	 */
-
-	var preset = [[RotateRecognizer, {
-		enable: false
-	}], [PinchRecognizer, {
-		enable: false
-	}, ['rotate']], [SwipeRecognizer, {
-		direction: DIRECTION_HORIZONTAL
-	}], [PanRecognizer, {
-		direction: DIRECTION_HORIZONTAL
-	}, ['swipe']], [TapRecognizer], [TapRecognizer, {
-		event: 'doubletap',
-		taps: 2
-	}, ['tap']], [PressRecognizer]];
-	var STOP = 1;
-	var FORCED_STOP = 2;
-	/**
-	 * @private
-	 * add/remove the css properties as defined in manager.options.cssProps
-	 * @param {Manager} manager
-	 * @param {Boolean} add
-	 */
-
-	function toggleCssProps(manager, add) {
-		var element = manager.element;
-
-		if (!element.style) {
-			return;
-		}
-
-		var prop;
-		each(manager.options.cssProps, function (value, name) {
-			prop = prefixed(element.style, name);
-
-			if (add) {
-				manager.oldCssProps[prop] = element.style[prop];
-				element.style[prop] = value;
-			} else {
-				element.style[prop] = manager.oldCssProps[prop] || "";
-			}
-		});
-
-		if (!add) {
-			manager.oldCssProps = {};
-		}
-	}
-	/**
-	 * @private
-	 * trigger dom event
-	 * @param {String} event
-	 * @param {Object} data
-	 */
-
-
-	function triggerDomEvent(event, data) {
-		var gestureEvent = document.createEvent("Event");
-		gestureEvent.initEvent(event, true, true);
-		gestureEvent.gesture = data;
-		data.target.dispatchEvent(gestureEvent);
-	}
-	/**
-	* @private
-	 * Manager
-	 * @param {HTMLElement} element
-	 * @param {Object} [options]
-	 * @constructor
-	 */
-
-
-	var Manager = /*#__PURE__*/function () {
-		function Manager(element, options) {
-			var _this = this;
-
-			this.options = assign$1({}, defaults, options || {});
-			this.options.inputTarget = this.options.inputTarget || element;
-			this.handlers = {};
-			this.session = {};
-			this.recognizers = [];
-			this.oldCssProps = {};
-			this.element = element;
-			this.input = createInputInstance(this);
-			this.touchAction = new TouchAction(this, this.options.touchAction);
-			toggleCssProps(this, true);
-			each(this.options.recognizers, function (item) {
-				var recognizer = _this.add(new item[0](item[1]));
-
-				item[2] && recognizer.recognizeWith(item[2]);
-				item[3] && recognizer.requireFailure(item[3]);
-			}, this);
-		}
-		/**
-		 * @private
-		 * set options
-		 * @param {Object} options
-		 * @returns {Manager}
-		 */
-
-
-		var _proto = Manager.prototype;
-
-		_proto.set = function set(options) {
-			assign$1(this.options, options); // Options that need a little more setup
-
-			if (options.touchAction) {
-				this.touchAction.update();
-			}
-
-			if (options.inputTarget) {
-				// Clean up existing event listeners and reinitialize
-				this.input.destroy();
-				this.input.target = options.inputTarget;
-				this.input.init();
-			}
-
-			return this;
-		};
-		/**
-		 * @private
-		 * stop recognizing for this session.
-		 * This session will be discarded, when a new [input]start event is fired.
-		 * When forced, the recognizer cycle is stopped immediately.
-		 * @param {Boolean} [force]
-		 */
-
-
-		_proto.stop = function stop(force) {
-			this.session.stopped = force ? FORCED_STOP : STOP;
-		};
-		/**
-		 * @private
-		 * run the recognizers!
-		 * called by the inputHandler function on every movement of the pointers (touches)
-		 * it walks through all the recognizers and tries to detect the gesture that is being made
-		 * @param {Object} inputData
-		 */
-
-
-		_proto.recognize = function recognize(inputData) {
-			var session = this.session;
-
-			if (session.stopped) {
-				return;
-			} // run the touch-action polyfill
-
-
-			this.touchAction.preventDefaults(inputData);
-			var recognizer;
-			var recognizers = this.recognizers; // this holds the recognizer that is being recognized.
-			// so the recognizer's state needs to be BEGAN, CHANGED, ENDED or RECOGNIZED
-			// if no recognizer is detecting a thing, it is set to `null`
-
-			var curRecognizer = session.curRecognizer; // reset when the last recognizer is recognized
-			// or when we're in a new session
-
-			if (!curRecognizer || curRecognizer && curRecognizer.state & STATE_RECOGNIZED) {
-				session.curRecognizer = null;
-				curRecognizer = null;
-			}
-
-			var i = 0;
-
-			while (i < recognizers.length) {
-				recognizer = recognizers[i]; // find out if we are allowed try to recognize the input for this one.
-				// 1.   allow if the session is NOT forced stopped (see the .stop() method)
-				// 2.   allow if we still haven't recognized a gesture in this session, or the this recognizer is the one
-				//      that is being recognized.
-				// 3.   allow if the recognizer is allowed to run simultaneous with the current recognized recognizer.
-				//      this can be setup with the `recognizeWith()` method on the recognizer.
-
-				if (session.stopped !== FORCED_STOP && ( // 1
-					!curRecognizer || recognizer === curRecognizer || // 2
-					recognizer.canRecognizeWith(curRecognizer))) {
-					// 3
-					recognizer.recognize(inputData);
-				} else {
-					recognizer.reset();
-				} // if the recognizer has been recognizing the input as a valid gesture, we want to store this one as the
-				// current active recognizer. but only if we don't already have an active recognizer
-
-
-				if (!curRecognizer && recognizer.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED)) {
-					session.curRecognizer = recognizer;
-					curRecognizer = recognizer;
-				}
-
-				i++;
-			}
-		};
-		/**
-		 * @private
-		 * get a recognizer by its event name.
-		 * @param {Recognizer|String} recognizer
-		 * @returns {Recognizer|Null}
-		 */
-
-
-		_proto.get = function get(recognizer) {
-			if (recognizer instanceof Recognizer) {
-				return recognizer;
-			}
-
-			var recognizers = this.recognizers;
-
-			for (var i = 0; i < recognizers.length; i++) {
-				if (recognizers[i].options.event === recognizer) {
-					return recognizers[i];
-				}
-			}
-
-			return null;
-		};
-		/**
-		 * @private add a recognizer to the manager
-		 * existing recognizers with the same event name will be removed
-		 * @param {Recognizer} recognizer
-		 * @returns {Recognizer|Manager}
-		 */
-
-
-		_proto.add = function add(recognizer) {
-			if (invokeArrayArg(recognizer, "add", this)) {
-				return this;
-			} // remove existing
-
-
-			var existing = this.get(recognizer.options.event);
-
-			if (existing) {
-				this.remove(existing);
-			}
-
-			this.recognizers.push(recognizer);
-			recognizer.manager = this;
-			this.touchAction.update();
-			return recognizer;
-		};
-		/**
-		 * @private
-		 * remove a recognizer by name or instance
-		 * @param {Recognizer|String} recognizer
-		 * @returns {Manager}
-		 */
-
-
-		_proto.remove = function remove(recognizer) {
-			if (invokeArrayArg(recognizer, "remove", this)) {
-				return this;
-			}
-
-			var targetRecognizer = this.get(recognizer); // let's make sure this recognizer exists
-
-			if (recognizer) {
-				var recognizers = this.recognizers;
-				var index = inArray(recognizers, targetRecognizer);
-
-				if (index !== -1) {
-					recognizers.splice(index, 1);
-					this.touchAction.update();
-				}
-			}
-
-			return this;
-		};
-		/**
-		 * @private
-		 * bind event
-		 * @param {String} events
-		 * @param {Function} handler
-		 * @returns {EventEmitter} this
-		 */
-
-
-		_proto.on = function on(events, handler) {
-			if (events === undefined || handler === undefined) {
-				return this;
-			}
-
-			var handlers = this.handlers;
-			each(splitStr(events), function (event) {
-				handlers[event] = handlers[event] || [];
-				handlers[event].push(handler);
-			});
-			return this;
-		};
-		/**
-		 * @private unbind event, leave emit blank to remove all handlers
-		 * @param {String} events
-		 * @param {Function} [handler]
-		 * @returns {EventEmitter} this
-		 */
-
-
-		_proto.off = function off(events, handler) {
-			if (events === undefined) {
-				return this;
-			}
-
-			var handlers = this.handlers;
-			each(splitStr(events), function (event) {
-				if (!handler) {
-					delete handlers[event];
-				} else {
-					handlers[event] && handlers[event].splice(inArray(handlers[event], handler), 1);
-				}
-			});
-			return this;
-		};
-		/**
-		 * @private emit event to the listeners
-		 * @param {String} event
-		 * @param {Object} data
-		 */
-
-
-		_proto.emit = function emit(event, data) {
-			// we also want to trigger dom events
-			if (this.options.domEvents) {
-				triggerDomEvent(event, data);
-			} // no handlers, so skip it all
-
-
-			var handlers = this.handlers[event] && this.handlers[event].slice();
-
-			if (!handlers || !handlers.length) {
-				return;
-			}
-
-			data.type = event;
-
-			data.preventDefault = function () {
-				data.srcEvent.preventDefault();
-			};
-
-			var i = 0;
-
-			while (i < handlers.length) {
-				handlers[i](data);
-				i++;
-			}
-		};
-		/**
-		 * @private
-		 * destroy the manager and unbinds all events
-		 * it doesn't unbind dom events, that is the user own responsibility
-		 */
-
-
-		_proto.destroy = function destroy() {
-			this.element && toggleCssProps(this, false);
-			this.handlers = {};
-			this.session = {};
-			this.input.destroy();
-			this.element = null;
-		};
-
-		return Manager;
-	}();
-
-	var SINGLE_TOUCH_INPUT_MAP = {
-		touchstart: INPUT_START,
-		touchmove: INPUT_MOVE,
-		touchend: INPUT_END,
-		touchcancel: INPUT_CANCEL
-	};
-	var SINGLE_TOUCH_TARGET_EVENTS = 'touchstart';
-	var SINGLE_TOUCH_WINDOW_EVENTS = 'touchstart touchmove touchend touchcancel';
-	/**
-	 * @private
-	 * Touch events input
-	 * @constructor
-	 * @extends Input
-	 */
-
-	var SingleTouchInput = /*#__PURE__*/function (_Input) {
-		_inheritsLoose(SingleTouchInput, _Input);
-
-		function SingleTouchInput() {
-			var _this;
-
-			var proto = SingleTouchInput.prototype;
-			proto.evTarget = SINGLE_TOUCH_TARGET_EVENTS;
-			proto.evWin = SINGLE_TOUCH_WINDOW_EVENTS;
-			_this = _Input.apply(this, arguments) || this;
-			_this.started = false;
-			return _this;
-		}
-
-		var _proto = SingleTouchInput.prototype;
-
-		_proto.handler = function handler(ev) {
-			var type = SINGLE_TOUCH_INPUT_MAP[ev.type]; // should we handle the touch events?
-
-			if (type === INPUT_START) {
-				this.started = true;
-			}
-
-			if (!this.started) {
-				return;
-			}
-
-			var touches = normalizeSingleTouches.call(this, ev, type); // when done, reset the started state
-
-			if (type & (INPUT_END | INPUT_CANCEL) && touches[0].length - touches[1].length === 0) {
-				this.started = false;
-			}
-
-			this.callback(this.manager, type, {
-				pointers: touches[0],
-				changedPointers: touches[1],
-				pointerType: INPUT_TYPE_TOUCH,
-				srcEvent: ev
-			});
-		};
-
-		return SingleTouchInput;
-	}(Input);
-
-	function normalizeSingleTouches(ev, type) {
-		var all = toArray$1(ev.touches);
-		var changed = toArray$1(ev.changedTouches);
-
-		if (type & (INPUT_END | INPUT_CANCEL)) {
-			all = uniqueArray(all.concat(changed), 'identifier', true);
-		}
-
-		return [all, changed];
-	}
-	/**
-	 * @private
-	 * wrap a method with a deprecation warning and stack trace
-	 * @param {Function} method
-	 * @param {String} name
-	 * @param {String} message
-	 * @returns {Function} A new function wrapping the supplied method.
-	 */
-
-
-	function deprecate(method, name, message) {
-		var deprecationMessage = "DEPRECATED METHOD: " + name + "\n" + message + " AT \n";
-		return function () {
-			var e = new Error('get-stack-trace');
-			var stack = e && e.stack ? e.stack.replace(/^[^\(]+?[\n$]/gm, '').replace(/^\s+at\s+/gm, '').replace(/^Object.<anonymous>\s*\(/gm, '{anonymous}()@') : 'Unknown Stack Trace';
-			var log = window.console && (window.console.warn || window.console.log);
-
-			if (log) {
-				log.call(window.console, deprecationMessage, stack);
-			}
-
-			return method.apply(this, arguments);
-		};
-	}
-	/**
-	 * @private
-	 * extend object.
-	 * means that properties in dest will be overwritten by the ones in src.
-	 * @param {Object} dest
-	 * @param {Object} src
-	 * @param {Boolean} [merge=false]
-	 * @returns {Object} dest
-	 */
-
-
-	var extend$1 = deprecate(function (dest, src, merge) {
-		var keys = Object.keys(src);
-		var i = 0;
-
-		while (i < keys.length) {
-			if (!merge || merge && dest[keys[i]] === undefined) {
-				dest[keys[i]] = src[keys[i]];
-			}
-
-			i++;
-		}
-
-		return dest;
-	}, 'extend', 'Use `assign`.');
-	/**
-	 * @private
-	 * merge the values from src in the dest.
-	 * means that properties that exist in dest will not be overwritten by src
-	 * @param {Object} dest
-	 * @param {Object} src
-	 * @returns {Object} dest
-	 */
-
-	var merge$2 = deprecate(function (dest, src) {
-		return extend$1(dest, src, true);
-	}, 'merge', 'Use `assign`.');
-	/**
-	 * @private
-	 * simple class inheritance
-	 * @param {Function} child
-	 * @param {Function} base
-	 * @param {Object} [properties]
-	 */
-
-	function inherit(child, base, properties) {
-		var baseP = base.prototype;
-		var childP;
-		childP = child.prototype = Object.create(baseP);
-		childP.constructor = child;
-		childP._super = baseP;
-
-		if (properties) {
-			assign$1(childP, properties);
-		}
-	}
-	/**
-	 * @private
-	 * simple function bind
-	 * @param {Function} fn
-	 * @param {Object} context
-	 * @returns {Function}
-	 */
-
-
-	function bindFn(fn, context) {
-		return function boundFn() {
-			return fn.apply(context, arguments);
-		};
-	}
-	/**
-	 * @private
-	 * Simple way to create a manager with a default set of recognizers.
-	 * @param {HTMLElement} element
-	 * @param {Object} [options]
-	 * @constructor
-	 */
-
-
-	var Hammer$2 = /*#__PURE__*/function () {
-		var Hammer =
-			/**
-			  * @private
-			  * @const {string}
-			  */
-			function Hammer(element, options) {
-				if (options === void 0) {
-					options = {};
-				}
-
-				return new Manager(element, _extends({
-					recognizers: preset.concat()
-				}, options));
-			};
-
-		Hammer.VERSION = "2.0.17-rc";
-		Hammer.DIRECTION_ALL = DIRECTION_ALL;
-		Hammer.DIRECTION_DOWN = DIRECTION_DOWN;
-		Hammer.DIRECTION_LEFT = DIRECTION_LEFT;
-		Hammer.DIRECTION_RIGHT = DIRECTION_RIGHT;
-		Hammer.DIRECTION_UP = DIRECTION_UP;
-		Hammer.DIRECTION_HORIZONTAL = DIRECTION_HORIZONTAL;
-		Hammer.DIRECTION_VERTICAL = DIRECTION_VERTICAL;
-		Hammer.DIRECTION_NONE = DIRECTION_NONE;
-		Hammer.DIRECTION_DOWN = DIRECTION_DOWN;
-		Hammer.INPUT_START = INPUT_START;
-		Hammer.INPUT_MOVE = INPUT_MOVE;
-		Hammer.INPUT_END = INPUT_END;
-		Hammer.INPUT_CANCEL = INPUT_CANCEL;
-		Hammer.STATE_POSSIBLE = STATE_POSSIBLE;
-		Hammer.STATE_BEGAN = STATE_BEGAN;
-		Hammer.STATE_CHANGED = STATE_CHANGED;
-		Hammer.STATE_ENDED = STATE_ENDED;
-		Hammer.STATE_RECOGNIZED = STATE_RECOGNIZED;
-		Hammer.STATE_CANCELLED = STATE_CANCELLED;
-		Hammer.STATE_FAILED = STATE_FAILED;
-		Hammer.Manager = Manager;
-		Hammer.Input = Input;
-		Hammer.TouchAction = TouchAction;
-		Hammer.TouchInput = TouchInput;
-		Hammer.MouseInput = MouseInput;
-		Hammer.PointerEventInput = PointerEventInput;
-		Hammer.TouchMouseInput = TouchMouseInput;
-		Hammer.SingleTouchInput = SingleTouchInput;
-		Hammer.Recognizer = Recognizer;
-		Hammer.AttrRecognizer = AttrRecognizer;
-		Hammer.Tap = TapRecognizer;
-		Hammer.Pan = PanRecognizer;
-		Hammer.Swipe = SwipeRecognizer;
-		Hammer.Pinch = PinchRecognizer;
-		Hammer.Rotate = RotateRecognizer;
-		Hammer.Press = PressRecognizer;
-		Hammer.on = addEventListeners;
-		Hammer.off = removeEventListeners;
-		Hammer.each = each;
-		Hammer.merge = merge$2;
-		Hammer.extend = extend$1;
-		Hammer.bindFn = bindFn;
-		Hammer.assign = assign$1;
-		Hammer.inherit = inherit;
-		Hammer.bindFn = bindFn;
-		Hammer.prefixed = prefixed;
-		Hammer.toArray = toArray$1;
-		Hammer.inArray = inArray;
-		Hammer.uniqueArray = uniqueArray;
-		Hammer.splitStr = splitStr;
-		Hammer.boolOrFn = boolOrFn;
-		Hammer.hasParent = hasParent$1;
-		Hammer.addEventListeners = addEventListeners;
-		Hammer.removeEventListeners = removeEventListeners;
-		Hammer.defaults = assign$1({}, defaults, {
-			preset: preset
-		});
-		return Hammer;
-	}(); //  style loader but by script tag, not by the loader.
-	var RealHammer = Hammer$2;
-
-	function ownKeys$5(object, enumerableOnly) { var keys = keys$4(object); if (getOwnPropertySymbols) { var symbols = getOwnPropertySymbols(object); enumerableOnly && (symbols = filter(symbols).call(symbols, function (sym) { return getOwnPropertyDescriptor$3(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
-
-	function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var _context22, _context23; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? forEach$2(_context22 = ownKeys$5(Object(source), !0)).call(_context22, function (key) { _defineProperty(target, key, source[key]); }) : getOwnPropertyDescriptors ? defineProperties(target, getOwnPropertyDescriptors(source)) : forEach$2(_context23 = ownKeys$5(Object(source))).call(_context23, function (key) { defineProperty$6(target, key, getOwnPropertyDescriptor$3(source, key)); }); } return target; }
-
-	function _createForOfIteratorHelper$8(o, allowArrayLike) { var it = typeof symbol !== "undefined" && getIteratorMethod$1(o) || o["@@iterator"]; if (!it) { if (isArray$2(o) || (it = _unsupportedIterableToArray$8(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() { }; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
-
-	function _unsupportedIterableToArray$8(o, minLen) { var _context21; if (!o) return; if (typeof o === "string") return _arrayLikeToArray$8(o, minLen); var n = slice(_context21 = Object.prototype.toString.call(o)).call(_context21, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return from$3(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$8(o, minLen); }
-
-	function _arrayLikeToArray$8(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
-	/**
-	 * Use this symbol to delete properies in deepObjectAssign.
-	 */
-
-	var DELETE = symbol("DELETE");
-	/**
-	 * Pure version of deepObjectAssign, it doesn't modify any of it's arguments.
-	 *
-	 * @param base - The base object that fullfils the whole interface T.
-	 * @param updates - Updates that may change or delete props.
-	 * @returns A brand new instance with all the supplied objects deeply merged.
-	 */
-
-
-	function pureDeepObjectAssign(base) {
-		var _context;
-
-		for (var _len = arguments.length, updates = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
-			updates[_key - 1] = arguments[_key];
-		}
-
-		return deepObjectAssign.apply(void 0, concat(_context = [{}, base]).call(_context, updates));
-	}
-	/**
-	 * Deep version of object assign with additional deleting by the DELETE symbol.
-	 *
-	 * @param values - Objects to be deeply merged.
-	 * @returns The first object from values.
-	 */
-
-
-	function deepObjectAssign() {
-		var merged = deepObjectAssignNonentry.apply(void 0, arguments);
-		stripDelete(merged);
-		return merged;
-	}
-	/**
-	 * Deep version of object assign with additional deleting by the DELETE symbol.
-	 *
-	 * @remarks
-	 * This doesn't strip the DELETE symbols so they may end up in the final object.
-	 * @param values - Objects to be deeply merged.
-	 * @returns The first object from values.
-	 */
-
-
-	function deepObjectAssignNonentry() {
-		for (var _len2 = arguments.length, values = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
-			values[_key2] = arguments[_key2];
-		}
-
-		if (values.length < 2) {
-			return values[0];
-		} else if (values.length > 2) {
-			var _context2;
-
-			return deepObjectAssignNonentry.apply(void 0, concat(_context2 = [deepObjectAssign(values[0], values[1])]).call(_context2, _toConsumableArray(slice(values).call(values, 2))));
-		}
-
-		var a = values[0];
-		var b = values[1];
-
-		var _iterator = _createForOfIteratorHelper$8(ownKeys$6(b)),
-			_step;
-
-		try {
-			for (_iterator.s(); !(_step = _iterator.n()).done;) {
-				var prop = _step.value;
-				if (!Object.prototype.propertyIsEnumerable.call(b, prop)); else if (b[prop] === DELETE) {
-					delete a[prop];
-				} else if (a[prop] !== null && b[prop] !== null && _typeof(a[prop]) === "object" && _typeof(b[prop]) === "object" && !isArray$2(a[prop]) && !isArray$2(b[prop])) {
-					a[prop] = deepObjectAssignNonentry(a[prop], b[prop]);
-				} else {
-					a[prop] = clone(b[prop]);
-				}
-			}
-		} catch (err) {
-			_iterator.e(err);
-		} finally {
-			_iterator.f();
-		}
-
-		return a;
-	}
-	/**
-	 * Deep clone given object or array. In case of primitive simply return.
-	 *
-	 * @param a - Anything.
-	 * @returns Deep cloned object/array or unchanged a.
-	 */
-
-
-	function clone(a) {
-		if (isArray$2(a)) {
-			return map$3(a).call(a, function (value) {
-				return clone(value);
-			});
-		} else if (_typeof(a) === "object" && a !== null) {
-			return deepObjectAssignNonentry({}, a);
-		} else {
-			return a;
-		}
-	}
-	/**
-	 * Strip DELETE from given object.
-	 *
-	 * @param a - Object which may contain DELETE but won't after this is executed.
-	 */
-
-
-	function stripDelete(a) {
-		for (var _i = 0, _Object$keys = keys$4(a); _i < _Object$keys.length; _i++) {
-			var prop = _Object$keys[_i];
-
-			if (a[prop] === DELETE) {
-				delete a[prop];
-			} else if (_typeof(a[prop]) === "object" && a[prop] !== null) {
-				stripDelete(a[prop]);
-			}
-		}
-	}
-	/**
-	 * Seedable, fast and reasonably good (not crypto but more than okay for our
-	 * needs) random number generator.
-	 *
-	 * @remarks
-	 * Adapted from {@link https://web.archive.org/web/20110429100736/http://baagoe.com:80/en/RandomMusings/javascript}.
-	 * Original algorithm created by Johannes Baagøe \<baagoe\@baagoe.com\> in 2010.
-	 */
-
-	/**
-	 * Create a seeded pseudo random generator based on Alea by Johannes Baagøe.
-	 *
-	 * @param seed - All supplied arguments will be used as a seed. In case nothing
-	 * is supplied the current time will be used to seed the generator.
-	 * @returns A ready to use seeded generator.
-	 */
-
-
-	function Alea() {
-		for (var _len3 = arguments.length, seed = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
-			seed[_key3] = arguments[_key3];
-		}
-
-		return AleaImplementation(seed.length ? seed : [now$1()]);
-	}
-	/**
-	 * An implementation of [[Alea]] without user input validation.
-	 *
-	 * @param seed - The data that will be used to seed the generator.
-	 * @returns A ready to use seeded generator.
-	 */
-
-
-	function AleaImplementation(seed) {
-		var _mashSeed = mashSeed(seed),
-			_mashSeed2 = _slicedToArray(_mashSeed, 3),
-			s0 = _mashSeed2[0],
-			s1 = _mashSeed2[1],
-			s2 = _mashSeed2[2];
-
-		var c = 1;
-
-		var random = function random() {
-			var t = 2091639 * s0 + c * 2.3283064365386963e-10; // 2^-32
-
-			s0 = s1;
-			s1 = s2;
-			return s2 = t - (c = t | 0);
-		};
-
-		random.uint32 = function () {
-			return random() * 0x100000000;
-		}; // 2^32
-
-
-		random.fract53 = function () {
-			return random() + (random() * 0x200000 | 0) * 1.1102230246251565e-16;
-		}; // 2^-53
-
-
-		random.algorithm = "Alea";
-		random.seed = seed;
-		random.version = "0.9";
-		return random;
-	}
-	/**
-	 * Turn arbitrary data into values [[AleaImplementation]] can use to generate
-	 * random numbers.
-	 *
-	 * @param seed - Arbitrary data that will be used as the seed.
-	 * @returns Three numbers to use as initial values for [[AleaImplementation]].
-	 */
-
-
-	function mashSeed() {
-		var mash = Mash();
-		var s0 = mash(" ");
-		var s1 = mash(" ");
-		var s2 = mash(" ");
-
-		for (var i = 0; i < arguments.length; i++) {
-			s0 -= mash(i < 0 || arguments.length <= i ? undefined : arguments[i]);
-
-			if (s0 < 0) {
-				s0 += 1;
-			}
-
-			s1 -= mash(i < 0 || arguments.length <= i ? undefined : arguments[i]);
-
-			if (s1 < 0) {
-				s1 += 1;
-			}
-
-			s2 -= mash(i < 0 || arguments.length <= i ? undefined : arguments[i]);
-
-			if (s2 < 0) {
-				s2 += 1;
-			}
-		}
-
-		return [s0, s1, s2];
-	}
-	/**
-	 * Create a new mash function.
-	 *
-	 * @returns A nonpure function that takes arbitrary [[Mashable]] data and turns
-	 * them into numbers.
-	 */
-
-
-	function Mash() {
-		var n = 0xefc8249d;
-		return function (data) {
-			var string = data.toString();
-
-			for (var i = 0; i < string.length; i++) {
-				n += string.charCodeAt(i);
-				var h = 0.02519603282416938 * n;
-				n = h >>> 0;
-				h -= n;
-				h *= n;
-				n = h >>> 0;
-				h -= n;
-				n += h * 0x100000000; // 2^32
-			}
-
-			return (n >>> 0) * 2.3283064365386963e-10; // 2^-32
-		};
-	}
-	/**
-	 * Setup a mock hammer.js object, for unit testing.
-	 *
-	 * Inspiration: https://github.com/uber/deck.gl/pull/658
-	 *
-	 * @returns {{on: noop, off: noop, destroy: noop, emit: noop, get: get}}
-	 */
-
-
-	function hammerMock() {
-		var noop = function noop() { };
-
-		return {
-			on: noop,
-			off: noop,
-			destroy: noop,
-			emit: noop,
-			get: function get() {
-				return {
-					set: noop
-				};
-			}
-		};
-	}
-
-	var Hammer$1 = typeof window !== "undefined" ? window.Hammer || RealHammer : function () {
-		// hammer.js is only available in a browser, not in node.js. Replacing it with a mock object.
-		return hammerMock();
-	};
-	/**
-	 * Turn an element into an clickToUse element.
-	 * When not active, the element has a transparent overlay. When the overlay is
-	 * clicked, the mode is changed to active.
-	 * When active, the element is displayed with a blue border around it, and
-	 * the interactive contents of the element can be used. When clicked outside
-	 * the element, the elements mode is changed to inactive.
-	 *
-	 * @param {Element} container
-	 * @class Activator
-	 */
-
-	function Activator$1(container) {
-		var _this = this,
-			_context3;
-
-		this._cleanupQueue = [];
-		this.active = false;
-		this._dom = {
-			container: container,
-			overlay: document.createElement("div")
-		};
-
-		this._dom.overlay.classList.add("vis-overlay");
-
-		this._dom.container.appendChild(this._dom.overlay);
-
-		this._cleanupQueue.push(function () {
-			_this._dom.overlay.parentNode.removeChild(_this._dom.overlay);
-		});
-
-		var hammer = Hammer$1(this._dom.overlay);
-		hammer.on("tap", bind$6(_context3 = this._onTapOverlay).call(_context3, this));
-
-		this._cleanupQueue.push(function () {
-			hammer.destroy(); // FIXME: cleaning up hammer instances doesn't work (Timeline not removed
-			// from memory)
-		}); // block all touch events (except tap)
-
-
-		var events = ["tap", "doubletap", "press", "pinch", "pan", "panstart", "panmove", "panend"];
-
-		forEach$2(events).call(events, function (event) {
-			hammer.on(event, function (event) {
-				event.srcEvent.stopPropagation();
-			});
-		}); // attach a click event to the window, in order to deactivate when clicking outside the timeline
-
-
-		if (document && document.body) {
-			this._onClick = function (event) {
-				if (!_hasParent(event.target, container)) {
-					_this.deactivate();
-				}
-			};
-
-			document.body.addEventListener("click", this._onClick);
-
-			this._cleanupQueue.push(function () {
-				document.body.removeEventListener("click", _this._onClick);
-			});
-		} // prepare escape key listener for deactivating when active
-
-
-		this._escListener = function (event) {
-			if ("key" in event ? event.key === "Escape" : event.keyCode === 27
-				/* the keyCode is for IE11 */
-			) {
-				_this.deactivate();
-			}
-		};
-	} // turn into an event emitter
-
-
-	Emitter(Activator$1.prototype); // The currently active activator
-
-	Activator$1.current = null;
-	/**
-	 * Destroy the activator. Cleans up all created DOM and event listeners
-	 */
-
-	Activator$1.prototype.destroy = function () {
-		var _context4, _context5;
-
-		this.deactivate();
-
-		var _iterator2 = _createForOfIteratorHelper$8(reverse(_context4 = splice$1(_context5 = this._cleanupQueue).call(_context5, 0)).call(_context4)),
-			_step2;
-
-		try {
-			for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
-				var callback = _step2.value;
-				callback();
-			}
-		} catch (err) {
-			_iterator2.e(err);
-		} finally {
-			_iterator2.f();
-		}
-	};
-	/**
-	 * Activate the element
-	 * Overlay is hidden, element is decorated with a blue shadow border
-	 */
-
-
-	Activator$1.prototype.activate = function () {
-		// we allow only one active activator at a time
-		if (Activator$1.current) {
-			Activator$1.current.deactivate();
-		}
-
-		Activator$1.current = this;
-		this.active = true;
-		this._dom.overlay.style.display = "none";
-
-		this._dom.container.classList.add("vis-active");
-
-		this.emit("change");
-		this.emit("activate"); // ugly hack: bind ESC after emitting the events, as the Network rebinds all
-		// keyboard events on a 'change' event
-
-		document.body.addEventListener("keydown", this._escListener);
-	};
-	/**
-	 * Deactivate the element
-	 * Overlay is displayed on top of the element
-	 */
-
-
-	Activator$1.prototype.deactivate = function () {
-		this.active = false;
-		this._dom.overlay.style.display = "block";
-
-		this._dom.container.classList.remove("vis-active");
-
-		document.body.removeEventListener("keydown", this._escListener);
-		this.emit("change");
-		this.emit("deactivate");
-	};
-	/**
-	 * Handle a tap event: activate the container
-	 *
-	 * @param {Event}  event   The event
-	 * @private
-	 */
-
-
-	Activator$1.prototype._onTapOverlay = function (event) {
-		// activate the container
-		this.activate();
-		event.srcEvent.stopPropagation();
-	};
-	/**
-	 * Test whether the element has the requested parent element somewhere in
-	 * its chain of parent nodes.
-	 *
-	 * @param {HTMLElement} element
-	 * @param {HTMLElement} parent
-	 * @returns {boolean} Returns true when the parent is found somewhere in the
-	 *                    chain of parent nodes.
-	 * @private
-	 */
-
-
-	function _hasParent(element, parent) {
-		while (element) {
-			if (element === parent) {
-				return true;
-			}
-
-			element = element.parentNode;
-		}
-
-		return false;
-	} // utility functions
-	// parse ASP.Net Date pattern,
-	// for example '/Date(1198908717056)/' or '/Date(1198908717056-0700)/'
-	// code from http://momentjs.com/
-
-
-	var ASPDateRegex = /^\/?Date\((-?\d+)/i; // Color REs
-
-	var fullHexRE = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;
-	var shortHexRE = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
-	var rgbRE = /^rgb\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *\)$/i;
-	var rgbaRE = /^rgba\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *([01]|0?\.\d+) *\)$/i;
-	/**
-	 * Test whether given object is a number.
-	 *
-	 * @param value - Input value of unknown type.
-	 * @returns True if number, false otherwise.
-	 */
-
-	function isNumber(value) {
-		return value instanceof Number || typeof value === "number";
-	}
-	/**
-	 * Remove everything in the DOM object.
-	 *
-	 * @param DOMobject - Node whose child nodes will be recursively deleted.
-	 */
-
-
-	function recursiveDOMDelete(DOMobject) {
-		if (DOMobject) {
-			while (DOMobject.hasChildNodes() === true) {
-				var child = DOMobject.firstChild;
-
-				if (child) {
-					recursiveDOMDelete(child);
-					DOMobject.removeChild(child);
-				}
-			}
-		}
-	}
-	/**
-	 * Test whether given object is a string.
-	 *
-	 * @param value - Input value of unknown type.
-	 * @returns True if string, false otherwise.
-	 */
-
-
-	function isString(value) {
-		return value instanceof String || typeof value === "string";
-	}
-	/**
-	 * Test whether given object is a object (not primitive or null).
-	 *
-	 * @param value - Input value of unknown type.
-	 * @returns True if not null object, false otherwise.
-	 */
-
-
-	function isObject$7(value) {
-		return _typeof(value) === "object" && value !== null;
-	}
-	/**
-	 * Test whether given object is a Date, or a String containing a Date.
-	 *
-	 * @param value - Input value of unknown type.
-	 * @returns True if Date instance or string date representation, false otherwise.
-	 */
-
-
-	function isDate(value) {
-		if (value instanceof Date) {
-			return true;
-		} else if (isString(value)) {
-			// test whether this string contains a date
-			var match = ASPDateRegex.exec(value);
-
-			if (match) {
-				return true;
-			} else if (!isNaN(Date.parse(value))) {
-				return true;
-			}
-		}
-
-		return false;
-	}
-	/**
-	 * Copy property from b to a if property present in a.
-	 * If property in b explicitly set to null, delete it if `allowDeletion` set.
-	 *
-	 * Internal helper routine, should not be exported. Not added to `exports` for that reason.
-	 *
-	 * @param a - Target object.
-	 * @param b - Source object.
-	 * @param prop - Name of property to copy from b to a.
-	 * @param allowDeletion - If true, delete property in a if explicitly set to null in b.
-	 */
-
-
-	function copyOrDelete(a, b, prop, allowDeletion) {
-		var doDeletion = false;
-
-		if (allowDeletion === true) {
-			doDeletion = b[prop] === null && a[prop] !== undefined;
-		}
-
-		if (doDeletion) {
-			delete a[prop];
-		} else {
-			a[prop] = b[prop]; // Remember, this is a reference copy!
-		}
-	}
-	/**
-	 * Fill an object with a possibly partially defined other object.
-	 *
-	 * Only copies values for the properties already present in a.
-	 * That means an object is not created on a property if only the b object has it.
-	 *
-	 * @param a - The object that will have it's properties updated.
-	 * @param b - The object with property updates.
-	 * @param allowDeletion - If true, delete properties in a that are explicitly set to null in b.
-	 */
-
-
-	function fillIfDefined(a, b) {
-		var allowDeletion = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-
-		// NOTE: iteration of properties of a
-		// NOTE: prototype properties iterated over as well
-		for (var prop in a) {
-			if (b[prop] !== undefined) {
-				if (b[prop] === null || _typeof(b[prop]) !== "object") {
-					// Note: typeof null === 'object'
-					copyOrDelete(a, b, prop, allowDeletion);
-				} else {
-					var aProp = a[prop];
-					var bProp = b[prop];
-
-					if (isObject$7(aProp) && isObject$7(bProp)) {
-						fillIfDefined(aProp, bProp, allowDeletion);
-					}
-				}
-			}
-		}
-	}
-	/**
-	 * Copy the values of all of the enumerable own properties from one or more source objects to a
-	 * target object. Returns the target object.
-	 *
-	 * @param target - The target object to copy to.
-	 * @param source - The source object from which to copy properties.
-	 * @returns The target object.
-	 */
-
-
-	var extend = assign$2;
-	/**
-	 * Extend object a with selected properties of object b or a series of objects.
-	 *
-	 * @remarks
-	 * Only properties with defined values are copied.
-	 * @param props - Properties to be copied to a.
-	 * @param a - The target.
-	 * @param others - The sources.
-	 * @returns Argument a.
-	 */
-
-	function selectiveExtend(props, a) {
-		if (!isArray$2(props)) {
-			throw new Error("Array with property names expected as first argument");
-		}
-
-		for (var _len4 = arguments.length, others = new Array(_len4 > 2 ? _len4 - 2 : 0), _key4 = 2; _key4 < _len4; _key4++) {
-			others[_key4 - 2] = arguments[_key4];
-		}
-
-		for (var _i2 = 0, _others = others; _i2 < _others.length; _i2++) {
-			var other = _others[_i2];
-
-			for (var p = 0; p < props.length; p++) {
-				var prop = props[p];
-
-				if (other && Object.prototype.hasOwnProperty.call(other, prop)) {
-					a[prop] = other[prop];
-				}
-			}
-		}
-
-		return a;
-	}
-	/**
-	 * Extend object a with selected properties of object b.
-	 * Only properties with defined values are copied.
-	 *
-	 * @remarks
-	 * Previous version of this routine implied that multiple source objects could
-	 * be used; however, the implementation was **wrong**. Since multiple (\>1)
-	 * sources weren't used anywhere in the `vis.js` code, this has been removed
-	 * @param props - Names of first-level properties to copy over.
-	 * @param a - Target object.
-	 * @param b - Source object.
-	 * @param allowDeletion - If true, delete property in a if explicitly set to null in b.
-	 * @returns Argument a.
-	 */
-
-
-	function selectiveDeepExtend(props, a, b) {
-		var allowDeletion = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
-
-		// TODO: add support for Arrays to deepExtend
-		if (isArray$2(b)) {
-			throw new TypeError("Arrays are not supported by deepExtend");
-		}
-
-		for (var p = 0; p < props.length; p++) {
-			var prop = props[p];
-
-			if (Object.prototype.hasOwnProperty.call(b, prop)) {
-				if (b[prop] && b[prop].constructor === Object) {
-					if (a[prop] === undefined) {
-						a[prop] = {};
-					}
-
-					if (a[prop].constructor === Object) {
-						deepExtend(a[prop], b[prop], false, allowDeletion);
-					} else {
-						copyOrDelete(a, b, prop, allowDeletion);
-					}
-				} else if (isArray$2(b[prop])) {
-					throw new TypeError("Arrays are not supported by deepExtend");
-				} else {
-					copyOrDelete(a, b, prop, allowDeletion);
-				}
-			}
-		}
-
-		return a;
-	}
-	/**
-	 * Extend object `a` with properties of object `b`, ignoring properties which
-	 * are explicitly specified to be excluded.
-	 *
-	 * @remarks
-	 * The properties of `b` are considered for copying. Properties which are
-	 * themselves objects are are also extended. Only properties with defined
-	 * values are copied.
-	 * @param propsToExclude - Names of properties which should *not* be copied.
-	 * @param a - Object to extend.
-	 * @param b - Object to take properties from for extension.
-	 * @param allowDeletion - If true, delete properties in a that are explicitly
-	 * set to null in b.
-	 * @returns Argument a.
-	 */
-
-
-	function selectiveNotDeepExtend(propsToExclude, a, b) {
-		var allowDeletion = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
-
-		// TODO: add support for Arrays to deepExtend
-		// NOTE: array properties have an else-below; apparently, there is a problem here.
-		if (isArray$2(b)) {
-			throw new TypeError("Arrays are not supported by deepExtend");
-		}
-
-		for (var prop in b) {
-			if (!Object.prototype.hasOwnProperty.call(b, prop)) {
-				continue;
-			} // Handle local properties only
-
-
-			if (includes(propsToExclude).call(propsToExclude, prop)) {
-				continue;
-			} // In exclusion list, skip
-
-
-			if (b[prop] && b[prop].constructor === Object) {
-				if (a[prop] === undefined) {
-					a[prop] = {};
-				}
-
-				if (a[prop].constructor === Object) {
-					deepExtend(a[prop], b[prop]); // NOTE: allowDeletion not propagated!
-				} else {
-					copyOrDelete(a, b, prop, allowDeletion);
-				}
-			} else if (isArray$2(b[prop])) {
-				a[prop] = [];
-
-				for (var i = 0; i < b[prop].length; i++) {
-					a[prop].push(b[prop][i]);
-				}
-			} else {
-				copyOrDelete(a, b, prop, allowDeletion);
-			}
-		}
-
-		return a;
-	}
-	/**
-	 * Deep extend an object a with the properties of object b.
-	 *
-	 * @param a - Target object.
-	 * @param b - Source object.
-	 * @param protoExtend - If true, the prototype values will also be extended.
-	 * (That is the options objects that inherit from others will also get the
-	 * inherited options).
-	 * @param allowDeletion - If true, the values of fields that are null will be deleted.
-	 * @returns Argument a.
-	 */
-
-
-	function deepExtend(a, b) {
-		var protoExtend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-		var allowDeletion = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
-
-		for (var prop in b) {
-			if (Object.prototype.hasOwnProperty.call(b, prop) || protoExtend === true) {
-				if (_typeof(b[prop]) === "object" && b[prop] !== null && getPrototypeOf$4(b[prop]) === Object.prototype) {
-					if (a[prop] === undefined) {
-						a[prop] = deepExtend({}, b[prop], protoExtend); // NOTE: allowDeletion not propagated!
-					} else if (_typeof(a[prop]) === "object" && a[prop] !== null && getPrototypeOf$4(a[prop]) === Object.prototype) {
-						deepExtend(a[prop], b[prop], protoExtend); // NOTE: allowDeletion not propagated!
-					} else {
-						copyOrDelete(a, b, prop, allowDeletion);
-					}
-				} else if (isArray$2(b[prop])) {
-					var _context6;
-
-					a[prop] = slice(_context6 = b[prop]).call(_context6);
-				} else {
-					copyOrDelete(a, b, prop, allowDeletion);
-				}
-			}
-		}
-
-		return a;
-	}
-	/**
-	 * Test whether all elements in two arrays are equal.
-	 *
-	 * @param a - First array.
-	 * @param b - Second array.
-	 * @returns True if both arrays have the same length and same elements (1 = '1').
-	 */
-
-
-	function equalArray(a, b) {
-		if (a.length !== b.length) {
-			return false;
-		}
-
-		for (var i = 0, len = a.length; i < len; i++) {
-			if (a[i] != b[i]) {
-				return false;
-			}
-		}
-
-		return true;
-	}
-	/**
-	 * Get the type of an object, for example exports.getType([]) returns 'Array'.
-	 *
-	 * @param object - Input value of unknown type.
-	 * @returns Detected type.
-	 */
-
-
-	function getType(object) {
-		var type = _typeof(object);
-
-		if (type === "object") {
-			if (object === null) {
-				return "null";
-			}
-
-			if (object instanceof Boolean) {
-				return "Boolean";
-			}
-
-			if (object instanceof Number) {
-				return "Number";
-			}
-
-			if (object instanceof String) {
-				return "String";
-			}
-
-			if (isArray$2(object)) {
-				return "Array";
-			}
-
-			if (object instanceof Date) {
-				return "Date";
-			}
-
-			return "Object";
-		}
-
-		if (type === "number") {
-			return "Number";
-		}
-
-		if (type === "boolean") {
-			return "Boolean";
-		}
-
-		if (type === "string") {
-			return "String";
-		}
-
-		if (type === undefined) {
-			return "undefined";
-		}
-
-		return type;
-	}
-	/**
-	 * Used to extend an array and copy it. This is used to propagate paths recursively.
-	 *
-	 * @param arr - First part.
-	 * @param newValue - The value to be aadded into the array.
-	 * @returns A new array with all items from arr and newValue (which is last).
-	 */
-
-
-	function copyAndExtendArray(arr, newValue) {
-		var _context7;
-
-		return concat(_context7 = []).call(_context7, _toConsumableArray(arr), [newValue]);
-	}
-	/**
-	 * Used to extend an array and copy it. This is used to propagate paths recursively.
-	 *
-	 * @param arr - The array to be copied.
-	 * @returns Shallow copy of arr.
-	 */
-
-
-	function copyArray(arr) {
-		return slice(arr).call(arr);
-	}
-	/**
-	 * Retrieve the absolute left value of a DOM element.
-	 *
-	 * @param elem - A dom element, for example a div.
-	 * @returns The absolute left position of this element in the browser page.
-	 */
-
-
-	function getAbsoluteLeft(elem) {
-		return elem.getBoundingClientRect().left;
-	}
-	/**
-	 * Retrieve the absolute right value of a DOM element.
-	 *
-	 * @param elem - A dom element, for example a div.
-	 * @returns The absolute right position of this element in the browser page.
-	 */
-
-
-	function getAbsoluteRight(elem) {
-		return elem.getBoundingClientRect().right;
-	}
-	/**
-	 * Retrieve the absolute top value of a DOM element.
-	 *
-	 * @param elem - A dom element, for example a div.
-	 * @returns The absolute top position of this element in the browser page.
-	 */
-
-
-	function getAbsoluteTop(elem) {
-		return elem.getBoundingClientRect().top;
-	}
-	/**
-	 * Add a className to the given elements style.
-	 *
-	 * @param elem - The element to which the classes will be added.
-	 * @param classNames - Space separated list of classes.
-	 */
-
-
-	function addClassName(elem, classNames) {
-		var classes = elem.className.split(" ");
-		var newClasses = classNames.split(" ");
-		classes = concat(classes).call(classes, filter(newClasses).call(newClasses, function (className) {
-			return !includes(classes).call(classes, className);
-		}));
-		elem.className = classes.join(" ");
-	}
-	/**
-	 * Remove a className from the given elements style.
-	 *
-	 * @param elem - The element from which the classes will be removed.
-	 * @param classNames - Space separated list of classes.
-	 */
-
-
-	function removeClassName(elem, classNames) {
-		var classes = elem.className.split(" ");
-		var oldClasses = classNames.split(" ");
-		classes = filter(classes).call(classes, function (className) {
-			return !includes(oldClasses).call(oldClasses, className);
-		});
-		elem.className = classes.join(" ");
-	}
-	/**
-	 * For each method for both arrays and objects.
-	 * In case of an array, the built-in Array.forEach() is applied (**No, it's not!**).
-	 * In case of an Object, the method loops over all properties of the object.
-	 *
-	 * @param object - An Object or Array to be iterated over.
-	 * @param callback - Array.forEach-like callback.
-	 */
-
-
-	function forEach$1(object, callback) {
-		if (isArray$2(object)) {
-			// array
-			var len = object.length;
-
-			for (var i = 0; i < len; i++) {
-				callback(object[i], i, object);
-			}
-		} else {
-			// object
-			for (var key in object) {
-				if (Object.prototype.hasOwnProperty.call(object, key)) {
-					callback(object[key], key, object);
-				}
-			}
-		}
-	}
-	/**
-	 * Convert an object into an array: all objects properties are put into the array. The resulting array is unordered.
-	 *
-	 * @param o - Object that contains the properties and methods.
-	 * @returns An array of unordered values.
-	 */
-
-
-	var toArray = values$4;
-	/**
-	 * Update a property in an object.
-	 *
-	 * @param object - The object whose property will be updated.
-	 * @param key - Name of the property to be updated.
-	 * @param value - The new value to be assigned.
-	 * @returns Whether the value was updated (true) or already strictly the same in the original object (false).
-	 */
-
-	function updateProperty(object, key, value) {
-		if (object[key] !== value) {
-			object[key] = value;
-			return true;
-		} else {
-			return false;
-		}
-	}
-	/**
-	 * Throttle the given function to be only executed once per animation frame.
-	 *
-	 * @param fn - The original function.
-	 * @returns The throttled function.
-	 */
-
-
-	function throttle(fn) {
-		var scheduled = false;
-		return function () {
-			if (!scheduled) {
-				scheduled = true;
-				requestAnimationFrame(function () {
-					scheduled = false;
-					fn();
-				});
-			}
-		};
-	}
-	/**
-	 * Add and event listener. Works for all browsers.
-	 *
-	 * @param element - The element to bind the event listener to.
-	 * @param action - Same as Element.addEventListener(action, —, —).
-	 * @param listener - Same as Element.addEventListener(—, listener, —).
-	 * @param useCapture - Same as Element.addEventListener(—, —, useCapture).
-	 */
-
-
-	function addEventListener(element, action, listener, useCapture) {
-		if (element.addEventListener) {
-			var _context8;
-
-			if (useCapture === undefined) {
-				useCapture = false;
-			}
-
-			if (action === "mousewheel" && includes(_context8 = navigator.userAgent).call(_context8, "Firefox")) {
-				action = "DOMMouseScroll"; // For Firefox
-			}
-
-			element.addEventListener(action, listener, useCapture);
-		} else {
-			// @TODO: IE types? Does anyone care?
-			element.attachEvent("on" + action, listener); // IE browsers
-		}
-	}
-	/**
-	 * Remove an event listener from an element.
-	 *
-	 * @param element - The element to bind the event listener to.
-	 * @param action - Same as Element.removeEventListener(action, —, —).
-	 * @param listener - Same as Element.removeEventListener(—, listener, —).
-	 * @param useCapture - Same as Element.removeEventListener(—, —, useCapture).
-	 */
-
-
-	function removeEventListener(element, action, listener, useCapture) {
-		if (element.removeEventListener) {
-			var _context9;
-
-			// non-IE browsers
-			if (useCapture === undefined) {
-				useCapture = false;
-			}
-
-			if (action === "mousewheel" && includes(_context9 = navigator.userAgent).call(_context9, "Firefox")) {
-				action = "DOMMouseScroll"; // For Firefox
-			}
-
-			element.removeEventListener(action, listener, useCapture);
-		} else {
-			// @TODO: IE types? Does anyone care?
-			element.detachEvent("on" + action, listener); // IE browsers
-		}
-	}
-	/**
-	 * Cancels the event's default action if it is cancelable, without stopping further propagation of the event.
-	 *
-	 * @param event - The event whose default action should be prevented.
-	 */
-
-
-	function preventDefault(event) {
-		if (!event) {
-			event = window.event;
-		}
-
-		if (!event); else if (event.preventDefault) {
-			event.preventDefault(); // non-IE browsers
-		} else {
-			// @TODO: IE types? Does anyone care?
-			event.returnValue = false; // IE browsers
-		}
-	}
-	/**
-	 * Get HTML element which is the target of the event.
-	 *
-	 * @param event - The event.
-	 * @returns The element or null if not obtainable.
-	 */
-
-
-	function getTarget() {
-		var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window.event;
-		// code from http://www.quirksmode.org/js/events_properties.html
-		// @TODO: EventTarget can be almost anything, is it okay to return only Elements?
-		var target = null;
-		if (!event); else if (event.target) {
-			target = event.target;
-		} else if (event.srcElement) {
-			target = event.srcElement;
-		}
-
-		if (!(target instanceof Element)) {
-			return null;
-		}
-
-		if (target.nodeType != null && target.nodeType == 3) {
-			// defeat Safari bug
-			target = target.parentNode;
-
-			if (!(target instanceof Element)) {
-				return null;
-			}
-		}
-
-		return target;
-	}
-	/**
-	 * Check if given element contains given parent somewhere in the DOM tree.
-	 *
-	 * @param element - The element to be tested.
-	 * @param parent - The ancestor (not necessarily parent) of the element.
-	 * @returns True if parent is an ancestor of the element, false otherwise.
-	 */
-
-
-	function hasParent(element, parent) {
-		var elem = element;
-
-		while (elem) {
-			if (elem === parent) {
-				return true;
-			} else if (elem.parentNode) {
-				elem = elem.parentNode;
-			} else {
-				return false;
-			}
-		}
-
-		return false;
-	}
-
-	var option = {
-		/**
-		 * Convert a value into a boolean.
-		 *
-		 * @param value - Value to be converted intoboolean, a function will be executed as `(() => unknown)`.
-		 * @param defaultValue - If the value or the return value of the function == null then this will be returned.
-		 * @returns Corresponding boolean value, if none then the default value, if none then null.
-		 */
-		asBoolean: function asBoolean(value, defaultValue) {
-			if (typeof value == "function") {
-				value = value();
-			}
-
-			if (value != null) {
-				return value != false;
-			}
-
-			return defaultValue || null;
-		},
-
-		/**
-		 * Convert a value into a number.
-		 *
-		 * @param value - Value to be converted intonumber, a function will be executed as `(() => unknown)`.
-		 * @param defaultValue - If the value or the return value of the function == null then this will be returned.
-		 * @returns Corresponding **boxed** number value, if none then the default value, if none then null.
-		 */
-		asNumber: function asNumber(value, defaultValue) {
-			if (typeof value == "function") {
-				value = value();
-			}
-
-			if (value != null) {
-				return Number(value) || defaultValue || null;
-			}
-
-			return defaultValue || null;
-		},
-
-		/**
-		 * Convert a value into a string.
-		 *
-		 * @param value - Value to be converted intostring, a function will be executed as `(() => unknown)`.
-		 * @param defaultValue - If the value or the return value of the function == null then this will be returned.
-		 * @returns Corresponding **boxed** string value, if none then the default value, if none then null.
-		 */
-		asString: function asString(value, defaultValue) {
-			if (typeof value == "function") {
-				value = value();
-			}
-
-			if (value != null) {
-				return String(value);
-			}
-
-			return defaultValue || null;
-		},
-
-		/**
-		 * Convert a value into a size.
-		 *
-		 * @param value - Value to be converted intosize, a function will be executed as `(() => unknown)`.
-		 * @param defaultValue - If the value or the return value of the function == null then this will be returned.
-		 * @returns Corresponding string value (number + 'px'), if none then the default value, if none then null.
-		 */
-		asSize: function asSize(value, defaultValue) {
-			if (typeof value == "function") {
-				value = value();
-			}
-
-			if (isString(value)) {
-				return value;
-			} else if (isNumber(value)) {
-				return value + "px";
-			} else {
-				return defaultValue || null;
-			}
-		},
-
-		/**
-		 * Convert a value into a DOM Element.
-		 *
-		 * @param value - Value to be converted into DOM Element, a function will be executed as `(() => unknown)`.
-		 * @param defaultValue - If the value or the return value of the function == null then this will be returned.
-		 * @returns The DOM Element, if none then the default value, if none then null.
-		 */
-		asElement: function asElement(value, defaultValue) {
-			if (typeof value == "function") {
-				value = value();
-			}
-
-			return value || defaultValue || null;
-		}
-	};
-	/**
-	 * Convert hex color string into RGB color object.
-	 *
-	 * @remarks
-	 * {@link http://stackoverflow.com/questions/5623838/rgb-to-hex-and-hex-to-rgb}
-	 * @param hex - Hex color string (3 or 6 digits, with or without #).
-	 * @returns RGB color object.
-	 */
-
-	function hexToRGB(hex) {
-		var result;
-
-		switch (hex.length) {
-			case 3:
-			case 4:
-				result = shortHexRE.exec(hex);
-				return result ? {
-					r: _parseInt(result[1] + result[1], 16),
-					g: _parseInt(result[2] + result[2], 16),
-					b: _parseInt(result[3] + result[3], 16)
-				} : null;
-
-			case 6:
-			case 7:
-				result = fullHexRE.exec(hex);
-				return result ? {
-					r: _parseInt(result[1], 16),
-					g: _parseInt(result[2], 16),
-					b: _parseInt(result[3], 16)
-				} : null;
-
-			default:
-				return null;
-		}
-	}
-	/**
-	 * This function takes string color in hex or RGB format and adds the opacity, RGBA is passed through unchanged.
-	 *
-	 * @param color - The color string (hex, RGB, RGBA).
-	 * @param opacity - The new opacity.
-	 * @returns RGBA string, for example 'rgba(255, 0, 127, 0.3)'.
-	 */
-
-
-	function overrideOpacity(color, opacity) {
-		if (includes(color).call(color, "rgba")) {
-			return color;
-		} else if (includes(color).call(color, "rgb")) {
-			var rgb = color.substr(indexOf(color).call(color, "(") + 1).replace(")", "").split(",");
-			return "rgba(" + rgb[0] + "," + rgb[1] + "," + rgb[2] + "," + opacity + ")";
-		} else {
-			var _rgb = hexToRGB(color);
-
-			if (_rgb == null) {
-				return color;
-			} else {
-				return "rgba(" + _rgb.r + "," + _rgb.g + "," + _rgb.b + "," + opacity + ")";
-			}
-		}
-	}
-	/**
-	 * Convert RGB \<0, 255\> into hex color string.
-	 *
-	 * @param red - Red channel.
-	 * @param green - Green channel.
-	 * @param blue - Blue channel.
-	 * @returns Hex color string (for example: '#0acdc0').
-	 */
-
-
-	function RGBToHex(red, green, blue) {
-		var _context10;
-
-		return "#" + slice(_context10 = ((1 << 24) + (red << 16) + (green << 8) + blue).toString(16)).call(_context10, 1);
-	}
-	/**
-	 * Parse a color property into an object with border, background, and highlight colors.
-	 *
-	 * @param inputColor - Shorthand color string or input color object.
-	 * @param defaultColor - Full color object to fill in missing values in inputColor.
-	 * @returns Color object.
-	 */
-
-
-	function parseColor(inputColor, defaultColor) {
-		if (isString(inputColor)) {
-			var colorStr = inputColor;
-
-			if (isValidRGB(colorStr)) {
-				var _context11;
-
-				var rgb = map$3(_context11 = colorStr.substr(4).substr(0, colorStr.length - 5).split(",")).call(_context11, function (value) {
-					return _parseInt(value);
-				});
-
-				colorStr = RGBToHex(rgb[0], rgb[1], rgb[2]);
-			}
-
-			if (isValidHex(colorStr) === true) {
-				var hsv = hexToHSV(colorStr);
-				var lighterColorHSV = {
-					h: hsv.h,
-					s: hsv.s * 0.8,
-					v: Math.min(1, hsv.v * 1.02)
-				};
-				var darkerColorHSV = {
-					h: hsv.h,
-					s: Math.min(1, hsv.s * 1.25),
-					v: hsv.v * 0.8
-				};
-				var darkerColorHex = HSVToHex(darkerColorHSV.h, darkerColorHSV.s, darkerColorHSV.v);
-				var lighterColorHex = HSVToHex(lighterColorHSV.h, lighterColorHSV.s, lighterColorHSV.v);
-				return {
-					background: colorStr,
-					border: darkerColorHex,
-					highlight: {
-						background: lighterColorHex,
-						border: darkerColorHex
-					},
-					hover: {
-						background: lighterColorHex,
-						border: darkerColorHex
-					}
-				};
-			} else {
-				return {
-					background: colorStr,
-					border: colorStr,
-					highlight: {
-						background: colorStr,
-						border: colorStr
-					},
-					hover: {
-						background: colorStr,
-						border: colorStr
-					}
-				};
-			}
-		} else {
-			if (defaultColor) {
-				var color = {
-					background: inputColor.background || defaultColor.background,
-					border: inputColor.border || defaultColor.border,
-					highlight: isString(inputColor.highlight) ? {
-						border: inputColor.highlight,
-						background: inputColor.highlight
-					} : {
-						background: inputColor.highlight && inputColor.highlight.background || defaultColor.highlight.background,
-						border: inputColor.highlight && inputColor.highlight.border || defaultColor.highlight.border
-					},
-					hover: isString(inputColor.hover) ? {
-						border: inputColor.hover,
-						background: inputColor.hover
-					} : {
-						border: inputColor.hover && inputColor.hover.border || defaultColor.hover.border,
-						background: inputColor.hover && inputColor.hover.background || defaultColor.hover.background
-					}
-				};
-				return color;
-			} else {
-				var _color = {
-					background: inputColor.background || undefined,
-					border: inputColor.border || undefined,
-					highlight: isString(inputColor.highlight) ? {
-						border: inputColor.highlight,
-						background: inputColor.highlight
-					} : {
-						background: inputColor.highlight && inputColor.highlight.background || undefined,
-						border: inputColor.highlight && inputColor.highlight.border || undefined
-					},
-					hover: isString(inputColor.hover) ? {
-						border: inputColor.hover,
-						background: inputColor.hover
-					} : {
-						border: inputColor.hover && inputColor.hover.border || undefined,
-						background: inputColor.hover && inputColor.hover.background || undefined
-					}
-				};
-				return _color;
-			}
-		}
-	}
-	/**
-	 * Convert RGB \<0, 255\> into HSV object.
-	 *
-	 * @remarks
-	 * {@link http://www.javascripter.net/faq/rgb2hsv.htm}
-	 * @param red - Red channel.
-	 * @param green - Green channel.
-	 * @param blue - Blue channel.
-	 * @returns HSV color object.
-	 */
-
-
-	function RGBToHSV(red, green, blue) {
-		red = red / 255;
-		green = green / 255;
-		blue = blue / 255;
-		var minRGB = Math.min(red, Math.min(green, blue));
-		var maxRGB = Math.max(red, Math.max(green, blue)); // Black-gray-white
-
-		if (minRGB === maxRGB) {
-			return {
-				h: 0,
-				s: 0,
-				v: minRGB
-			};
-		} // Colors other than black-gray-white:
-
-
-		var d = red === minRGB ? green - blue : blue === minRGB ? red - green : blue - red;
-		var h = red === minRGB ? 3 : blue === minRGB ? 1 : 5;
-		var hue = 60 * (h - d / (maxRGB - minRGB)) / 360;
-		var saturation = (maxRGB - minRGB) / maxRGB;
-		var value = maxRGB;
-		return {
-			h: hue,
-			s: saturation,
-			v: value
-		};
-	}
-
-	var cssUtil = {
-		// split a string with css styles into an object with key/values
-		split: function split(cssText) {
-			var _context12;
-
-			var styles = {};
-
-			forEach$2(_context12 = cssText.split(";")).call(_context12, function (style) {
-				if (trim$1(style).call(style) != "") {
-					var _context13, _context14;
-
-					var parts = style.split(":");
-
-					var key = trim$1(_context13 = parts[0]).call(_context13);
-
-					var value = trim$1(_context14 = parts[1]).call(_context14);
-
-					styles[key] = value;
-				}
-			});
-
-			return styles;
-		},
-		// build a css text string from an object with key/values
-		join: function join(styles) {
-			var _context15;
-
-			return map$3(_context15 = keys$4(styles)).call(_context15, function (key) {
-				return key + ": " + styles[key];
-			}).join("; ");
-		}
-	};
-	/**
-	 * Append a string with css styles to an element.
-	 *
-	 * @param element - The element that will receive new styles.
-	 * @param cssText - The styles to be appended.
-	 */
-
-	function addCssText(element, cssText) {
-		var currentStyles = cssUtil.split(element.style.cssText);
-		var newStyles = cssUtil.split(cssText);
-
-		var styles = _objectSpread$5(_objectSpread$5({}, currentStyles), newStyles);
-
-		element.style.cssText = cssUtil.join(styles);
-	}
-	/**
-	 * Remove a string with css styles from an element.
-	 *
-	 * @param element - The element from which styles should be removed.
-	 * @param cssText - The styles to be removed.
-	 */
-
-
-	function removeCssText(element, cssText) {
-		var styles = cssUtil.split(element.style.cssText);
-		var removeStyles = cssUtil.split(cssText);
-
-		for (var key in removeStyles) {
-			if (Object.prototype.hasOwnProperty.call(removeStyles, key)) {
-				delete styles[key];
-			}
-		}
-
-		element.style.cssText = cssUtil.join(styles);
-	}
-	/**
-	 * Convert HSV \<0, 1\> into RGB color object.
-	 *
-	 * @remarks
-	 * {@link https://gist.github.com/mjijackson/5311256}
-	 * @param h - Hue.
-	 * @param s - Saturation.
-	 * @param v - Value.
-	 * @returns RGB color object.
-	 */
-
-
-	function HSVToRGB(h, s, v) {
-		var r;
-		var g;
-		var b;
-		var i = Math.floor(h * 6);
-		var f = h * 6 - i;
-		var p = v * (1 - s);
-		var q = v * (1 - f * s);
-		var t = v * (1 - (1 - f) * s);
-
-		switch (i % 6) {
-			case 0:
-				r = v, g = t, b = p;
-				break;
-
-			case 1:
-				r = q, g = v, b = p;
-				break;
-
-			case 2:
-				r = p, g = v, b = t;
-				break;
-
-			case 3:
-				r = p, g = q, b = v;
-				break;
-
-			case 4:
-				r = t, g = p, b = v;
-				break;
-
-			case 5:
-				r = v, g = p, b = q;
-				break;
-		}
-
-		return {
-			r: Math.floor(r * 255),
-			g: Math.floor(g * 255),
-			b: Math.floor(b * 255)
-		};
-	}
-	/**
-	 * Convert HSV \<0, 1\> into hex color string.
-	 *
-	 * @param h - Hue.
-	 * @param s - Saturation.
-	 * @param v - Value.
-	 * @returns Hex color string.
-	 */
-
-
-	function HSVToHex(h, s, v) {
-		var rgb = HSVToRGB(h, s, v);
-		return RGBToHex(rgb.r, rgb.g, rgb.b);
-	}
-	/**
-	 * Convert hex color string into HSV \<0, 1\>.
-	 *
-	 * @param hex - Hex color string.
-	 * @returns HSV color object.
-	 */
-
-
-	function hexToHSV(hex) {
-		var rgb = hexToRGB(hex);
-
-		if (!rgb) {
-			throw new TypeError("'".concat(hex, "' is not a valid color."));
-		}
-
-		return RGBToHSV(rgb.r, rgb.g, rgb.b);
-	}
-	/**
-	 * Validate hex color string.
-	 *
-	 * @param hex - Unknown string that may contain a color.
-	 * @returns True if the string is valid, false otherwise.
-	 */
-
-
-	function isValidHex(hex) {
-		var isOk = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(hex);
-		return isOk;
-	}
-	/**
-	 * Validate RGB color string.
-	 *
-	 * @param rgb - Unknown string that may contain a color.
-	 * @returns True if the string is valid, false otherwise.
-	 */
-
-
-	function isValidRGB(rgb) {
-		return rgbRE.test(rgb);
-	}
-	/**
-	 * Validate RGBA color string.
-	 *
-	 * @param rgba - Unknown string that may contain a color.
-	 * @returns True if the string is valid, false otherwise.
-	 */
-
-
-	function isValidRGBA(rgba) {
-		return rgbaRE.test(rgba);
-	}
-	/**
-	 * This recursively redirects the prototype of JSON objects to the referenceObject.
-	 * This is used for default options.
-	 *
-	 * @param fields - Names of properties to be bridged.
-	 * @param referenceObject - The original object.
-	 * @returns A new object inheriting from the referenceObject.
-	 */
-
-
-	function selectiveBridgeObject(fields, referenceObject) {
-		if (referenceObject !== null && _typeof(referenceObject) === "object") {
-			// !!! typeof null === 'object'
-			var objectTo = create$5(referenceObject);
-
-			for (var i = 0; i < fields.length; i++) {
-				if (Object.prototype.hasOwnProperty.call(referenceObject, fields[i])) {
-					if (_typeof(referenceObject[fields[i]]) == "object") {
-						objectTo[fields[i]] = bridgeObject(referenceObject[fields[i]]);
-					}
-				}
-			}
-
-			return objectTo;
-		} else {
-			return null;
-		}
-	}
-	/**
-	 * This recursively redirects the prototype of JSON objects to the referenceObject.
-	 * This is used for default options.
-	 *
-	 * @param referenceObject - The original object.
-	 * @returns The Element if the referenceObject is an Element, or a new object inheriting from the referenceObject.
-	 */
-
-
-	function bridgeObject(referenceObject) {
-		if (referenceObject === null || _typeof(referenceObject) !== "object") {
-			return null;
-		}
-
-		if (referenceObject instanceof Element) {
-			// Avoid bridging DOM objects
-			return referenceObject;
-		}
-
-		var objectTo = create$5(referenceObject);
-
-		for (var i in referenceObject) {
-			if (Object.prototype.hasOwnProperty.call(referenceObject, i)) {
-				if (_typeof(referenceObject[i]) == "object") {
-					objectTo[i] = bridgeObject(referenceObject[i]);
-				}
-			}
-		}
-
-		return objectTo;
-	}
-	/**
-	 * This method provides a stable sort implementation, very fast for presorted data.
-	 *
-	 * @param a - The array to be sorted (in-place).
-	 * @param compare - An order comparator.
-	 * @returns The argument a.
-	 */
-
-
-	function insertSort(a, compare) {
-		for (var i = 0; i < a.length; i++) {
-			var k = a[i];
-			var j = void 0;
-
-			for (j = i; j > 0 && compare(k, a[j - 1]) < 0; j--) {
-				a[j] = a[j - 1];
-			}
-
-			a[j] = k;
-		}
-
-		return a;
-	}
-	/**
-	 * This is used to set the options of subobjects in the options object.
-	 *
-	 * A requirement of these subobjects is that they have an 'enabled' element
-	 * which is optional for the user but mandatory for the program.
-	 *
-	 * The added value here of the merge is that option 'enabled' is set as required.
-	 *
-	 * @param mergeTarget - Either this.options or the options used for the groups.
-	 * @param options - Options.
-	 * @param option - Option key in the options argument.
-	 * @param globalOptions - Global options, passed in to determine value of option 'enabled'.
-	 */
-
-
-	function mergeOptions(mergeTarget, options, option) {
-		var globalOptions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
-
-		// Local helpers
-		var isPresent = function isPresent(obj) {
-			return obj !== null && obj !== undefined;
-		};
-
-		var isObject = function isObject(obj) {
-			return obj !== null && _typeof(obj) === "object";
-		}; // https://stackoverflow.com/a/34491287/1223531
-
-
-		var isEmpty = function isEmpty(obj) {
-			for (var x in obj) {
-				if (Object.prototype.hasOwnProperty.call(obj, x)) {
-					return false;
-				}
-			}
-
-			return true;
-		}; // Guards
-
-
-		if (!isObject(mergeTarget)) {
-			throw new Error("Parameter mergeTarget must be an object");
-		}
-
-		if (!isObject(options)) {
-			throw new Error("Parameter options must be an object");
-		}
-
-		if (!isPresent(option)) {
-			throw new Error("Parameter option must have a value");
-		}
-
-		if (!isObject(globalOptions)) {
-			throw new Error("Parameter globalOptions must be an object");
-		} //
-		// Actual merge routine, separated from main logic
-		// Only a single level of options is merged. Deeper levels are ref'd. This may actually be an issue.
-		//
-
-
-		var doMerge = function doMerge(target, options, option) {
-			if (!isObject(target[option])) {
-				target[option] = {};
-			}
-
-			var src = options[option];
-			var dst = target[option];
-
-			for (var prop in src) {
-				if (Object.prototype.hasOwnProperty.call(src, prop)) {
-					dst[prop] = src[prop];
-				}
-			}
-		}; // Local initialization
-
-
-		var srcOption = options[option];
-		var globalPassed = isObject(globalOptions) && !isEmpty(globalOptions);
-		var globalOption = globalPassed ? globalOptions[option] : undefined;
-		var globalEnabled = globalOption ? globalOption.enabled : undefined; /////////////////////////////////////////
-		// Main routine
-		/////////////////////////////////////////
-
-		if (srcOption === undefined) {
-			return; // Nothing to do
-		}
-
-		if (typeof srcOption === "boolean") {
-			if (!isObject(mergeTarget[option])) {
-				mergeTarget[option] = {};
-			}
-
-			mergeTarget[option].enabled = srcOption;
-			return;
-		}
-
-		if (srcOption === null && !isObject(mergeTarget[option])) {
-			// If possible, explicit copy from globals
-			if (isPresent(globalOption)) {
-				mergeTarget[option] = create$5(globalOption);
-			} else {
-				return; // Nothing to do
-			}
-		}
-
-		if (!isObject(srcOption)) {
-			return;
-		} //
-		// Ensure that 'enabled' is properly set. It is required internally
-		// Note that the value from options will always overwrite the existing value
-		//
-
-
-		var enabled = true; // default value
-
-		if (srcOption.enabled !== undefined) {
-			enabled = srcOption.enabled;
-		} else {
-			// Take from globals, if present
-			if (globalEnabled !== undefined) {
-				enabled = globalOption.enabled;
-			}
-		}
-
-		doMerge(mergeTarget, options, option);
-		mergeTarget[option].enabled = enabled;
-	}
-	/**
-	 * This function does a binary search for a visible item in a sorted list. If we find a visible item, the code that uses
-	 * this function will then iterate in both directions over this sorted list to find all visible items.
-	 *
-	 * @param orderedItems - Items ordered by start.
-	 * @param comparator - -1 is lower, 0 is equal, 1 is higher.
-	 * @param field - Property name on an item (That is item[field]).
-	 * @param field2 - Second property name on an item (That is item[field][field2]).
-	 * @returns Index of the found item or -1 if nothing was found.
-	 */
-
-
-	function binarySearchCustom(orderedItems, comparator, field, field2) {
-		var maxIterations = 10000;
-		var iteration = 0;
-		var low = 0;
-		var high = orderedItems.length - 1;
-
-		while (low <= high && iteration < maxIterations) {
-			var middle = Math.floor((low + high) / 2);
-			var item = orderedItems[middle];
-			var value = field2 === undefined ? item[field] : item[field][field2];
-			var searchResult = comparator(value);
-
-			if (searchResult == 0) {
-				// jihaa, found a visible item!
-				return middle;
-			} else if (searchResult == -1) {
-				// it is too small --> increase low
-				low = middle + 1;
-			} else {
-				// it is too big --> decrease high
-				high = middle - 1;
-			}
-
-			iteration++;
-		}
-
-		return -1;
-	}
-	/**
-	 * This function does a binary search for a specific value in a sorted array.
-	 * If it does not exist but is in between of two values, we return either the
-	 * one before or the one after, depending on user input If it is found, we
-	 * return the index, else -1.
-	 *
-	 * @param orderedItems - Sorted array.
-	 * @param target - The searched value.
-	 * @param field - Name of the property in items to be searched.
-	 * @param sidePreference - If the target is between two values, should the index of the before or the after be returned?
-	 * @param comparator - An optional comparator, returning -1, 0, 1 for \<, ===, \>.
-	 * @returns The index of found value or -1 if nothing was found.
-	 */
-
-
-	function binarySearchValue(orderedItems, target, field, sidePreference, comparator) {
-		var maxIterations = 10000;
-		var iteration = 0;
-		var low = 0;
-		var high = orderedItems.length - 1;
-		var prevValue;
-		var value;
-		var nextValue;
-		var middle;
-		comparator = comparator != undefined ? comparator : function (a, b) {
-			return a == b ? 0 : a < b ? -1 : 1;
-		};
-
-		while (low <= high && iteration < maxIterations) {
-			// get a new guess
-			middle = Math.floor(0.5 * (high + low));
-			prevValue = orderedItems[Math.max(0, middle - 1)][field];
-			value = orderedItems[middle][field];
-			nextValue = orderedItems[Math.min(orderedItems.length - 1, middle + 1)][field];
-
-			if (comparator(value, target) == 0) {
-				// we found the target
-				return middle;
-			} else if (comparator(prevValue, target) < 0 && comparator(value, target) > 0) {
-				// target is in between of the previous and the current
-				return sidePreference == "before" ? Math.max(0, middle - 1) : middle;
-			} else if (comparator(value, target) < 0 && comparator(nextValue, target) > 0) {
-				// target is in between of the current and the next
-				return sidePreference == "before" ? middle : Math.min(orderedItems.length - 1, middle + 1);
-			} else {
-				// didnt find the target, we need to change our boundaries.
-				if (comparator(value, target) < 0) {
-					// it is too small --> increase low
-					low = middle + 1;
-				} else {
-					// it is too big --> decrease high
-					high = middle - 1;
-				}
-			}
-
-			iteration++;
-		} // didnt find anything. Return -1.
-
-
-		return -1;
-	}
-	/*
-	 * Easing Functions.
-	 * Only considering the t value for the range [0, 1] => [0, 1].
-	 *
-	 * Inspiration: from http://gizma.com/easing/
-	 * https://gist.github.com/gre/1650294
-	 */
-
-
-	var easingFunctions = {
-		/**
-		 * Provides no easing and no acceleration.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		linear: function linear(t) {
-			return t;
-		},
-
-		/**
-		 * Accelerate from zero velocity.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeInQuad: function easeInQuad(t) {
-			return t * t;
-		},
-
-		/**
-		 * Decelerate to zero velocity.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeOutQuad: function easeOutQuad(t) {
-			return t * (2 - t);
-		},
-
-		/**
-		 * Accelerate until halfway, then decelerate.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeInOutQuad: function easeInOutQuad(t) {
-			return t < 0.5 ? 2 * t * t : -1 + (4 - 2 * t) * t;
-		},
-
-		/**
-		 * Accelerate from zero velocity.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeInCubic: function easeInCubic(t) {
-			return t * t * t;
-		},
-
-		/**
-		 * Decelerate to zero velocity.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeOutCubic: function easeOutCubic(t) {
-			return --t * t * t + 1;
-		},
-
-		/**
-		 * Accelerate until halfway, then decelerate.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeInOutCubic: function easeInOutCubic(t) {
-			return t < 0.5 ? 4 * t * t * t : (t - 1) * (2 * t - 2) * (2 * t - 2) + 1;
-		},
-
-		/**
-		 * Accelerate from zero velocity.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeInQuart: function easeInQuart(t) {
-			return t * t * t * t;
-		},
-
-		/**
-		 * Decelerate to zero velocity.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeOutQuart: function easeOutQuart(t) {
-			return 1 - --t * t * t * t;
-		},
-
-		/**
-		 * Accelerate until halfway, then decelerate.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeInOutQuart: function easeInOutQuart(t) {
-			return t < 0.5 ? 8 * t * t * t * t : 1 - 8 * --t * t * t * t;
-		},
-
-		/**
-		 * Accelerate from zero velocity.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeInQuint: function easeInQuint(t) {
-			return t * t * t * t * t;
-		},
-
-		/**
-		 * Decelerate to zero velocity.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeOutQuint: function easeOutQuint(t) {
-			return 1 + --t * t * t * t * t;
-		},
-
-		/**
-		 * Accelerate until halfway, then decelerate.
-		 *
-		 * @param t - Time.
-		 * @returns Value at time t.
-		 */
-		easeInOutQuint: function easeInOutQuint(t) {
-			return t < 0.5 ? 16 * t * t * t * t * t : 1 + 16 * --t * t * t * t * t;
-		}
-	};
-	/**
-	 * Experimentaly compute the width of the scrollbar for this browser.
-	 *
-	 * @returns The width in pixels.
-	 */
-
-	function getScrollBarWidth() {
-		var inner = document.createElement("p");
-		inner.style.width = "100%";
-		inner.style.height = "200px";
-		var outer = document.createElement("div");
-		outer.style.position = "absolute";
-		outer.style.top = "0px";
-		outer.style.left = "0px";
-		outer.style.visibility = "hidden";
-		outer.style.width = "200px";
-		outer.style.height = "150px";
-		outer.style.overflow = "hidden";
-		outer.appendChild(inner);
-		document.body.appendChild(outer);
-		var w1 = inner.offsetWidth;
-		outer.style.overflow = "scroll";
-		var w2 = inner.offsetWidth;
-
-		if (w1 == w2) {
-			w2 = outer.clientWidth;
-		}
-
-		document.body.removeChild(outer);
-		return w1 - w2;
-	} // @TODO: This doesn't work properly.
-	// It works only for single property objects,
-	// otherwise it combines all of the types in a union.
-	// export function topMost<K1 extends string, V1> (
-	//   pile: Record<K1, undefined | V1>[],
-	//   accessors: K1 | [K1]
-	// ): undefined | V1
-	// export function topMost<K1 extends string, K2 extends string, V1, V2> (
-	//   pile: Record<K1, undefined | V1 | Record<K2, undefined | V2>>[],
-	//   accessors: [K1, K2]
-	// ): undefined | V1 | V2
-	// export function topMost<K1 extends string, K2 extends string, K3 extends string, V1, V2, V3> (
-	//   pile: Record<K1, undefined | V1 | Record<K2, undefined | V2 | Record<K3, undefined | V3>>>[],
-	//   accessors: [K1, K2, K3]
-	// ): undefined | V1 | V2 | V3
-
-	/**
-	 * Get the top most property value from a pile of objects.
-	 *
-	 * @param pile - Array of objects, no required format.
-	 * @param accessors - Array of property names.
-	 * For example `object['foo']['bar']` → `['foo', 'bar']`.
-	 * @returns Value of the property with given accessors path from the first pile item where it's not undefined.
-	 */
-
-
-	function topMost(pile, accessors) {
-		var candidate;
-
-		if (!isArray$2(accessors)) {
-			accessors = [accessors];
-		}
-
-		var _iterator3 = _createForOfIteratorHelper$8(pile),
-			_step3;
-
-		try {
-			for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
-				var member = _step3.value;
-
-				if (member) {
-					candidate = member[accessors[0]];
-
-					for (var i = 1; i < accessors.length; i++) {
-						if (candidate) {
-							candidate = candidate[accessors[i]];
-						}
-					}
-
-					if (typeof candidate !== "undefined") {
-						break;
-					}
-				}
-			}
-		} catch (err) {
-			_iterator3.e(err);
-		} finally {
-			_iterator3.f();
-		}
-
-		return candidate;
-	}
-
-	var htmlColors = {
-		black: "#000000",
-		navy: "#000080",
-		darkblue: "#00008B",
-		mediumblue: "#0000CD",
-		blue: "#0000FF",
-		darkgreen: "#006400",
-		green: "#008000",
-		teal: "#008080",
-		darkcyan: "#008B8B",
-		deepskyblue: "#00BFFF",
-		darkturquoise: "#00CED1",
-		mediumspringgreen: "#00FA9A",
-		lime: "#00FF00",
-		springgreen: "#00FF7F",
-		aqua: "#00FFFF",
-		cyan: "#00FFFF",
-		midnightblue: "#191970",
-		dodgerblue: "#1E90FF",
-		lightseagreen: "#20B2AA",
-		forestgreen: "#228B22",
-		seagreen: "#2E8B57",
-		darkslategray: "#2F4F4F",
-		limegreen: "#32CD32",
-		mediumseagreen: "#3CB371",
-		turquoise: "#40E0D0",
-		royalblue: "#4169E1",
-		steelblue: "#4682B4",
-		darkslateblue: "#483D8B",
-		mediumturquoise: "#48D1CC",
-		indigo: "#4B0082",
-		darkolivegreen: "#556B2F",
-		cadetblue: "#5F9EA0",
-		cornflowerblue: "#6495ED",
-		mediumaquamarine: "#66CDAA",
-		dimgray: "#696969",
-		slateblue: "#6A5ACD",
-		olivedrab: "#6B8E23",
-		slategray: "#708090",
-		lightslategray: "#778899",
-		mediumslateblue: "#7B68EE",
-		lawngreen: "#7CFC00",
-		chartreuse: "#7FFF00",
-		aquamarine: "#7FFFD4",
-		maroon: "#800000",
-		purple: "#800080",
-		olive: "#808000",
-		gray: "#808080",
-		skyblue: "#87CEEB",
-		lightskyblue: "#87CEFA",
-		blueviolet: "#8A2BE2",
-		darkred: "#8B0000",
-		darkmagenta: "#8B008B",
-		saddlebrown: "#8B4513",
-		darkseagreen: "#8FBC8F",
-		lightgreen: "#90EE90",
-		mediumpurple: "#9370D8",
-		darkviolet: "#9400D3",
-		palegreen: "#98FB98",
-		darkorchid: "#9932CC",
-		yellowgreen: "#9ACD32",
-		sienna: "#A0522D",
-		brown: "#A52A2A",
-		darkgray: "#A9A9A9",
-		lightblue: "#ADD8E6",
-		greenyellow: "#ADFF2F",
-		paleturquoise: "#AFEEEE",
-		lightsteelblue: "#B0C4DE",
-		powderblue: "#B0E0E6",
-		firebrick: "#B22222",
-		darkgoldenrod: "#B8860B",
-		mediumorchid: "#BA55D3",
-		rosybrown: "#BC8F8F",
-		darkkhaki: "#BDB76B",
-		silver: "#C0C0C0",
-		mediumvioletred: "#C71585",
-		indianred: "#CD5C5C",
-		peru: "#CD853F",
-		chocolate: "#D2691E",
-		tan: "#D2B48C",
-		lightgrey: "#D3D3D3",
-		palevioletred: "#D87093",
-		thistle: "#D8BFD8",
-		orchid: "#DA70D6",
-		goldenrod: "#DAA520",
-		crimson: "#DC143C",
-		gainsboro: "#DCDCDC",
-		plum: "#DDA0DD",
-		burlywood: "#DEB887",
-		lightcyan: "#E0FFFF",
-		lavender: "#E6E6FA",
-		darksalmon: "#E9967A",
-		violet: "#EE82EE",
-		palegoldenrod: "#EEE8AA",
-		lightcoral: "#F08080",
-		khaki: "#F0E68C",
-		aliceblue: "#F0F8FF",
-		honeydew: "#F0FFF0",
-		azure: "#F0FFFF",
-		sandybrown: "#F4A460",
-		wheat: "#F5DEB3",
-		beige: "#F5F5DC",
-		whitesmoke: "#F5F5F5",
-		mintcream: "#F5FFFA",
-		ghostwhite: "#F8F8FF",
-		salmon: "#FA8072",
-		antiquewhite: "#FAEBD7",
-		linen: "#FAF0E6",
-		lightgoldenrodyellow: "#FAFAD2",
-		oldlace: "#FDF5E6",
-		red: "#FF0000",
-		fuchsia: "#FF00FF",
-		magenta: "#FF00FF",
-		deeppink: "#FF1493",
-		orangered: "#FF4500",
-		tomato: "#FF6347",
-		hotpink: "#FF69B4",
-		coral: "#FF7F50",
-		darkorange: "#FF8C00",
-		lightsalmon: "#FFA07A",
-		orange: "#FFA500",
-		lightpink: "#FFB6C1",
-		pink: "#FFC0CB",
-		gold: "#FFD700",
-		peachpuff: "#FFDAB9",
-		navajowhite: "#FFDEAD",
-		moccasin: "#FFE4B5",
-		bisque: "#FFE4C4",
-		mistyrose: "#FFE4E1",
-		blanchedalmond: "#FFEBCD",
-		papayawhip: "#FFEFD5",
-		lavenderblush: "#FFF0F5",
-		seashell: "#FFF5EE",
-		cornsilk: "#FFF8DC",
-		lemonchiffon: "#FFFACD",
-		floralwhite: "#FFFAF0",
-		snow: "#FFFAFA",
-		yellow: "#FFFF00",
-		lightyellow: "#FFFFE0",
-		ivory: "#FFFFF0",
-		white: "#FFFFFF"
-	};
-	/**
-	 * @param {number} [pixelRatio=1]
-	 */
-
-	var ColorPicker$1 = /*#__PURE__*/function () {
-		/**
-		 * @param {number} [pixelRatio=1]
-		 */
-		function ColorPicker$1() {
-			var pixelRatio = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
-
-			_classCallCheck(this, ColorPicker$1);
-
-			this.pixelRatio = pixelRatio;
-			this.generated = false;
-			this.centerCoordinates = {
-				x: 289 / 2,
-				y: 289 / 2
-			};
-			this.r = 289 * 0.49;
-			this.color = {
-				r: 255,
-				g: 255,
-				b: 255,
-				a: 1.0
-			};
-			this.hueCircle = undefined;
-			this.initialColor = {
-				r: 255,
-				g: 255,
-				b: 255,
-				a: 1.0
-			};
-			this.previousColor = undefined;
-			this.applied = false; // bound by
-
-			this.updateCallback = function () { };
-
-			this.closeCallback = function () { }; // create all DOM elements
-
-
-			this._create();
-		}
-		/**
-		 * this inserts the colorPicker into a div from the DOM
-		 *
-		 * @param {Element} container
-		 */
-
-
-		_createClass(ColorPicker$1, [{
-			key: "insertTo",
-			value: function insertTo(container) {
-				if (this.hammer !== undefined) {
-					this.hammer.destroy();
-					this.hammer = undefined;
-				}
-
-				this.container = container;
-				this.container.appendChild(this.frame);
-
-				this._bindHammer();
-
-				this._setSize();
-			}
-			/**
-			 * the callback is executed on apply and save. Bind it to the application
-			 *
-			 * @param {Function} callback
-			 */
-
-		}, {
-			key: "setUpdateCallback",
-			value: function setUpdateCallback(callback) {
-				if (typeof callback === "function") {
-					this.updateCallback = callback;
-				} else {
-					throw new Error("Function attempted to set as colorPicker update callback is not a function.");
-				}
-			}
-			/**
-			 * the callback is executed on apply and save. Bind it to the application
-			 *
-			 * @param {Function} callback
-			 */
-
-		}, {
-			key: "setCloseCallback",
-			value: function setCloseCallback(callback) {
-				if (typeof callback === "function") {
-					this.closeCallback = callback;
-				} else {
-					throw new Error("Function attempted to set as colorPicker closing callback is not a function.");
-				}
-			}
-			/**
-			 *
-			 * @param {string} color
-			 * @returns {string}
-			 * @private
-			 */
-
-		}, {
-			key: "_isColorString",
-			value: function _isColorString(color) {
-				if (typeof color === "string") {
-					return htmlColors[color];
-				}
-			}
-			/**
-			 * Set the color of the colorPicker
-			 * Supported formats:
-			 * 'red'                   --> HTML color string
-			 * '#ffffff'               --> hex string
-			 * 'rgb(255,255,255)'      --> rgb string
-			 * 'rgba(255,255,255,1.0)' --> rgba string
-			 * {r:255,g:255,b:255}     --> rgb object
-			 * {r:255,g:255,b:255,a:1.0} --> rgba object
-			 *
-			 * @param {string | object} color
-			 * @param {boolean} [setInitial=true]
-			 */
-
-		}, {
-			key: "setColor",
-			value: function setColor(color) {
-				var setInitial = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-
-				if (color === "none") {
-					return;
-				}
-
-				var rgba; // if a html color shorthand is used, convert to hex
-
-				var htmlColor = this._isColorString(color);
-
-				if (htmlColor !== undefined) {
-					color = htmlColor;
-				} // check format
-
-
-				if (isString(color) === true) {
-					if (isValidRGB(color) === true) {
-						var rgbaArray = color.substr(4).substr(0, color.length - 5).split(",");
-						rgba = {
-							r: rgbaArray[0],
-							g: rgbaArray[1],
-							b: rgbaArray[2],
-							a: 1.0
-						};
-					} else if (isValidRGBA(color) === true) {
-						var _rgbaArray = color.substr(5).substr(0, color.length - 6).split(",");
-
-						rgba = {
-							r: _rgbaArray[0],
-							g: _rgbaArray[1],
-							b: _rgbaArray[2],
-							a: _rgbaArray[3]
-						};
-					} else if (isValidHex(color) === true) {
-						var rgbObj = hexToRGB(color);
-						rgba = {
-							r: rgbObj.r,
-							g: rgbObj.g,
-							b: rgbObj.b,
-							a: 1.0
-						};
-					}
-				} else {
-					if (color instanceof Object) {
-						if (color.r !== undefined && color.g !== undefined && color.b !== undefined) {
-							var alpha = color.a !== undefined ? color.a : "1.0";
-							rgba = {
-								r: color.r,
-								g: color.g,
-								b: color.b,
-								a: alpha
-							};
-						}
-					}
-				} // set color
-
-
-				if (rgba === undefined) {
-					throw new Error("Unknown color passed to the colorPicker. Supported are strings: rgb, hex, rgba. Object: rgb ({r:r,g:g,b:b,[a:a]}). Supplied: " + stringify$1(color));
-				} else {
-					this._setColor(rgba, setInitial);
-				}
-			}
-			/**
-			 * this shows the color picker.
-			 * The hue circle is constructed once and stored.
-			 */
-
-		}, {
-			key: "show",
-			value: function show() {
-				if (this.closeCallback !== undefined) {
-					this.closeCallback();
-					this.closeCallback = undefined;
-				}
-
-				this.applied = false;
-				this.frame.style.display = "block";
-
-				this._generateHueCircle();
-			} // ------------------------------------------ PRIVATE ----------------------------- //
-
-			/**
-			 * Hide the picker. Is called by the cancel button.
-			 * Optional boolean to store the previous color for easy access later on.
-			 *
-			 * @param {boolean} [storePrevious=true]
-			 * @private
-			 */
-
-		}, {
-			key: "_hide",
-			value: function _hide() {
-				var _this2 = this;
-
-				var storePrevious = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
-
-				// store the previous color for next time;
-				if (storePrevious === true) {
-					this.previousColor = assign$2({}, this.color);
-				}
-
-				if (this.applied === true) {
-					this.updateCallback(this.initialColor);
-				}
-
-				this.frame.style.display = "none"; // call the closing callback, restoring the onclick method.
-				// this is in a setTimeout because it will trigger the show again before the click is done.
-
-				setTimeout$1(function () {
-					if (_this2.closeCallback !== undefined) {
-						_this2.closeCallback();
-
-						_this2.closeCallback = undefined;
-					}
-				}, 0);
-			}
-			/**
-			 * bound to the save button. Saves and hides.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_save",
-			value: function _save() {
-				this.updateCallback(this.color);
-				this.applied = false;
-
-				this._hide();
-			}
-			/**
-			 * Bound to apply button. Saves but does not close. Is undone by the cancel button.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_apply",
-			value: function _apply() {
-				this.applied = true;
-				this.updateCallback(this.color);
-
-				this._updatePicker(this.color);
-			}
-			/**
-			 * load the color from the previous session.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_loadLast",
-			value: function _loadLast() {
-				if (this.previousColor !== undefined) {
-					this.setColor(this.previousColor, false);
-				} else {
-					alert("There is no last color to load...");
-				}
-			}
-			/**
-			 * set the color, place the picker
-			 *
-			 * @param {object} rgba
-			 * @param {boolean} [setInitial=true]
-			 * @private
-			 */
-
-		}, {
-			key: "_setColor",
-			value: function _setColor(rgba) {
-				var setInitial = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-
-				// store the initial color
-				if (setInitial === true) {
-					this.initialColor = assign$2({}, rgba);
-				}
-
-				this.color = rgba;
-				var hsv = RGBToHSV(rgba.r, rgba.g, rgba.b);
-				var angleConvert = 2 * Math.PI;
-				var radius = this.r * hsv.s;
-				var x = this.centerCoordinates.x + radius * Math.sin(angleConvert * hsv.h);
-				var y = this.centerCoordinates.y + radius * Math.cos(angleConvert * hsv.h);
-				this.colorPickerSelector.style.left = x - 0.5 * this.colorPickerSelector.clientWidth + "px";
-				this.colorPickerSelector.style.top = y - 0.5 * this.colorPickerSelector.clientHeight + "px";
-
-				this._updatePicker(rgba);
-			}
-			/**
-			 * bound to opacity control
-			 *
-			 * @param {number} value
-			 * @private
-			 */
-
-		}, {
-			key: "_setOpacity",
-			value: function _setOpacity(value) {
-				this.color.a = value / 100;
-
-				this._updatePicker(this.color);
-			}
-			/**
-			 * bound to brightness control
-			 *
-			 * @param {number} value
-			 * @private
-			 */
-
-		}, {
-			key: "_setBrightness",
-			value: function _setBrightness(value) {
-				var hsv = RGBToHSV(this.color.r, this.color.g, this.color.b);
-				hsv.v = value / 100;
-				var rgba = HSVToRGB(hsv.h, hsv.s, hsv.v);
-				rgba["a"] = this.color.a;
-				this.color = rgba;
-
-				this._updatePicker();
-			}
-			/**
-			 * update the color picker. A black circle overlays the hue circle to mimic the brightness decreasing.
-			 *
-			 * @param {object} rgba
-			 * @private
-			 */
-
-		}, {
-			key: "_updatePicker",
-			value: function _updatePicker() {
-				var rgba = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.color;
-				var hsv = RGBToHSV(rgba.r, rgba.g, rgba.b);
-				var ctx = this.colorPickerCanvas.getContext("2d");
-
-				if (this.pixelRation === undefined) {
-					this.pixelRatio = (window.devicePixelRatio || 1) / (ctx.webkitBackingStorePixelRatio || ctx.mozBackingStorePixelRatio || ctx.msBackingStorePixelRatio || ctx.oBackingStorePixelRatio || ctx.backingStorePixelRatio || 1);
-				}
-
-				ctx.setTransform(this.pixelRatio, 0, 0, this.pixelRatio, 0, 0); // clear the canvas
-
-				var w = this.colorPickerCanvas.clientWidth;
-				var h = this.colorPickerCanvas.clientHeight;
-				ctx.clearRect(0, 0, w, h);
-				ctx.putImageData(this.hueCircle, 0, 0);
-				ctx.fillStyle = "rgba(0,0,0," + (1 - hsv.v) + ")";
-				ctx.circle(this.centerCoordinates.x, this.centerCoordinates.y, this.r);
-
-				fill(ctx).call(ctx);
-
-				this.brightnessRange.value = 100 * hsv.v;
-				this.opacityRange.value = 100 * rgba.a;
-				this.initialColorDiv.style.backgroundColor = "rgba(" + this.initialColor.r + "," + this.initialColor.g + "," + this.initialColor.b + "," + this.initialColor.a + ")";
-				this.newColorDiv.style.backgroundColor = "rgba(" + this.color.r + "," + this.color.g + "," + this.color.b + "," + this.color.a + ")";
-			}
-			/**
-			 * used by create to set the size of the canvas.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_setSize",
-			value: function _setSize() {
-				this.colorPickerCanvas.style.width = "100%";
-				this.colorPickerCanvas.style.height = "100%";
-				this.colorPickerCanvas.width = 289 * this.pixelRatio;
-				this.colorPickerCanvas.height = 289 * this.pixelRatio;
-			}
-			/**
-			 * create all dom elements
-			 * TODO: cleanup, lots of similar dom elements
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_create",
-			value: function _create() {
-				var _context16, _context17, _context18, _context19;
-
-				this.frame = document.createElement("div");
-				this.frame.className = "vis-color-picker";
-				this.colorPickerDiv = document.createElement("div");
-				this.colorPickerSelector = document.createElement("div");
-				this.colorPickerSelector.className = "vis-selector";
-				this.colorPickerDiv.appendChild(this.colorPickerSelector);
-				this.colorPickerCanvas = document.createElement("canvas");
-				this.colorPickerDiv.appendChild(this.colorPickerCanvas);
-
-				if (!this.colorPickerCanvas.getContext) {
-					var noCanvas = document.createElement("DIV");
-					noCanvas.style.color = "red";
-					noCanvas.style.fontWeight = "bold";
-					noCanvas.style.padding = "10px";
-					noCanvas.innerText = "Error: your browser does not support HTML canvas";
-					this.colorPickerCanvas.appendChild(noCanvas);
-				} else {
-					var ctx = this.colorPickerCanvas.getContext("2d");
-					this.pixelRatio = (window.devicePixelRatio || 1) / (ctx.webkitBackingStorePixelRatio || ctx.mozBackingStorePixelRatio || ctx.msBackingStorePixelRatio || ctx.oBackingStorePixelRatio || ctx.backingStorePixelRatio || 1);
-					this.colorPickerCanvas.getContext("2d").setTransform(this.pixelRatio, 0, 0, this.pixelRatio, 0, 0);
-				}
-
-				this.colorPickerDiv.className = "vis-color";
-				this.opacityDiv = document.createElement("div");
-				this.opacityDiv.className = "vis-opacity";
-				this.brightnessDiv = document.createElement("div");
-				this.brightnessDiv.className = "vis-brightness";
-				this.arrowDiv = document.createElement("div");
-				this.arrowDiv.className = "vis-arrow";
-				this.opacityRange = document.createElement("input");
-
-				try {
-					this.opacityRange.type = "range"; // Not supported on IE9
-
-					this.opacityRange.min = "0";
-					this.opacityRange.max = "100";
-				} catch (err) {// TODO: Add some error handling.
-				}
-
-				this.opacityRange.value = "100";
-				this.opacityRange.className = "vis-range";
-				this.brightnessRange = document.createElement("input");
-
-				try {
-					this.brightnessRange.type = "range"; // Not supported on IE9
-
-					this.brightnessRange.min = "0";
-					this.brightnessRange.max = "100";
-				} catch (err) {// TODO: Add some error handling.
-				}
-
-				this.brightnessRange.value = "100";
-				this.brightnessRange.className = "vis-range";
-				this.opacityDiv.appendChild(this.opacityRange);
-				this.brightnessDiv.appendChild(this.brightnessRange);
-				var me = this;
-
-				this.opacityRange.onchange = function () {
-					me._setOpacity(this.value);
-				};
-
-				this.opacityRange.oninput = function () {
-					me._setOpacity(this.value);
-				};
-
-				this.brightnessRange.onchange = function () {
-					me._setBrightness(this.value);
-				};
-
-				this.brightnessRange.oninput = function () {
-					me._setBrightness(this.value);
-				};
-
-				this.brightnessLabel = document.createElement("div");
-				this.brightnessLabel.className = "vis-label vis-brightness";
-				this.brightnessLabel.innerText = "brightness:";
-				this.opacityLabel = document.createElement("div");
-				this.opacityLabel.className = "vis-label vis-opacity";
-				this.opacityLabel.innerText = "opacity:";
-				this.newColorDiv = document.createElement("div");
-				this.newColorDiv.className = "vis-new-color";
-				this.newColorDiv.innerText = "new";
-				this.initialColorDiv = document.createElement("div");
-				this.initialColorDiv.className = "vis-initial-color";
-				this.initialColorDiv.innerText = "initial";
-				this.cancelButton = document.createElement("div");
-				this.cancelButton.className = "vis-button vis-cancel";
-				this.cancelButton.innerText = "cancel";
-				this.cancelButton.onclick = bind$6(_context16 = this._hide).call(_context16, this, false);
-				this.applyButton = document.createElement("div");
-				this.applyButton.className = "vis-button vis-apply";
-				this.applyButton.innerText = "apply";
-				this.applyButton.onclick = bind$6(_context17 = this._apply).call(_context17, this);
-				this.saveButton = document.createElement("div");
-				this.saveButton.className = "vis-button vis-save";
-				this.saveButton.innerText = "save";
-				this.saveButton.onclick = bind$6(_context18 = this._save).call(_context18, this);
-				this.loadButton = document.createElement("div");
-				this.loadButton.className = "vis-button vis-load";
-				this.loadButton.innerText = "load last";
-				this.loadButton.onclick = bind$6(_context19 = this._loadLast).call(_context19, this);
-				this.frame.appendChild(this.colorPickerDiv);
-				this.frame.appendChild(this.arrowDiv);
-				this.frame.appendChild(this.brightnessLabel);
-				this.frame.appendChild(this.brightnessDiv);
-				this.frame.appendChild(this.opacityLabel);
-				this.frame.appendChild(this.opacityDiv);
-				this.frame.appendChild(this.newColorDiv);
-				this.frame.appendChild(this.initialColorDiv);
-				this.frame.appendChild(this.cancelButton);
-				this.frame.appendChild(this.applyButton);
-				this.frame.appendChild(this.saveButton);
-				this.frame.appendChild(this.loadButton);
-			}
-			/**
-			 * bind hammer to the color picker
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_bindHammer",
-			value: function _bindHammer() {
-				var _this3 = this;
-
-				this.drag = {};
-				this.pinch = {};
-				this.hammer = new Hammer$1(this.colorPickerCanvas);
-				this.hammer.get("pinch").set({
-					enable: true
-				});
-				this.hammer.on("hammer.input", function (event) {
-					if (event.isFirst) {
-						_this3._moveSelector(event);
-					}
-				});
-				this.hammer.on("tap", function (event) {
-					_this3._moveSelector(event);
-				});
-				this.hammer.on("panstart", function (event) {
-					_this3._moveSelector(event);
-				});
-				this.hammer.on("panmove", function (event) {
-					_this3._moveSelector(event);
-				});
-				this.hammer.on("panend", function (event) {
-					_this3._moveSelector(event);
-				});
-			}
-			/**
-			 * generate the hue circle. This is relatively heavy (200ms) and is done only once on the first time it is shown.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_generateHueCircle",
-			value: function _generateHueCircle() {
-				if (this.generated === false) {
-					var ctx = this.colorPickerCanvas.getContext("2d");
-
-					if (this.pixelRation === undefined) {
-						this.pixelRatio = (window.devicePixelRatio || 1) / (ctx.webkitBackingStorePixelRatio || ctx.mozBackingStorePixelRatio || ctx.msBackingStorePixelRatio || ctx.oBackingStorePixelRatio || ctx.backingStorePixelRatio || 1);
-					}
-
-					ctx.setTransform(this.pixelRatio, 0, 0, this.pixelRatio, 0, 0); // clear the canvas
-
-					var w = this.colorPickerCanvas.clientWidth;
-					var h = this.colorPickerCanvas.clientHeight;
-					ctx.clearRect(0, 0, w, h); // draw hue circle
-
-					var x, y, hue, sat;
-					this.centerCoordinates = {
-						x: w * 0.5,
-						y: h * 0.5
-					};
-					this.r = 0.49 * w;
-					var angleConvert = 2 * Math.PI / 360;
-					var hfac = 1 / 360;
-					var sfac = 1 / this.r;
-					var rgb;
-
-					for (hue = 0; hue < 360; hue++) {
-						for (sat = 0; sat < this.r; sat++) {
-							x = this.centerCoordinates.x + sat * Math.sin(angleConvert * hue);
-							y = this.centerCoordinates.y + sat * Math.cos(angleConvert * hue);
-							rgb = HSVToRGB(hue * hfac, sat * sfac, 1);
-							ctx.fillStyle = "rgb(" + rgb.r + "," + rgb.g + "," + rgb.b + ")";
-							ctx.fillRect(x - 0.5, y - 0.5, 2, 2);
-						}
-					}
-
-					ctx.strokeStyle = "rgba(0,0,0,1)";
-					ctx.circle(this.centerCoordinates.x, this.centerCoordinates.y, this.r);
-					ctx.stroke();
-					this.hueCircle = ctx.getImageData(0, 0, w, h);
-				}
-
-				this.generated = true;
-			}
-			/**
-			 * move the selector. This is called by hammer functions.
-			 *
-			 * @param {Event}  event   The event
-			 * @private
-			 */
-
-		}, {
-			key: "_moveSelector",
-			value: function _moveSelector(event) {
-				var rect = this.colorPickerDiv.getBoundingClientRect();
-				var left = event.center.x - rect.left;
-				var top = event.center.y - rect.top;
-				var centerY = 0.5 * this.colorPickerDiv.clientHeight;
-				var centerX = 0.5 * this.colorPickerDiv.clientWidth;
-				var x = left - centerX;
-				var y = top - centerY;
-				var angle = Math.atan2(x, y);
-				var radius = 0.98 * Math.min(Math.sqrt(x * x + y * y), centerX);
-				var newTop = Math.cos(angle) * radius + centerY;
-				var newLeft = Math.sin(angle) * radius + centerX;
-				this.colorPickerSelector.style.top = newTop - 0.5 * this.colorPickerSelector.clientHeight + "px";
-				this.colorPickerSelector.style.left = newLeft - 0.5 * this.colorPickerSelector.clientWidth + "px"; // set color
-
-				var h = angle / (2 * Math.PI);
-				h = h < 0 ? h + 1 : h;
-				var s = radius / this.r;
-				var hsv = RGBToHSV(this.color.r, this.color.g, this.color.b);
-				hsv.h = h;
-				hsv.s = s;
-				var rgba = HSVToRGB(hsv.h, hsv.s, hsv.v);
-				rgba["a"] = this.color.a;
-				this.color = rgba; // update previews
-
-				this.initialColorDiv.style.backgroundColor = "rgba(" + this.initialColor.r + "," + this.initialColor.g + "," + this.initialColor.b + "," + this.initialColor.a + ")";
-				this.newColorDiv.style.backgroundColor = "rgba(" + this.color.r + "," + this.color.g + "," + this.color.b + "," + this.color.a + ")";
-			}
-		}]);
-
-		return ColorPicker$1;
-	}();
-	/**
-	 * Wrap given text (last argument) in HTML elements (all preceding arguments).
-	 *
-	 * @param {...any} rest - List of tag names followed by inner text.
-	 * @returns An element or a text node.
-	 */
-
-
-	function wrapInTag() {
-		for (var _len5 = arguments.length, rest = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
-			rest[_key5] = arguments[_key5];
-		}
-
-		if (rest.length < 1) {
-			throw new TypeError("Invalid arguments.");
-		} else if (rest.length === 1) {
-			return document.createTextNode(rest[0]);
-		} else {
-			var element = document.createElement(rest[0]);
-			element.appendChild(wrapInTag.apply(void 0, _toConsumableArray(slice(rest).call(rest, 1))));
-			return element;
-		}
-	}
-	/**
-	 * The way this works is for all properties of this.possible options, you can supply the property name in any form to list the options.
-	 * Boolean options are recognised as Boolean
-	 * Number options should be written as array: [default value, min value, max value, stepsize]
-	 * Colors should be written as array: ['color', '#ffffff']
-	 * Strings with should be written as array: [option1, option2, option3, ..]
-	 *
-	 * The options are matched with their counterparts in each of the modules and the values used in the configuration are
-	 */
-
-
-	var Configurator$1 = /*#__PURE__*/function () {
-		/**
-		 * @param {object} parentModule        | the location where parentModule.setOptions() can be called
-		 * @param {object} defaultContainer    | the default container of the module
-		 * @param {object} configureOptions    | the fully configured and predefined options set found in allOptions.js
-		 * @param {number} pixelRatio          | canvas pixel ratio
-		 * @param {Function} hideOption        | custom logic to dynamically hide options
-		 */
-		function Configurator$1(parentModule, defaultContainer, configureOptions) {
-			var pixelRatio = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
-			var hideOption = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : function () {
-				return false;
-			};
-
-			_classCallCheck(this, Configurator$1);
-
-			this.parent = parentModule;
-			this.changedOptions = [];
-			this.container = defaultContainer;
-			this.allowCreation = false;
-			this.hideOption = hideOption;
-			this.options = {};
-			this.initialized = false;
-			this.popupCounter = 0;
-			this.defaultOptions = {
-				enabled: false,
-				filter: true,
-				container: undefined,
-				showButton: true
-			};
-
-			assign$2(this.options, this.defaultOptions);
-
-			this.configureOptions = configureOptions;
-			this.moduleOptions = {};
-			this.domElements = [];
-			this.popupDiv = {};
-			this.popupLimit = 5;
-			this.popupHistory = {};
-			this.colorPicker = new ColorPicker$1(pixelRatio);
-			this.wrapper = undefined;
-		}
-		/**
-		 * refresh all options.
-		 * Because all modules parse their options by themselves, we just use their options. We copy them here.
-		 *
-		 * @param {object} options
-		 */
-
-
-		_createClass(Configurator$1, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (options !== undefined) {
-					// reset the popup history because the indices may have been changed.
-					this.popupHistory = {};
-
-					this._removePopup();
-
-					var enabled = true;
-
-					if (typeof options === "string") {
-						this.options.filter = options;
-					} else if (isArray$2(options)) {
-						this.options.filter = options.join();
-					} else if (_typeof(options) === "object") {
-						if (options == null) {
-							throw new TypeError("options cannot be null");
-						}
-
-						if (options.container !== undefined) {
-							this.options.container = options.container;
-						}
-
-						if (filter(options) !== undefined) {
-							this.options.filter = filter(options);
-						}
-
-						if (options.showButton !== undefined) {
-							this.options.showButton = options.showButton;
-						}
-
-						if (options.enabled !== undefined) {
-							enabled = options.enabled;
-						}
-					} else if (typeof options === "boolean") {
-						this.options.filter = true;
-						enabled = options;
-					} else if (typeof options === "function") {
-						this.options.filter = options;
-						enabled = true;
-					}
-
-					if (filter(this.options) === false) {
-						enabled = false;
-					}
-
-					this.options.enabled = enabled;
-				}
-
-				this._clean();
-			}
-			/**
-			 *
-			 * @param {object} moduleOptions
-			 */
-
-		}, {
-			key: "setModuleOptions",
-			value: function setModuleOptions(moduleOptions) {
-				this.moduleOptions = moduleOptions;
-
-				if (this.options.enabled === true) {
-					this._clean();
-
-					if (this.options.container !== undefined) {
-						this.container = this.options.container;
-					}
-
-					this._create();
-				}
-			}
-			/**
-			 * Create all DOM elements
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_create",
-			value: function _create() {
-				this._clean();
-
-				this.changedOptions = [];
-
-				var filter$1 = filter(this.options);
-
-				var counter = 0;
-				var show = false;
-
-				for (var _option in this.configureOptions) {
-					if (Object.prototype.hasOwnProperty.call(this.configureOptions, _option)) {
-						this.allowCreation = false;
-						show = false;
-
-						if (typeof filter$1 === "function") {
-							show = filter$1(_option, []);
-							show = show || this._handleObject(this.configureOptions[_option], [_option], true);
-						} else if (filter$1 === true || indexOf(filter$1).call(filter$1, _option) !== -1) {
-							show = true;
-						}
-
-						if (show !== false) {
-							this.allowCreation = true; // linebreak between categories
-
-							if (counter > 0) {
-								this._makeItem([]);
-							} // a header for the category
-
-
-							this._makeHeader(_option); // get the sub options
-
-
-							this._handleObject(this.configureOptions[_option], [_option]);
-						}
-
-						counter++;
-					}
-				}
-
-				this._makeButton();
-
-				this._push(); //~ this.colorPicker.insertTo(this.container);
-
-			}
-			/**
-			 * draw all DOM elements on the screen
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_push",
-			value: function _push() {
-				this.wrapper = document.createElement("div");
-				this.wrapper.className = "vis-configuration-wrapper";
-				this.container.appendChild(this.wrapper);
-
-				for (var i = 0; i < this.domElements.length; i++) {
-					this.wrapper.appendChild(this.domElements[i]);
-				}
-
-				this._showPopupIfNeeded();
-			}
-			/**
-			 * delete all DOM elements
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_clean",
-			value: function _clean() {
-				for (var i = 0; i < this.domElements.length; i++) {
-					this.wrapper.removeChild(this.domElements[i]);
-				}
-
-				if (this.wrapper !== undefined) {
-					this.container.removeChild(this.wrapper);
-					this.wrapper = undefined;
-				}
-
-				this.domElements = [];
-
-				this._removePopup();
-			}
-			/**
-			 * get the value from the actualOptions if it exists
-			 *
-			 * @param {Array} path    | where to look for the actual option
-			 * @returns {*}
-			 * @private
-			 */
-
-		}, {
-			key: "_getValue",
-			value: function _getValue(path) {
-				var base = this.moduleOptions;
-
-				for (var i = 0; i < path.length; i++) {
-					if (base[path[i]] !== undefined) {
-						base = base[path[i]];
-					} else {
-						base = undefined;
-						break;
-					}
-				}
-
-				return base;
-			}
-			/**
-			 * all option elements are wrapped in an item
-			 *
-			 * @param {Array} path    | where to look for the actual option
-			 * @param {Array.<Element>} domElements
-			 * @returns {number}
-			 * @private
-			 */
-
-		}, {
-			key: "_makeItem",
-			value: function _makeItem(path) {
-				if (this.allowCreation === true) {
-					var item = document.createElement("div");
-					item.className = "vis-configuration vis-config-item vis-config-s" + path.length;
-
-					for (var _len6 = arguments.length, domElements = new Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) {
-						domElements[_key6 - 1] = arguments[_key6];
-					}
-
-					forEach$2(domElements).call(domElements, function (element) {
-						item.appendChild(element);
-					});
-
-					this.domElements.push(item);
-					return this.domElements.length;
-				}
-
-				return 0;
-			}
-			/**
-			 * header for major subjects
-			 *
-			 * @param {string} name
-			 * @private
-			 */
-
-		}, {
-			key: "_makeHeader",
-			value: function _makeHeader(name) {
-				var div = document.createElement("div");
-				div.className = "vis-configuration vis-config-header";
-				div.innerText = name;
-
-				this._makeItem([], div);
-			}
-			/**
-			 * make a label, if it is an object label, it gets different styling.
-			 *
-			 * @param {string} name
-			 * @param {Array} path    | where to look for the actual option
-			 * @param {string} objectLabel
-			 * @returns {HTMLElement}
-			 * @private
-			 */
-
-		}, {
-			key: "_makeLabel",
-			value: function _makeLabel(name, path) {
-				var objectLabel = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-				var div = document.createElement("div");
-				div.className = "vis-configuration vis-config-label vis-config-s" + path.length;
-
-				if (objectLabel === true) {
-					while (div.firstChild) {
-						div.removeChild(div.firstChild);
-					}
-
-					div.appendChild(wrapInTag("i", "b", name));
-				} else {
-					div.innerText = name + ":";
-				}
-
-				return div;
-			}
-			/**
-			 * make a dropdown list for multiple possible string optoins
-			 *
-			 * @param {Array.<number>} arr
-			 * @param {number} value
-			 * @param {Array} path    | where to look for the actual option
-			 * @private
-			 */
-
-		}, {
-			key: "_makeDropdown",
-			value: function _makeDropdown(arr, value, path) {
-				var select = document.createElement("select");
-				select.className = "vis-configuration vis-config-select";
-				var selectedValue = 0;
-
-				if (value !== undefined) {
-					if (indexOf(arr).call(arr, value) !== -1) {
-						selectedValue = indexOf(arr).call(arr, value);
-					}
-				}
-
-				for (var i = 0; i < arr.length; i++) {
-					var _option2 = document.createElement("option");
-
-					_option2.value = arr[i];
-
-					if (i === selectedValue) {
-						_option2.selected = "selected";
-					}
-
-					_option2.innerText = arr[i];
-					select.appendChild(_option2);
-				}
-
-				var me = this;
-
-				select.onchange = function () {
-					me._update(this.value, path);
-				};
-
-				var label = this._makeLabel(path[path.length - 1], path);
-
-				this._makeItem(path, label, select);
-			}
-			/**
-			 * make a range object for numeric options
-			 *
-			 * @param {Array.<number>} arr
-			 * @param {number} value
-			 * @param {Array} path    | where to look for the actual option
-			 * @private
-			 */
-
-		}, {
-			key: "_makeRange",
-			value: function _makeRange(arr, value, path) {
-				var defaultValue = arr[0];
-				var min = arr[1];
-				var max = arr[2];
-				var step = arr[3];
-				var range = document.createElement("input");
-				range.className = "vis-configuration vis-config-range";
-
-				try {
-					range.type = "range"; // not supported on IE9
-
-					range.min = min;
-					range.max = max;
-				} catch (err) {// TODO: Add some error handling.
-				}
-
-				range.step = step; // set up the popup settings in case they are needed.
-
-				var popupString = "";
-				var popupValue = 0;
-
-				if (value !== undefined) {
-					var factor = 1.2;
-
-					if (value < 0 && value * factor < min) {
-						range.min = Math.ceil(value * factor);
-						popupValue = range.min;
-						popupString = "range increased";
-					} else if (value / factor < min) {
-						range.min = Math.ceil(value / factor);
-						popupValue = range.min;
-						popupString = "range increased";
-					}
-
-					if (value * factor > max && max !== 1) {
-						range.max = Math.ceil(value * factor);
-						popupValue = range.max;
-						popupString = "range increased";
-					}
-
-					range.value = value;
-				} else {
-					range.value = defaultValue;
-				}
-
-				var input = document.createElement("input");
-				input.className = "vis-configuration vis-config-rangeinput";
-				input.value = range.value;
-				var me = this;
-
-				range.onchange = function () {
-					input.value = this.value;
-
-					me._update(Number(this.value), path);
-				};
-
-				range.oninput = function () {
-					input.value = this.value;
-				};
-
-				var label = this._makeLabel(path[path.length - 1], path);
-
-				var itemIndex = this._makeItem(path, label, range, input); // if a popup is needed AND it has not been shown for this value, show it.
-
-
-				if (popupString !== "" && this.popupHistory[itemIndex] !== popupValue) {
-					this.popupHistory[itemIndex] = popupValue;
-
-					this._setupPopup(popupString, itemIndex);
-				}
-			}
-			/**
-			 * make a button object
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_makeButton",
-			value: function _makeButton() {
-				var _this4 = this;
-
-				if (this.options.showButton === true) {
-					var generateButton = document.createElement("div");
-					generateButton.className = "vis-configuration vis-config-button";
-					generateButton.innerText = "generate options";
-
-					generateButton.onclick = function () {
-						_this4._printOptions();
-					};
-
-					generateButton.onmouseover = function () {
-						generateButton.className = "vis-configuration vis-config-button hover";
-					};
-
-					generateButton.onmouseout = function () {
-						generateButton.className = "vis-configuration vis-config-button";
-					};
-
-					this.optionsContainer = document.createElement("div");
-					this.optionsContainer.className = "vis-configuration vis-config-option-container";
-					this.domElements.push(this.optionsContainer);
-					this.domElements.push(generateButton);
-				}
-			}
-			/**
-			 * prepare the popup
-			 *
-			 * @param {string} string
-			 * @param {number} index
-			 * @private
-			 */
-
-		}, {
-			key: "_setupPopup",
-			value: function _setupPopup(string, index) {
-				var _this5 = this;
-
-				if (this.initialized === true && this.allowCreation === true && this.popupCounter < this.popupLimit) {
-					var div = document.createElement("div");
-					div.id = "vis-configuration-popup";
-					div.className = "vis-configuration-popup";
-					div.innerText = string;
-
-					div.onclick = function () {
-						_this5._removePopup();
-					};
-
-					this.popupCounter += 1;
-					this.popupDiv = {
-						html: div,
-						index: index
-					};
-				}
-			}
-			/**
-			 * remove the popup from the dom
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_removePopup",
-			value: function _removePopup() {
-				if (this.popupDiv.html !== undefined) {
-					this.popupDiv.html.parentNode.removeChild(this.popupDiv.html);
-					clearTimeout(this.popupDiv.hideTimeout);
-					clearTimeout(this.popupDiv.deleteTimeout);
-					this.popupDiv = {};
-				}
-			}
-			/**
-			 * Show the popup if it is needed.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_showPopupIfNeeded",
-			value: function _showPopupIfNeeded() {
-				var _this6 = this;
-
-				if (this.popupDiv.html !== undefined) {
-					var correspondingElement = this.domElements[this.popupDiv.index];
-					var rect = correspondingElement.getBoundingClientRect();
-					this.popupDiv.html.style.left = rect.left + "px";
-					this.popupDiv.html.style.top = rect.top - 30 + "px"; // 30 is the height;
-
-					document.body.appendChild(this.popupDiv.html);
-					this.popupDiv.hideTimeout = setTimeout$1(function () {
-						_this6.popupDiv.html.style.opacity = 0;
-					}, 1500);
-					this.popupDiv.deleteTimeout = setTimeout$1(function () {
-						_this6._removePopup();
-					}, 1800);
-				}
-			}
-			/**
-			 * make a checkbox for boolean options.
-			 *
-			 * @param {number} defaultValue
-			 * @param {number} value
-			 * @param {Array} path    | where to look for the actual option
-			 * @private
-			 */
-
-		}, {
-			key: "_makeCheckbox",
-			value: function _makeCheckbox(defaultValue, value, path) {
-				var checkbox = document.createElement("input");
-				checkbox.type = "checkbox";
-				checkbox.className = "vis-configuration vis-config-checkbox";
-				checkbox.checked = defaultValue;
-
-				if (value !== undefined) {
-					checkbox.checked = value;
-
-					if (value !== defaultValue) {
-						if (_typeof(defaultValue) === "object") {
-							if (value !== defaultValue.enabled) {
-								this.changedOptions.push({
-									path: path,
-									value: value
-								});
-							}
-						} else {
-							this.changedOptions.push({
-								path: path,
-								value: value
-							});
-						}
-					}
-				}
-
-				var me = this;
-
-				checkbox.onchange = function () {
-					me._update(this.checked, path);
-				};
-
-				var label = this._makeLabel(path[path.length - 1], path);
-
-				this._makeItem(path, label, checkbox);
-			}
-			/**
-			 * make a text input field for string options.
-			 *
-			 * @param {number} defaultValue
-			 * @param {number} value
-			 * @param {Array} path    | where to look for the actual option
-			 * @private
-			 */
-
-		}, {
-			key: "_makeTextInput",
-			value: function _makeTextInput(defaultValue, value, path) {
-				var checkbox = document.createElement("input");
-				checkbox.type = "text";
-				checkbox.className = "vis-configuration vis-config-text";
-				checkbox.value = value;
-
-				if (value !== defaultValue) {
-					this.changedOptions.push({
-						path: path,
-						value: value
-					});
-				}
-
-				var me = this;
-
-				checkbox.onchange = function () {
-					me._update(this.value, path);
-				};
-
-				var label = this._makeLabel(path[path.length - 1], path);
-
-				this._makeItem(path, label, checkbox);
-			}
-			/**
-			 * make a color field with a color picker for color fields
-			 *
-			 * @param {Array.<number>} arr
-			 * @param {number} value
-			 * @param {Array} path    | where to look for the actual option
-			 * @private
-			 */
-
-		}, {
-			key: "_makeColorField",
-			value: function _makeColorField(arr, value, path) {
-				var _this7 = this;
-
-				var defaultColor = arr[1];
-				var div = document.createElement("div");
-				value = value === undefined ? defaultColor : value;
-
-				if (value !== "none") {
-					div.className = "vis-configuration vis-config-colorBlock";
-					div.style.backgroundColor = value;
-				} else {
-					div.className = "vis-configuration vis-config-colorBlock none";
-				}
-
-				value = value === undefined ? defaultColor : value;
-
-				div.onclick = function () {
-					_this7._showColorPicker(value, div, path);
-				};
-
-				var label = this._makeLabel(path[path.length - 1], path);
-
-				this._makeItem(path, label, div);
-			}
-			/**
-			 * used by the color buttons to call the color picker.
-			 *
-			 * @param {number} value
-			 * @param {HTMLElement} div
-			 * @param {Array} path    | where to look for the actual option
-			 * @private
-			 */
-
-		}, {
-			key: "_showColorPicker",
-			value: function _showColorPicker(value, div, path) {
-				var _this8 = this;
-
-				// clear the callback from this div
-				div.onclick = function () { };
-
-				this.colorPicker.insertTo(div);
-				this.colorPicker.show();
-				this.colorPicker.setColor(value);
-				this.colorPicker.setUpdateCallback(function (color) {
-					var colorString = "rgba(" + color.r + "," + color.g + "," + color.b + "," + color.a + ")";
-					div.style.backgroundColor = colorString;
-
-					_this8._update(colorString, path);
-				}); // on close of the colorpicker, restore the callback.
-
-				this.colorPicker.setCloseCallback(function () {
-					div.onclick = function () {
-						_this8._showColorPicker(value, div, path);
-					};
-				});
-			}
-			/**
-			 * parse an object and draw the correct items
-			 *
-			 * @param {object} obj
-			 * @param {Array} [path=[]]    | where to look for the actual option
-			 * @param {boolean} [checkOnly=false]
-			 * @returns {boolean}
-			 * @private
-			 */
-
-		}, {
-			key: "_handleObject",
-			value: function _handleObject(obj) {
-				var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
-				var checkOnly = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-				var show = false;
-
-				var filter$1 = filter(this.options);
-
-				var visibleInSet = false;
-
-				for (var subObj in obj) {
-					if (Object.prototype.hasOwnProperty.call(obj, subObj)) {
-						show = true;
-						var item = obj[subObj];
-						var newPath = copyAndExtendArray(path, subObj);
-
-						if (typeof filter$1 === "function") {
-							show = filter$1(subObj, path); // if needed we must go deeper into the object.
-
-							if (show === false) {
-								if (!isArray$2(item) && typeof item !== "string" && typeof item !== "boolean" && item instanceof Object) {
-									this.allowCreation = false;
-									show = this._handleObject(item, newPath, true);
-									this.allowCreation = checkOnly === false;
-								}
-							}
-						}
-
-						if (show !== false) {
-							visibleInSet = true;
-
-							var value = this._getValue(newPath);
-
-							if (isArray$2(item)) {
-								this._handleArray(item, value, newPath);
-							} else if (typeof item === "string") {
-								this._makeTextInput(item, value, newPath);
-							} else if (typeof item === "boolean") {
-								this._makeCheckbox(item, value, newPath);
-							} else if (item instanceof Object) {
-								// skip the options that are not enabled
-								if (!this.hideOption(path, subObj, this.moduleOptions)) {
-									// initially collapse options with an disabled enabled option.
-									if (item.enabled !== undefined) {
-										var enabledPath = copyAndExtendArray(newPath, "enabled");
-
-										var enabledValue = this._getValue(enabledPath);
-
-										if (enabledValue === true) {
-											var label = this._makeLabel(subObj, newPath, true);
-
-											this._makeItem(newPath, label);
-
-											visibleInSet = this._handleObject(item, newPath) || visibleInSet;
-										} else {
-											this._makeCheckbox(item, enabledValue, newPath);
-										}
-									} else {
-										var _label = this._makeLabel(subObj, newPath, true);
-
-										this._makeItem(newPath, _label);
-
-										visibleInSet = this._handleObject(item, newPath) || visibleInSet;
-									}
-								}
-							} else {
-								console.error("dont know how to handle", item, subObj, newPath);
-							}
-						}
-					}
-				}
-
-				return visibleInSet;
-			}
-			/**
-			 * handle the array type of option
-			 *
-			 * @param {Array.<number>} arr
-			 * @param {number} value
-			 * @param {Array} path    | where to look for the actual option
-			 * @private
-			 */
-
-		}, {
-			key: "_handleArray",
-			value: function _handleArray(arr, value, path) {
-				if (typeof arr[0] === "string" && arr[0] === "color") {
-					this._makeColorField(arr, value, path);
-
-					if (arr[1] !== value) {
-						this.changedOptions.push({
-							path: path,
-							value: value
-						});
-					}
-				} else if (typeof arr[0] === "string") {
-					this._makeDropdown(arr, value, path);
-
-					if (arr[0] !== value) {
-						this.changedOptions.push({
-							path: path,
-							value: value
-						});
-					}
-				} else if (typeof arr[0] === "number") {
-					this._makeRange(arr, value, path);
-
-					if (arr[0] !== value) {
-						this.changedOptions.push({
-							path: path,
-							value: Number(value)
-						});
-					}
-				}
-			}
-			/**
-			 * called to update the network with the new settings.
-			 *
-			 * @param {number} value
-			 * @param {Array} path    | where to look for the actual option
-			 * @private
-			 */
-
-		}, {
-			key: "_update",
-			value: function _update(value, path) {
-				var options = this._constructOptions(value, path);
-
-				if (this.parent.body && this.parent.body.emitter && this.parent.body.emitter.emit) {
-					this.parent.body.emitter.emit("configChange", options);
-				}
-
-				this.initialized = true;
-				this.parent.setOptions(options);
-			}
-			/**
-			 *
-			 * @param {string | boolean} value
-			 * @param {Array.<string>} path
-			 * @param {{}} optionsObj
-			 * @returns {{}}
-			 * @private
-			 */
-
-		}, {
-			key: "_constructOptions",
-			value: function _constructOptions(value, path) {
-				var optionsObj = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
-				var pointer = optionsObj; // when dropdown boxes can be string or boolean, we typecast it into correct types
-
-				value = value === "true" ? true : value;
-				value = value === "false" ? false : value;
-
-				for (var i = 0; i < path.length; i++) {
-					if (path[i] !== "global") {
-						if (pointer[path[i]] === undefined) {
-							pointer[path[i]] = {};
-						}
-
-						if (i !== path.length - 1) {
-							pointer = pointer[path[i]];
-						} else {
-							pointer[path[i]] = value;
-						}
-					}
-				}
-
-				return optionsObj;
-			}
-			/**
-			 * @private
-			 */
-
-		}, {
-			key: "_printOptions",
-			value: function _printOptions() {
-				var options = this.getOptions();
-
-				while (this.optionsContainer.firstChild) {
-					this.optionsContainer.removeChild(this.optionsContainer.firstChild);
-				}
-
-				this.optionsContainer.appendChild(wrapInTag("pre", "const options = " + stringify$1(options, null, 2)));
-			}
-			/**
-			 *
-			 * @returns {{}} options
-			 */
-
-		}, {
-			key: "getOptions",
-			value: function getOptions() {
-				var options = {};
-
-				for (var i = 0; i < this.changedOptions.length; i++) {
-					this._constructOptions(this.changedOptions[i].value, this.changedOptions[i].path, options);
-				}
-
-				return options;
-			}
-		}]);
-
-		return Configurator$1;
-	}();
-	/**
-	 * Popup is a class to create a popup window with some text
-	 */
-
-
-	var Popup$1 = /*#__PURE__*/function () {
-		/**
-		 * @param {Element} container       The container object.
-		 * @param {string}  overflowMethod  How the popup should act to overflowing ('flip' or 'cap')
-		 */
-		function Popup$1(container, overflowMethod) {
-			_classCallCheck(this, Popup$1);
-
-			this.container = container;
-			this.overflowMethod = overflowMethod || "cap";
-			this.x = 0;
-			this.y = 0;
-			this.padding = 5;
-			this.hidden = false; // create the frame
-
-			this.frame = document.createElement("div");
-			this.frame.className = "vis-tooltip";
-			this.container.appendChild(this.frame);
-		}
-		/**
-		 * @param {number} x   Horizontal position of the popup window
-		 * @param {number} y   Vertical position of the popup window
-		 */
-
-
-		_createClass(Popup$1, [{
-			key: "setPosition",
-			value: function setPosition(x, y) {
-				this.x = _parseInt(x);
-				this.y = _parseInt(y);
-			}
-			/**
-			 * Set the content for the popup window. This can be HTML code or text.
-			 *
-			 * @param {string | Element} content
-			 */
-
-		}, {
-			key: "setText",
-			value: function setText(content) {
-				if (content instanceof Element) {
-					while (this.frame.firstChild) {
-						this.frame.removeChild(this.frame.firstChild);
-					}
-
-					this.frame.appendChild(content);
-				} else {
-					// String containing literal text, element has to be used for HTML due to
-					// XSS risks associated with innerHTML (i.e. prevent XSS by accident).
-					this.frame.innerText = content;
-				}
-			}
-			/**
-			 * Show the popup window
-			 *
-			 * @param {boolean} [doShow]    Show or hide the window
-			 */
-
-		}, {
-			key: "show",
-			value: function show(doShow) {
-				if (doShow === undefined) {
-					doShow = true;
-				}
-
-				if (doShow === true) {
-					var height = this.frame.clientHeight;
-					var width = this.frame.clientWidth;
-					var maxHeight = this.frame.parentNode.clientHeight;
-					var maxWidth = this.frame.parentNode.clientWidth;
-					var left = 0,
-						top = 0;
-
-					if (this.overflowMethod == "flip") {
-						var isLeft = false,
-							isTop = true; // Where around the position it's located
-
-						if (this.y - height < this.padding) {
-							isTop = false;
-						}
-
-						if (this.x + width > maxWidth - this.padding) {
-							isLeft = true;
-						}
-
-						if (isLeft) {
-							left = this.x - width;
-						} else {
-							left = this.x;
-						}
-
-						if (isTop) {
-							top = this.y - height;
-						} else {
-							top = this.y;
-						}
-					} else {
-						top = this.y - height;
-
-						if (top + height + this.padding > maxHeight) {
-							top = maxHeight - height - this.padding;
-						}
-
-						if (top < this.padding) {
-							top = this.padding;
-						}
-
-						left = this.x;
-
-						if (left + width + this.padding > maxWidth) {
-							left = maxWidth - width - this.padding;
-						}
-
-						if (left < this.padding) {
-							left = this.padding;
-						}
-					}
-
-					this.frame.style.left = left + "px";
-					this.frame.style.top = top + "px";
-					this.frame.style.visibility = "visible";
-					this.hidden = false;
-				} else {
-					this.hide();
-				}
-			}
-			/**
-			 * Hide the popup window
-			 */
-
-		}, {
-			key: "hide",
-			value: function hide() {
-				this.hidden = true;
-				this.frame.style.left = "0";
-				this.frame.style.top = "0";
-				this.frame.style.visibility = "hidden";
-			}
-			/**
-			 * Remove the popup window
-			 */
-
-		}, {
-			key: "destroy",
-			value: function destroy() {
-				this.frame.parentNode.removeChild(this.frame); // Remove element from DOM
-			}
-		}]);
-
-		return Popup$1;
-	}();
-
-	var errorFound = false;
-	var allOptions$2;
-	var VALIDATOR_PRINT_STYLE$1 = "background: #FFeeee; color: #dd0000";
-	/**
-	 *  Used to validate options.
-	 */
-
-	var Validator$1 = /*#__PURE__*/function () {
-		function Validator$1() {
-			_classCallCheck(this, Validator$1);
-		}
-
-		_createClass(Validator$1, null, [{
-			key: "validate",
-			value:
-				/**
-				 * Main function to be called
-				 *
-				 * @param {object} options
-				 * @param {object} referenceOptions
-				 * @param {object} subObject
-				 * @returns {boolean}
-				 * @static
-				 */
-				function validate(options, referenceOptions, subObject) {
-					errorFound = false;
-					allOptions$2 = referenceOptions;
-					var usedOptions = referenceOptions;
-
-					if (subObject !== undefined) {
-						usedOptions = referenceOptions[subObject];
-					}
-
-					Validator$1.parse(options, usedOptions, []);
-					return errorFound;
-				}
-			/**
-			 * Will traverse an object recursively and check every value
-			 *
-			 * @param {object} options
-			 * @param {object} referenceOptions
-			 * @param {Array} path    | where to look for the actual option
-			 * @static
-			 */
-
-		}, {
-			key: "parse",
-			value: function parse(options, referenceOptions, path) {
-				for (var _option3 in options) {
-					if (Object.prototype.hasOwnProperty.call(options, _option3)) {
-						Validator$1.check(_option3, options, referenceOptions, path);
-					}
-				}
-			}
-			/**
-			 * Check every value. If the value is an object, call the parse function on that object.
-			 *
-			 * @param {string} option
-			 * @param {object} options
-			 * @param {object} referenceOptions
-			 * @param {Array} path    | where to look for the actual option
-			 * @static
-			 */
-
-		}, {
-			key: "check",
-			value: function check(option, options, referenceOptions, path) {
-				if (referenceOptions[option] === undefined && referenceOptions.__any__ === undefined) {
-					Validator$1.getSuggestion(option, referenceOptions, path);
-					return;
-				}
-
-				var referenceOption = option;
-				var is_object = true;
-
-				if (referenceOptions[option] === undefined && referenceOptions.__any__ !== undefined) {
-					// NOTE: This only triggers if the __any__ is in the top level of the options object.
-					//       THAT'S A REALLY BAD PLACE TO ALLOW IT!!!!
-					// TODO: Examine if needed, remove if possible
-					// __any__ is a wildcard. Any value is accepted and will be further analysed by reference.
-					referenceOption = "__any__"; // if the any-subgroup is not a predefined object in the configurator,
-					// we do not look deeper into the object.
-
-					is_object = Validator$1.getType(options[option]) === "object";
-				}
-
-				var refOptionObj = referenceOptions[referenceOption];
-
-				if (is_object && refOptionObj.__type__ !== undefined) {
-					refOptionObj = refOptionObj.__type__;
-				}
-
-				Validator$1.checkFields(option, options, referenceOptions, referenceOption, refOptionObj, path);
-			}
-			/**
-			 *
-			 * @param {string}  option           | the option property
-			 * @param {object}  options          | The supplied options object
-			 * @param {object}  referenceOptions | The reference options containing all options and their allowed formats
-			 * @param {string}  referenceOption  | Usually this is the same as option, except when handling an __any__ tag.
-			 * @param {string}  refOptionObj     | This is the type object from the reference options
-			 * @param {Array}   path             | where in the object is the option
-			 * @static
-			 */
-
-		}, {
-			key: "checkFields",
-			value: function checkFields(option, options, referenceOptions, referenceOption, refOptionObj, path) {
-				var log = function log(message) {
-					console.error("%c" + message + Validator$1.printLocation(path, option), VALIDATOR_PRINT_STYLE$1);
-				};
-
-				var optionType = Validator$1.getType(options[option]);
-				var refOptionType = refOptionObj[optionType];
-
-				if (refOptionType !== undefined) {
-					// if the type is correct, we check if it is supposed to be one of a few select values
-					if (Validator$1.getType(refOptionType) === "array" && indexOf(refOptionType).call(refOptionType, options[option]) === -1) {
-						log('Invalid option detected in "' + option + '".' + " Allowed values are:" + Validator$1.print(refOptionType) + ' not "' + options[option] + '". ');
-						errorFound = true;
-					} else if (optionType === "object" && referenceOption !== "__any__") {
-						path = copyAndExtendArray(path, option);
-						Validator$1.parse(options[option], referenceOptions[referenceOption], path);
-					}
-				} else if (refOptionObj["any"] === undefined) {
-					// type of the field is incorrect and the field cannot be any
-					log('Invalid type received for "' + option + '". Expected: ' + Validator$1.print(keys$4(refOptionObj)) + ". Received [" + optionType + '] "' + options[option] + '"');
-					errorFound = true;
-				}
-			}
-			/**
-			 *
-			 * @param {object | boolean | number | string | Array.<number> | Date | Node | Moment | undefined | null} object
-			 * @returns {string}
-			 * @static
-			 */
-
-		}, {
-			key: "getType",
-			value: function getType(object) {
-				var type = _typeof(object);
-
-				if (type === "object") {
-					if (object === null) {
-						return "null";
-					}
-
-					if (object instanceof Boolean) {
-						return "boolean";
-					}
-
-					if (object instanceof Number) {
-						return "number";
-					}
-
-					if (object instanceof String) {
-						return "string";
-					}
-
-					if (isArray$2(object)) {
-						return "array";
-					}
-
-					if (object instanceof Date) {
-						return "date";
-					}
-
-					if (object.nodeType !== undefined) {
-						return "dom";
-					}
-
-					if (object._isAMomentObject === true) {
-						return "moment";
-					}
-
-					return "object";
-				} else if (type === "number") {
-					return "number";
-				} else if (type === "boolean") {
-					return "boolean";
-				} else if (type === "string") {
-					return "string";
-				} else if (type === undefined) {
-					return "undefined";
-				}
-
-				return type;
-			}
-			/**
-			 * @param {string} option
-			 * @param {object} options
-			 * @param {Array.<string>} path
-			 * @static
-			 */
-
-		}, {
-			key: "getSuggestion",
-			value: function getSuggestion(option, options, path) {
-				var localSearch = Validator$1.findInOptions(option, options, path, false);
-				var globalSearch = Validator$1.findInOptions(option, allOptions$2, [], true);
-				var localSearchThreshold = 8;
-				var globalSearchThreshold = 4;
-				var msg;
-
-				if (localSearch.indexMatch !== undefined) {
-					msg = " in " + Validator$1.printLocation(localSearch.path, option, "") + 'Perhaps it was incomplete? Did you mean: "' + localSearch.indexMatch + '"?\n\n';
-				} else if (globalSearch.distance <= globalSearchThreshold && localSearch.distance > globalSearch.distance) {
-					msg = " in " + Validator$1.printLocation(localSearch.path, option, "") + "Perhaps it was misplaced? Matching option found at: " + Validator$1.printLocation(globalSearch.path, globalSearch.closestMatch, "");
-				} else if (localSearch.distance <= localSearchThreshold) {
-					msg = '. Did you mean "' + localSearch.closestMatch + '"?' + Validator$1.printLocation(localSearch.path, option);
-				} else {
-					msg = ". Did you mean one of these: " + Validator$1.print(keys$4(options)) + Validator$1.printLocation(path, option);
-				}
-
-				console.error('%cUnknown option detected: "' + option + '"' + msg, VALIDATOR_PRINT_STYLE$1);
-				errorFound = true;
-			}
-			/**
-			 * traverse the options in search for a match.
-			 *
-			 * @param {string} option
-			 * @param {object} options
-			 * @param {Array} path    | where to look for the actual option
-			 * @param {boolean} [recursive=false]
-			 * @returns {{closestMatch: string, path: Array, distance: number}}
-			 * @static
-			 */
-
-		}, {
-			key: "findInOptions",
-			value: function findInOptions(option, options, path) {
-				var recursive = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
-				var min = 1e9;
-				var closestMatch = "";
-				var closestMatchPath = [];
-				var lowerCaseOption = option.toLowerCase();
-				var indexMatch = undefined;
-
-				for (var op in options) {
-					var distance = void 0;
-
-					if (options[op].__type__ !== undefined && recursive === true) {
-						var result = Validator$1.findInOptions(option, options[op], copyAndExtendArray(path, op));
-
-						if (min > result.distance) {
-							closestMatch = result.closestMatch;
-							closestMatchPath = result.path;
-							min = result.distance;
-							indexMatch = result.indexMatch;
-						}
-					} else {
-						var _context20;
-
-						if (indexOf(_context20 = op.toLowerCase()).call(_context20, lowerCaseOption) !== -1) {
-							indexMatch = op;
-						}
-
-						distance = Validator$1.levenshteinDistance(option, op);
-
-						if (min > distance) {
-							closestMatch = op;
-							closestMatchPath = copyArray(path);
-							min = distance;
-						}
-					}
-				}
-
-				return {
-					closestMatch: closestMatch,
-					path: closestMatchPath,
-					distance: min,
-					indexMatch: indexMatch
-				};
-			}
-			/**
-			 * @param {Array.<string>} path
-			 * @param {object} option
-			 * @param {string} prefix
-			 * @returns {string}
-			 * @static
-			 */
-
-		}, {
-			key: "printLocation",
-			value: function printLocation(path, option) {
-				var prefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "Problem value found at: \n";
-				var str = "\n\n" + prefix + "options = {\n";
-
-				for (var i = 0; i < path.length; i++) {
-					for (var j = 0; j < i + 1; j++) {
-						str += "  ";
-					}
-
-					str += path[i] + ": {\n";
-				}
-
-				for (var _j = 0; _j < path.length + 1; _j++) {
-					str += "  ";
-				}
-
-				str += option + "\n";
-
-				for (var _i3 = 0; _i3 < path.length + 1; _i3++) {
-					for (var _j2 = 0; _j2 < path.length - _i3; _j2++) {
-						str += "  ";
-					}
-
-					str += "}\n";
-				}
-
-				return str + "\n\n";
-			}
-			/**
-			 * @param {object} options
-			 * @returns {string}
-			 * @static
-			 */
-
-		}, {
-			key: "print",
-			value: function print(options) {
-				return stringify$1(options).replace(/(")|(\[)|(\])|(,"__type__")/g, "").replace(/(,)/g, ", ");
-			}
-			/**
-			 *  Compute the edit distance between the two given strings
-			 * http://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Levenshtein_distance#JavaScript
-			 *
-			 * Copyright (c) 2011 Andrei Mackenzie
-			 *
-			 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-			 *
-			 * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-			 *
-			 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-			 *
-			 * @param {string} a
-			 * @param {string} b
-			 * @returns {Array.<Array.<number>>}}
-			 * @static
-			 */
-
-		}, {
-			key: "levenshteinDistance",
-			value: function levenshteinDistance(a, b) {
-				if (a.length === 0) return b.length;
-				if (b.length === 0) return a.length;
-				var matrix = []; // increment along the first column of each row
-
-				var i;
-
-				for (i = 0; i <= b.length; i++) {
-					matrix[i] = [i];
-				} // increment each column in the first row
-
-
-				var j;
-
-				for (j = 0; j <= a.length; j++) {
-					matrix[0][j] = j;
-				} // Fill in the rest of the matrix
-
-
-				for (i = 1; i <= b.length; i++) {
-					for (j = 1; j <= a.length; j++) {
-						if (b.charAt(i - 1) == a.charAt(j - 1)) {
-							matrix[i][j] = matrix[i - 1][j - 1];
-						} else {
-							matrix[i][j] = Math.min(matrix[i - 1][j - 1] + 1, // substitution
-								Math.min(matrix[i][j - 1] + 1, // insertion
-									matrix[i - 1][j] + 1)); // deletion
-						}
-					}
-				}
-
-				return matrix[b.length][a.length];
-			}
-		}]);
-
-		return Validator$1;
-	}();
-
-	var Activator = Activator$1;
-	var ColorPicker = ColorPicker$1;
-	var Configurator = Configurator$1;
-	var Hammer = Hammer$1;
-	var Popup = Popup$1;
-	var VALIDATOR_PRINT_STYLE = VALIDATOR_PRINT_STYLE$1;
-	var Validator = Validator$1;
-
-	var index$2 = /*#__PURE__*/Object.freeze({
-		__proto__: null,
-		Activator: Activator,
-		Alea: Alea,
-		ColorPicker: ColorPicker,
-		Configurator: Configurator,
-		DELETE: DELETE,
-		HSVToHex: HSVToHex,
-		HSVToRGB: HSVToRGB,
-		Hammer: Hammer,
-		Popup: Popup,
-		RGBToHSV: RGBToHSV,
-		RGBToHex: RGBToHex,
-		VALIDATOR_PRINT_STYLE: VALIDATOR_PRINT_STYLE,
-		Validator: Validator,
-		addClassName: addClassName,
-		addCssText: addCssText,
-		addEventListener: addEventListener,
-		binarySearchCustom: binarySearchCustom,
-		binarySearchValue: binarySearchValue,
-		bridgeObject: bridgeObject,
-		copyAndExtendArray: copyAndExtendArray,
-		copyArray: copyArray,
-		deepExtend: deepExtend,
-		deepObjectAssign: deepObjectAssign,
-		easingFunctions: easingFunctions,
-		equalArray: equalArray,
-		extend: extend,
-		fillIfDefined: fillIfDefined,
-		forEach: forEach$1,
-		getAbsoluteLeft: getAbsoluteLeft,
-		getAbsoluteRight: getAbsoluteRight,
-		getAbsoluteTop: getAbsoluteTop,
-		getScrollBarWidth: getScrollBarWidth,
-		getTarget: getTarget,
-		getType: getType,
-		hasParent: hasParent,
-		hexToHSV: hexToHSV,
-		hexToRGB: hexToRGB,
-		insertSort: insertSort,
-		isDate: isDate,
-		isNumber: isNumber,
-		isObject: isObject$7,
-		isString: isString,
-		isValidHex: isValidHex,
-		isValidRGB: isValidRGB,
-		isValidRGBA: isValidRGBA,
-		mergeOptions: mergeOptions,
-		option: option,
-		overrideOpacity: overrideOpacity,
-		parseColor: parseColor,
-		preventDefault: preventDefault,
-		pureDeepObjectAssign: pureDeepObjectAssign,
-		recursiveDOMDelete: recursiveDOMDelete,
-		removeClassName: removeClassName,
-		removeCssText: removeCssText,
-		removeEventListener: removeEventListener,
-		selectiveBridgeObject: selectiveBridgeObject,
-		selectiveDeepExtend: selectiveDeepExtend,
-		selectiveExtend: selectiveExtend,
-		selectiveNotDeepExtend: selectiveNotDeepExtend,
-		throttle: throttle,
-		toArray: toArray,
-		topMost: topMost,
-		updateProperty: updateProperty
-	});
-
-	/* eslint-disable no-prototype-builtins */
-
-	/* eslint-disable no-unused-vars */
-
-	/* eslint-disable no-var */
-
-	/**
-	 * Parse a text source containing data in DOT language into a JSON object.
-	 * The object contains two lists: one with nodes and one with edges.
-	 *
-	 * DOT language reference: http://www.graphviz.org/doc/info/lang.html
-	 *
-	 * DOT language attributes: http://graphviz.org/content/attrs
-	 *
-	 * @param {string} data     Text containing a graph in DOT-notation
-	 * @returns {object} graph   An object containing two parameters:
-	 *                          {Object[]} nodes
-	 *                          {Object[]} edges
-	 *
-	 * -------------------------------------------
-	 * TODO
-	 * ====
-	 *
-	 * For label handling, this is an incomplete implementation. From docs (quote #3015):
-	 *
-	 * > the escape sequences "\n", "\l" and "\r" divide the label into lines, centered,
-	 * > left-justified, and right-justified, respectively.
-	 *
-	 * Source: http://www.graphviz.org/content/attrs#kescString
-	 *
-	 * > As another aid for readability, dot allows double-quoted strings to span multiple physical
-	 * > lines using the standard C convention of a backslash immediately preceding a newline
-	 * > character
-	 * > In addition, double-quoted strings can be concatenated using a '+' operator.
-	 * > As HTML strings can contain newline characters, which are used solely for formatting,
-	 * > the language does not allow escaped newlines or concatenation operators to be used
-	 * > within them.
-	 *
-	 * - Currently, only '\\n' is handled
-	 * - Note that text explicitly says 'labels'; the dot parser currently handles escape
-	 *   sequences in **all** strings.
-	 */
-	function parseDOT(data) {
-		dot = data;
-		return parseGraph();
-	} // mapping of attributes from DOT (the keys) to vis.js (the values)
-
-	var NODE_ATTR_MAPPING = {
-		fontsize: "font.size",
-		fontcolor: "font.color",
-		labelfontcolor: "font.color",
-		fontname: "font.face",
-		color: ["color.border", "color.background"],
-		fillcolor: "color.background",
-		tooltip: "title",
-		labeltooltip: "title"
-	};
-
-	var EDGE_ATTR_MAPPING = create$5(NODE_ATTR_MAPPING);
-
-	EDGE_ATTR_MAPPING.color = "color.color";
-	EDGE_ATTR_MAPPING.style = "dashes"; // token types enumeration
-
-	var TOKENTYPE = {
-		NULL: 0,
-		DELIMITER: 1,
-		IDENTIFIER: 2,
-		UNKNOWN: 3
-	}; // map with all delimiters
-
-	var DELIMITERS = {
-		"{": true,
-		"}": true,
-		"[": true,
-		"]": true,
-		";": true,
-		"=": true,
-		",": true,
-		"->": true,
-		"--": true
-	};
-	var dot = ""; // current dot file
-
-	var index$1 = 0; // current index in dot file
-
-	var c = ""; // current token character in expr
-
-	var token = ""; // current token
-
-	var tokenType = TOKENTYPE.NULL; // type of the token
-
-	/**
-	 * Get the first character from the dot file.
-	 * The character is stored into the char c. If the end of the dot file is
-	 * reached, the function puts an empty string in c.
-	 */
-
-	function first() {
-		index$1 = 0;
-		c = dot.charAt(0);
-	}
-	/**
-	 * Get the next character from the dot file.
-	 * The character is stored into the char c. If the end of the dot file is
-	 * reached, the function puts an empty string in c.
-	 */
-
-
-	function next() {
-		index$1++;
-		c = dot.charAt(index$1);
-	}
-	/**
-	 * Preview the next character from the dot file.
-	 *
-	 * @returns {string} cNext
-	 */
-
-
-	function nextPreview() {
-		return dot.charAt(index$1 + 1);
-	}
-	/**
-	 * Test whether given character is alphabetic or numeric ( a-zA-Z_0-9.:# )
-	 *
-	 * @param {string} c
-	 * @returns {boolean} isAlphaNumeric
-	 */
-
-
-	function isAlphaNumeric(c) {
-		var charCode = c.charCodeAt(0);
-
-		if (charCode < 47) {
-			// #.
-			return charCode === 35 || charCode === 46;
-		}
-
-		if (charCode < 59) {
-			// 0-9 and :
-			return charCode > 47;
-		}
-
-		if (charCode < 91) {
-			// A-Z
-			return charCode > 64;
-		}
-
-		if (charCode < 96) {
-			// _
-			return charCode === 95;
-		}
-
-		if (charCode < 123) {
-			// a-z
-			return charCode > 96;
-		}
-
-		return false;
-	}
-	/**
-	 * Merge all options of object b into object b
-	 *
-	 * @param {object} a
-	 * @param {object} b
-	 * @returns {object} a
-	 */
-
-
-	function merge$1(a, b) {
-		if (!a) {
-			a = {};
-		}
-
-		if (b) {
-			for (var name in b) {
-				if (b.hasOwnProperty(name)) {
-					a[name] = b[name];
-				}
-			}
-		}
-
-		return a;
-	}
-	/**
-	 * Set a value in an object, where the provided parameter name can be a
-	 * path with nested parameters. For example:
-	 *
-	 *     var obj = {a: 2};
-	 *     setValue(obj, 'b.c', 3);     // obj = {a: 2, b: {c: 3}}
-	 *
-	 * @param {object} obj
-	 * @param {string} path  A parameter name or dot-separated parameter path,
-	 *                      like "color.highlight.border".
-	 * @param {*} value
-	 */
-
-
-	function setValue(obj, path, value) {
-		var keys = path.split(".");
-		var o = obj;
-
-		while (keys.length) {
-			var key = keys.shift();
-
-			if (keys.length) {
-				// this isn't the end point
-				if (!o[key]) {
-					o[key] = {};
-				}
-
-				o = o[key];
-			} else {
-				// this is the end point
-				o[key] = value;
-			}
-		}
-	}
-	/**
-	 * Add a node to a graph object. If there is already a node with
-	 * the same id, their attributes will be merged.
-	 *
-	 * @param {object} graph
-	 * @param {object} node
-	 */
-
-
-	function addNode(graph, node) {
-		var i, len;
-		var current = null; // find root graph (in case of subgraph)
-
-		var graphs = [graph]; // list with all graphs from current graph to root graph
-
-		var root = graph;
-
-		while (root.parent) {
-			graphs.push(root.parent);
-			root = root.parent;
-		} // find existing node (at root level) by its id
-
-
-		if (root.nodes) {
-			for (i = 0, len = root.nodes.length; i < len; i++) {
-				if (node.id === root.nodes[i].id) {
-					current = root.nodes[i];
-					break;
-				}
-			}
-		}
-
-		if (!current) {
-			// this is a new node
-			current = {
-				id: node.id
-			};
-
-			if (graph.node) {
-				// clone default attributes
-				current.attr = merge$1(current.attr, graph.node);
-			}
-		} // add node to this (sub)graph and all its parent graphs
-
-
-		for (i = graphs.length - 1; i >= 0; i--) {
-			var _context;
-
-			var g = graphs[i];
-
-			if (!g.nodes) {
-				g.nodes = [];
-			}
-
-			if (indexOf(_context = g.nodes).call(_context, current) === -1) {
-				g.nodes.push(current);
-			}
-		} // merge attributes
-
-
-		if (node.attr) {
-			current.attr = merge$1(current.attr, node.attr);
-		}
-	}
-	/**
-	 * Add an edge to a graph object
-	 *
-	 * @param {object} graph
-	 * @param {object} edge
-	 */
-
-
-	function addEdge(graph, edge) {
-		if (!graph.edges) {
-			graph.edges = [];
-		}
-
-		graph.edges.push(edge);
-
-		if (graph.edge) {
-			var attr = merge$1({}, graph.edge); // clone default attributes
-
-			edge.attr = merge$1(attr, edge.attr); // merge attributes
-		}
-	}
-	/**
-	 * Create an edge to a graph object
-	 *
-	 * @param {object} graph
-	 * @param {string | number | object} from
-	 * @param {string | number | object} to
-	 * @param {string} type
-	 * @param {object | null} attr
-	 * @returns {object} edge
-	 */
-
-
-	function createEdge(graph, from, to, type, attr) {
-		var edge = {
-			from: from,
-			to: to,
-			type: type
-		};
-
-		if (graph.edge) {
-			edge.attr = merge$1({}, graph.edge); // clone default attributes
-		}
-
-		edge.attr = merge$1(edge.attr || {}, attr); // merge attributes
-		// Move arrows attribute from attr to edge temporally created in
-		// parseAttributeList().
-
-		if (attr != null) {
-			if (attr.hasOwnProperty("arrows") && attr["arrows"] != null) {
-				edge["arrows"] = {
-					to: {
-						enabled: true,
-						type: attr.arrows.type
-					}
-				};
-				attr["arrows"] = null;
-			}
-		}
-
-		return edge;
-	}
-	/**
-	 * Get next token in the current dot file.
-	 * The token and token type are available as token and tokenType
-	 */
-
-
-	function getToken() {
-		tokenType = TOKENTYPE.NULL;
-		token = ""; // skip over whitespaces
-
-		while (c === " " || c === "\t" || c === "\n" || c === "\r") {
-			// space, tab, enter
-			next();
-		}
-
-		do {
-			var isComment = false; // skip comment
-
-			if (c === "#") {
-				// find the previous non-space character
-				var i = index$1 - 1;
-
-				while (dot.charAt(i) === " " || dot.charAt(i) === "\t") {
-					i--;
-				}
-
-				if (dot.charAt(i) === "\n" || dot.charAt(i) === "") {
-					// the # is at the start of a line, this is indeed a line comment
-					while (c != "" && c != "\n") {
-						next();
-					}
-
-					isComment = true;
-				}
-			}
-
-			if (c === "/" && nextPreview() === "/") {
-				// skip line comment
-				while (c != "" && c != "\n") {
-					next();
-				}
-
-				isComment = true;
-			}
-
-			if (c === "/" && nextPreview() === "*") {
-				// skip block comment
-				while (c != "") {
-					if (c === "*" && nextPreview() === "/") {
-						// end of block comment found. skip these last two characters
-						next();
-						next();
-						break;
-					} else {
-						next();
-					}
-				}
-
-				isComment = true;
-			} // skip over whitespaces
-
-
-			while (c === " " || c === "\t" || c === "\n" || c === "\r") {
-				// space, tab, enter
-				next();
-			}
-		} while (isComment); // check for end of dot file
-
-
-		if (c === "") {
-			// token is still empty
-			tokenType = TOKENTYPE.DELIMITER;
-			return;
-		} // check for delimiters consisting of 2 characters
-
-
-		var c2 = c + nextPreview();
-
-		if (DELIMITERS[c2]) {
-			tokenType = TOKENTYPE.DELIMITER;
-			token = c2;
-			next();
-			next();
-			return;
-		} // check for delimiters consisting of 1 character
-
-
-		if (DELIMITERS[c]) {
-			tokenType = TOKENTYPE.DELIMITER;
-			token = c;
-			next();
-			return;
-		} // check for an identifier (number or string)
-		// TODO: more precise parsing of numbers/strings (and the port separator ':')
-
-
-		if (isAlphaNumeric(c) || c === "-") {
-			token += c;
-			next();
-
-			while (isAlphaNumeric(c)) {
-				token += c;
-				next();
-			}
-
-			if (token === "false") {
-				token = false; // convert to boolean
-			} else if (token === "true") {
-				token = true; // convert to boolean
-			} else if (!isNaN(Number(token))) {
-				token = Number(token); // convert to number
-			}
-
-			tokenType = TOKENTYPE.IDENTIFIER;
-			return;
-		} // check for a string enclosed by double quotes
-
-
-		if (c === '"') {
-			next();
-
-			while (c != "" && (c != '"' || c === '"' && nextPreview() === '"')) {
-				if (c === '"') {
-					// skip the escape character
-					token += c;
-					next();
-				} else if (c === "\\" && nextPreview() === "n") {
-					// Honor a newline escape sequence
-					token += "\n";
-					next();
-				} else {
-					token += c;
-				}
-
-				next();
-			}
-
-			if (c != '"') {
-				throw newSyntaxError('End of string " expected');
-			}
-
-			next();
-			tokenType = TOKENTYPE.IDENTIFIER;
-			return;
-		} // something unknown is found, wrong characters, a syntax error
-
-
-		tokenType = TOKENTYPE.UNKNOWN;
-
-		while (c != "") {
-			token += c;
-			next();
-		}
-
-		throw new SyntaxError('Syntax error in part "' + chop(token, 30) + '"');
-	}
-	/**
-	 * Parse a graph.
-	 *
-	 * @returns {object} graph
-	 */
-
-
-	function parseGraph() {
-		var graph = {};
-		first();
-		getToken(); // optional strict keyword
-
-		if (token === "strict") {
-			graph.strict = true;
-			getToken();
-		} // graph or digraph keyword
-
-
-		if (token === "graph" || token === "digraph") {
-			graph.type = token;
-			getToken();
-		} // optional graph id
-
-
-		if (tokenType === TOKENTYPE.IDENTIFIER) {
-			graph.id = token;
-			getToken();
-		} // open angle bracket
-
-
-		if (token != "{") {
-			throw newSyntaxError("Angle bracket { expected");
-		}
-
-		getToken(); // statements
-
-		parseStatements(graph); // close angle bracket
-
-		if (token != "}") {
-			throw newSyntaxError("Angle bracket } expected");
-		}
-
-		getToken(); // end of file
-
-		if (token !== "") {
-			throw newSyntaxError("End of file expected");
-		}
-
-		getToken(); // remove temporary default options
-
-		delete graph.node;
-		delete graph.edge;
-		delete graph.graph;
-		return graph;
-	}
-	/**
-	 * Parse a list with statements.
-	 *
-	 * @param {object} graph
-	 */
-
-
-	function parseStatements(graph) {
-		while (token !== "" && token != "}") {
-			parseStatement(graph);
-
-			if (token === ";") {
-				getToken();
-			}
-		}
-	}
-	/**
-	 * Parse a single statement. Can be a an attribute statement, node
-	 * statement, a series of node statements and edge statements, or a
-	 * parameter.
-	 *
-	 * @param {object} graph
-	 */
-
-
-	function parseStatement(graph) {
-		// parse subgraph
-		var subgraph = parseSubgraph(graph);
-
-		if (subgraph) {
-			// edge statements
-			parseEdge(graph, subgraph);
-			return;
-		} // parse an attribute statement
-
-
-		var attr = parseAttributeStatement(graph);
-
-		if (attr) {
-			return;
-		} // parse node
-
-
-		if (tokenType != TOKENTYPE.IDENTIFIER) {
-			throw newSyntaxError("Identifier expected");
-		}
-
-		var id = token; // id can be a string or a number
-
-		getToken();
-
-		if (token === "=") {
-			// id statement
-			getToken();
-
-			if (tokenType != TOKENTYPE.IDENTIFIER) {
-				throw newSyntaxError("Identifier expected");
-			}
-
-			graph[id] = token;
-			getToken(); // TODO: implement comma separated list with "a_list: ID=ID [','] [a_list] "
-		} else {
-			parseNodeStatement(graph, id);
-		}
-	}
-	/**
-	 * Parse a subgraph
-	 *
-	 * @param {object} graph    parent graph object
-	 * @returns {object | null} subgraph
-	 */
-
-
-	function parseSubgraph(graph) {
-		var subgraph = null; // optional subgraph keyword
-
-		if (token === "subgraph") {
-			subgraph = {};
-			subgraph.type = "subgraph";
-			getToken(); // optional graph id
-
-			if (tokenType === TOKENTYPE.IDENTIFIER) {
-				subgraph.id = token;
-				getToken();
-			}
-		} // open angle bracket
-
-
-		if (token === "{") {
-			getToken();
-
-			if (!subgraph) {
-				subgraph = {};
-			}
-
-			subgraph.parent = graph;
-			subgraph.node = graph.node;
-			subgraph.edge = graph.edge;
-			subgraph.graph = graph.graph; // statements
-
-			parseStatements(subgraph); // close angle bracket
-
-			if (token != "}") {
-				throw newSyntaxError("Angle bracket } expected");
-			}
-
-			getToken(); // remove temporary default options
-
-			delete subgraph.node;
-			delete subgraph.edge;
-			delete subgraph.graph;
-			delete subgraph.parent; // register at the parent graph
-
-			if (!graph.subgraphs) {
-				graph.subgraphs = [];
-			}
-
-			graph.subgraphs.push(subgraph);
-		}
-
-		return subgraph;
-	}
-	/**
-	 * parse an attribute statement like "node [shape=circle fontSize=16]".
-	 * Available keywords are 'node', 'edge', 'graph'.
-	 * The previous list with default attributes will be replaced
-	 *
-	 * @param {object} graph
-	 * @returns {string | null} keyword Returns the name of the parsed attribute
-	 *                                  (node, edge, graph), or null if nothing
-	 *                                  is parsed.
-	 */
-
-
-	function parseAttributeStatement(graph) {
-		// attribute statements
-		if (token === "node") {
-			getToken(); // node attributes
-
-			graph.node = parseAttributeList();
-			return "node";
-		} else if (token === "edge") {
-			getToken(); // edge attributes
-
-			graph.edge = parseAttributeList();
-			return "edge";
-		} else if (token === "graph") {
-			getToken(); // graph attributes
-
-			graph.graph = parseAttributeList();
-			return "graph";
-		}
-
-		return null;
-	}
-	/**
-	 * parse a node statement
-	 *
-	 * @param {object} graph
-	 * @param {string | number} id
-	 */
-
-
-	function parseNodeStatement(graph, id) {
-		// node statement
-		var node = {
-			id: id
-		};
-		var attr = parseAttributeList();
-
-		if (attr) {
-			node.attr = attr;
-		}
-
-		addNode(graph, node); // edge statements
-
-		parseEdge(graph, id);
-	}
-	/**
-	 * Parse an edge or a series of edges
-	 *
-	 * @param {object} graph
-	 * @param {string | number} from        Id of the from node
-	 */
-
-
-	function parseEdge(graph, from) {
-		while (token === "->" || token === "--") {
-			var to;
-			var type = token;
-			getToken();
-			var subgraph = parseSubgraph(graph);
-
-			if (subgraph) {
-				to = subgraph;
-			} else {
-				if (tokenType != TOKENTYPE.IDENTIFIER) {
-					throw newSyntaxError("Identifier or subgraph expected");
-				}
-
-				to = token;
-				addNode(graph, {
-					id: to
-				});
-				getToken();
-			} // parse edge attributes
-
-
-			var attr = parseAttributeList(); // create edge
-
-			var edge = createEdge(graph, from, to, type, attr);
-			addEdge(graph, edge);
-			from = to;
-		}
-	}
-	/**
-	 * Parse a set with attributes,
-	 * for example [label="1.000", shape=solid]
-	 *
-	 * @returns {object | null} attr
-	 */
-
-
-	function parseAttributeList() {
-		var i;
-		var attr = null; // edge styles of dot and vis
-
-		var edgeStyles = {
-			dashed: true,
-			solid: false,
-			dotted: [1, 5]
-		};
-		/**
-		 * Define arrow types.
-		 * vis currently supports types defined in 'arrowTypes'.
-		 * Details of arrow shapes are described in
-		 * http://www.graphviz.org/content/arrow-shapes
-		 */
-
-		var arrowTypes = {
-			dot: "circle",
-			box: "box",
-			crow: "crow",
-			curve: "curve",
-			icurve: "inv_curve",
-			normal: "triangle",
-			inv: "inv_triangle",
-			diamond: "diamond",
-			tee: "bar",
-			vee: "vee"
-		};
-		/**
-		 * 'attr_list' contains attributes for checking if some of them are affected
-		 * later. For instance, both of 'arrowhead' and 'dir' (edge style defined
-		 * in DOT) make changes to 'arrows' attribute in vis.
-		 */
-
-		var attr_list = new Array();
-		var attr_names = new Array(); // used for checking the case.
-		// parse attributes
-
-		while (token === "[") {
-			getToken();
-			attr = {};
-
-			while (token !== "" && token != "]") {
-				if (tokenType != TOKENTYPE.IDENTIFIER) {
-					throw newSyntaxError("Attribute name expected");
-				}
-
-				var name = token;
-				getToken();
-
-				if (token != "=") {
-					throw newSyntaxError("Equal sign = expected");
-				}
-
-				getToken();
-
-				if (tokenType != TOKENTYPE.IDENTIFIER) {
-					throw newSyntaxError("Attribute value expected");
-				}
-
-				var value = token; // convert from dot style to vis
-
-				if (name === "style") {
-					value = edgeStyles[value];
-				}
-
-				var arrowType;
-
-				if (name === "arrowhead") {
-					arrowType = arrowTypes[value];
-					name = "arrows";
-					value = {
-						to: {
-							enabled: true,
-							type: arrowType
-						}
-					};
-				}
-
-				if (name === "arrowtail") {
-					arrowType = arrowTypes[value];
-					name = "arrows";
-					value = {
-						from: {
-							enabled: true,
-							type: arrowType
-						}
-					};
-				}
-
-				attr_list.push({
-					attr: attr,
-					name: name,
-					value: value
-				});
-				attr_names.push(name);
-				getToken();
-
-				if (token == ",") {
-					getToken();
-				}
-			}
-
-			if (token != "]") {
-				throw newSyntaxError("Bracket ] expected");
-			}
-
-			getToken();
-		}
-		/**
-		 * As explained in [1], graphviz has limitations for combination of
-		 * arrow[head|tail] and dir. If attribute list includes 'dir',
-		 * following cases just be supported.
-		 *   1. both or none + arrowhead, arrowtail
-		 *   2. forward + arrowhead (arrowtail is not affedted)
-		 *   3. back + arrowtail (arrowhead is not affected)
-		 * [1] https://www.graphviz.org/doc/info/attrs.html#h:undir_note
-		 */
-
-
-		if (includes(attr_names).call(attr_names, "dir")) {
-			var idx = {}; // get index of 'arrows' and 'dir'
-
-			idx.arrows = {};
-
-			for (i = 0; i < attr_list.length; i++) {
-				if (attr_list[i].name === "arrows") {
-					if (attr_list[i].value.to != null) {
-						idx.arrows.to = i;
-					} else if (attr_list[i].value.from != null) {
-						idx.arrows.from = i;
-					} else {
-						throw newSyntaxError("Invalid value of arrows");
-					}
-				} else if (attr_list[i].name === "dir") {
-					idx.dir = i;
-				}
-			} // first, add default arrow shape if it is not assigned to avoid error
-
-
-			var dir_type = attr_list[idx.dir].value;
-
-			if (!includes(attr_names).call(attr_names, "arrows")) {
-				if (dir_type === "both") {
-					attr_list.push({
-						attr: attr_list[idx.dir].attr,
-						name: "arrows",
-						value: {
-							to: {
-								enabled: true
-							}
-						}
-					});
-					idx.arrows.to = attr_list.length - 1;
-					attr_list.push({
-						attr: attr_list[idx.dir].attr,
-						name: "arrows",
-						value: {
-							from: {
-								enabled: true
-							}
-						}
-					});
-					idx.arrows.from = attr_list.length - 1;
-				} else if (dir_type === "forward") {
-					attr_list.push({
-						attr: attr_list[idx.dir].attr,
-						name: "arrows",
-						value: {
-							to: {
-								enabled: true
-							}
-						}
-					});
-					idx.arrows.to = attr_list.length - 1;
-				} else if (dir_type === "back") {
-					attr_list.push({
-						attr: attr_list[idx.dir].attr,
-						name: "arrows",
-						value: {
-							from: {
-								enabled: true
-							}
-						}
-					});
-					idx.arrows.from = attr_list.length - 1;
-				} else if (dir_type === "none") {
-					attr_list.push({
-						attr: attr_list[idx.dir].attr,
-						name: "arrows",
-						value: ""
-					});
-					idx.arrows.to = attr_list.length - 1;
-				} else {
-					throw newSyntaxError('Invalid dir type "' + dir_type + '"');
-				}
-			}
-
-			var from_type;
-			var to_type; // update 'arrows' attribute from 'dir'.
-
-			if (dir_type === "both") {
-				// both of shapes of 'from' and 'to' are given
-				if (idx.arrows.to && idx.arrows.from) {
-					to_type = attr_list[idx.arrows.to].value.to.type;
-					from_type = attr_list[idx.arrows.from].value.from.type;
-					attr_list[idx.arrows.to] = {
-						attr: attr_list[idx.arrows.to].attr,
-						name: attr_list[idx.arrows.to].name,
-						value: {
-							to: {
-								enabled: true,
-								type: to_type
-							},
-							from: {
-								enabled: true,
-								type: from_type
-							}
-						}
-					};
-
-					splice$1(attr_list).call(attr_list, idx.arrows.from, 1); // shape of 'to' is assigned and use default to 'from'
-
-				} else if (idx.arrows.to) {
-					to_type = attr_list[idx.arrows.to].value.to.type;
-					from_type = "arrow";
-					attr_list[idx.arrows.to] = {
-						attr: attr_list[idx.arrows.to].attr,
-						name: attr_list[idx.arrows.to].name,
-						value: {
-							to: {
-								enabled: true,
-								type: to_type
-							},
-							from: {
-								enabled: true,
-								type: from_type
-							}
-						}
-					}; // only shape of 'from' is assigned and use default for 'to'
-				} else if (idx.arrows.from) {
-					to_type = "arrow";
-					from_type = attr_list[idx.arrows.from].value.from.type;
-					attr_list[idx.arrows.from] = {
-						attr: attr_list[idx.arrows.from].attr,
-						name: attr_list[idx.arrows.from].name,
-						value: {
-							to: {
-								enabled: true,
-								type: to_type
-							},
-							from: {
-								enabled: true,
-								type: from_type
-							}
-						}
-					};
-				}
-			} else if (dir_type === "back") {
-				// given both of shapes, but use only 'from'
-				if (idx.arrows.to && idx.arrows.from) {
-					to_type = "";
-					from_type = attr_list[idx.arrows.from].value.from.type;
-					attr_list[idx.arrows.from] = {
-						attr: attr_list[idx.arrows.from].attr,
-						name: attr_list[idx.arrows.from].name,
-						value: {
-							to: {
-								enabled: true,
-								type: to_type
-							},
-							from: {
-								enabled: true,
-								type: from_type
-							}
-						}
-					}; // given shape of 'to', but does not use it
-				} else if (idx.arrows.to) {
-					to_type = "";
-					from_type = "arrow";
-					idx.arrows.from = idx.arrows.to;
-					attr_list[idx.arrows.from] = {
-						attr: attr_list[idx.arrows.from].attr,
-						name: attr_list[idx.arrows.from].name,
-						value: {
-							to: {
-								enabled: true,
-								type: to_type
-							},
-							from: {
-								enabled: true,
-								type: from_type
-							}
-						}
-					}; // assign given 'from' shape
-				} else if (idx.arrows.from) {
-					to_type = "";
-					from_type = attr_list[idx.arrows.from].value.from.type;
-					attr_list[idx.arrows.to] = {
-						attr: attr_list[idx.arrows.from].attr,
-						name: attr_list[idx.arrows.from].name,
-						value: {
-							to: {
-								enabled: true,
-								type: to_type
-							},
-							from: {
-								enabled: true,
-								type: from_type
-							}
-						}
-					};
-				}
-
-				attr_list[idx.arrows.from] = {
-					attr: attr_list[idx.arrows.from].attr,
-					name: attr_list[idx.arrows.from].name,
-					value: {
-						from: {
-							enabled: true,
-							type: attr_list[idx.arrows.from].value.from.type
-						}
-					}
-				};
-			} else if (dir_type === "none") {
-				var idx_arrow;
-
-				if (idx.arrows.to) {
-					idx_arrow = idx.arrows.to;
-				} else {
-					idx_arrow = idx.arrows.from;
-				}
-
-				attr_list[idx_arrow] = {
-					attr: attr_list[idx_arrow].attr,
-					name: attr_list[idx_arrow].name,
-					value: ""
-				};
-			} else if (dir_type === "forward") {
-				// given both of shapes, but use only 'to'
-				if (idx.arrows.to && idx.arrows.from) {
-					to_type = attr_list[idx.arrows.to].value.to.type;
-					from_type = "";
-					attr_list[idx.arrows.to] = {
-						attr: attr_list[idx.arrows.to].attr,
-						name: attr_list[idx.arrows.to].name,
-						value: {
-							to: {
-								enabled: true,
-								type: to_type
-							},
-							from: {
-								enabled: true,
-								type: from_type
-							}
-						}
-					}; // assign given 'to' shape
-				} else if (idx.arrows.to) {
-					to_type = attr_list[idx.arrows.to].value.to.type;
-					from_type = "";
-					attr_list[idx.arrows.to] = {
-						attr: attr_list[idx.arrows.to].attr,
-						name: attr_list[idx.arrows.to].name,
-						value: {
-							to: {
-								enabled: true,
-								type: to_type
-							},
-							from: {
-								enabled: true,
-								type: from_type
-							}
-						}
-					}; // given shape of 'from', but does not use it
-				} else if (idx.arrows.from) {
-					to_type = "arrow";
-					from_type = "";
-					idx.arrows.to = idx.arrows.from;
-					attr_list[idx.arrows.to] = {
-						attr: attr_list[idx.arrows.to].attr,
-						name: attr_list[idx.arrows.to].name,
-						value: {
-							to: {
-								enabled: true,
-								type: to_type
-							},
-							from: {
-								enabled: true,
-								type: from_type
-							}
-						}
-					};
-				}
-
-				attr_list[idx.arrows.to] = {
-					attr: attr_list[idx.arrows.to].attr,
-					name: attr_list[idx.arrows.to].name,
-					value: {
-						to: {
-							enabled: true,
-							type: attr_list[idx.arrows.to].value.to.type
-						}
-					}
-				};
-			} else {
-				throw newSyntaxError('Invalid dir type "' + dir_type + '"');
-			} // remove 'dir' attribute no need anymore
-
-
-			splice$1(attr_list).call(attr_list, idx.dir, 1);
-		} // parse 'penwidth'
-
-
-		var nof_attr_list;
-
-		if (includes(attr_names).call(attr_names, "penwidth")) {
-			var tmp_attr_list = [];
-			nof_attr_list = attr_list.length;
-
-			for (i = 0; i < nof_attr_list; i++) {
-				// exclude 'width' from attr_list if 'penwidth' exists
-				if (attr_list[i].name !== "width") {
-					if (attr_list[i].name === "penwidth") {
-						attr_list[i].name = "width";
-					}
-
-					tmp_attr_list.push(attr_list[i]);
-				}
-			}
-
-			attr_list = tmp_attr_list;
-		}
-
-		nof_attr_list = attr_list.length;
-
-		for (i = 0; i < nof_attr_list; i++) {
-			setValue(attr_list[i].attr, attr_list[i].name, attr_list[i].value);
-		}
-
-		return attr;
-	}
-	/**
-	 * Create a syntax error with extra information on current token and index.
-	 *
-	 * @param {string} message
-	 * @returns {SyntaxError} err
-	 */
-
-
-	function newSyntaxError(message) {
-		return new SyntaxError(message + ', got "' + chop(token, 30) + '" (char ' + index$1 + ")");
-	}
-	/**
-	 * Chop off text after a maximum length
-	 *
-	 * @param {string} text
-	 * @param {number} maxLength
-	 * @returns {string}
-	 */
-
-
-	function chop(text, maxLength) {
-		return text.length <= maxLength ? text : text.substr(0, 27) + "...";
-	}
-	/**
-	 * Execute a function fn for each pair of elements in two arrays
-	 *
-	 * @param {Array | *} array1
-	 * @param {Array | *} array2
-	 * @param {Function} fn
-	 */
-
-
-	function forEach2(array1, array2, fn) {
-		if (isArray$2(array1)) {
-			forEach$2(array1).call(array1, function (elem1) {
-				if (isArray$2(array2)) {
-					forEach$2(array2).call(array2, function (elem2) {
-						fn(elem1, elem2);
-					});
-				} else {
-					fn(elem1, array2);
-				}
-			});
-		} else {
-			if (isArray$2(array2)) {
-				forEach$2(array2).call(array2, function (elem2) {
-					fn(array1, elem2);
-				});
-			} else {
-				fn(array1, array2);
-			}
-		}
-	}
-	/**
-	 * Set a nested property on an object
-	 * When nested objects are missing, they will be created.
-	 * For example setProp({}, 'font.color', 'red') will return {font: {color: 'red'}}
-	 *
-	 * @param {object} object
-	 * @param {string} path   A dot separated string like 'font.color'
-	 * @param {*} value       Value for the property
-	 * @returns {object} Returns the original object, allows for chaining.
-	 */
-
-
-	function setProp(object, path, value) {
-		var names = path.split(".");
-		var prop = names.pop(); // traverse over the nested objects
-
-		var obj = object;
-
-		for (var i = 0; i < names.length; i++) {
-			var name = names[i];
-
-			if (!(name in obj)) {
-				obj[name] = {};
-			}
-
-			obj = obj[name];
-		} // set the property value
-
-
-		obj[prop] = value;
-		return object;
-	}
-	/**
-	 * Convert an object with DOT attributes to their vis.js equivalents.
-	 *
-	 * @param {object} attr     Object with DOT attributes
-	 * @param {object} mapping
-	 * @returns {object}         Returns an object with vis.js attributes
-	 */
-
-
-	function convertAttr(attr, mapping) {
-		var converted = {};
-
-		for (var prop in attr) {
-			if (attr.hasOwnProperty(prop)) {
-				var visProp = mapping[prop];
-
-				if (isArray$2(visProp)) {
-					forEach$2(visProp).call(visProp, function (visPropI) {
-						setProp(converted, visPropI, attr[prop]);
-					});
-				} else if (typeof visProp === "string") {
-					setProp(converted, visProp, attr[prop]);
-				} else {
-					setProp(converted, prop, attr[prop]);
-				}
-			}
-		}
-
-		return converted;
-	}
-	/**
-	 * Convert a string containing a graph in DOT language into a map containing
-	 * with nodes and edges in the format of graph.
-	 *
-	 * @param {string} data         Text containing a graph in DOT-notation
-	 * @returns {object} graphData
-	 */
-
-
-	function DOTToGraph(data) {
-		// parse the DOT file
-		var dotData = parseDOT(data);
-		var graphData = {
-			nodes: [],
-			edges: [],
-			options: {}
-		}; // copy the nodes
-
-		if (dotData.nodes) {
-			var _context2;
-
-			forEach$2(_context2 = dotData.nodes).call(_context2, function (dotNode) {
-				var graphNode = {
-					id: dotNode.id,
-					label: String(dotNode.label || dotNode.id)
-				};
-				merge$1(graphNode, convertAttr(dotNode.attr, NODE_ATTR_MAPPING));
-
-				if (graphNode.image) {
-					graphNode.shape = "image";
-				}
-
-				graphData.nodes.push(graphNode);
-			});
-		} // copy the edges
-
-
-		if (dotData.edges) {
-			var _context3;
-
-			/**
-			 * Convert an edge in DOT format to an edge with VisGraph format
-			 *
-			 * @param {object} dotEdge
-			 * @returns {object} graphEdge
-			 */
-			var convertEdge = function convertEdge(dotEdge) {
-				var graphEdge = {
-					from: dotEdge.from,
-					to: dotEdge.to
-				};
-				merge$1(graphEdge, convertAttr(dotEdge.attr, EDGE_ATTR_MAPPING)); // Add arrows attribute to default styled arrow.
-				// The reason why default style is not added in parseAttributeList() is
-				// because only default is cleared before here.
-
-				if (graphEdge.arrows == null && dotEdge.type === "->") {
-					graphEdge.arrows = "to";
-				}
-
-				return graphEdge;
-			};
-
-			forEach$2(_context3 = dotData.edges).call(_context3, function (dotEdge) {
-				var from, to;
-
-				if (dotEdge.from instanceof Object) {
-					from = dotEdge.from.nodes;
-				} else {
-					from = {
-						id: dotEdge.from
-					};
-				}
-
-				if (dotEdge.to instanceof Object) {
-					to = dotEdge.to.nodes;
-				} else {
-					to = {
-						id: dotEdge.to
-					};
-				}
-
-				if (dotEdge.from instanceof Object && dotEdge.from.edges) {
-					var _context4;
-
-					forEach$2(_context4 = dotEdge.from.edges).call(_context4, function (subEdge) {
-						var graphEdge = convertEdge(subEdge);
-						graphData.edges.push(graphEdge);
-					});
-				}
-
-				forEach2(from, to, function (from, to) {
-					var subEdge = createEdge(graphData, from.id, to.id, dotEdge.type, dotEdge.attr);
-					var graphEdge = convertEdge(subEdge);
-					graphData.edges.push(graphEdge);
-				});
-
-				if (dotEdge.to instanceof Object && dotEdge.to.edges) {
-					var _context5;
-
-					forEach$2(_context5 = dotEdge.to.edges).call(_context5, function (subEdge) {
-						var graphEdge = convertEdge(subEdge);
-						graphData.edges.push(graphEdge);
-					});
-				}
-			});
-		} // copy the options
-
-
-		if (dotData.attr) {
-			graphData.options = dotData.attr;
-		}
-
-		return graphData;
-	}
-	/* eslint-enable no-var */
-
-	/* eslint-enable no-unused-vars */
-
-	/* eslint-enable no-prototype-builtins */
-
-	var dotparser = /*#__PURE__*/Object.freeze({
-		__proto__: null,
-		parseDOT: parseDOT,
-		DOTToGraph: DOTToGraph
-	});
-
-	/**
-	 * Convert Gephi to Vis.
-	 *
-	 * @param gephiJSON - The parsed JSON data in Gephi format.
-	 * @param optionsObj - Additional options.
-	 * @returns The converted data ready to be used in Vis.
-	 */
-	function parseGephi(gephiJSON, optionsObj) {
-		var _context;
-
-		var options = {
-			edges: {
-				inheritColor: false
-			},
-			nodes: {
-				fixed: false,
-				parseColor: false
-			}
-		};
-
-		if (optionsObj != null) {
-			if (optionsObj.fixed != null) {
-				options.nodes.fixed = optionsObj.fixed;
-			}
-
-			if (optionsObj.parseColor != null) {
-				options.nodes.parseColor = optionsObj.parseColor;
-			}
-
-			if (optionsObj.inheritColor != null) {
-				options.edges.inheritColor = optionsObj.inheritColor;
-			}
-		}
-
-		var gEdges = gephiJSON.edges;
-
-		var vEdges = map$3(gEdges).call(gEdges, function (gEdge) {
-			var vEdge = {
-				from: gEdge.source,
-				id: gEdge.id,
-				to: gEdge.target
-			};
-
-			if (gEdge.attributes != null) {
-				vEdge.attributes = gEdge.attributes;
-			}
-
-			if (gEdge.label != null) {
-				vEdge.label = gEdge.label;
-			}
-
-			if (gEdge.attributes != null && gEdge.attributes.title != null) {
-				vEdge.title = gEdge.attributes.title;
-			}
-
-			if (gEdge.type === "Directed") {
-				vEdge.arrows = "to";
-			} // edge['value'] = gEdge.attributes != null ? gEdge.attributes.Weight : undefined;
-			// edge['width'] = edge['value'] != null ? undefined : edgegEdge.size;
-
-
-			if (gEdge.color && options.edges.inheritColor === false) {
-				vEdge.color = gEdge.color;
-			}
-
-			return vEdge;
-		});
-
-		var vNodes = map$3(_context = gephiJSON.nodes).call(_context, function (gNode) {
-			var vNode = {
-				id: gNode.id,
-				fixed: options.nodes.fixed && gNode.x != null && gNode.y != null
-			};
-
-			if (gNode.attributes != null) {
-				vNode.attributes = gNode.attributes;
-			}
-
-			if (gNode.label != null) {
-				vNode.label = gNode.label;
-			}
-
-			if (gNode.size != null) {
-				vNode.size = gNode.size;
-			}
-
-			if (gNode.attributes != null && gNode.attributes.title != null) {
-				vNode.title = gNode.attributes.title;
-			}
-
-			if (gNode.title != null) {
-				vNode.title = gNode.title;
-			}
-
-			if (gNode.x != null) {
-				vNode.x = gNode.x;
-			}
-
-			if (gNode.y != null) {
-				vNode.y = gNode.y;
-			}
-
-			if (gNode.color != null) {
-				if (options.nodes.parseColor === true) {
-					vNode.color = gNode.color;
-				} else {
-					vNode.color = {
-						background: gNode.color,
-						border: gNode.color,
-						highlight: {
-							background: gNode.color,
-							border: gNode.color
-						},
-						hover: {
-							background: gNode.color,
-							border: gNode.color
-						}
-					};
-				}
-			}
-
-			return vNode;
-		});
-
-		return {
-			nodes: vNodes,
-			edges: vEdges
-		};
-	}
-
-	var gephiParser = /*#__PURE__*/Object.freeze({
-		__proto__: null,
-		parseGephi: parseGephi
-	});
-
-	// English
-	var en = {
-		addDescription: "Click in an empty space to place a new node.",
-		addEdge: "Add Edge",
-		addNode: "Add Node",
-		back: "Back",
-		close: "Close",
-		createEdgeError: "Cannot link edges to a cluster.",
-		del: "Delete selected",
-		deleteClusterError: "Clusters cannot be deleted.",
-		edgeDescription: "Click on a node and drag the edge to another node to connect them.",
-		edit: "Edit",
-		editClusterError: "Clusters cannot be edited.",
-		editEdge: "Edit Edge",
-		editEdgeDescription: "Click on the control points and drag them to a node to connect to it.",
-		editNode: "Edit Node"
-	}; // German
-
-	var de = {
-		addDescription: "Klicke auf eine freie Stelle, um einen neuen Knoten zu plazieren.",
-		addEdge: "Kante hinzuf\xFCgen",
-		addNode: "Knoten hinzuf\xFCgen",
-		back: "Zur\xFCck",
-		close: "Schließen",
-		createEdgeError: "Es ist nicht m\xF6glich, Kanten mit Clustern zu verbinden.",
-		del: "L\xF6sche Auswahl",
-		deleteClusterError: "Cluster k\xF6nnen nicht gel\xF6scht werden.",
-		edgeDescription: "Klicke auf einen Knoten und ziehe die Kante zu einem anderen Knoten, um diese zu verbinden.",
-		edit: "Editieren",
-		editClusterError: "Cluster k\xF6nnen nicht editiert werden.",
-		editEdge: "Kante editieren",
-		editEdgeDescription: "Klicke auf die Verbindungspunkte und ziehe diese auf einen Knoten, um sie zu verbinden.",
-		editNode: "Knoten editieren"
-	}; // Spanish
-
-	var es = {
-		addDescription: "Haga clic en un lugar vac\xEDo para colocar un nuevo nodo.",
-		addEdge: "A\xF1adir arista",
-		addNode: "A\xF1adir nodo",
-		back: "Atr\xE1s",
-		close: "Cerrar",
-		createEdgeError: "No se puede conectar una arista a un grupo.",
-		del: "Eliminar selecci\xF3n",
-		deleteClusterError: "No es posible eliminar grupos.",
-		edgeDescription: "Haga clic en un nodo y arrastre la arista hacia otro nodo para conectarlos.",
-		edit: "Editar",
-		editClusterError: "No es posible editar grupos.",
-		editEdge: "Editar arista",
-		editEdgeDescription: "Haga clic en un punto de control y arrastrelo a un nodo para conectarlo.",
-		editNode: "Editar nodo"
-	}; //Italiano
-
-	var it = {
-		addDescription: "Clicca per aggiungere un nuovo nodo",
-		addEdge: "Aggiungi un vertice",
-		addNode: "Aggiungi un nodo",
-		back: "Indietro",
-		close: "Chiudere",
-		createEdgeError: "Non si possono collegare vertici ad un cluster",
-		del: "Cancella la selezione",
-		deleteClusterError: "I cluster non possono essere cancellati",
-		edgeDescription: "Clicca su un nodo e trascinalo ad un altro nodo per connetterli.",
-		edit: "Modifica",
-		editClusterError: "I clusters non possono essere modificati.",
-		editEdge: "Modifica il vertice",
-		editEdgeDescription: "Clicca sui Punti di controllo e trascinali ad un nodo per connetterli.",
-		editNode: "Modifica il nodo"
-	}; // Dutch
-
-	var nl = {
-		addDescription: "Klik op een leeg gebied om een nieuwe node te maken.",
-		addEdge: "Link toevoegen",
-		addNode: "Node toevoegen",
-		back: "Terug",
-		close: "Sluiten",
-		createEdgeError: "Kan geen link maken naar een cluster.",
-		del: "Selectie verwijderen",
-		deleteClusterError: "Clusters kunnen niet worden verwijderd.",
-		edgeDescription: "Klik op een node en sleep de link naar een andere node om ze te verbinden.",
-		edit: "Wijzigen",
-		editClusterError: "Clusters kunnen niet worden aangepast.",
-		editEdge: "Link wijzigen",
-		editEdgeDescription: "Klik op de verbindingspunten en sleep ze naar een node om daarmee te verbinden.",
-		editNode: "Node wijzigen"
-	}; // Portuguese Brazil
-
-	var pt = {
-		addDescription: "Clique em um espaço em branco para adicionar um novo nó",
-		addEdge: "Adicionar aresta",
-		addNode: "Adicionar nó",
-		back: "Voltar",
-		close: "Fechar",
-		createEdgeError: "Não foi possível linkar arestas a um cluster.",
-		del: "Remover selecionado",
-		deleteClusterError: "Clusters não puderam ser removidos.",
-		edgeDescription: "Clique em um nó e arraste a aresta até outro nó para conectá-los",
-		edit: "Editar",
-		editClusterError: "Clusters não puderam ser editados.",
-		editEdge: "Editar aresta",
-		editEdgeDescription: "Clique nos pontos de controle e os arraste para um nó para conectá-los",
-		editNode: "Editar nó"
-	}; // Russian
-
-	var ru = {
-		addDescription: "Кликните в свободное место, чтобы добавить новый узел.",
-		addEdge: "Добавить ребро",
-		addNode: "Добавить узел",
-		back: "Назад",
-		close: "Закрывать",
-		createEdgeError: "Невозможно соединить ребра в кластер.",
-		del: "Удалить выбранное",
-		deleteClusterError: "Кластеры не могут быть удалены",
-		edgeDescription: "Кликните на узел и протяните ребро к другому узлу, чтобы соединить их.",
-		edit: "Редактировать",
-		editClusterError: "Кластеры недоступны для редактирования.",
-		editEdge: "Редактировать ребро",
-		editEdgeDescription: "Кликните на контрольные точки и перетащите их в узел, чтобы подключиться к нему.",
-		editNode: "Редактировать узел"
-	}; // Chinese
-
-	var cn = {
-		addDescription: "单击空白处放置新节点。",
-		addEdge: "添加连接线",
-		addNode: "添加节点",
-		back: "返回",
-		close: "關閉",
-		createEdgeError: "无法将连接线连接到群集。",
-		del: "删除选定",
-		deleteClusterError: "无法删除群集。",
-		edgeDescription: "单击某个节点并将该连接线拖动到另一个节点以连接它们。",
-		edit: "编辑",
-		editClusterError: "无法编辑群集。",
-		editEdge: "编辑连接线",
-		editEdgeDescription: "单击控制节点并将它们拖到节点上连接。",
-		editNode: "编辑节点"
-	}; // Ukrainian
-
-	var uk = {
-		addDescription: "Kлікніть на вільне місце, щоб додати новий вузол.",
-		addEdge: "Додати край",
-		addNode: "Додати вузол",
-		back: "Назад",
-		close: "Закрити",
-		createEdgeError: "Не можливо об'єднати краї в групу.",
-		del: "Видалити обране",
-		deleteClusterError: "Групи не можуть бути видалені.",
-		edgeDescription: "Клікніть на вузол і перетягніть край до іншого вузла, щоб їх з'єднати.",
-		edit: "Редагувати",
-		editClusterError: "Групи недоступні для редагування.",
-		editEdge: "Редагувати край",
-		editEdgeDescription: "Клікніть на контрольні точки і перетягніть їх у вузол, щоб підключитися до нього.",
-		editNode: "Редагувати вузол"
-	}; // French
-
-	var fr = {
-		addDescription: "Cliquez dans un endroit vide pour placer un nœud.",
-		addEdge: "Ajouter un lien",
-		addNode: "Ajouter un nœud",
-		back: "Retour",
-		close: "Fermer",
-		createEdgeError: "Impossible de créer un lien vers un cluster.",
-		del: "Effacer la sélection",
-		deleteClusterError: "Les clusters ne peuvent pas être effacés.",
-		edgeDescription: "Cliquez sur un nœud et glissez le lien vers un autre nœud pour les connecter.",
-		edit: "Éditer",
-		editClusterError: "Les clusters ne peuvent pas être édités.",
-		editEdge: "Éditer le lien",
-		editEdgeDescription: "Cliquez sur les points de contrôle et glissez-les pour connecter un nœud.",
-		editNode: "Éditer le nœud"
-	}; // Czech
-
-	var cs = {
-		addDescription: "Kluknutím do prázdného prostoru můžete přidat nový vrchol.",
-		addEdge: "Přidat hranu",
-		addNode: "Přidat vrchol",
-		back: "Zpět",
-		close: "Zavřít",
-		createEdgeError: "Nelze připojit hranu ke shluku.",
-		del: "Smazat výběr",
-		deleteClusterError: "Nelze mazat shluky.",
-		edgeDescription: "Přetažením z jednoho vrcholu do druhého můžete spojit tyto vrcholy novou hranou.",
-		edit: "Upravit",
-		editClusterError: "Nelze upravovat shluky.",
-		editEdge: "Upravit hranu",
-		editEdgeDescription: "Přetažením kontrolního vrcholu hrany ji můžete připojit k jinému vrcholu.",
-		editNode: "Upravit vrchol"
-	};
-
-	var locales = /*#__PURE__*/Object.freeze({
-		__proto__: null,
-		en: en,
-		de: de,
-		es: es,
-		it: it,
-		nl: nl,
-		pt: pt,
-		ru: ru,
-		cn: cn,
-		uk: uk,
-		fr: fr,
-		cs: cs
-	});
-
-	/**
-	 * Normalizes language code into the format used internally.
-	 *
-	 * @param locales - All the available locales.
-	 * @param rawCode - The original code as supplied by the user.
-	 * @returns Language code in the format language-COUNTRY or language, eventually
-	 * fallbacks to en.
-	 */
-	function normalizeLanguageCode(locales, rawCode) {
-		try {
-			var _rawCode$split = rawCode.split(/[-_ /]/, 2),
-				_rawCode$split2 = _slicedToArray(_rawCode$split, 2),
-				rawLanguage = _rawCode$split2[0],
-				rawCountry = _rawCode$split2[1];
-
-			var language = rawLanguage != null ? rawLanguage.toLowerCase() : null;
-			var country = rawCountry != null ? rawCountry.toUpperCase() : null;
-
-			if (language && country) {
-				var code = language + "-" + country;
-
-				if (Object.prototype.hasOwnProperty.call(locales, code)) {
-					return code;
-				} else {
-					var _context;
-
-					console.warn(concat(_context = "Unknown variant ".concat(country, " of language ")).call(_context, language, "."));
-				}
-			}
-
-			if (language) {
-				var _code = language;
-
-				if (Object.prototype.hasOwnProperty.call(locales, _code)) {
-					return _code;
-				} else {
-					console.warn("Unknown language ".concat(language));
-				}
-			}
-
-			console.warn("Unknown locale ".concat(rawCode, ", falling back to English."));
-			return "en";
-		} catch (error) {
-			console.error(error);
-			console.warn("Unexpected error while normalizing locale ".concat(rawCode, ", falling back to English."));
-			return "en";
-		}
-	}
-
-	/**
-	 * Associates a canvas to a given image, containing a number of renderings
-	 * of the image at various sizes.
-	 *
-	 * This technique is known as 'mipmapping'.
-	 *
-	 * NOTE: Images can also be of type 'data:svg+xml`. This code also works
-	 *       for svg, but the mipmapping may not be necessary.
-	 *
-	 * @param {Image} image
-	 */
-	var CachedImage = /*#__PURE__*/function () {
-		/**
-		 * @ignore
-		 */
-		function CachedImage() {
-			_classCallCheck(this, CachedImage);
-
-			this.NUM_ITERATIONS = 4; // Number of items in the coordinates array
-
-			this.image = new Image();
-			this.canvas = document.createElement("canvas");
-		}
-		/**
-		 * Called when the image has been successfully loaded.
-		 */
-
-
-		_createClass(CachedImage, [{
-			key: "init",
-			value: function init() {
-				if (this.initialized()) return;
-				this.src = this.image.src; // For same interface with Image
-
-				var w = this.image.width;
-				var h = this.image.height; // Ease external access
-
-				this.width = w;
-				this.height = h;
-				var h2 = Math.floor(h / 2);
-				var h4 = Math.floor(h / 4);
-				var h8 = Math.floor(h / 8);
-				var h16 = Math.floor(h / 16);
-				var w2 = Math.floor(w / 2);
-				var w4 = Math.floor(w / 4);
-				var w8 = Math.floor(w / 8);
-				var w16 = Math.floor(w / 16); // Make canvas as small as possible
-
-				this.canvas.width = 3 * w4;
-				this.canvas.height = h2; // Coordinates and sizes of images contained in the canvas
-				// Values per row:  [top x, left y, width, height]
-
-				this.coordinates = [[0, 0, w2, h2], [w2, 0, w4, h4], [w2, h4, w8, h8], [5 * w8, h4, w16, h16]];
-
-				this._fillMipMap();
-			}
-			/**
-			 * @returns {boolean} true if init() has been called, false otherwise.
-			 */
-
-		}, {
-			key: "initialized",
-			value: function initialized() {
-				return this.coordinates !== undefined;
-			}
-			/**
-			 * Redraw main image in various sizes to the context.
-			 *
-			 * The rationale behind this is to reduce artefacts due to interpolation
-			 * at differing zoom levels.
-			 *
-			 * Source: http://stackoverflow.com/q/18761404/1223531
-			 *
-			 * This methods takes the resizing out of the drawing loop, in order to
-			 * reduce performance overhead.
-			 *
-			 * TODO: The code assumes that a 2D context can always be gotten. This is
-			 *       not necessarily true! OTOH, if not true then usage of this class
-			 *       is senseless.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_fillMipMap",
-			value: function _fillMipMap() {
-				var ctx = this.canvas.getContext("2d"); // First zoom-level comes from the image
-
-				var to = this.coordinates[0];
-				ctx.drawImage(this.image, to[0], to[1], to[2], to[3]); // The rest are copy actions internal to the canvas/context
-
-				for (var iterations = 1; iterations < this.NUM_ITERATIONS; iterations++) {
-					var from = this.coordinates[iterations - 1];
-					var _to = this.coordinates[iterations];
-					ctx.drawImage(this.canvas, from[0], from[1], from[2], from[3], _to[0], _to[1], _to[2], _to[3]);
-				}
-			}
-			/**
-			 * Draw the image, using the mipmap if necessary.
-			 *
-			 * MipMap is only used if param factor > 2; otherwise, original bitmap
-			 * is resized. This is also used to skip mipmap usage, e.g. by setting factor = 1
-			 *
-			 * Credits to 'Alex de Mulder' for original implementation.
-			 *
-			 * @param {CanvasRenderingContext2D} ctx  context on which to draw zoomed image
-			 * @param {Float} factor scale factor at which to draw
-			 * @param {number} left
-			 * @param {number} top
-			 * @param {number} width
-			 * @param {number} height
-			 */
-
-		}, {
-			key: "drawImageAtPosition",
-			value: function drawImageAtPosition(ctx, factor, left, top, width, height) {
-				if (!this.initialized()) return; //can't draw image yet not intialized
-
-				if (factor > 2) {
-					// Determine which zoomed image to use
-					factor *= 0.5;
-					var iterations = 0;
-
-					while (factor > 2 && iterations < this.NUM_ITERATIONS) {
-						factor *= 0.5;
-						iterations += 1;
-					}
-
-					if (iterations >= this.NUM_ITERATIONS) {
-						iterations = this.NUM_ITERATIONS - 1;
-					} //console.log("iterations: " + iterations);
-
-
-					var from = this.coordinates[iterations];
-					ctx.drawImage(this.canvas, from[0], from[1], from[2], from[3], left, top, width, height);
-				} else {
-					// Draw image directly
-					ctx.drawImage(this.image, left, top, width, height);
-				}
-			}
-		}]);
-
-		return CachedImage;
-	}();
-
-	/**
-	 * This callback is a callback that accepts an Image.
-	 *
-	 * @callback ImageCallback
-	 * @param {Image} image
-	 */
-
-	/**
-	 * This class loads images and keeps them stored.
-	 *
-	 * @param {ImageCallback} callback
-	 */
-
-	var Images = /*#__PURE__*/function () {
-		/**
-		 * @param {ImageCallback} callback
-		 */
-		function Images(callback) {
-			_classCallCheck(this, Images);
-
-			this.images = {};
-			this.imageBroken = {};
-			this.callback = callback;
-		}
-		/**
-		 * @param {string} url                      The original Url that failed to load, if the broken image is successfully loaded it will be added to the cache using this Url as the key so that subsequent requests for this Url will return the broken image
-		 * @param {string} brokenUrl                Url the broken image to try and load
-		 * @param {Image} imageToLoadBrokenUrlOn   The image object
-		 */
-
-
-		_createClass(Images, [{
-			key: "_tryloadBrokenUrl",
-			value: function _tryloadBrokenUrl(url, brokenUrl, imageToLoadBrokenUrlOn) {
-				//If these parameters aren't specified then exit the function because nothing constructive can be done
-				if (url === undefined || imageToLoadBrokenUrlOn === undefined) return;
-
-				if (brokenUrl === undefined) {
-					console.warn("No broken url image defined");
-					return;
-				} //Clear the old subscription to the error event and put a new in place that only handle errors in loading the brokenImageUrl
-
-
-				imageToLoadBrokenUrlOn.image.onerror = function () {
-					console.error("Could not load brokenImage:", brokenUrl); // cache item will contain empty image, this should be OK for default
-				}; //Set the source of the image to the brokenUrl, this is actually what kicks off the loading of the broken image
-
-
-				imageToLoadBrokenUrlOn.image.src = brokenUrl;
-			}
-			/**
-			 *
-			 * @param {vis.Image} imageToRedrawWith
-			 * @private
-			 */
-
-		}, {
-			key: "_redrawWithImage",
-			value: function _redrawWithImage(imageToRedrawWith) {
-				if (this.callback) {
-					this.callback(imageToRedrawWith);
-				}
-			}
-			/**
-			 * @param {string} url          Url of the image
-			 * @param {string} brokenUrl    Url of an image to use if the url image is not found
-			 * @returns {Image} img          The image object
-			 */
-
-		}, {
-			key: "load",
-			value: function load(url, brokenUrl) {
-				var _this = this;
-
-				//Try and get the image from the cache, if successful then return the cached image
-				var cachedImage = this.images[url];
-				if (cachedImage) return cachedImage; //Create a new image
-
-				var img = new CachedImage(); // Need to add to cache here, otherwise final return will spawn different copies of the same image,
-				// Also, there will be multiple loads of the same image.
-
-				this.images[url] = img; //Subscribe to the event that is raised if the image loads successfully
-
-				img.image.onload = function () {
-					// Properly init the cached item and then request a redraw
-					_this._fixImageCoordinates(img.image);
-
-					img.init();
-
-					_this._redrawWithImage(img);
-				}; //Subscribe to the event that is raised if the image fails to load
-
-
-				img.image.onerror = function () {
-					console.error("Could not load image:", url); //Try and load the image specified by the brokenUrl using
-
-					_this._tryloadBrokenUrl(url, brokenUrl, img);
-				}; //Set the source of the image to the url, this is what actually kicks off the loading of the image
-
-
-				img.image.src = url; //Return the new image
-
-				return img;
-			}
-			/**
-			 * IE11 fix -- thanks dponch!
-			 *
-			 * Local helper function
-			 *
-			 * @param {vis.Image} imageToCache
-			 * @private
-			 */
-
-		}, {
-			key: "_fixImageCoordinates",
-			value: function _fixImageCoordinates(imageToCache) {
-				if (imageToCache.width === 0) {
-					document.body.appendChild(imageToCache);
-					imageToCache.width = imageToCache.offsetWidth;
-					imageToCache.height = imageToCache.offsetHeight;
-					document.body.removeChild(imageToCache);
-				}
-			}
-		}]);
-
-		return Images;
-	}();
-
-	var internalMetadata = { exports: {} };
-
-	var fails$7 = fails$t;
-	var arrayBufferNonExtensible = fails$7(function () {
-		if (typeof ArrayBuffer == 'function') {
-			var buffer = new ArrayBuffer(8); // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe
-
-			if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', {
-				value: 8
-			});
-		}
-	});
-
-	var fails$6 = fails$t;
-	var isObject$6 = isObject$j;
-	var classof$4 = classofRaw$1;
-	var ARRAY_BUFFER_NON_EXTENSIBLE = arrayBufferNonExtensible; // eslint-disable-next-line es/no-object-isextensible -- safe
-
-	var $isExtensible = Object.isExtensible;
-	var FAILS_ON_PRIMITIVES$1 = fails$6(function () {
-		$isExtensible(1);
-	}); // `Object.isExtensible` method
-	// https://tc39.es/ecma262/#sec-object.isextensible
-
-	var objectIsExtensible = FAILS_ON_PRIMITIVES$1 || ARRAY_BUFFER_NON_EXTENSIBLE ? function isExtensible(it) {
-		if (!isObject$6(it)) return false;
-		if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$4(it) == 'ArrayBuffer') return false;
-		return $isExtensible ? $isExtensible(it) : true;
-	} : $isExtensible;
-
-	var fails$5 = fails$t;
-	var freezing = !fails$5(function () {
-		// eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
-		return Object.isExtensible(Object.preventExtensions({}));
-	});
-
-	var $$e = _export;
-	var uncurryThis$4 = functionUncurryThis;
-	var hiddenKeys = hiddenKeys$6;
-	var isObject$5 = isObject$j;
-	var hasOwn$5 = hasOwnProperty_1;
-	var defineProperty$2 = objectDefineProperty.f;
-	var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
-	var getOwnPropertyNamesExternalModule = objectGetOwnPropertyNamesExternal;
-	var isExtensible$1 = objectIsExtensible;
-	var uid = uid$4;
-	var FREEZING = freezing;
-	var REQUIRED = false;
-	var METADATA = uid('meta');
-	var id$1 = 0;
-
-	var setMetadata = function (it) {
-		defineProperty$2(it, METADATA, {
-			value: {
-				objectID: 'O' + id$1++,
-				// object ID
-				weakData: {} // weak collections IDs
-
-			}
-		});
-	};
-
-	var fastKey$1 = function (it, create) {
-		// return a primitive with prefix
-		if (!isObject$5(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
-
-		if (!hasOwn$5(it, METADATA)) {
-			// can't set metadata to uncaught frozen object
-			if (!isExtensible$1(it)) return 'F'; // not necessary to add metadata
-
-			if (!create) return 'E'; // add missing metadata
-
-			setMetadata(it); // return object ID
-		}
-
-		return it[METADATA].objectID;
-	};
-
-	var getWeakData$1 = function (it, create) {
-		if (!hasOwn$5(it, METADATA)) {
-			// can't set metadata to uncaught frozen object
-			if (!isExtensible$1(it)) return true; // not necessary to add metadata
-
-			if (!create) return false; // add missing metadata
-
-			setMetadata(it); // return the store of weak collections IDs
-		}
-
-		return it[METADATA].weakData;
-	}; // add metadata on freeze-family methods calling
-
-
-	var onFreeze = function (it) {
-		if (FREEZING && REQUIRED && isExtensible$1(it) && !hasOwn$5(it, METADATA)) setMetadata(it);
-		return it;
-	};
-
-	var enable = function () {
-		meta.enable = function () {
-			/* empty */
-		};
-
-		REQUIRED = true;
-		var getOwnPropertyNames = getOwnPropertyNamesModule.f;
-		var splice = uncurryThis$4([].splice);
-		var test = {};
-		test[METADATA] = 1; // prevent exposing of metadata key
-
-		if (getOwnPropertyNames(test).length) {
-			getOwnPropertyNamesModule.f = function (it) {
-				var result = getOwnPropertyNames(it);
-
-				for (var i = 0, length = result.length; i < length; i++) {
-					if (result[i] === METADATA) {
-						splice(result, i, 1);
-						break;
-					}
-				}
-
-				return result;
-			};
-
-			$$e({
-				target: 'Object',
-				stat: true,
-				forced: true
-			}, {
-				getOwnPropertyNames: getOwnPropertyNamesExternalModule.f
-			});
-		}
-	};
-
-	var meta = internalMetadata.exports = {
-		enable: enable,
-		fastKey: fastKey$1,
-		getWeakData: getWeakData$1,
-		onFreeze: onFreeze
-	};
-	hiddenKeys[METADATA] = true;
-
-	var global$a = global$P;
-	var bind$3 = functionBindContext;
-	var call$1 = functionCall;
-	var anObject$3 = anObject$d;
-	var tryToString$1 = tryToString$4;
-	var isArrayIteratorMethod = isArrayIteratorMethod$2;
-	var lengthOfArrayLike$4 = lengthOfArrayLike$d;
-	var isPrototypeOf$9 = objectIsPrototypeOf;
-	var getIterator$5 = getIterator$7;
-	var getIteratorMethod = getIteratorMethod$8;
-	var iteratorClose = iteratorClose$2;
-	var TypeError$5 = global$a.TypeError;
-
-	var Result = function (stopped, result) {
-		this.stopped = stopped;
-		this.result = result;
-	};
-
-	var ResultPrototype = Result.prototype;
-
-	var iterate$3 = function (iterable, unboundFunction, options) {
-		var that = options && options.that;
-		var AS_ENTRIES = !!(options && options.AS_ENTRIES);
-		var IS_ITERATOR = !!(options && options.IS_ITERATOR);
-		var INTERRUPTED = !!(options && options.INTERRUPTED);
-		var fn = bind$3(unboundFunction, that);
-		var iterator, iterFn, index, length, result, next, step;
-
-		var stop = function (condition) {
-			if (iterator) iteratorClose(iterator, 'normal', condition);
-			return new Result(true, condition);
-		};
-
-		var callFn = function (value) {
-			if (AS_ENTRIES) {
-				anObject$3(value);
-				return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
-			}
-
-			return INTERRUPTED ? fn(value, stop) : fn(value);
-		};
-
-		if (IS_ITERATOR) {
-			iterator = iterable;
-		} else {
-			iterFn = getIteratorMethod(iterable);
-			if (!iterFn) throw TypeError$5(tryToString$1(iterable) + ' is not iterable'); // optimisation for array iterators
-
-			if (isArrayIteratorMethod(iterFn)) {
-				for (index = 0, length = lengthOfArrayLike$4(iterable); length > index; index++) {
-					result = callFn(iterable[index]);
-					if (result && isPrototypeOf$9(ResultPrototype, result)) return result;
-				}
-
-				return new Result(false);
-			}
-
-			iterator = getIterator$5(iterable, iterFn);
-		}
-
-		next = iterator.next;
-
-		while (!(step = call$1(next, iterator)).done) {
-			try {
-				result = callFn(step.value);
-			} catch (error) {
-				iteratorClose(iterator, 'throw', error);
-			}
-
-			if (typeof result == 'object' && result && isPrototypeOf$9(ResultPrototype, result)) return result;
-		}
-
-		return new Result(false);
-	};
-
-	var global$9 = global$P;
-	var isPrototypeOf$8 = objectIsPrototypeOf;
-	var TypeError$4 = global$9.TypeError;
-
-	var anInstance$3 = function (it, Prototype) {
-		if (isPrototypeOf$8(Prototype, it)) return it;
-		throw TypeError$4('Incorrect invocation');
-	};
-
-	var $$d = _export;
-	var global$8 = global$P;
-	var InternalMetadataModule$1 = internalMetadata.exports;
-	var fails$4 = fails$t;
-	var createNonEnumerableProperty = createNonEnumerableProperty$6;
-	var iterate$2 = iterate$3;
-	var anInstance$2 = anInstance$3;
-	var isCallable = isCallable$h;
-	var isObject$4 = isObject$j;
-	var setToStringTag = setToStringTag$5;
-	var defineProperty$1 = objectDefineProperty.f;
-	var forEach = arrayIteration.forEach;
-	var DESCRIPTORS$2 = descriptors;
-	var InternalStateModule$2 = internalState;
-	var setInternalState$2 = InternalStateModule$2.set;
-	var internalStateGetterFor$2 = InternalStateModule$2.getterFor;
-
-	var collection$3 = function (CONSTRUCTOR_NAME, wrapper, common) {
-		var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
-		var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
-		var ADDER = IS_MAP ? 'set' : 'add';
-		var NativeConstructor = global$8[CONSTRUCTOR_NAME];
-		var NativePrototype = NativeConstructor && NativeConstructor.prototype;
-		var exported = {};
-		var Constructor;
-
-		if (!DESCRIPTORS$2 || !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails$4(function () {
-			new NativeConstructor().entries().next();
-		}))) {
-			// create collection constructor
-			Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
-			InternalMetadataModule$1.enable();
-		} else {
-			Constructor = wrapper(function (target, iterable) {
-				setInternalState$2(anInstance$2(target, Prototype), {
-					type: CONSTRUCTOR_NAME,
-					collection: new NativeConstructor()
-				});
-				if (iterable != undefined) iterate$2(iterable, target[ADDER], {
-					that: target,
-					AS_ENTRIES: IS_MAP
-				});
-			});
-			var Prototype = Constructor.prototype;
-			var getInternalState = internalStateGetterFor$2(CONSTRUCTOR_NAME);
-			forEach(['add', 'clear', 'delete', 'forEach', 'get', 'has', 'set', 'keys', 'values', 'entries'], function (KEY) {
-				var IS_ADDER = KEY == 'add' || KEY == 'set';
-
-				if (KEY in NativePrototype && !(IS_WEAK && KEY == 'clear')) {
-					createNonEnumerableProperty(Prototype, KEY, function (a, b) {
-						var collection = getInternalState(this).collection;
-						if (!IS_ADDER && IS_WEAK && !isObject$4(a)) return KEY == 'get' ? undefined : false;
-						var result = collection[KEY](a === 0 ? 0 : a, b);
-						return IS_ADDER ? this : result;
-					});
-				}
-			});
-			IS_WEAK || defineProperty$1(Prototype, 'size', {
-				configurable: true,
-				get: function () {
-					return getInternalState(this).collection.size;
-				}
-			});
-		}
-
-		setToStringTag(Constructor, CONSTRUCTOR_NAME, false, true);
-		exported[CONSTRUCTOR_NAME] = Constructor;
-		$$d({
-			global: true,
-			forced: true
-		}, exported);
-		if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);
-		return Constructor;
-	};
-
-	var redefine = redefine$4;
-
-	var redefineAll$3 = function (target, src, options) {
-		for (var key in src) {
-			if (options && options.unsafe && target[key]) target[key] = src[key]; else redefine(target, key, src[key], options);
-		}
-
-		return target;
-	};
-
-	var getBuiltIn$1 = getBuiltIn$9;
-	var definePropertyModule = objectDefineProperty;
-	var wellKnownSymbol = wellKnownSymbol$j;
-	var DESCRIPTORS$1 = descriptors;
-	var SPECIES = wellKnownSymbol('species');
-
-	var setSpecies$1 = function (CONSTRUCTOR_NAME) {
-		var Constructor = getBuiltIn$1(CONSTRUCTOR_NAME);
-		var defineProperty = definePropertyModule.f;
-
-		if (DESCRIPTORS$1 && Constructor && !Constructor[SPECIES]) {
-			defineProperty(Constructor, SPECIES, {
-				configurable: true,
-				get: function () {
-					return this;
-				}
-			});
-		}
-	};
-
-	var defineProperty = objectDefineProperty.f;
-	var create$4 = objectCreate;
-	var redefineAll$2 = redefineAll$3;
-	var bind$2 = functionBindContext;
-	var anInstance$1 = anInstance$3;
-	var iterate$1 = iterate$3;
-	var defineIterator = defineIterator$3;
-	var setSpecies = setSpecies$1;
-	var DESCRIPTORS = descriptors;
-	var fastKey = internalMetadata.exports.fastKey;
-	var InternalStateModule$1 = internalState;
-	var setInternalState$1 = InternalStateModule$1.set;
-	var internalStateGetterFor$1 = InternalStateModule$1.getterFor;
-	var collectionStrong$2 = {
-		getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
-			var Constructor = wrapper(function (that, iterable) {
-				anInstance$1(that, Prototype);
-				setInternalState$1(that, {
-					type: CONSTRUCTOR_NAME,
-					index: create$4(null),
-					first: undefined,
-					last: undefined,
-					size: 0
-				});
-				if (!DESCRIPTORS) that.size = 0;
-				if (iterable != undefined) iterate$1(iterable, that[ADDER], {
-					that: that,
-					AS_ENTRIES: IS_MAP
-				});
-			});
-			var Prototype = Constructor.prototype;
-			var getInternalState = internalStateGetterFor$1(CONSTRUCTOR_NAME);
-
-			var define = function (that, key, value) {
-				var state = getInternalState(that);
-				var entry = getEntry(that, key);
-				var previous, index; // change existing entry
-
-				if (entry) {
-					entry.value = value; // create new entry
-				} else {
-					state.last = entry = {
-						index: index = fastKey(key, true),
-						key: key,
-						value: value,
-						previous: previous = state.last,
-						next: undefined,
-						removed: false
-					};
-					if (!state.first) state.first = entry;
-					if (previous) previous.next = entry;
-					if (DESCRIPTORS) state.size++; else that.size++; // add to index
-
-					if (index !== 'F') state.index[index] = entry;
-				}
-
-				return that;
-			};
-
-			var getEntry = function (that, key) {
-				var state = getInternalState(that); // fast case
-
-				var index = fastKey(key);
-				var entry;
-				if (index !== 'F') return state.index[index]; // frozen object case
-
-				for (entry = state.first; entry; entry = entry.next) {
-					if (entry.key == key) return entry;
-				}
-			};
-
-			redefineAll$2(Prototype, {
-				// `{ Map, Set }.prototype.clear()` methods
-				// https://tc39.es/ecma262/#sec-map.prototype.clear
-				// https://tc39.es/ecma262/#sec-set.prototype.clear
-				clear: function clear() {
-					var that = this;
-					var state = getInternalState(that);
-					var data = state.index;
-					var entry = state.first;
-
-					while (entry) {
-						entry.removed = true;
-						if (entry.previous) entry.previous = entry.previous.next = undefined;
-						delete data[entry.index];
-						entry = entry.next;
-					}
-
-					state.first = state.last = undefined;
-					if (DESCRIPTORS) state.size = 0; else that.size = 0;
-				},
-				// `{ Map, Set }.prototype.delete(key)` methods
-				// https://tc39.es/ecma262/#sec-map.prototype.delete
-				// https://tc39.es/ecma262/#sec-set.prototype.delete
-				'delete': function (key) {
-					var that = this;
-					var state = getInternalState(that);
-					var entry = getEntry(that, key);
-
-					if (entry) {
-						var next = entry.next;
-						var prev = entry.previous;
-						delete state.index[entry.index];
-						entry.removed = true;
-						if (prev) prev.next = next;
-						if (next) next.previous = prev;
-						if (state.first == entry) state.first = next;
-						if (state.last == entry) state.last = prev;
-						if (DESCRIPTORS) state.size--; else that.size--;
-					}
-
-					return !!entry;
-				},
-				// `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods
-				// https://tc39.es/ecma262/#sec-map.prototype.foreach
-				// https://tc39.es/ecma262/#sec-set.prototype.foreach
-				forEach: function forEach(callbackfn
-					/* , that = undefined */
-				) {
-					var state = getInternalState(this);
-					var boundFunction = bind$2(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
-					var entry;
-
-					while (entry = entry ? entry.next : state.first) {
-						boundFunction(entry.value, entry.key, this); // revert to the last existing entry
-
-						while (entry && entry.removed) entry = entry.previous;
-					}
-				},
-				// `{ Map, Set}.prototype.has(key)` methods
-				// https://tc39.es/ecma262/#sec-map.prototype.has
-				// https://tc39.es/ecma262/#sec-set.prototype.has
-				has: function has(key) {
-					return !!getEntry(this, key);
-				}
-			});
-			redefineAll$2(Prototype, IS_MAP ? {
-				// `Map.prototype.get(key)` method
-				// https://tc39.es/ecma262/#sec-map.prototype.get
-				get: function get(key) {
-					var entry = getEntry(this, key);
-					return entry && entry.value;
-				},
-				// `Map.prototype.set(key, value)` method
-				// https://tc39.es/ecma262/#sec-map.prototype.set
-				set: function set(key, value) {
-					return define(this, key === 0 ? 0 : key, value);
-				}
-			} : {
-				// `Set.prototype.add(value)` method
-				// https://tc39.es/ecma262/#sec-set.prototype.add
-				add: function add(value) {
-					return define(this, value = value === 0 ? 0 : value, value);
-				}
-			});
-			if (DESCRIPTORS) defineProperty(Prototype, 'size', {
-				get: function () {
-					return getInternalState(this).size;
-				}
-			});
-			return Constructor;
-		},
-		setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {
-			var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';
-			var getInternalCollectionState = internalStateGetterFor$1(CONSTRUCTOR_NAME);
-			var getInternalIteratorState = internalStateGetterFor$1(ITERATOR_NAME); // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods
-			// https://tc39.es/ecma262/#sec-map.prototype.entries
-			// https://tc39.es/ecma262/#sec-map.prototype.keys
-			// https://tc39.es/ecma262/#sec-map.prototype.values
-			// https://tc39.es/ecma262/#sec-map.prototype-@@iterator
-			// https://tc39.es/ecma262/#sec-set.prototype.entries
-			// https://tc39.es/ecma262/#sec-set.prototype.keys
-			// https://tc39.es/ecma262/#sec-set.prototype.values
-			// https://tc39.es/ecma262/#sec-set.prototype-@@iterator
-
-			defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {
-				setInternalState$1(this, {
-					type: ITERATOR_NAME,
-					target: iterated,
-					state: getInternalCollectionState(iterated),
-					kind: kind,
-					last: undefined
-				});
-			}, function () {
-				var state = getInternalIteratorState(this);
-				var kind = state.kind;
-				var entry = state.last; // revert to the last existing entry
-
-				while (entry && entry.removed) entry = entry.previous; // get next entry
-
-
-				if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {
-					// or finish the iteration
-					state.target = undefined;
-					return {
-						value: undefined,
-						done: true
-					};
-				} // return step by kind
-
-
-				if (kind == 'keys') return {
-					value: entry.key,
-					done: false
-				};
-				if (kind == 'values') return {
-					value: entry.value,
-					done: false
-				};
-				return {
-					value: [entry.key, entry.value],
-					done: false
-				};
-			}, IS_MAP ? 'entries' : 'values', !IS_MAP, true); // `{ Map, Set }.prototype[@@species]` accessors
-			// https://tc39.es/ecma262/#sec-get-map-@@species
-			// https://tc39.es/ecma262/#sec-get-set-@@species
-
-			setSpecies(CONSTRUCTOR_NAME);
-		}
-	};
-
-	var collection$2 = collection$3;
-	var collectionStrong$1 = collectionStrong$2; // `Map` constructor
-	// https://tc39.es/ecma262/#sec-map-objects
-
-	collection$2('Map', function (init) {
-		return function Map() {
-			return init(this, arguments.length ? arguments[0] : undefined);
-		};
-	}, collectionStrong$1);
-
-	var path$b = path$y;
-	var map$2 = path$b.Map;
-
-	var parent$v = map$2;
-	var map$1 = parent$v;
-
-	var map = map$1;
-
-	/**
-	 * This class can store groups and options specific for groups.
-	 */
-	var Groups = /*#__PURE__*/function () {
-		/**
-		 * @ignore
-		 */
-		function Groups() {
-			_classCallCheck(this, Groups);
-
-			this.clear();
-			this._defaultIndex = 0;
-			this._groupIndex = 0;
-			this._defaultGroups = [{
-				border: "#2B7CE9",
-				background: "#97C2FC",
-				highlight: {
-					border: "#2B7CE9",
-					background: "#D2E5FF"
-				},
-				hover: {
-					border: "#2B7CE9",
-					background: "#D2E5FF"
-				}
-			}, // 0: blue
-			{
-				border: "#FFA500",
-				background: "#FFFF00",
-				highlight: {
-					border: "#FFA500",
-					background: "#FFFFA3"
-				},
-				hover: {
-					border: "#FFA500",
-					background: "#FFFFA3"
-				}
-			}, // 1: yellow
-			{
-				border: "#FA0A10",
-				background: "#FB7E81",
-				highlight: {
-					border: "#FA0A10",
-					background: "#FFAFB1"
-				},
-				hover: {
-					border: "#FA0A10",
-					background: "#FFAFB1"
-				}
-			}, // 2: red
-			{
-				border: "#41A906",
-				background: "#7BE141",
-				highlight: {
-					border: "#41A906",
-					background: "#A1EC76"
-				},
-				hover: {
-					border: "#41A906",
-					background: "#A1EC76"
-				}
-			}, // 3: green
-			{
-				border: "#E129F0",
-				background: "#EB7DF4",
-				highlight: {
-					border: "#E129F0",
-					background: "#F0B3F5"
-				},
-				hover: {
-					border: "#E129F0",
-					background: "#F0B3F5"
-				}
-			}, // 4: magenta
-			{
-				border: "#7C29F0",
-				background: "#AD85E4",
-				highlight: {
-					border: "#7C29F0",
-					background: "#D3BDF0"
-				},
-				hover: {
-					border: "#7C29F0",
-					background: "#D3BDF0"
-				}
-			}, // 5: purple
-			{
-				border: "#C37F00",
-				background: "#FFA807",
-				highlight: {
-					border: "#C37F00",
-					background: "#FFCA66"
-				},
-				hover: {
-					border: "#C37F00",
-					background: "#FFCA66"
-				}
-			}, // 6: orange
-			{
-				border: "#4220FB",
-				background: "#6E6EFD",
-				highlight: {
-					border: "#4220FB",
-					background: "#9B9BFD"
-				},
-				hover: {
-					border: "#4220FB",
-					background: "#9B9BFD"
-				}
-			}, // 7: darkblue
-			{
-				border: "#FD5A77",
-				background: "#FFC0CB",
-				highlight: {
-					border: "#FD5A77",
-					background: "#FFD1D9"
-				},
-				hover: {
-					border: "#FD5A77",
-					background: "#FFD1D9"
-				}
-			}, // 8: pink
-			{
-				border: "#4AD63A",
-				background: "#C2FABC",
-				highlight: {
-					border: "#4AD63A",
-					background: "#E6FFE3"
-				},
-				hover: {
-					border: "#4AD63A",
-					background: "#E6FFE3"
-				}
-			}, // 9: mint
-			{
-				border: "#990000",
-				background: "#EE0000",
-				highlight: {
-					border: "#BB0000",
-					background: "#FF3333"
-				},
-				hover: {
-					border: "#BB0000",
-					background: "#FF3333"
-				}
-			}, // 10:bright red
-			{
-				border: "#FF6000",
-				background: "#FF6000",
-				highlight: {
-					border: "#FF6000",
-					background: "#FF6000"
-				},
-				hover: {
-					border: "#FF6000",
-					background: "#FF6000"
-				}
-			}, // 12: real orange
-			{
-				border: "#97C2FC",
-				background: "#2B7CE9",
-				highlight: {
-					border: "#D2E5FF",
-					background: "#2B7CE9"
-				},
-				hover: {
-					border: "#D2E5FF",
-					background: "#2B7CE9"
-				}
-			}, // 13: blue
-			{
-				border: "#399605",
-				background: "#255C03",
-				highlight: {
-					border: "#399605",
-					background: "#255C03"
-				},
-				hover: {
-					border: "#399605",
-					background: "#255C03"
-				}
-			}, // 14: green
-			{
-				border: "#B70054",
-				background: "#FF007E",
-				highlight: {
-					border: "#B70054",
-					background: "#FF007E"
-				},
-				hover: {
-					border: "#B70054",
-					background: "#FF007E"
-				}
-			}, // 15: magenta
-			{
-				border: "#AD85E4",
-				background: "#7C29F0",
-				highlight: {
-					border: "#D3BDF0",
-					background: "#7C29F0"
-				},
-				hover: {
-					border: "#D3BDF0",
-					background: "#7C29F0"
-				}
-			}, // 16: purple
-			{
-				border: "#4557FA",
-				background: "#000EA1",
-				highlight: {
-					border: "#6E6EFD",
-					background: "#000EA1"
-				},
-				hover: {
-					border: "#6E6EFD",
-					background: "#000EA1"
-				}
-			}, // 17: darkblue
-			{
-				border: "#FFC0CB",
-				background: "#FD5A77",
-				highlight: {
-					border: "#FFD1D9",
-					background: "#FD5A77"
-				},
-				hover: {
-					border: "#FFD1D9",
-					background: "#FD5A77"
-				}
-			}, // 18: pink
-			{
-				border: "#C2FABC",
-				background: "#74D66A",
-				highlight: {
-					border: "#E6FFE3",
-					background: "#74D66A"
-				},
-				hover: {
-					border: "#E6FFE3",
-					background: "#74D66A"
-				}
-			}, // 19: mint
-			{
-				border: "#EE0000",
-				background: "#990000",
-				highlight: {
-					border: "#FF3333",
-					background: "#BB0000"
-				},
-				hover: {
-					border: "#FF3333",
-					background: "#BB0000"
-				}
-			} // 20:bright red
-			];
-			this.options = {};
-			this.defaultOptions = {
-				useDefaultGroups: true
-			};
-
-			assign$2(this.options, this.defaultOptions);
-		}
-		/**
-		 *
-		 * @param {object} options
-		 */
-
-
-		_createClass(Groups, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				var optionFields = ["useDefaultGroups"];
-
-				if (options !== undefined) {
-					for (var groupName in options) {
-						if (Object.prototype.hasOwnProperty.call(options, groupName)) {
-							if (indexOf(optionFields).call(optionFields, groupName) === -1) {
-								var group = options[groupName];
-								this.add(groupName, group);
-							}
-						}
-					}
-				}
-			}
-			/**
-			 * Clear all groups
-			 */
-
-		}, {
-			key: "clear",
-			value: function clear() {
-				this._groups = new map();
-				this._groupNames = [];
-			}
-			/**
-			 * Get group options of a groupname.
-			 * If groupname is not found, a new group may be created.
-			 *
-			 * @param {*}       groupname     Can be a number, string, Date, etc.
-			 * @param {boolean} [shouldCreate=true] If true, create a new group
-			 * @returns {object} The found or created group
-			 */
-
-		}, {
-			key: "get",
-			value: function get(groupname) {
-				var shouldCreate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-
-				var group = this._groups.get(groupname);
-
-				if (group === undefined && shouldCreate) {
-					if (this.options.useDefaultGroups === false && this._groupNames.length > 0) {
-						// create new group
-						var index = this._groupIndex % this._groupNames.length;
-						++this._groupIndex;
-						group = {};
-						group.color = this._groups.get(this._groupNames[index]);
-
-						this._groups.set(groupname, group);
-					} else {
-						// create new group
-						var _index = this._defaultIndex % this._defaultGroups.length;
-
-						this._defaultIndex++;
-						group = {};
-						group.color = this._defaultGroups[_index];
-
-						this._groups.set(groupname, group);
-					}
-				}
-
-				return group;
-			}
-			/**
-			 * Add custom group style.
-			 *
-			 * @param {string} groupName - The name of the group, a new group will be
-			 * created if a group with the same name doesn't exist, otherwise the old
-			 * groups style will be overwritten.
-			 * @param {object} style - An object containing borderColor, backgroundColor,
-			 * etc.
-			 * @returns {object} The created group object.
-			 */
-
-		}, {
-			key: "add",
-			value: function add(groupName, style) {
-				// Only push group name once to prevent duplicates which would consume more
-				// RAM and also skew the distribution towards more often updated groups,
-				// neither of which is desirable.
-				if (!this._groups.has(groupName)) {
-					this._groupNames.push(groupName);
-				}
-
-				this._groups.set(groupName, style);
-
-				return style;
-			}
-		}]);
-
-		return Groups;
-	}();
-
-	var $$c = _export; // `Number.isNaN` method
-	// https://tc39.es/ecma262/#sec-number.isnan
-
-	$$c({
-		target: 'Number',
-		stat: true
-	}, {
-		isNaN: function isNaN(number) {
-			// eslint-disable-next-line no-self-compare -- NaN check
-			return number != number;
-		}
-	});
-
-	var path$a = path$y;
-	var isNan$2 = path$a.Number.isNaN;
-
-	var parent$u = isNan$2;
-	var isNan$1 = parent$u;
-
-	var isNan = isNan$1;
-
-	var global$7 = global$P;
-	var globalIsFinite = global$7.isFinite; // `Number.isFinite` method
-	// https://tc39.es/ecma262/#sec-number.isfinite
-	// eslint-disable-next-line es/no-number-isfinite -- safe
-
-	var numberIsFinite$1 = Number.isFinite || function isFinite(it) {
-		return typeof it == 'number' && globalIsFinite(it);
-	};
-
-	var $$b = _export;
-	var numberIsFinite = numberIsFinite$1; // `Number.isFinite` method
-	// https://tc39.es/ecma262/#sec-number.isfinite
-
-	$$b({
-		target: 'Number',
-		stat: true
-	}, {
-		isFinite: numberIsFinite
-	});
-
-	var path$9 = path$y;
-	var _isFinite$2 = path$9.Number.isFinite;
-
-	var parent$t = _isFinite$2;
-	var _isFinite$1 = parent$t;
-
-	var _isFinite = _isFinite$1;
-
-	var $$a = _export;
-	var $some = arrayIteration.some;
-	var arrayMethodIsStrict$3 = arrayMethodIsStrict$6;
-	var STRICT_METHOD$3 = arrayMethodIsStrict$3('some'); // `Array.prototype.some` method
-	// https://tc39.es/ecma262/#sec-array.prototype.some
-
-	$$a({
-		target: 'Array',
-		proto: true,
-		forced: !STRICT_METHOD$3
-	}, {
-		some: function some(callbackfn
-			/* , thisArg */
-		) {
-			return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
-		}
-	});
-
-	var entryVirtual$7 = entryVirtual$l;
-	var some$3 = entryVirtual$7('Array').some;
-
-	var isPrototypeOf$7 = objectIsPrototypeOf;
-	var method$7 = some$3;
-	var ArrayPrototype$7 = Array.prototype;
-
-	var some$2 = function (it) {
-		var own = it.some;
-		return it === ArrayPrototype$7 || isPrototypeOf$7(ArrayPrototype$7, it) && own === ArrayPrototype$7.some ? method$7 : own;
-	};
-
-	var parent$s = some$2;
-	var some$1 = parent$s;
-
-	var some = some$1;
-
-	var global$6 = global$P;
-	var isConstructor = isConstructor$4;
-	var tryToString = tryToString$4;
-	var TypeError$3 = global$6.TypeError; // `Assert: IsConstructor(argument) is true`
-
-	var aConstructor$1 = function (argument) {
-		if (isConstructor(argument)) return argument;
-		throw TypeError$3(tryToString(argument) + ' is not a constructor');
-	};
-
-	var $$9 = _export;
-	var getBuiltIn = getBuiltIn$9;
-	var apply = functionApply;
-	var bind$1 = functionBind;
-	var aConstructor = aConstructor$1;
-	var anObject$2 = anObject$d;
-	var isObject$3 = isObject$j;
-	var create$3 = objectCreate;
-	var fails$3 = fails$t;
-	var nativeConstruct = getBuiltIn('Reflect', 'construct');
-	var ObjectPrototype = Object.prototype;
-	var push$1 = [].push; // `Reflect.construct` method
-	// https://tc39.es/ecma262/#sec-reflect.construct
-	// MS Edge supports only 2 arguments and argumentsList argument is optional
-	// FF Nightly sets third argument as `new.target`, but does not create `this` from it
-
-	var NEW_TARGET_BUG = fails$3(function () {
-		function F() {
-			/* empty */
-		}
-
-		return !(nativeConstruct(function () {
-			/* empty */
-		}, [], F) instanceof F);
-	});
-	var ARGS_BUG = !fails$3(function () {
-		nativeConstruct(function () {
-			/* empty */
-		});
-	});
-	var FORCED$2 = NEW_TARGET_BUG || ARGS_BUG;
-	$$9({
-		target: 'Reflect',
-		stat: true,
-		forced: FORCED$2,
-		sham: FORCED$2
-	}, {
-		construct: function construct(Target, args
-			/* , newTarget */
-		) {
-			aConstructor(Target);
-			anObject$2(args);
-			var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);
-			if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
-
-			if (Target == newTarget) {
-				// w/o altered newTarget, optimization for 0-4 arguments
-				switch (args.length) {
-					case 0:
-						return new Target();
-
-					case 1:
-						return new Target(args[0]);
-
-					case 2:
-						return new Target(args[0], args[1]);
-
-					case 3:
-						return new Target(args[0], args[1], args[2]);
-
-					case 4:
-						return new Target(args[0], args[1], args[2], args[3]);
-				} // w/o altered newTarget, lot of arguments case
-
-
-				var $args = [null];
-				apply(push$1, $args, args);
-				return new (apply(bind$1, Target, $args))();
-			} // with altered newTarget, not support built-in constructors
-
-
-			var proto = newTarget.prototype;
-			var instance = create$3(isObject$3(proto) ? proto : ObjectPrototype);
-			var result = apply(Target, instance, args);
-			return isObject$3(result) ? result : instance;
-		}
-	});
-
-	var path$8 = path$y;
-	var construct$2 = path$8.Reflect.construct;
-
-	var parent$r = construct$2;
-	var construct$1 = parent$r;
-
-	var construct = construct$1;
-
-	function _assertThisInitialized(self) {
-		if (self === void 0) {
-			throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
-		}
-
-		return self;
-	}
-
-	var parent$q = create$6;
-	var create$2 = parent$q;
-
-	var parent$p = create$2;
-	var create$1 = parent$p;
-
-	var create = create$1;
-
-	var $$8 = _export;
-	var setPrototypeOf$5 = objectSetPrototypeOf; // `Object.setPrototypeOf` method
-	// https://tc39.es/ecma262/#sec-object.setprototypeof
-
-	$$8({
-		target: 'Object',
-		stat: true
-	}, {
-		setPrototypeOf: setPrototypeOf$5
-	});
-
-	var path$7 = path$y;
-	var setPrototypeOf$4 = path$7.Object.setPrototypeOf;
-
-	var parent$o = setPrototypeOf$4;
-	var setPrototypeOf$3 = parent$o;
-
-	var parent$n = setPrototypeOf$3;
-	var setPrototypeOf$2 = parent$n;
-
-	var parent$m = setPrototypeOf$2;
-	var setPrototypeOf$1 = parent$m;
-
-	var setPrototypeOf = setPrototypeOf$1;
-
-	function _setPrototypeOf(o, p) {
-		_setPrototypeOf = setPrototypeOf || function _setPrototypeOf(o, p) {
-			o.__proto__ = p;
-			return o;
-		};
-
-		return _setPrototypeOf(o, p);
-	}
-
-	function _inherits(subClass, superClass) {
-		if (typeof superClass !== "function" && superClass !== null) {
-			throw new TypeError("Super expression must either be null or a function");
-		}
-
-		subClass.prototype = create(superClass && superClass.prototype, {
-			constructor: {
-				value: subClass,
-				writable: true,
-				configurable: true
-			}
-		});
-
-		defineProperty$3(subClass, "prototype", {
-			writable: false
-		});
-
-		if (superClass) _setPrototypeOf(subClass, superClass);
-	}
-
-	function _possibleConstructorReturn(self, call) {
-		if (call && (_typeof(call) === "object" || typeof call === "function")) {
-			return call;
-		} else if (call !== void 0) {
-			throw new TypeError("Derived constructors may only return object or undefined");
-		}
-
-		return _assertThisInitialized(self);
-	}
-
-	var parent$l = getPrototypeOf$5;
-	var getPrototypeOf$3 = parent$l;
-
-	var parent$k = getPrototypeOf$3;
-	var getPrototypeOf$2 = parent$k;
-
-	var getPrototypeOf$1 = getPrototypeOf$2;
-
-	function _getPrototypeOf(o) {
-		_getPrototypeOf = setPrototypeOf ? getPrototypeOf$1 : function _getPrototypeOf(o) {
-			return o.__proto__ || getPrototypeOf$1(o);
-		};
-		return _getPrototypeOf(o);
-	}
-
-	var runtime = { exports: {} };
-
-	/**
-	 * Copyright (c) 2014-present, Facebook, Inc.
-	 *
-	 * This source code is licensed under the MIT license found in the
-	 * LICENSE file in the root directory of this source tree.
-	 */
-
-	(function (module) {
-		var runtime = function (exports) {
-
-			var Op = Object.prototype;
-			var hasOwn = Op.hasOwnProperty;
-			var undefined$1; // More compressible than void 0.
-
-			var $Symbol = typeof Symbol === "function" ? Symbol : {};
-			var iteratorSymbol = $Symbol.iterator || "@@iterator";
-			var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
-			var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
-
-			function define(obj, key, value) {
-				Object.defineProperty(obj, key, {
-					value: value,
-					enumerable: true,
-					configurable: true,
-					writable: true
-				});
-				return obj[key];
-			}
-
-			try {
-				// IE 8 has a broken Object.defineProperty that only works on DOM objects.
-				define({}, "");
-			} catch (err) {
-				define = function (obj, key, value) {
-					return obj[key] = value;
-				};
-			}
-
-			function wrap(innerFn, outerFn, self, tryLocsList) {
-				// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
-				var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
-				var generator = Object.create(protoGenerator.prototype);
-				var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next,
-				// .throw, and .return methods.
-
-				generator._invoke = makeInvokeMethod(innerFn, self, context);
-				return generator;
-			}
-
-			exports.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion
-			// record like context.tryEntries[i].completion. This interface could
-			// have been (and was previously) designed to take a closure to be
-			// invoked without arguments, but in all the cases we care about we
-			// already have an existing method we want to call, so there's no need
-			// to create a new function object. We can even get away with assuming
-			// the method takes exactly one argument, since that happens to be true
-			// in every case, so we don't have to touch the arguments object. The
-			// only additional allocation required is the completion record, which
-			// has a stable shape and so hopefully should be cheap to allocate.
-
-			function tryCatch(fn, obj, arg) {
-				try {
-					return {
-						type: "normal",
-						arg: fn.call(obj, arg)
-					};
-				} catch (err) {
-					return {
-						type: "throw",
-						arg: err
-					};
-				}
-			}
-
-			var GenStateSuspendedStart = "suspendedStart";
-			var GenStateSuspendedYield = "suspendedYield";
-			var GenStateExecuting = "executing";
-			var GenStateCompleted = "completed"; // Returning this object from the innerFn has the same effect as
-			// breaking out of the dispatch switch statement.
-
-			var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and
-			// .constructor.prototype properties for functions that return Generator
-			// objects. For full spec compliance, you may wish to configure your
-			// minifier not to mangle the names of these two functions.
-
-			function Generator() { }
-
-			function GeneratorFunction() { }
-
-			function GeneratorFunctionPrototype() { } // This is a polyfill for %IteratorPrototype% for environments that
-			// don't natively support it.
-
-
-			var IteratorPrototype = {};
-			define(IteratorPrototype, iteratorSymbol, function () {
-				return this;
-			});
-			var getProto = Object.getPrototypeOf;
-			var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
-
-			if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
-				// This environment has a native %IteratorPrototype%; use it instead
-				// of the polyfill.
-				IteratorPrototype = NativeIteratorPrototype;
-			}
-
-			var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
-			GeneratorFunction.prototype = GeneratorFunctionPrototype;
-			define(Gp, "constructor", GeneratorFunctionPrototype);
-			define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
-			GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the
-			// Iterator interface in terms of a single ._invoke method.
-
-			function defineIteratorMethods(prototype) {
-				["next", "throw", "return"].forEach(function (method) {
-					define(prototype, method, function (arg) {
-						return this._invoke(method, arg);
-					});
-				});
-			}
-
-			exports.isGeneratorFunction = function (genFun) {
-				var ctor = typeof genFun === "function" && genFun.constructor;
-				return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can
-					// do is to check its .name property.
-					(ctor.displayName || ctor.name) === "GeneratorFunction" : false;
-			};
-
-			exports.mark = function (genFun) {
-				if (Object.setPrototypeOf) {
-					Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
-				} else {
-					genFun.__proto__ = GeneratorFunctionPrototype;
-					define(genFun, toStringTagSymbol, "GeneratorFunction");
-				}
-
-				genFun.prototype = Object.create(Gp);
-				return genFun;
-			}; // Within the body of any async function, `await x` is transformed to
-			// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
-			// `hasOwn.call(value, "__await")` to determine if the yielded value is
-			// meant to be awaited.
-
-
-			exports.awrap = function (arg) {
-				return {
-					__await: arg
-				};
-			};
-
-			function AsyncIterator(generator, PromiseImpl) {
-				function invoke(method, arg, resolve, reject) {
-					var record = tryCatch(generator[method], generator, arg);
-
-					if (record.type === "throw") {
-						reject(record.arg);
-					} else {
-						var result = record.arg;
-						var value = result.value;
-
-						if (value && typeof value === "object" && hasOwn.call(value, "__await")) {
-							return PromiseImpl.resolve(value.__await).then(function (value) {
-								invoke("next", value, resolve, reject);
-							}, function (err) {
-								invoke("throw", err, resolve, reject);
-							});
-						}
-
-						return PromiseImpl.resolve(value).then(function (unwrapped) {
-							// When a yielded Promise is resolved, its final value becomes
-							// the .value of the Promise<{value,done}> result for the
-							// current iteration.
-							result.value = unwrapped;
-							resolve(result);
-						}, function (error) {
-							// If a rejected Promise was yielded, throw the rejection back
-							// into the async generator function so it can be handled there.
-							return invoke("throw", error, resolve, reject);
-						});
-					}
-				}
-
-				var previousPromise;
-
-				function enqueue(method, arg) {
-					function callInvokeWithMethodAndArg() {
-						return new PromiseImpl(function (resolve, reject) {
-							invoke(method, arg, resolve, reject);
-						});
-					}
-
-					return previousPromise = // If enqueue has been called before, then we want to wait until
-						// all previous Promises have been resolved before calling invoke,
-						// so that results are always delivered in the correct order. If
-						// enqueue has not been called before, then it is important to
-						// call invoke immediately, without waiting on a callback to fire,
-						// so that the async generator function has the opportunity to do
-						// any necessary setup in a predictable way. This predictability
-						// is why the Promise constructor synchronously invokes its
-						// executor callback, and why async functions synchronously
-						// execute code before the first await. Since we implement simple
-						// async functions in terms of async generators, it is especially
-						// important to get this right, even though it requires care.
-						previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later
-							// invocations of the iterator.
-							callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
-				} // Define the unified helper method that is used to implement .next,
-				// .throw, and .return (see defineIteratorMethods).
-
-
-				this._invoke = enqueue;
-			}
-
-			defineIteratorMethods(AsyncIterator.prototype);
-			define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
-				return this;
-			});
-			exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of
-			// AsyncIterator objects; they just return a Promise for the value of
-			// the final result produced by the iterator.
-
-			exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
-				if (PromiseImpl === void 0) PromiseImpl = Promise;
-				var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
-				return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.
-					: iter.next().then(function (result) {
-						return result.done ? result.value : iter.next();
-					});
-			};
-
-			function makeInvokeMethod(innerFn, self, context) {
-				var state = GenStateSuspendedStart;
-				return function invoke(method, arg) {
-					if (state === GenStateExecuting) {
-						throw new Error("Generator is already running");
-					}
-
-					if (state === GenStateCompleted) {
-						if (method === "throw") {
-							throw arg;
-						} // Be forgiving, per 25.3.3.3.3 of the spec:
-						// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
-
-
-						return doneResult();
-					}
-
-					context.method = method;
-					context.arg = arg;
-
-					while (true) {
-						var delegate = context.delegate;
-
-						if (delegate) {
-							var delegateResult = maybeInvokeDelegate(delegate, context);
-
-							if (delegateResult) {
-								if (delegateResult === ContinueSentinel) continue;
-								return delegateResult;
-							}
-						}
-
-						if (context.method === "next") {
-							// Setting context._sent for legacy support of Babel's
-							// function.sent implementation.
-							context.sent = context._sent = context.arg;
-						} else if (context.method === "throw") {
-							if (state === GenStateSuspendedStart) {
-								state = GenStateCompleted;
-								throw context.arg;
-							}
-
-							context.dispatchException(context.arg);
-						} else if (context.method === "return") {
-							context.abrupt("return", context.arg);
-						}
-
-						state = GenStateExecuting;
-						var record = tryCatch(innerFn, self, context);
-
-						if (record.type === "normal") {
-							// If an exception is thrown from innerFn, we leave state ===
-							// GenStateExecuting and loop back for another invocation.
-							state = context.done ? GenStateCompleted : GenStateSuspendedYield;
-
-							if (record.arg === ContinueSentinel) {
-								continue;
-							}
-
-							return {
-								value: record.arg,
-								done: context.done
-							};
-						} else if (record.type === "throw") {
-							state = GenStateCompleted; // Dispatch the exception by looping back around to the
-							// context.dispatchException(context.arg) call above.
-
-							context.method = "throw";
-							context.arg = record.arg;
-						}
-					}
-				};
-			} // Call delegate.iterator[context.method](context.arg) and handle the
-			// result, either by returning a { value, done } result from the
-			// delegate iterator, or by modifying context.method and context.arg,
-			// setting context.delegate to null, and returning the ContinueSentinel.
-
-
-			function maybeInvokeDelegate(delegate, context) {
-				var method = delegate.iterator[context.method];
-
-				if (method === undefined$1) {
-					// A .throw or .return when the delegate iterator has no .throw
-					// method always terminates the yield* loop.
-					context.delegate = null;
-
-					if (context.method === "throw") {
-						// Note: ["return"] must be used for ES3 parsing compatibility.
-						if (delegate.iterator["return"]) {
-							// If the delegate iterator has a return method, give it a
-							// chance to clean up.
-							context.method = "return";
-							context.arg = undefined$1;
-							maybeInvokeDelegate(delegate, context);
-
-							if (context.method === "throw") {
-								// If maybeInvokeDelegate(context) changed context.method from
-								// "return" to "throw", let that override the TypeError below.
-								return ContinueSentinel;
-							}
-						}
-
-						context.method = "throw";
-						context.arg = new TypeError("The iterator does not provide a 'throw' method");
-					}
-
-					return ContinueSentinel;
-				}
-
-				var record = tryCatch(method, delegate.iterator, context.arg);
-
-				if (record.type === "throw") {
-					context.method = "throw";
-					context.arg = record.arg;
-					context.delegate = null;
-					return ContinueSentinel;
-				}
-
-				var info = record.arg;
-
-				if (!info) {
-					context.method = "throw";
-					context.arg = new TypeError("iterator result is not an object");
-					context.delegate = null;
-					return ContinueSentinel;
-				}
-
-				if (info.done) {
-					// Assign the result of the finished delegate to the temporary
-					// variable specified by delegate.resultName (see delegateYield).
-					context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield).
-
-					context.next = delegate.nextLoc; // If context.method was "throw" but the delegate handled the
-					// exception, let the outer generator proceed normally. If
-					// context.method was "next", forget context.arg since it has been
-					// "consumed" by the delegate iterator. If context.method was
-					// "return", allow the original .return call to continue in the
-					// outer generator.
-
-					if (context.method !== "return") {
-						context.method = "next";
-						context.arg = undefined$1;
-					}
-				} else {
-					// Re-yield the result returned by the delegate method.
-					return info;
-				} // The delegate iterator is finished, so forget it and continue with
-				// the outer generator.
-
-
-				context.delegate = null;
-				return ContinueSentinel;
-			} // Define Generator.prototype.{next,throw,return} in terms of the
-			// unified ._invoke helper method.
-
-
-			defineIteratorMethods(Gp);
-			define(Gp, toStringTagSymbol, "Generator"); // A Generator should always return itself as the iterator object when the
-			// @@iterator function is called on it. Some browsers' implementations of the
-			// iterator prototype chain incorrectly implement this, causing the Generator
-			// object to not be returned from this call. This ensures that doesn't happen.
-			// See https://github.com/facebook/regenerator/issues/274 for more details.
-
-			define(Gp, iteratorSymbol, function () {
-				return this;
-			});
-			define(Gp, "toString", function () {
-				return "[object Generator]";
-			});
-
-			function pushTryEntry(locs) {
-				var entry = {
-					tryLoc: locs[0]
-				};
-
-				if (1 in locs) {
-					entry.catchLoc = locs[1];
-				}
-
-				if (2 in locs) {
-					entry.finallyLoc = locs[2];
-					entry.afterLoc = locs[3];
-				}
-
-				this.tryEntries.push(entry);
-			}
-
-			function resetTryEntry(entry) {
-				var record = entry.completion || {};
-				record.type = "normal";
-				delete record.arg;
-				entry.completion = record;
-			}
-
-			function Context(tryLocsList) {
-				// The root entry object (effectively a try statement without a catch
-				// or a finally block) gives us a place to store values thrown from
-				// locations where there is no enclosing try statement.
-				this.tryEntries = [{
-					tryLoc: "root"
-				}];
-				tryLocsList.forEach(pushTryEntry, this);
-				this.reset(true);
-			}
-
-			exports.keys = function (object) {
-				var keys = [];
-
-				for (var key in object) {
-					keys.push(key);
-				}
-
-				keys.reverse(); // Rather than returning an object with a next method, we keep
-				// things simple and return the next function itself.
-
-				return function next() {
-					while (keys.length) {
-						var key = keys.pop();
-
-						if (key in object) {
-							next.value = key;
-							next.done = false;
-							return next;
-						}
-					} // To avoid creating an additional object, we just hang the .value
-					// and .done properties off the next function object itself. This
-					// also ensures that the minifier will not anonymize the function.
-
-
-					next.done = true;
-					return next;
-				};
-			};
-
-			function values(iterable) {
-				if (iterable) {
-					var iteratorMethod = iterable[iteratorSymbol];
-
-					if (iteratorMethod) {
-						return iteratorMethod.call(iterable);
-					}
-
-					if (typeof iterable.next === "function") {
-						return iterable;
-					}
-
-					if (!isNaN(iterable.length)) {
-						var i = -1,
-							next = function next() {
-								while (++i < iterable.length) {
-									if (hasOwn.call(iterable, i)) {
-										next.value = iterable[i];
-										next.done = false;
-										return next;
-									}
-								}
-
-								next.value = undefined$1;
-								next.done = true;
-								return next;
-							};
-
-						return next.next = next;
-					}
-				} // Return an iterator with no values.
-
-
-				return {
-					next: doneResult
-				};
-			}
-
-			exports.values = values;
-
-			function doneResult() {
-				return {
-					value: undefined$1,
-					done: true
-				};
-			}
-
-			Context.prototype = {
-				constructor: Context,
-				reset: function (skipTempReset) {
-					this.prev = 0;
-					this.next = 0; // Resetting context._sent for legacy support of Babel's
-					// function.sent implementation.
-
-					this.sent = this._sent = undefined$1;
-					this.done = false;
-					this.delegate = null;
-					this.method = "next";
-					this.arg = undefined$1;
-					this.tryEntries.forEach(resetTryEntry);
-
-					if (!skipTempReset) {
-						for (var name in this) {
-							// Not sure about the optimal order of these conditions:
-							if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) {
-								this[name] = undefined$1;
-							}
-						}
-					}
-				},
-				stop: function () {
-					this.done = true;
-					var rootEntry = this.tryEntries[0];
-					var rootRecord = rootEntry.completion;
-
-					if (rootRecord.type === "throw") {
-						throw rootRecord.arg;
-					}
-
-					return this.rval;
-				},
-				dispatchException: function (exception) {
-					if (this.done) {
-						throw exception;
-					}
-
-					var context = this;
-
-					function handle(loc, caught) {
-						record.type = "throw";
-						record.arg = exception;
-						context.next = loc;
-
-						if (caught) {
-							// If the dispatched exception was caught by a catch block,
-							// then let that catch block handle the exception normally.
-							context.method = "next";
-							context.arg = undefined$1;
-						}
-
-						return !!caught;
-					}
-
-					for (var i = this.tryEntries.length - 1; i >= 0; --i) {
-						var entry = this.tryEntries[i];
-						var record = entry.completion;
-
-						if (entry.tryLoc === "root") {
-							// Exception thrown outside of any try block that could handle
-							// it, so set the completion value of the entire function to
-							// throw the exception.
-							return handle("end");
-						}
-
-						if (entry.tryLoc <= this.prev) {
-							var hasCatch = hasOwn.call(entry, "catchLoc");
-							var hasFinally = hasOwn.call(entry, "finallyLoc");
-
-							if (hasCatch && hasFinally) {
-								if (this.prev < entry.catchLoc) {
-									return handle(entry.catchLoc, true);
-								} else if (this.prev < entry.finallyLoc) {
-									return handle(entry.finallyLoc);
-								}
-							} else if (hasCatch) {
-								if (this.prev < entry.catchLoc) {
-									return handle(entry.catchLoc, true);
-								}
-							} else if (hasFinally) {
-								if (this.prev < entry.finallyLoc) {
-									return handle(entry.finallyLoc);
-								}
-							} else {
-								throw new Error("try statement without catch or finally");
-							}
-						}
-					}
-				},
-				abrupt: function (type, arg) {
-					for (var i = this.tryEntries.length - 1; i >= 0; --i) {
-						var entry = this.tryEntries[i];
-
-						if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
-							var finallyEntry = entry;
-							break;
-						}
-					}
-
-					if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) {
-						// Ignore the finally entry if control is not jumping to a
-						// location outside the try/catch block.
-						finallyEntry = null;
-					}
-
-					var record = finallyEntry ? finallyEntry.completion : {};
-					record.type = type;
-					record.arg = arg;
-
-					if (finallyEntry) {
-						this.method = "next";
-						this.next = finallyEntry.finallyLoc;
-						return ContinueSentinel;
-					}
-
-					return this.complete(record);
-				},
-				complete: function (record, afterLoc) {
-					if (record.type === "throw") {
-						throw record.arg;
-					}
-
-					if (record.type === "break" || record.type === "continue") {
-						this.next = record.arg;
-					} else if (record.type === "return") {
-						this.rval = this.arg = record.arg;
-						this.method = "return";
-						this.next = "end";
-					} else if (record.type === "normal" && afterLoc) {
-						this.next = afterLoc;
-					}
-
-					return ContinueSentinel;
-				},
-				finish: function (finallyLoc) {
-					for (var i = this.tryEntries.length - 1; i >= 0; --i) {
-						var entry = this.tryEntries[i];
-
-						if (entry.finallyLoc === finallyLoc) {
-							this.complete(entry.completion, entry.afterLoc);
-							resetTryEntry(entry);
-							return ContinueSentinel;
-						}
-					}
-				},
-				"catch": function (tryLoc) {
-					for (var i = this.tryEntries.length - 1; i >= 0; --i) {
-						var entry = this.tryEntries[i];
-
-						if (entry.tryLoc === tryLoc) {
-							var record = entry.completion;
-
-							if (record.type === "throw") {
-								var thrown = record.arg;
-								resetTryEntry(entry);
-							}
-
-							return thrown;
-						}
-					} // The context.catch method must only be called with a location
-					// argument that corresponds to a known catch block.
-
-
-					throw new Error("illegal catch attempt");
-				},
-				delegateYield: function (iterable, resultName, nextLoc) {
-					this.delegate = {
-						iterator: values(iterable),
-						resultName: resultName,
-						nextLoc: nextLoc
-					};
-
-					if (this.method === "next") {
-						// Deliberately forget the last sent value so that we don't
-						// accidentally pass it on to the delegate.
-						this.arg = undefined$1;
-					}
-
-					return ContinueSentinel;
-				}
-			}; // Regardless of whether this script is executing as a CommonJS module
-			// or not, return the runtime object so that we can declare the variable
-			// regeneratorRuntime in the outer scope, which allows this module to be
-			// injected easily by `bin/regenerator --include-runtime script.js`.
-
-			return exports;
-		}( // If this script is executing as a CommonJS module, use module.exports
-			// as the regeneratorRuntime namespace. Otherwise create a new empty
-			// object. Either way, the resulting object will be used to initialize
-			// the regeneratorRuntime variable at the top of this file.
-			module.exports);
-
-		try {
-			regeneratorRuntime = runtime;
-		} catch (accidentalStrictMode) {
-			// This module should not be running in strict mode, so the above
-			// assignment should always work unless something is misconfigured. Just
-			// in case runtime.js accidentally runs in strict mode, in modern engines
-			// we can explicitly access globalThis. In older engines we can escape
-			// strict mode using a global Function call. This could conceivably fail
-			// if a Content Security Policy forbids using Function, but in that case
-			// the proper solution is to fix the accidental strict mode problem. If
-			// you've misconfigured your bundler to force strict mode and applied a
-			// CSP to forbid Function, and you're not willing to fix either of those
-			// problems, please detail your unique predicament in a GitHub issue.
-			if (typeof globalThis === "object") {
-				globalThis.regeneratorRuntime = runtime;
-			} else {
-				Function("r", "regeneratorRuntime = r")(runtime);
-			}
-		}
-	})(runtime);
-
-	var regenerator = runtime.exports;
-
-	var global$5 = global$P;
-	var aCallable$2 = aCallable$7;
-	var toObject$2 = toObject$e;
-	var IndexedObject = indexedObject;
-	var lengthOfArrayLike$3 = lengthOfArrayLike$d;
-	var TypeError$2 = global$5.TypeError; // `Array.prototype.{ reduce, reduceRight }` methods implementation
-
-	var createMethod = function (IS_RIGHT) {
-		return function (that, callbackfn, argumentsLength, memo) {
-			aCallable$2(callbackfn);
-			var O = toObject$2(that);
-			var self = IndexedObject(O);
-			var length = lengthOfArrayLike$3(O);
-			var index = IS_RIGHT ? length - 1 : 0;
-			var i = IS_RIGHT ? -1 : 1;
-			if (argumentsLength < 2) while (true) {
-				if (index in self) {
-					memo = self[index];
-					index += i;
-					break;
-				}
-
-				index += i;
-
-				if (IS_RIGHT ? index < 0 : length <= index) {
-					throw TypeError$2('Reduce of empty array with no initial value');
-				}
-			}
-
-			for (; IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
-				memo = callbackfn(memo, self[index], index, O);
-			}
-
-			return memo;
-		};
-	};
-
-	var arrayReduce = {
-		// `Array.prototype.reduce` method
-		// https://tc39.es/ecma262/#sec-array.prototype.reduce
-		left: createMethod(false),
-		// `Array.prototype.reduceRight` method
-		// https://tc39.es/ecma262/#sec-array.prototype.reduceright
-		right: createMethod(true)
-	};
-
-	var classof$3 = classofRaw$1;
-	var global$4 = global$P;
-	var engineIsNode = classof$3(global$4.process) == 'process';
-
-	var $$7 = _export;
-	var $reduce = arrayReduce.left;
-	var arrayMethodIsStrict$2 = arrayMethodIsStrict$6;
-	var CHROME_VERSION = engineV8Version;
-	var IS_NODE = engineIsNode;
-	var STRICT_METHOD$2 = arrayMethodIsStrict$2('reduce'); // Chrome 80-82 has a critical bug
-	// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
-
-	var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; // `Array.prototype.reduce` method
-	// https://tc39.es/ecma262/#sec-array.prototype.reduce
-
-	$$7({
-		target: 'Array',
-		proto: true,
-		forced: !STRICT_METHOD$2 || CHROME_BUG
-	}, {
-		reduce: function reduce(callbackfn
-			/* , initialValue */
-		) {
-			var length = arguments.length;
-			return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
-		}
-	});
-
-	var entryVirtual$6 = entryVirtual$l;
-	var reduce$3 = entryVirtual$6('Array').reduce;
-
-	var isPrototypeOf$6 = objectIsPrototypeOf;
-	var method$6 = reduce$3;
-	var ArrayPrototype$6 = Array.prototype;
-
-	var reduce$2 = function (it) {
-		var own = it.reduce;
-		return it === ArrayPrototype$6 || isPrototypeOf$6(ArrayPrototype$6, it) && own === ArrayPrototype$6.reduce ? method$6 : own;
-	};
-
-	var parent$j = reduce$2;
-	var reduce$1 = parent$j;
-
-	var reduce = reduce$1;
-
-	var global$3 = global$P;
-	var isArray = isArray$d;
-	var lengthOfArrayLike$2 = lengthOfArrayLike$d;
-	var bind = functionBindContext;
-	var TypeError$1 = global$3.TypeError; // `FlattenIntoArray` abstract operation
-	// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
-
-	var flattenIntoArray$1 = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {
-		var targetIndex = start;
-		var sourceIndex = 0;
-		var mapFn = mapper ? bind(mapper, thisArg) : false;
-		var element, elementLen;
-
-		while (sourceIndex < sourceLen) {
-			if (sourceIndex in source) {
-				element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
-
-				if (depth > 0 && isArray(element)) {
-					elementLen = lengthOfArrayLike$2(element);
-					targetIndex = flattenIntoArray$1(target, original, element, elementLen, targetIndex, depth - 1) - 1;
-				} else {
-					if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError$1('Exceed the acceptable array length');
-					target[targetIndex] = element;
-				}
-
-				targetIndex++;
-			}
-
-			sourceIndex++;
-		}
-
-		return targetIndex;
-	};
-
-	var flattenIntoArray_1 = flattenIntoArray$1;
-
-	var $$6 = _export;
-	var flattenIntoArray = flattenIntoArray_1;
-	var aCallable$1 = aCallable$7;
-	var toObject$1 = toObject$e;
-	var lengthOfArrayLike$1 = lengthOfArrayLike$d;
-	var arraySpeciesCreate = arraySpeciesCreate$4; // `Array.prototype.flatMap` method
-	// https://tc39.es/ecma262/#sec-array.prototype.flatmap
-
-	$$6({
-		target: 'Array',
-		proto: true
-	}, {
-		flatMap: function flatMap(callbackfn
-			/* , thisArg */
-		) {
-			var O = toObject$1(this);
-			var sourceLen = lengthOfArrayLike$1(O);
-			var A;
-			aCallable$1(callbackfn);
-			A = arraySpeciesCreate(O, 0);
-			A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
-			return A;
-		}
-	});
-
-	var entryVirtual$5 = entryVirtual$l;
-	var flatMap$3 = entryVirtual$5('Array').flatMap;
-
-	var isPrototypeOf$5 = objectIsPrototypeOf;
-	var method$5 = flatMap$3;
-	var ArrayPrototype$5 = Array.prototype;
-
-	var flatMap$2 = function (it) {
-		var own = it.flatMap;
-		return it === ArrayPrototype$5 || isPrototypeOf$5(ArrayPrototype$5, it) && own === ArrayPrototype$5.flatMap ? method$5 : own;
-	};
-
-	var parent$i = flatMap$2;
-	var flatMap$1 = parent$i;
-
-	var flatMap = flatMap$1;
-
-	var collection$1 = collection$3;
-	var collectionStrong = collectionStrong$2; // `Set` constructor
-	// https://tc39.es/ecma262/#sec-set-objects
-
-	collection$1('Set', function (init) {
-		return function Set() {
-			return init(this, arguments.length ? arguments[0] : undefined);
-		};
-	}, collectionStrong);
-
-	var path$6 = path$y;
-	var set$2 = path$6.Set;
-
-	var parent$h = set$2;
-	var set$1 = parent$h;
-
-	var set = set$1;
-
-	var iterator = iterator$4;
-
-	var getIterator$4 = getIterator$7;
-	var getIterator_1 = getIterator$4;
-
-	var parent$g = getIterator_1;
-	var getIterator$3 = parent$g;
-
-	var parent$f = getIterator$3;
-	var getIterator$2 = parent$f;
-
-	var parent$e = getIterator$2;
-	var getIterator$1 = parent$e;
-
-	var getIterator = getIterator$1;
-
-	var arraySlice = arraySliceSimple;
-	var floor = Math.floor;
-
-	var mergeSort = function (array, comparefn) {
-		var length = array.length;
-		var middle = floor(length / 2);
-		return length < 8 ? insertionSort(array, comparefn) : merge(array, mergeSort(arraySlice(array, 0, middle), comparefn), mergeSort(arraySlice(array, middle), comparefn), comparefn);
-	};
-
-	var insertionSort = function (array, comparefn) {
-		var length = array.length;
-		var i = 1;
-		var element, j;
-
-		while (i < length) {
-			j = i;
-			element = array[i];
-
-			while (j && comparefn(array[j - 1], element) > 0) {
-				array[j] = array[--j];
-			}
-
-			if (j !== i++) array[j] = element;
-		}
-
-		return array;
-	};
-
-	var merge = function (array, left, right, comparefn) {
-		var llength = left.length;
-		var rlength = right.length;
-		var lindex = 0;
-		var rindex = 0;
-
-		while (lindex < llength || rindex < rlength) {
-			array[lindex + rindex] = lindex < llength && rindex < rlength ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] : lindex < llength ? left[lindex++] : right[rindex++];
-		}
-
-		return array;
-	};
-
-	var arraySort = mergeSort;
-
-	var userAgent$1 = engineUserAgent;
-	var firefox = userAgent$1.match(/firefox\/(\d+)/i);
-	var engineFfVersion = !!firefox && +firefox[1];
-
-	var UA = engineUserAgent;
-	var engineIsIeOrEdge = /MSIE|Trident/.test(UA);
-
-	var userAgent = engineUserAgent;
-	var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
-	var engineWebkitVersion = !!webkit && +webkit[1];
-
-	var $$5 = _export;
-	var uncurryThis$3 = functionUncurryThis;
-	var aCallable = aCallable$7;
-	var toObject = toObject$e;
-	var lengthOfArrayLike = lengthOfArrayLike$d;
-	var toString$1 = toString$8;
-	var fails$2 = fails$t;
-	var internalSort = arraySort;
-	var arrayMethodIsStrict$1 = arrayMethodIsStrict$6;
-	var FF = engineFfVersion;
-	var IE_OR_EDGE = engineIsIeOrEdge;
-	var V8 = engineV8Version;
-	var WEBKIT = engineWebkitVersion;
-	var test = [];
-	var un$Sort = uncurryThis$3(test.sort);
-	var push = uncurryThis$3(test.push); // IE8-
-
-	var FAILS_ON_UNDEFINED = fails$2(function () {
-		test.sort(undefined);
-	}); // V8 bug
-
-	var FAILS_ON_NULL = fails$2(function () {
-		test.sort(null);
-	}); // Old WebKit
-
-	var STRICT_METHOD$1 = arrayMethodIsStrict$1('sort');
-	var STABLE_SORT = !fails$2(function () {
-		// feature detection can be too slow, so check engines versions
-		if (V8) return V8 < 70;
-		if (FF && FF > 3) return;
-		if (IE_OR_EDGE) return true;
-		if (WEBKIT) return WEBKIT < 603;
-		var result = '';
-		var code, chr, value, index; // generate an array with more 512 elements (Chakra and old V8 fails only in this case)
-
-		for (code = 65; code < 76; code++) {
-			chr = String.fromCharCode(code);
-
-			switch (code) {
-				case 66:
-				case 69:
-				case 70:
-				case 72:
-					value = 3;
-					break;
-
-				case 68:
-				case 71:
-					value = 4;
-					break;
-
-				default:
-					value = 2;
-			}
-
-			for (index = 0; index < 47; index++) {
-				test.push({
-					k: chr + index,
-					v: value
-				});
-			}
-		}
-
-		test.sort(function (a, b) {
-			return b.v - a.v;
-		});
-
-		for (index = 0; index < test.length; index++) {
-			chr = test[index].k.charAt(0);
-			if (result.charAt(result.length - 1) !== chr) result += chr;
-		}
-
-		return result !== 'DGBEFHACIJK';
-	});
-	var FORCED$1 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD$1 || !STABLE_SORT;
-
-	var getSortCompare = function (comparefn) {
-		return function (x, y) {
-			if (y === undefined) return -1;
-			if (x === undefined) return 1;
-			if (comparefn !== undefined) return +comparefn(x, y) || 0;
-			return toString$1(x) > toString$1(y) ? 1 : -1;
-		};
-	}; // `Array.prototype.sort` method
-	// https://tc39.es/ecma262/#sec-array.prototype.sort
-
-
-	$$5({
-		target: 'Array',
-		proto: true,
-		forced: FORCED$1
-	}, {
-		sort: function sort(comparefn) {
-			if (comparefn !== undefined) aCallable(comparefn);
-			var array = toObject(this);
-			if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);
-			var items = [];
-			var arrayLength = lengthOfArrayLike(array);
-			var itemsLength, index;
-
-			for (index = 0; index < arrayLength; index++) {
-				if (index in array) push(items, array[index]);
-			}
-
-			internalSort(items, getSortCompare(comparefn));
-			itemsLength = items.length;
-			index = 0;
-
-			while (index < itemsLength) array[index] = items[index++];
-
-			while (index < arrayLength) delete array[index++];
-
-			return array;
-		}
-	});
-
-	var entryVirtual$4 = entryVirtual$l;
-	var sort$3 = entryVirtual$4('Array').sort;
-
-	var isPrototypeOf$4 = objectIsPrototypeOf;
-	var method$4 = sort$3;
-	var ArrayPrototype$4 = Array.prototype;
-
-	var sort$2 = function (it) {
-		var own = it.sort;
-		return it === ArrayPrototype$4 || isPrototypeOf$4(ArrayPrototype$4, it) && own === ArrayPrototype$4.sort ? method$4 : own;
-	};
-
-	var parent$d = sort$2;
-	var sort$1 = parent$d;
-
-	var sort = sort$1;
-
-	var entryVirtual$3 = entryVirtual$l;
-	var keys$3 = entryVirtual$3('Array').keys;
-
-	var parent$c = keys$3;
-	var keys$2 = parent$c;
-
-	var classof$2 = classof$e;
-	var hasOwn$4 = hasOwnProperty_1;
-	var isPrototypeOf$3 = objectIsPrototypeOf;
-	var method$3 = keys$2;
-	var ArrayPrototype$3 = Array.prototype;
-	var DOMIterables$2 = {
-		DOMTokenList: true,
-		NodeList: true
-	};
-
-	var keys$1 = function (it) {
-		var own = it.keys;
-		return it === ArrayPrototype$3 || isPrototypeOf$3(ArrayPrototype$3, it) && own === ArrayPrototype$3.keys || hasOwn$4(DOMIterables$2, classof$2(it)) ? method$3 : own;
-	};
-
-	var keys = keys$1;
-
-	var entryVirtual$2 = entryVirtual$l;
-	var values$3 = entryVirtual$2('Array').values;
-
-	var parent$b = values$3;
-	var values$2 = parent$b;
-
-	var classof$1 = classof$e;
-	var hasOwn$3 = hasOwnProperty_1;
-	var isPrototypeOf$2 = objectIsPrototypeOf;
-	var method$2 = values$2;
-	var ArrayPrototype$2 = Array.prototype;
-	var DOMIterables$1 = {
-		DOMTokenList: true,
-		NodeList: true
-	};
-
-	var values$1 = function (it) {
-		var own = it.values;
-		return it === ArrayPrototype$2 || isPrototypeOf$2(ArrayPrototype$2, it) && own === ArrayPrototype$2.values || hasOwn$3(DOMIterables$1, classof$1(it)) ? method$2 : own;
-	};
-
-	var values = values$1;
-
-	var entryVirtual$1 = entryVirtual$l;
-	var entries$3 = entryVirtual$1('Array').entries;
-
-	var parent$a = entries$3;
-	var entries$2 = parent$a;
-
-	var classof = classof$e;
-	var hasOwn$2 = hasOwnProperty_1;
-	var isPrototypeOf$1 = objectIsPrototypeOf;
-	var method$1 = entries$2;
-	var ArrayPrototype$1 = Array.prototype;
-	var DOMIterables = {
-		DOMTokenList: true,
-		NodeList: true
-	};
-
-	var entries$1 = function (it) {
-		var own = it.entries;
-		return it === ArrayPrototype$1 || isPrototypeOf$1(ArrayPrototype$1, it) && own === ArrayPrototype$1.entries || hasOwn$2(DOMIterables, classof(it)) ? method$1 : own;
-	};
-
-	var entries = entries$1;
-
-	// Unique ID creation requires a high quality random # generator. In the browser we therefore
-	// require the crypto API and do not support built-in fallback to lower quality random number
-	// generators (like Math.random()).
-	var getRandomValues;
-	var rnds8 = new Uint8Array(16);
-	function rng() {
-		// lazy load so that environments that need to polyfill have a chance to do so
-		if (!getRandomValues) {
-			// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
-			// find the complete implementation of crypto (msCrypto) on IE11.
-			getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
-
-			if (!getRandomValues) {
-				throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
-			}
-		}
-
-		return getRandomValues(rnds8);
-	}
-
-	var REGEX = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
-
-	function validate(uuid) {
-		return typeof uuid === 'string' && REGEX.test(uuid);
-	}
-
-	/**
-	 * Convert array of 16 byte values to UUID string format of the form:
-	 * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
-	 */
-
-	var byteToHex = [];
-
-	for (var i = 0; i < 256; ++i) {
-		byteToHex.push((i + 0x100).toString(16).substr(1));
-	}
-
-	function stringify(arr) {
-		var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; // Note: Be careful editing this code!  It's been tuned for performance
-		// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
-
-		var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
-		// of the following:
-		// - One or more input array values don't map to a hex octet (leading to
-		// "undefined" in the uuid)
-		// - Invalid input values for the RFC `version` or `variant` fields
-
-		if (!validate(uuid)) {
-			throw TypeError('Stringified UUID is invalid');
-		}
-
-		return uuid;
-	}
-
-	function v4(options, buf, offset) {
-		options = options || {};
-		var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
-
-		rnds[6] = rnds[6] & 0x0f | 0x40;
-		rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
-
-		if (buf) {
-			offset = offset || 0;
-
-			for (var i = 0; i < 16; ++i) {
-				buf[offset + i] = rnds[i];
-			}
-
-			return buf;
-		}
-
-		return stringify(rnds);
-	}
-
-	var _Symbol$iterator;
-
-	function ownKeys$4(object, enumerableOnly) { var keys = keys$4(object); if (getOwnPropertySymbols) { var symbols = getOwnPropertySymbols(object); enumerableOnly && (symbols = filter(symbols).call(symbols, function (sym) { return getOwnPropertyDescriptor$3(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
-
-	function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var _context32, _context33; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? forEach$2(_context32 = ownKeys$4(Object(source), !0)).call(_context32, function (key) { _defineProperty(target, key, source[key]); }) : getOwnPropertyDescriptors ? defineProperties(target, getOwnPropertyDescriptors(source)) : forEach$2(_context33 = ownKeys$4(Object(source))).call(_context33, function (key) { defineProperty$6(target, key, getOwnPropertyDescriptor$3(source, key)); }); } return target; }
-
-	function _createSuper$t(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$t(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$t() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-
-	function _createForOfIteratorHelper$7(o, allowArrayLike) { var it = typeof symbol !== "undefined" && getIteratorMethod$1(o) || o["@@iterator"]; if (!it) { if (isArray$2(o) || (it = _unsupportedIterableToArray$7(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() { }; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
-
-	function _unsupportedIterableToArray$7(o, minLen) { var _context31; if (!o) return; if (typeof o === "string") return _arrayLikeToArray$7(o, minLen); var n = slice(_context31 = Object.prototype.toString.call(o)).call(_context31, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return from$3(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$7(o, minLen); }
-
-	function _arrayLikeToArray$7(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
-	/**
-	 * Create new data pipe.
-	 *
-	 * @param from - The source data set or data view.
-	 * @remarks
-	 * Example usage:
-	 * ```typescript
-	 * interface AppItem {
-	 *   whoami: string;
-	 *   appData: unknown;
-	 *   visData: VisItem;
-	 * }
-	 * interface VisItem {
-	 *   id: number;
-	 *   label: string;
-	 *   color: string;
-	 *   x: number;
-	 *   y: number;
-	 * }
-	 *
-	 * const ds1 = new DataSet<AppItem, "whoami">([], { fieldId: "whoami" });
-	 * const ds2 = new DataSet<VisItem, "id">();
-	 *
-	 * const pipe = createNewDataPipeFrom(ds1)
-	 *   .filter((item): boolean => item.enabled === true)
-	 *   .map<VisItem, "id">((item): VisItem => item.visData)
-	 *   .to(ds2);
-	 *
-	 * pipe.start();
-	 * ```
-	 * @returns A factory whose methods can be used to configure the pipe.
-	 */
-
-	function createNewDataPipeFrom(from) {
-		return new DataPipeUnderConstruction(from);
-	}
-	/**
-	 * Internal implementation of the pipe. This should be accessible only through
-	 * `createNewDataPipeFrom` from the outside.
-	 *
-	 * @typeParam SI - Source item type.
-	 * @typeParam SP - Source item type's id property name.
-	 * @typeParam TI - Target item type.
-	 * @typeParam TP - Target item type's id property name.
-	 */
-
-
-	var SimpleDataPipe = /*#__PURE__*/function () {
-		/**
-		 * Bound listeners for use with `DataInterface['on' | 'off']`.
-		 */
-
-		/**
-		 * Create a new data pipe.
-		 *
-		 * @param _source - The data set or data view that will be observed.
-		 * @param _transformers - An array of transforming functions to be used to
-		 * filter or transform the items in the pipe.
-		 * @param _target - The data set or data view that will receive the items.
-		 */
-		function SimpleDataPipe(_source, _transformers, _target) {
-			var _context, _context2, _context3;
-
-			_classCallCheck(this, SimpleDataPipe);
-
-			_defineProperty(this, "_source", void 0);
-
-			_defineProperty(this, "_transformers", void 0);
-
-			_defineProperty(this, "_target", void 0);
-
-			_defineProperty(this, "_listeners", {
-				add: bind$6(_context = this._add).call(_context, this),
-				remove: bind$6(_context2 = this._remove).call(_context2, this),
-				update: bind$6(_context3 = this._update).call(_context3, this)
-			});
-
-			this._source = _source;
-			this._transformers = _transformers;
-			this._target = _target;
-		}
-		/** @inheritDoc */
-
-
-		_createClass(SimpleDataPipe, [{
-			key: "all",
-			value: function all() {
-				this._target.update(this._transformItems(this._source.get()));
-
-				return this;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "start",
-			value: function start() {
-				this._source.on("add", this._listeners.add);
-
-				this._source.on("remove", this._listeners.remove);
-
-				this._source.on("update", this._listeners.update);
-
-				return this;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "stop",
-			value: function stop() {
-				this._source.off("add", this._listeners.add);
-
-				this._source.off("remove", this._listeners.remove);
-
-				this._source.off("update", this._listeners.update);
-
-				return this;
-			}
-			/**
-			 * Apply the transformers to the items.
-			 *
-			 * @param items - The items to be transformed.
-			 * @returns The transformed items.
-			 */
-
-		}, {
-			key: "_transformItems",
-			value: function _transformItems(items) {
-				var _context4;
-
-				return reduce(_context4 = this._transformers).call(_context4, function (items, transform) {
-					return transform(items);
-				}, items);
-			}
-			/**
-			 * Handle an add event.
-			 *
-			 * @param _name - Ignored.
-			 * @param payload - The payload containing the ids of the added items.
-			 */
-
-		}, {
-			key: "_add",
-			value: function _add(_name, payload) {
-				if (payload == null) {
-					return;
-				}
-
-				this._target.add(this._transformItems(this._source.get(payload.items)));
-			}
-			/**
-			 * Handle an update event.
-			 *
-			 * @param _name - Ignored.
-			 * @param payload - The payload containing the ids of the updated items.
-			 */
-
-		}, {
-			key: "_update",
-			value: function _update(_name, payload) {
-				if (payload == null) {
-					return;
-				}
-
-				this._target.update(this._transformItems(this._source.get(payload.items)));
-			}
-			/**
-			 * Handle a remove event.
-			 *
-			 * @param _name - Ignored.
-			 * @param payload - The payload containing the data of the removed items.
-			 */
-
-		}, {
-			key: "_remove",
-			value: function _remove(_name, payload) {
-				if (payload == null) {
-					return;
-				}
-
-				this._target.remove(this._transformItems(payload.oldData));
-			}
-		}]);
-
-		return SimpleDataPipe;
-	}();
-	/**
-	 * Internal implementation of the pipe factory. This should be accessible
-	 * only through `createNewDataPipeFrom` from the outside.
-	 *
-	 * @typeParam TI - Target item type.
-	 * @typeParam TP - Target item type's id property name.
-	 */
-
-
-	var DataPipeUnderConstruction = /*#__PURE__*/function () {
-		/**
-		 * Array transformers used to transform items within the pipe. This is typed
-		 * as any for the sake of simplicity.
-		 */
-
-		/**
-		 * Create a new data pipe factory. This is an internal constructor that
-		 * should never be called from outside of this file.
-		 *
-		 * @param _source - The source data set or data view for this pipe.
-		 */
-		function DataPipeUnderConstruction(_source) {
-			_classCallCheck(this, DataPipeUnderConstruction);
-
-			_defineProperty(this, "_source", void 0);
-
-			_defineProperty(this, "_transformers", []);
-
-			this._source = _source;
-		}
-		/**
-		 * Filter the items.
-		 *
-		 * @param callback - A filtering function that returns true if given item
-		 * should be piped and false if not.
-		 * @returns This factory for further configuration.
-		 */
-
-
-		_createClass(DataPipeUnderConstruction, [{
-			key: "filter",
-			value: function filter$1(callback) {
-				this._transformers.push(function (input) {
-					return filter(input).call(input, callback);
-				});
-
-				return this;
-			}
-			/**
-			 * Map each source item to a new type.
-			 *
-			 * @param callback - A mapping function that takes a source item and returns
-			 * corresponding mapped item.
-			 * @typeParam TI - Target item type.
-			 * @typeParam TP - Target item type's id property name.
-			 * @returns This factory for further configuration.
-			 */
-
-		}, {
-			key: "map",
-			value: function map(callback) {
-				this._transformers.push(function (input) {
-					return map$3(input).call(input, callback);
-				});
-
-				return this;
-			}
-			/**
-			 * Map each source item to zero or more items of a new type.
-			 *
-			 * @param callback - A mapping function that takes a source item and returns
-			 * an array of corresponding mapped items.
-			 * @typeParam TI - Target item type.
-			 * @typeParam TP - Target item type's id property name.
-			 * @returns This factory for further configuration.
-			 */
-
-		}, {
-			key: "flatMap",
-			value: function flatMap$1(callback) {
-				this._transformers.push(function (input) {
-					return flatMap(input).call(input, callback);
-				});
-
-				return this;
-			}
-			/**
-			 * Connect this pipe to given data set.
-			 *
-			 * @param target - The data set that will receive the items from this pipe.
-			 * @returns The pipe connected between given data sets and performing
-			 * configured transformation on the processed items.
-			 */
-
-		}, {
-			key: "to",
-			value: function to(target) {
-				return new SimpleDataPipe(this._source, this._transformers, target);
-			}
-		}]);
-
-		return DataPipeUnderConstruction;
-	}();
-	/**
-	 * Determine whether a value can be used as an id.
-	 *
-	 * @param value - Input value of unknown type.
-	 * @returns True if the value is valid id, false otherwise.
-	 */
-
-
-	function isId(value) {
-		return typeof value === "string" || typeof value === "number";
-	}
-	/**
-	 * A queue.
-	 *
-	 * @typeParam T - The type of method names to be replaced by queued versions.
-	 */
-
-
-	var Queue = /*#__PURE__*/function () {
-		/** Delay in milliseconds. If defined the queue will be periodically flushed. */
-
-		/** Maximum number of entries in the queue before it will be flushed. */
-
-		/**
-		 * Construct a new Queue.
-		 *
-		 * @param options - Queue configuration.
-		 */
-		function Queue(options) {
-			_classCallCheck(this, Queue);
-
-			_defineProperty(this, "delay", void 0);
-
-			_defineProperty(this, "max", void 0);
-
-			_defineProperty(this, "_queue", []);
-
-			_defineProperty(this, "_timeout", null);
-
-			_defineProperty(this, "_extended", null);
-
-			// options
-			this.delay = null;
-			this.max = Infinity;
-			this.setOptions(options);
-		}
-		/**
-		 * Update the configuration of the queue.
-		 *
-		 * @param options - Queue configuration.
-		 */
-
-
-		_createClass(Queue, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (options && typeof options.delay !== "undefined") {
-					this.delay = options.delay;
-				}
-
-				if (options && typeof options.max !== "undefined") {
-					this.max = options.max;
-				}
-
-				this._flushIfNeeded();
-			}
-			/**
-			 * Extend an object with queuing functionality.
-			 * The object will be extended with a function flush, and the methods provided in options.replace will be replaced with queued ones.
-			 *
-			 * @param object - The object to be extended.
-			 * @param options - Additional options.
-			 * @returns The created queue.
-			 */
-
-		}, {
-			key: "destroy",
-			value:
-				/**
-				 * Destroy the queue. The queue will first flush all queued actions, and in case it has extended an object, will restore the original object.
-				 */
-				function destroy() {
-					this.flush();
-
-					if (this._extended) {
-						var object = this._extended.object;
-						var methods = this._extended.methods;
-
-						for (var i = 0; i < methods.length; i++) {
-							var method = methods[i];
-
-							if (method.original) {
-								// @TODO: better solution?
-								object[method.name] = method.original;
-							} else {
-								// @TODO: better solution?
-								delete object[method.name];
-							}
-						}
-
-						this._extended = null;
-					}
-				}
-			/**
-			 * Replace a method on an object with a queued version.
-			 *
-			 * @param object - Object having the method.
-			 * @param method - The method name.
-			 */
-
-		}, {
-			key: "replace",
-			value: function replace(object, method) {
-				/* eslint-disable-next-line @typescript-eslint/no-this-alias -- Function this is necessary in the function bellow, so class this has to be saved into a variable here. */
-				var me = this;
-				var original = object[method];
-
-				if (!original) {
-					throw new Error("Method " + method + " undefined");
-				}
-
-				object[method] = function () {
-					for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
-						args[_key] = arguments[_key];
-					}
-
-					// add this call to the queue
-					me.queue({
-						args: args,
-						fn: original,
-						context: this
-					});
-				};
-			}
-			/**
-			 * Queue a call.
-			 *
-			 * @param entry - The function or entry to be queued.
-			 */
-
-		}, {
-			key: "queue",
-			value: function queue(entry) {
-				if (typeof entry === "function") {
-					this._queue.push({
-						fn: entry
-					});
-				} else {
-					this._queue.push(entry);
-				}
-
-				this._flushIfNeeded();
-			}
-			/**
-			 * Check whether the queue needs to be flushed.
-			 */
-
-		}, {
-			key: "_flushIfNeeded",
-			value: function _flushIfNeeded() {
-				var _this = this;
-
-				// flush when the maximum is exceeded.
-				if (this._queue.length > this.max) {
-					this.flush();
-				} // flush after a period of inactivity when a delay is configured
-
-
-				if (this._timeout != null) {
-					clearTimeout(this._timeout);
-					this._timeout = null;
-				}
-
-				if (this.queue.length > 0 && typeof this.delay === "number") {
-					this._timeout = setTimeout$1(function () {
-						_this.flush();
-					}, this.delay);
-				}
-			}
-			/**
-			 * Flush all queued calls
-			 */
-
-		}, {
-			key: "flush",
-			value: function flush() {
-				var _context5, _context6;
-
-				forEach$2(_context5 = splice$1(_context6 = this._queue).call(_context6, 0)).call(_context5, function (entry) {
-					entry.fn.apply(entry.context || entry.fn, entry.args || []);
-				});
-			}
-		}], [{
-			key: "extend",
-			value: function extend(object, options) {
-				var queue = new Queue(options);
-
-				if (object.flush !== undefined) {
-					throw new Error("Target object already has a property flush");
-				}
-
-				object.flush = function () {
-					queue.flush();
-				};
-
-				var methods = [{
-					name: "flush",
-					original: undefined
-				}];
-
-				if (options && options.replace) {
-					for (var i = 0; i < options.replace.length; i++) {
-						var name = options.replace[i];
-						methods.push({
-							name: name,
-							// @TODO: better solution?
-							original: object[name]
-						}); // @TODO: better solution?
-
-						queue.replace(object, name);
-					}
-				}
-
-				queue._extended = {
-					object: object,
-					methods: methods
-				};
-				return queue;
-			}
-		}]);
-
-		return Queue;
-	}();
-	/**
-	 * [[DataSet]] code that can be reused in [[DataView]] or other similar implementations of [[DataInterface]].
-	 *
-	 * @typeParam Item - Item type that may or may not have an id.
-	 * @typeParam IdProp - Name of the property that contains the id.
-	 */
-
-
-	var DataSetPart = /*#__PURE__*/function () {
-		function DataSetPart() {
-			_classCallCheck(this, DataSetPart);
-
-			_defineProperty(this, "_subscribers", {
-				"*": [],
-				add: [],
-				remove: [],
-				update: []
-			});
-
-			_defineProperty(this, "subscribe", DataSetPart.prototype.on);
-
-			_defineProperty(this, "unsubscribe", DataSetPart.prototype.off);
-		}
-
-		_createClass(DataSetPart, [{
-			key: "_trigger",
-			value:
-				/**
-				 * Trigger an event
-				 *
-				 * @param event - Event name.
-				 * @param payload - Event payload.
-				 * @param senderId - Id of the sender.
-				 */
-				function _trigger(event, payload, senderId) {
-					var _context7, _context8;
-
-					if (event === "*") {
-						throw new Error("Cannot trigger event *");
-					}
-
-					forEach$2(_context7 = concat(_context8 = []).call(_context8, _toConsumableArray(this._subscribers[event]), _toConsumableArray(this._subscribers["*"]))).call(_context7, function (subscriber) {
-						subscriber(event, payload, senderId != null ? senderId : null);
-					});
-				}
-			/**
-			 * Subscribe to an event, add an event listener.
-			 *
-			 * @remarks Non-function callbacks are ignored.
-			 * @param event - Event name.
-			 * @param callback - Callback method.
-			 */
-
-		}, {
-			key: "on",
-			value: function on(event, callback) {
-				if (typeof callback === "function") {
-					this._subscribers[event].push(callback);
-				} // @TODO: Maybe throw for invalid callbacks?
-
-			}
-			/**
-			 * Unsubscribe from an event, remove an event listener.
-			 *
-			 * @remarks If the same callback was subscribed more than once **all** occurences will be removed.
-			 * @param event - Event name.
-			 * @param callback - Callback method.
-			 */
-
-		}, {
-			key: "off",
-			value: function off(event, callback) {
-				var _context9;
-
-				this._subscribers[event] = filter(_context9 = this._subscribers[event]).call(_context9, function (subscriber) {
-					return subscriber !== callback;
-				});
-			}
-			/**
-			 * @deprecated Use on instead (PS: DataView.subscribe === DataView.on).
-			 */
-
-		}]);
-
-		return DataSetPart;
-	}();
-	/**
-	 * Data stream
-	 *
-	 * @remarks
-	 * [[DataStream]] offers an always up to date stream of items from a [[DataSet]] or [[DataView]].
-	 * That means that the stream is evaluated at the time of iteration, conversion to another data type or when [[cache]] is called, not when the [[DataStream]] was created.
-	 * Multiple invocations of for example [[toItemArray]] may yield different results (if the data source like for example [[DataSet]] gets modified).
-	 * @typeParam Item - The item type this stream is going to work with.
-	 */
-
-
-	_Symbol$iterator = iterator;
-
-	var DataStream = /*#__PURE__*/function () {
-		/**
-		 * Create a new data stream.
-		 *
-		 * @param pairs - The id, item pairs.
-		 */
-		function DataStream(pairs) {
-			_classCallCheck(this, DataStream);
-
-			_defineProperty(this, "_pairs", void 0);
-
-			this._pairs = pairs;
-		}
-		/**
-		 * Return an iterable of key, value pairs for every entry in the stream.
-		 */
-
-
-		_createClass(DataStream, [{
-			key: _Symbol$iterator,
-			value:
-				/*#__PURE__*/
-				regenerator.mark(function value() {
-					var _iterator, _step, _step$value, id, item;
-
-					return regenerator.wrap(function value$(_context10) {
-						while (1) {
-							switch (_context10.prev = _context10.next) {
-								case 0:
-									_iterator = _createForOfIteratorHelper$7(this._pairs);
-									_context10.prev = 1;
-
-									_iterator.s();
-
-								case 3:
-									if ((_step = _iterator.n()).done) {
-										_context10.next = 9;
-										break;
-									}
-
-									_step$value = _slicedToArray(_step.value, 2), id = _step$value[0], item = _step$value[1];
-									_context10.next = 7;
-									return [id, item];
-
-								case 7:
-									_context10.next = 3;
-									break;
-
-								case 9:
-									_context10.next = 14;
-									break;
-
-								case 11:
-									_context10.prev = 11;
-									_context10.t0 = _context10["catch"](1);
-
-									_iterator.e(_context10.t0);
-
-								case 14:
-									_context10.prev = 14;
-
-									_iterator.f();
-
-									return _context10.finish(14);
-
-								case 17:
-								case "end":
-									return _context10.stop();
-							}
-						}
-					}, value, this, [[1, 11, 14, 17]]);
-				})
-			/**
-			 * Return an iterable of key, value pairs for every entry in the stream.
-			 */
-
-		}, {
-			key: "entries",
-			value:
-				/*#__PURE__*/
-				regenerator.mark(function entries() {
-					var _iterator2, _step2, _step2$value, id, item;
-
-					return regenerator.wrap(function entries$(_context11) {
-						while (1) {
-							switch (_context11.prev = _context11.next) {
-								case 0:
-									_iterator2 = _createForOfIteratorHelper$7(this._pairs);
-									_context11.prev = 1;
-
-									_iterator2.s();
-
-								case 3:
-									if ((_step2 = _iterator2.n()).done) {
-										_context11.next = 9;
-										break;
-									}
-
-									_step2$value = _slicedToArray(_step2.value, 2), id = _step2$value[0], item = _step2$value[1];
-									_context11.next = 7;
-									return [id, item];
-
-								case 7:
-									_context11.next = 3;
-									break;
-
-								case 9:
-									_context11.next = 14;
-									break;
-
-								case 11:
-									_context11.prev = 11;
-									_context11.t0 = _context11["catch"](1);
-
-									_iterator2.e(_context11.t0);
-
-								case 14:
-									_context11.prev = 14;
-
-									_iterator2.f();
-
-									return _context11.finish(14);
-
-								case 17:
-								case "end":
-									return _context11.stop();
-							}
-						}
-					}, entries, this, [[1, 11, 14, 17]]);
-				})
-			/**
-			 * Return an iterable of keys in the stream.
-			 */
-
-		}, {
-			key: "keys",
-			value:
-				/*#__PURE__*/
-				regenerator.mark(function keys() {
-					var _iterator3, _step3, _step3$value, id;
-
-					return regenerator.wrap(function keys$(_context12) {
-						while (1) {
-							switch (_context12.prev = _context12.next) {
-								case 0:
-									_iterator3 = _createForOfIteratorHelper$7(this._pairs);
-									_context12.prev = 1;
-
-									_iterator3.s();
-
-								case 3:
-									if ((_step3 = _iterator3.n()).done) {
-										_context12.next = 9;
-										break;
-									}
-
-									_step3$value = _slicedToArray(_step3.value, 1), id = _step3$value[0];
-									_context12.next = 7;
-									return id;
-
-								case 7:
-									_context12.next = 3;
-									break;
-
-								case 9:
-									_context12.next = 14;
-									break;
-
-								case 11:
-									_context12.prev = 11;
-									_context12.t0 = _context12["catch"](1);
-
-									_iterator3.e(_context12.t0);
-
-								case 14:
-									_context12.prev = 14;
-
-									_iterator3.f();
-
-									return _context12.finish(14);
-
-								case 17:
-								case "end":
-									return _context12.stop();
-							}
-						}
-					}, keys, this, [[1, 11, 14, 17]]);
-				})
-			/**
-			 * Return an iterable of values in the stream.
-			 */
-
-		}, {
-			key: "values",
-			value:
-				/*#__PURE__*/
-				regenerator.mark(function values() {
-					var _iterator4, _step4, _step4$value, item;
-
-					return regenerator.wrap(function values$(_context13) {
-						while (1) {
-							switch (_context13.prev = _context13.next) {
-								case 0:
-									_iterator4 = _createForOfIteratorHelper$7(this._pairs);
-									_context13.prev = 1;
-
-									_iterator4.s();
-
-								case 3:
-									if ((_step4 = _iterator4.n()).done) {
-										_context13.next = 9;
-										break;
-									}
-
-									_step4$value = _slicedToArray(_step4.value, 2), item = _step4$value[1];
-									_context13.next = 7;
-									return item;
-
-								case 7:
-									_context13.next = 3;
-									break;
-
-								case 9:
-									_context13.next = 14;
-									break;
-
-								case 11:
-									_context13.prev = 11;
-									_context13.t0 = _context13["catch"](1);
-
-									_iterator4.e(_context13.t0);
-
-								case 14:
-									_context13.prev = 14;
-
-									_iterator4.f();
-
-									return _context13.finish(14);
-
-								case 17:
-								case "end":
-									return _context13.stop();
-							}
-						}
-					}, values, this, [[1, 11, 14, 17]]);
-				})
-			/**
-			 * Return an array containing all the ids in this stream.
-			 *
-			 * @remarks
-			 * The array may contain duplicities.
-			 * @returns The array with all ids from this stream.
-			 */
-
-		}, {
-			key: "toIdArray",
-			value: function toIdArray() {
-				var _context14;
-
-				return map$3(_context14 = _toConsumableArray(this._pairs)).call(_context14, function (pair) {
-					return pair[0];
-				});
-			}
-			/**
-			 * Return an array containing all the items in this stream.
-			 *
-			 * @remarks
-			 * The array may contain duplicities.
-			 * @returns The array with all items from this stream.
-			 */
-
-		}, {
-			key: "toItemArray",
-			value: function toItemArray() {
-				var _context15;
-
-				return map$3(_context15 = _toConsumableArray(this._pairs)).call(_context15, function (pair) {
-					return pair[1];
-				});
-			}
-			/**
-			 * Return an array containing all the entries in this stream.
-			 *
-			 * @remarks
-			 * The array may contain duplicities.
-			 * @returns The array with all entries from this stream.
-			 */
-
-		}, {
-			key: "toEntryArray",
-			value: function toEntryArray() {
-				return _toConsumableArray(this._pairs);
-			}
-			/**
-			 * Return an object map containing all the items in this stream accessible by ids.
-			 *
-			 * @remarks
-			 * In case of duplicate ids (coerced to string so `7 == '7'`) the last encoutered appears in the returned object.
-			 * @returns The object map of all id → item pairs from this stream.
-			 */
-
-		}, {
-			key: "toObjectMap",
-			value: function toObjectMap() {
-				var map = create$5(null);
-
-				var _iterator5 = _createForOfIteratorHelper$7(this._pairs),
-					_step5;
-
-				try {
-					for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
-						var _step5$value = _slicedToArray(_step5.value, 2),
-							id = _step5$value[0],
-							item = _step5$value[1];
-
-						map[id] = item;
-					}
-				} catch (err) {
-					_iterator5.e(err);
-				} finally {
-					_iterator5.f();
-				}
-
-				return map;
-			}
-			/**
-			 * Return a map containing all the items in this stream accessible by ids.
-			 *
-			 * @returns The map of all id → item pairs from this stream.
-			 */
-
-		}, {
-			key: "toMap",
-			value: function toMap() {
-				return new map(this._pairs);
-			}
-			/**
-			 * Return a set containing all the (unique) ids in this stream.
-			 *
-			 * @returns The set of all ids from this stream.
-			 */
-
-		}, {
-			key: "toIdSet",
-			value: function toIdSet() {
-				return new set(this.toIdArray());
-			}
-			/**
-			 * Return a set containing all the (unique) items in this stream.
-			 *
-			 * @returns The set of all items from this stream.
-			 */
-
-		}, {
-			key: "toItemSet",
-			value: function toItemSet() {
-				return new set(this.toItemArray());
-			}
-			/**
-			 * Cache the items from this stream.
-			 *
-			 * @remarks
-			 * This method allows for items to be fetched immediatelly and used (possibly multiple times) later.
-			 * It can also be used to optimize performance as [[DataStream]] would otherwise reevaluate everything upon each iteration.
-			 *
-			 * ## Example
-			 * ```javascript
-			 * const ds = new DataSet([…])
-			 *
-			 * const cachedStream = ds.stream()
-			 *   .filter(…)
-			 *   .sort(…)
-			 *   .map(…)
-			 *   .cached(…) // Data are fetched, processed and cached here.
-			 *
-			 * ds.clear()
-			 * chachedStream // Still has all the items.
-			 * ```
-			 * @returns A new [[DataStream]] with cached items (detached from the original [[DataSet]]).
-			 */
-
-		}, {
-			key: "cache",
-			value: function cache() {
-				return new DataStream(_toConsumableArray(this._pairs));
-			}
-			/**
-			 * Get the distinct values of given property.
-			 *
-			 * @param callback - The function that picks and possibly converts the property.
-			 * @typeParam T - The type of the distinct value.
-			 * @returns A set of all distinct properties.
-			 */
-
-		}, {
-			key: "distinct",
-			value: function distinct(callback) {
-				var set$1 = new set();
-
-				var _iterator6 = _createForOfIteratorHelper$7(this._pairs),
-					_step6;
-
-				try {
-					for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
-						var _step6$value = _slicedToArray(_step6.value, 2),
-							id = _step6$value[0],
-							item = _step6$value[1];
-
-						set$1.add(callback(item, id));
-					}
-				} catch (err) {
-					_iterator6.e(err);
-				} finally {
-					_iterator6.f();
-				}
-
-				return set$1;
-			}
-			/**
-			 * Filter the items of the stream.
-			 *
-			 * @param callback - The function that decides whether an item will be included.
-			 * @returns A new data stream with the filtered items.
-			 */
-
-		}, {
-			key: "filter",
-			value: function filter(callback) {
-				var pairs = this._pairs;
-				return new DataStream(_defineProperty({}, iterator, /*#__PURE__*/regenerator.mark(function _callee() {
-					var _iterator7, _step7, _step7$value, id, item;
-
-					return regenerator.wrap(function _callee$(_context16) {
-						while (1) {
-							switch (_context16.prev = _context16.next) {
-								case 0:
-									_iterator7 = _createForOfIteratorHelper$7(pairs);
-									_context16.prev = 1;
-
-									_iterator7.s();
-
-								case 3:
-									if ((_step7 = _iterator7.n()).done) {
-										_context16.next = 10;
-										break;
-									}
-
-									_step7$value = _slicedToArray(_step7.value, 2), id = _step7$value[0], item = _step7$value[1];
-
-									if (!callback(item, id)) {
-										_context16.next = 8;
-										break;
-									}
-
-									_context16.next = 8;
-									return [id, item];
-
-								case 8:
-									_context16.next = 3;
-									break;
-
-								case 10:
-									_context16.next = 15;
-									break;
-
-								case 12:
-									_context16.prev = 12;
-									_context16.t0 = _context16["catch"](1);
-
-									_iterator7.e(_context16.t0);
-
-								case 15:
-									_context16.prev = 15;
-
-									_iterator7.f();
-
-									return _context16.finish(15);
-
-								case 18:
-								case "end":
-									return _context16.stop();
-							}
-						}
-					}, _callee, null, [[1, 12, 15, 18]]);
-				})));
-			}
-			/**
-			 * Execute a callback for each item of the stream.
-			 *
-			 * @param callback - The function that will be invoked for each item.
-			 */
-
-		}, {
-			key: "forEach",
-			value: function forEach(callback) {
-				var _iterator8 = _createForOfIteratorHelper$7(this._pairs),
-					_step8;
-
-				try {
-					for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
-						var _step8$value = _slicedToArray(_step8.value, 2),
-							id = _step8$value[0],
-							item = _step8$value[1];
-
-						callback(item, id);
-					}
-				} catch (err) {
-					_iterator8.e(err);
-				} finally {
-					_iterator8.f();
-				}
-			}
-			/**
-			 * Map the items into a different type.
-			 *
-			 * @param callback - The function that does the conversion.
-			 * @typeParam Mapped - The type of the item after mapping.
-			 * @returns A new data stream with the mapped items.
-			 */
-
-		}, {
-			key: "map",
-			value: function map(callback) {
-				var pairs = this._pairs;
-				return new DataStream(_defineProperty({}, iterator, /*#__PURE__*/regenerator.mark(function _callee2() {
-					var _iterator9, _step9, _step9$value, id, item;
-
-					return regenerator.wrap(function _callee2$(_context17) {
-						while (1) {
-							switch (_context17.prev = _context17.next) {
-								case 0:
-									_iterator9 = _createForOfIteratorHelper$7(pairs);
-									_context17.prev = 1;
-
-									_iterator9.s();
-
-								case 3:
-									if ((_step9 = _iterator9.n()).done) {
-										_context17.next = 9;
-										break;
-									}
-
-									_step9$value = _slicedToArray(_step9.value, 2), id = _step9$value[0], item = _step9$value[1];
-									_context17.next = 7;
-									return [id, callback(item, id)];
-
-								case 7:
-									_context17.next = 3;
-									break;
-
-								case 9:
-									_context17.next = 14;
-									break;
-
-								case 11:
-									_context17.prev = 11;
-									_context17.t0 = _context17["catch"](1);
-
-									_iterator9.e(_context17.t0);
-
-								case 14:
-									_context17.prev = 14;
-
-									_iterator9.f();
-
-									return _context17.finish(14);
-
-								case 17:
-								case "end":
-									return _context17.stop();
-							}
-						}
-					}, _callee2, null, [[1, 11, 14, 17]]);
-				})));
-			}
-			/**
-			 * Get the item with the maximum value of given property.
-			 *
-			 * @param callback - The function that picks and possibly converts the property.
-			 * @returns The item with the maximum if found otherwise null.
-			 */
-
-		}, {
-			key: "max",
-			value: function max(callback) {
-				var iter = getIterator(this._pairs);
-
-				var curr = iter.next();
-
-				if (curr.done) {
-					return null;
-				}
-
-				var maxItem = curr.value[1];
-				var maxValue = callback(curr.value[1], curr.value[0]);
-
-				while (!(curr = iter.next()).done) {
-					var _curr$value = _slicedToArray(curr.value, 2),
-						id = _curr$value[0],
-						item = _curr$value[1];
-
-					var _value = callback(item, id);
-
-					if (_value > maxValue) {
-						maxValue = _value;
-						maxItem = item;
-					}
-				}
-
-				return maxItem;
-			}
-			/**
-			 * Get the item with the minimum value of given property.
-			 *
-			 * @param callback - The function that picks and possibly converts the property.
-			 * @returns The item with the minimum if found otherwise null.
-			 */
-
-		}, {
-			key: "min",
-			value: function min(callback) {
-				var iter = getIterator(this._pairs);
-
-				var curr = iter.next();
-
-				if (curr.done) {
-					return null;
-				}
-
-				var minItem = curr.value[1];
-				var minValue = callback(curr.value[1], curr.value[0]);
-
-				while (!(curr = iter.next()).done) {
-					var _curr$value2 = _slicedToArray(curr.value, 2),
-						id = _curr$value2[0],
-						item = _curr$value2[1];
-
-					var _value2 = callback(item, id);
-
-					if (_value2 < minValue) {
-						minValue = _value2;
-						minItem = item;
-					}
-				}
-
-				return minItem;
-			}
-			/**
-			 * Reduce the items into a single value.
-			 *
-			 * @param callback - The function that does the reduction.
-			 * @param accumulator - The initial value of the accumulator.
-			 * @typeParam T - The type of the accumulated value.
-			 * @returns The reduced value.
-			 */
-
-		}, {
-			key: "reduce",
-			value: function reduce(callback, accumulator) {
-				var _iterator10 = _createForOfIteratorHelper$7(this._pairs),
-					_step10;
-
-				try {
-					for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
-						var _step10$value = _slicedToArray(_step10.value, 2),
-							id = _step10$value[0],
-							item = _step10$value[1];
-
-						accumulator = callback(accumulator, item, id);
-					}
-				} catch (err) {
-					_iterator10.e(err);
-				} finally {
-					_iterator10.f();
-				}
-
-				return accumulator;
-			}
-			/**
-			 * Sort the items.
-			 *
-			 * @param callback - Item comparator.
-			 * @returns A new stream with sorted items.
-			 */
-
-		}, {
-			key: "sort",
-			value: function sort$1(callback) {
-				var _this2 = this;
-
-				return new DataStream(_defineProperty({}, iterator, function () {
-					var _context18;
-
-					return getIterator(sort(_context18 = _toConsumableArray(_this2._pairs)).call(_context18, function (_ref, _ref2) {
-						var _ref3 = _slicedToArray(_ref, 2),
-							idA = _ref3[0],
-							itemA = _ref3[1];
-
-						var _ref4 = _slicedToArray(_ref2, 2),
-							idB = _ref4[0],
-							itemB = _ref4[1];
-
-						return callback(itemA, itemB, idA, idB);
-					}));
-				}));
-			}
-		}]);
-
-		return DataStream;
-	}();
-	/**
-	 * Add an id to given item if it doesn't have one already.
-	 *
-	 * @remarks
-	 * The item will be modified.
-	 * @param item - The item that will have an id after a call to this function.
-	 * @param idProp - The key of the id property.
-	 * @typeParam Item - Item type that may or may not have an id.
-	 * @typeParam IdProp - Name of the property that contains the id.
-	 * @returns true
-	 */
-
-
-	function ensureFullItem(item, idProp) {
-		if (item[idProp] == null) {
-			// generate an id
-			item[idProp] = v4();
-		}
-
-		return item;
-	}
-	/**
-	 * # DataSet
-	 *
-	 * Vis.js comes with a flexible DataSet, which can be used to hold and
-	 * manipulate unstructured data and listen for changes in the data. The DataSet
-	 * is key/value based. Data items can be added, updated and removed from the
-	 * DataSet, and one can subscribe to changes in the DataSet. The data in the
-	 * DataSet can be filtered and ordered. Data can be normalized when appending it
-	 * to the DataSet as well.
-	 *
-	 * ## Example
-	 *
-	 * The following example shows how to use a DataSet.
-	 *
-	 * ```javascript
-	 * // create a DataSet
-	 * var options = {};
-	 * var data = new vis.DataSet(options);
-	 *
-	 * // add items
-	 * // note that the data items can contain different properties and data formats
-	 * data.add([
-	 *   {id: 1, text: 'item 1', date: new Date(2013, 6, 20), group: 1, first: true},
-	 *   {id: 2, text: 'item 2', date: '2013-06-23', group: 2},
-	 *   {id: 3, text: 'item 3', date: '2013-06-25', group: 2},
-	 *   {id: 4, text: 'item 4'}
-	 * ]);
-	 *
-	 * // subscribe to any change in the DataSet
-	 * data.on('*', function (event, properties, senderId) {
-	 *   console.log('event', event, properties);
-	 * });
-	 *
-	 * // update an existing item
-	 * data.update({id: 2, group: 1});
-	 *
-	 * // remove an item
-	 * data.remove(4);
-	 *
-	 * // get all ids
-	 * var ids = data.getIds();
-	 * console.log('ids', ids);
-	 *
-	 * // get a specific item
-	 * var item1 = data.get(1);
-	 * console.log('item1', item1);
-	 *
-	 * // retrieve a filtered subset of the data
-	 * var items = data.get({
-	 *   filter: function (item) {
-	 *     return item.group == 1;
-	 *   }
-	 * });
-	 * console.log('filtered items', items);
-	 * ```
-	 *
-	 * @typeParam Item - Item type that may or may not have an id.
-	 * @typeParam IdProp - Name of the property that contains the id.
-	 */
-
-
-	var DataSet = /*#__PURE__*/function (_DataSetPart) {
-		_inherits(DataSet, _DataSetPart);
-
-		var _super = _createSuper$t(DataSet);
-
-		/**
-		 * Construct a new DataSet.
-		 *
-		 * @param data - Initial data or options.
-		 * @param options - Options (type error if data is also options).
-		 */
-		function DataSet(data, options) {
-			var _this3;
-
-			_classCallCheck(this, DataSet);
-
-			_this3 = _super.call(this); // correctly read optional arguments
-
-			_defineProperty(_assertThisInitialized(_this3), "flush", void 0);
-
-			_defineProperty(_assertThisInitialized(_this3), "length", void 0);
-
-			_defineProperty(_assertThisInitialized(_this3), "_options", void 0);
-
-			_defineProperty(_assertThisInitialized(_this3), "_data", void 0);
-
-			_defineProperty(_assertThisInitialized(_this3), "_idProp", void 0);
-
-			_defineProperty(_assertThisInitialized(_this3), "_queue", null);
-
-			if (data && !isArray$2(data)) {
-				options = data;
-				data = [];
-			}
-
-			_this3._options = options || {};
-			_this3._data = new map(); // map with data indexed by id
-
-			_this3.length = 0; // number of items in the DataSet
-
-			_this3._idProp = _this3._options.fieldId || "id"; // name of the field containing id
-			// add initial data when provided
-
-			if (data && data.length) {
-				_this3.add(data);
-			}
-
-			_this3.setOptions(options);
-
-			return _this3;
-		}
-		/**
-		 * Set new options.
-		 *
-		 * @param options - The new options.
-		 */
-
-
-		_createClass(DataSet, [{
-			key: "idProp",
-			get:
-				/** Flush all queued calls. */
-
-				/** @inheritDoc */
-
-				/** @inheritDoc */
-				function get() {
-					return this._idProp;
-				}
-		}, {
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (options && options.queue !== undefined) {
-					if (options.queue === false) {
-						// delete queue if loaded
-						if (this._queue) {
-							this._queue.destroy();
-
-							this._queue = null;
-						}
-					} else {
-						// create queue and update its options
-						if (!this._queue) {
-							this._queue = Queue.extend(this, {
-								replace: ["add", "update", "remove"]
-							});
-						}
-
-						if (options.queue && _typeof(options.queue) === "object") {
-							this._queue.setOptions(options.queue);
-						}
-					}
-				}
-			}
-			/**
-			 * Add a data item or an array with items.
-			 *
-			 * After the items are added to the DataSet, the DataSet will trigger an event `add`. When a `senderId` is provided, this id will be passed with the triggered event to all subscribers.
-			 *
-			 * ## Example
-			 *
-			 * ```javascript
-			 * // create a DataSet
-			 * const data = new vis.DataSet()
-			 *
-			 * // add items
-			 * const ids = data.add([
-			 *   { id: 1, text: 'item 1' },
-			 *   { id: 2, text: 'item 2' },
-			 *   { text: 'item without an id' }
-			 * ])
-			 *
-			 * console.log(ids) // [1, 2, '<UUIDv4>']
-			 * ```
-			 *
-			 * @param data - Items to be added (ids will be generated if missing).
-			 * @param senderId - Sender id.
-			 * @returns addedIds - Array with the ids (generated if not present) of the added items.
-			 * @throws When an item with the same id as any of the added items already exists.
-			 */
-
-		}, {
-			key: "add",
-			value: function add(data, senderId) {
-				var _this4 = this;
-
-				var addedIds = [];
-				var id;
-
-				if (isArray$2(data)) {
-					// Array
-					var idsToAdd = map$3(data).call(data, function (d) {
-						return d[_this4._idProp];
-					});
-
-					if (some(idsToAdd).call(idsToAdd, function (id) {
-						return _this4._data.has(id);
-					})) {
-						throw new Error("A duplicate id was found in the parameter array.");
-					}
-
-					for (var i = 0, len = data.length; i < len; i++) {
-						id = this._addItem(data[i]);
-						addedIds.push(id);
-					}
-				} else if (data && _typeof(data) === "object") {
-					// Single item
-					id = this._addItem(data);
-					addedIds.push(id);
-				} else {
-					throw new Error("Unknown dataType");
-				}
-
-				if (addedIds.length) {
-					this._trigger("add", {
-						items: addedIds
-					}, senderId);
-				}
-
-				return addedIds;
-			}
-			/**
-			 * Update existing items. When an item does not exist, it will be created.
-			 *
-			 * @remarks
-			 * The provided properties will be merged in the existing item. When an item does not exist, it will be created.
-			 *
-			 * After the items are updated, the DataSet will trigger an event `add` for the added items, and an event `update`. When a `senderId` is provided, this id will be passed with the triggered event to all subscribers.
-			 *
-			 * ## Example
-			 *
-			 * ```javascript
-			 * // create a DataSet
-			 * const data = new vis.DataSet([
-			 *   { id: 1, text: 'item 1' },
-			 *   { id: 2, text: 'item 2' },
-			 *   { id: 3, text: 'item 3' }
-			 * ])
-			 *
-			 * // update items
-			 * const ids = data.update([
-			 *   { id: 2, text: 'item 2 (updated)' },
-			 *   { id: 4, text: 'item 4 (new)' }
-			 * ])
-			 *
-			 * console.log(ids) // [2, 4]
-			 * ```
-			 *
-			 * ## Warning for TypeScript users
-			 * This method may introduce partial items into the data set. Use add or updateOnly instead for better type safety.
-			 * @param data - Items to be updated (if the id is already present) or added (if the id is missing).
-			 * @param senderId - Sender id.
-			 * @returns updatedIds - The ids of the added (these may be newly generated if there was no id in the item from the data) or updated items.
-			 * @throws When the supplied data is neither an item nor an array of items.
-			 */
-
-		}, {
-			key: "update",
-			value: function update(data, senderId) {
-				var _this5 = this;
-
-				var addedIds = [];
-				var updatedIds = [];
-				var oldData = [];
-				var updatedData = [];
-				var idProp = this._idProp;
-
-				var addOrUpdate = function addOrUpdate(item) {
-					var origId = item[idProp];
-
-					if (origId != null && _this5._data.has(origId)) {
-						var fullItem = item; // it has an id, therefore it is a fullitem
-
-						var oldItem = assign$2({}, _this5._data.get(origId)); // update item
-
-
-						var id = _this5._updateItem(fullItem);
-
-						updatedIds.push(id);
-						updatedData.push(fullItem);
-						oldData.push(oldItem);
-					} else {
-						// add new item
-						var _id = _this5._addItem(item);
-
-						addedIds.push(_id);
-					}
-				};
-
-				if (isArray$2(data)) {
-					// Array
-					for (var i = 0, len = data.length; i < len; i++) {
-						if (data[i] && _typeof(data[i]) === "object") {
-							addOrUpdate(data[i]);
-						} else {
-							console.warn("Ignoring input item, which is not an object at index " + i);
-						}
-					}
-				} else if (data && _typeof(data) === "object") {
-					// Single item
-					addOrUpdate(data);
-				} else {
-					throw new Error("Unknown dataType");
-				}
-
-				if (addedIds.length) {
-					this._trigger("add", {
-						items: addedIds
-					}, senderId);
-				}
-
-				if (updatedIds.length) {
-					var props = {
-						items: updatedIds,
-						oldData: oldData,
-						data: updatedData
-					}; // TODO: remove deprecated property 'data' some day
-					//Object.defineProperty(props, 'data', {
-					//  'get': (function() {
-					//    console.warn('Property data is deprecated. Use DataSet.get(ids) to retrieve the new data, use the oldData property on this object to get the old data');
-					//    return updatedData;
-					//  }).bind(this)
-					//});
-
-					this._trigger("update", props, senderId);
-				}
-
-				return concat(addedIds).call(addedIds, updatedIds);
-			}
-			/**
-			 * Update existing items. When an item does not exist, an error will be thrown.
-			 *
-			 * @remarks
-			 * The provided properties will be deeply merged into the existing item.
-			 * When an item does not exist (id not present in the data set or absent), an error will be thrown and nothing will be changed.
-			 *
-			 * After the items are updated, the DataSet will trigger an event `update`.
-			 * When a `senderId` is provided, this id will be passed with the triggered event to all subscribers.
-			 *
-			 * ## Example
-			 *
-			 * ```javascript
-			 * // create a DataSet
-			 * const data = new vis.DataSet([
-			 *   { id: 1, text: 'item 1' },
-			 *   { id: 2, text: 'item 2' },
-			 *   { id: 3, text: 'item 3' },
-			 * ])
-			 *
-			 * // update items
-			 * const ids = data.update([
-			 *   { id: 2, text: 'item 2 (updated)' }, // works
-			 *   // { id: 4, text: 'item 4 (new)' }, // would throw
-			 *   // { text: 'item 4 (new)' }, // would also throw
-			 * ])
-			 *
-			 * console.log(ids) // [2]
-			 * ```
-			 * @param data - Updates (the id and optionally other props) to the items in this data set.
-			 * @param senderId - Sender id.
-			 * @returns updatedIds - The ids of the updated items.
-			 * @throws When the supplied data is neither an item nor an array of items, when the ids are missing.
-			 */
-
-		}, {
-			key: "updateOnly",
-			value: function updateOnly(data, senderId) {
-				var _context19,
-					_this6 = this;
-
-				if (!isArray$2(data)) {
-					data = [data];
-				}
-
-				var updateEventData = map$3(_context19 = map$3(data).call(data, function (update) {
-					var oldData = _this6._data.get(update[_this6._idProp]);
-
-					if (oldData == null) {
-						throw new Error("Updating non-existent items is not allowed.");
-					}
-
-					return {
-						oldData: oldData,
-						update: update
-					};
-				})).call(_context19, function (_ref5) {
-					var oldData = _ref5.oldData,
-						update = _ref5.update;
-					var id = oldData[_this6._idProp];
-					var updatedData = pureDeepObjectAssign(oldData, update);
-
-					_this6._data.set(id, updatedData);
-
-					return {
-						id: id,
-						oldData: oldData,
-						updatedData: updatedData
-					};
-				});
-
-				if (updateEventData.length) {
-					var props = {
-						items: map$3(updateEventData).call(updateEventData, function (value) {
-							return value.id;
-						}),
-						oldData: map$3(updateEventData).call(updateEventData, function (value) {
-							return value.oldData;
-						}),
-						data: map$3(updateEventData).call(updateEventData, function (value) {
-							return value.updatedData;
-						})
-					}; // TODO: remove deprecated property 'data' some day
-					//Object.defineProperty(props, 'data', {
-					//  'get': (function() {
-					//    console.warn('Property data is deprecated. Use DataSet.get(ids) to retrieve the new data, use the oldData property on this object to get the old data');
-					//    return updatedData;
-					//  }).bind(this)
-					//});
-
-					this._trigger("update", props, senderId);
-
-					return props.items;
-				} else {
-					return [];
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "get",
-			value: function get(first, second) {
-				// @TODO: Woudn't it be better to split this into multiple methods?
-				// parse the arguments
-				var id = undefined;
-				var ids = undefined;
-				var options = undefined;
-
-				if (isId(first)) {
-					// get(id [, options])
-					id = first;
-					options = second;
-				} else if (isArray$2(first)) {
-					// get(ids [, options])
-					ids = first;
-					options = second;
-				} else {
-					// get([, options])
-					options = first;
-				} // determine the return type
-
-
-				var returnType = options && options.returnType === "Object" ? "Object" : "Array"; // @TODO: WTF is this? Or am I missing something?
-				// var returnType
-				// if (options && options.returnType) {
-				//   var allowedValues = ['Array', 'Object']
-				//   returnType =
-				//     allowedValues.indexOf(options.returnType) == -1
-				//       ? 'Array'
-				//       : options.returnType
-				// } else {
-				//   returnType = 'Array'
-				// }
-				// build options
-
-				var filter$1 = options && filter(options);
-
-				var items = [];
-				var item = undefined;
-				var itemIds = undefined;
-				var itemId = undefined; // convert items
-
-				if (id != null) {
-					// return a single item
-					item = this._data.get(id);
-
-					if (item && filter$1 && !filter$1(item)) {
-						item = undefined;
-					}
-				} else if (ids != null) {
-					// return a subset of items
-					for (var i = 0, len = ids.length; i < len; i++) {
-						item = this._data.get(ids[i]);
-
-						if (item != null && (!filter$1 || filter$1(item))) {
-							items.push(item);
-						}
-					}
-				} else {
-					var _context20;
-
-					// return all items
-					itemIds = _toConsumableArray(keys(_context20 = this._data).call(_context20));
-
-					for (var _i = 0, _len2 = itemIds.length; _i < _len2; _i++) {
-						itemId = itemIds[_i];
-						item = this._data.get(itemId);
-
-						if (item != null && (!filter$1 || filter$1(item))) {
-							items.push(item);
-						}
-					}
-				} // order the results
-
-
-				if (options && options.order && id == undefined) {
-					this._sort(items, options.order);
-				} // filter fields of the items
-
-
-				if (options && options.fields) {
-					var fields = options.fields;
-
-					if (id != undefined && item != null) {
-						item = this._filterFields(item, fields);
-					} else {
-						for (var _i2 = 0, _len3 = items.length; _i2 < _len3; _i2++) {
-							items[_i2] = this._filterFields(items[_i2], fields);
-						}
-					}
-				} // return the results
-
-
-				if (returnType == "Object") {
-					var result = {};
-
-					for (var _i3 = 0, _len4 = items.length; _i3 < _len4; _i3++) {
-						var resultant = items[_i3]; // @TODO: Shoudn't this be this._fieldId?
-						// result[resultant.id] = resultant
-
-						var _id2 = resultant[this._idProp];
-						result[_id2] = resultant;
-					}
-
-					return result;
-				} else {
-					if (id != null) {
-						var _item;
-
-						// a single item
-						return (_item = item) !== null && _item !== void 0 ? _item : null;
-					} else {
-						// just return our array
-						return items;
-					}
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getIds",
-			value: function getIds(options) {
-				var data = this._data;
-
-				var filter$1 = options && filter(options);
-
-				var order = options && options.order;
-
-				var itemIds = _toConsumableArray(keys(data).call(data));
-
-				var ids = [];
-
-				if (filter$1) {
-					// get filtered items
-					if (order) {
-						// create ordered list
-						var items = [];
-
-						for (var i = 0, len = itemIds.length; i < len; i++) {
-							var id = itemIds[i];
-
-							var item = this._data.get(id);
-
-							if (item != null && filter$1(item)) {
-								items.push(item);
-							}
-						}
-
-						this._sort(items, order);
-
-						for (var _i4 = 0, _len5 = items.length; _i4 < _len5; _i4++) {
-							ids.push(items[_i4][this._idProp]);
-						}
-					} else {
-						// create unordered list
-						for (var _i5 = 0, _len6 = itemIds.length; _i5 < _len6; _i5++) {
-							var _id3 = itemIds[_i5];
-
-							var _item2 = this._data.get(_id3);
-
-							if (_item2 != null && filter$1(_item2)) {
-								ids.push(_item2[this._idProp]);
-							}
-						}
-					}
-				} else {
-					// get all items
-					if (order) {
-						// create an ordered list
-						var _items = [];
-
-						for (var _i6 = 0, _len7 = itemIds.length; _i6 < _len7; _i6++) {
-							var _id4 = itemIds[_i6];
-
-							_items.push(data.get(_id4));
-						}
-
-						this._sort(_items, order);
-
-						for (var _i7 = 0, _len8 = _items.length; _i7 < _len8; _i7++) {
-							ids.push(_items[_i7][this._idProp]);
-						}
-					} else {
-						// create unordered list
-						for (var _i8 = 0, _len9 = itemIds.length; _i8 < _len9; _i8++) {
-							var _id5 = itemIds[_i8];
-
-							var _item3 = data.get(_id5);
-
-							if (_item3 != null) {
-								ids.push(_item3[this._idProp]);
-							}
-						}
-					}
-				}
-
-				return ids;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getDataSet",
-			value: function getDataSet() {
-				return this;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "forEach",
-			value: function forEach(callback, options) {
-				var filter$1 = options && filter(options);
-
-				var data = this._data;
-
-				var itemIds = _toConsumableArray(keys(data).call(data));
-
-				if (options && options.order) {
-					// execute forEach on ordered list
-					var items = this.get(options);
-
-					for (var i = 0, len = items.length; i < len; i++) {
-						var item = items[i];
-						var id = item[this._idProp];
-						callback(item, id);
-					}
-				} else {
-					// unordered
-					for (var _i9 = 0, _len10 = itemIds.length; _i9 < _len10; _i9++) {
-						var _id6 = itemIds[_i9];
-
-						var _item4 = this._data.get(_id6);
-
-						if (_item4 != null && (!filter$1 || filter$1(_item4))) {
-							callback(_item4, _id6);
-						}
-					}
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "map",
-			value: function map(callback, options) {
-				var filter$1 = options && filter(options);
-
-				var mappedItems = [];
-				var data = this._data;
-
-				var itemIds = _toConsumableArray(keys(data).call(data)); // convert and filter items
-
-
-				for (var i = 0, len = itemIds.length; i < len; i++) {
-					var id = itemIds[i];
-
-					var item = this._data.get(id);
-
-					if (item != null && (!filter$1 || filter$1(item))) {
-						mappedItems.push(callback(item, id));
-					}
-				} // order items
-
-
-				if (options && options.order) {
-					this._sort(mappedItems, options.order);
-				}
-
-				return mappedItems;
-			}
-			/**
-			 * Filter the fields of an item.
-			 *
-			 * @param item - The item whose fields should be filtered.
-			 * @param fields - The names of the fields that will be kept.
-			 * @typeParam K - Field name type.
-			 * @returns The item without any additional fields.
-			 */
-
-		}, {
-			key: "_filterFields",
-			value: function _filterFields(item, fields) {
-				var _context21;
-
-				if (!item) {
-					// item is null
-					return item;
-				}
-
-				return reduce(_context21 = isArray$2(fields) ? // Use the supplied array
-					fields : // Use the keys of the supplied object
-					keys$4(fields)).call(_context21, function (filteredItem, field) {
-						filteredItem[field] = item[field];
-						return filteredItem;
-					}, {});
-			}
-			/**
-			 * Sort the provided array with items.
-			 *
-			 * @param items - Items to be sorted in place.
-			 * @param order - A field name or custom sort function.
-			 * @typeParam T - The type of the items in the items array.
-			 */
-
-		}, {
-			key: "_sort",
-			value: function _sort(items, order) {
-				if (typeof order === "string") {
-					// order by provided field name
-					var name = order; // field name
-
-					sort(items).call(items, function (a, b) {
-						// @TODO: How to treat missing properties?
-						var av = a[name];
-						var bv = b[name];
-						return av > bv ? 1 : av < bv ? -1 : 0;
-					});
-				} else if (typeof order === "function") {
-					// order by sort function
-					sort(items).call(items, order);
-				} else {
-					// TODO: extend order by an Object {field:string, direction:string}
-					//       where direction can be 'asc' or 'desc'
-					throw new TypeError("Order must be a function or a string");
-				}
-			}
-			/**
-			 * Remove an item or multiple items by “reference” (only the id is used) or by id.
-			 *
-			 * The method ignores removal of non-existing items, and returns an array containing the ids of the items which are actually removed from the DataSet.
-			 *
-			 * After the items are removed, the DataSet will trigger an event `remove` for the removed items. When a `senderId` is provided, this id will be passed with the triggered event to all subscribers.
-			 *
-			 * ## Example
-			 * ```javascript
-			 * // create a DataSet
-			 * const data = new vis.DataSet([
-			 *   { id: 1, text: 'item 1' },
-			 *   { id: 2, text: 'item 2' },
-			 *   { id: 3, text: 'item 3' }
-			 * ])
-			 *
-			 * // remove items
-			 * const ids = data.remove([2, { id: 3 }, 4])
-			 *
-			 * console.log(ids) // [2, 3]
-			 * ```
-			 *
-			 * @param id - One or more items or ids of items to be removed.
-			 * @param senderId - Sender id.
-			 * @returns The ids of the removed items.
-			 */
-
-		}, {
-			key: "remove",
-			value: function remove(id, senderId) {
-				var removedIds = [];
-				var removedItems = []; // force everything to be an array for simplicity
-
-				var ids = isArray$2(id) ? id : [id];
-
-				for (var i = 0, len = ids.length; i < len; i++) {
-					var item = this._remove(ids[i]);
-
-					if (item) {
-						var itemId = item[this._idProp];
-
-						if (itemId != null) {
-							removedIds.push(itemId);
-							removedItems.push(item);
-						}
-					}
-				}
-
-				if (removedIds.length) {
-					this._trigger("remove", {
-						items: removedIds,
-						oldData: removedItems
-					}, senderId);
-				}
-
-				return removedIds;
-			}
-			/**
-			 * Remove an item by its id or reference.
-			 *
-			 * @param id - Id of an item or the item itself.
-			 * @returns The removed item if removed, null otherwise.
-			 */
-
-		}, {
-			key: "_remove",
-			value: function _remove(id) {
-				// @TODO: It origianlly returned the item although the docs say id.
-				// The code expects the item, so probably an error in the docs.
-				var ident; // confirm the id to use based on the args type
-
-				if (isId(id)) {
-					ident = id;
-				} else if (id && _typeof(id) === "object") {
-					ident = id[this._idProp]; // look for the identifier field using ._idProp
-				} // do the removing if the item is found
-
-
-				if (ident != null && this._data.has(ident)) {
-					var item = this._data.get(ident) || null;
-
-					this._data.delete(ident);
-
-					--this.length;
-					return item;
-				}
-
-				return null;
-			}
-			/**
-			 * Clear the entire data set.
-			 *
-			 * After the items are removed, the [[DataSet]] will trigger an event `remove` for all removed items. When a `senderId` is provided, this id will be passed with the triggered event to all subscribers.
-			 *
-			 * @param senderId - Sender id.
-			 * @returns removedIds - The ids of all removed items.
-			 */
-
-		}, {
-			key: "clear",
-			value: function clear(senderId) {
-				var _context22;
-
-				var ids = _toConsumableArray(keys(_context22 = this._data).call(_context22));
-
-				var items = [];
-
-				for (var i = 0, len = ids.length; i < len; i++) {
-					items.push(this._data.get(ids[i]));
-				}
-
-				this._data.clear();
-
-				this.length = 0;
-
-				this._trigger("remove", {
-					items: ids,
-					oldData: items
-				}, senderId);
-
-				return ids;
-			}
-			/**
-			 * Find the item with maximum value of a specified field.
-			 *
-			 * @param field - Name of the property that should be searched for max value.
-			 * @returns Item containing max value, or null if no items.
-			 */
-
-		}, {
-			key: "max",
-			value: function max(field) {
-				var _context23;
-
-				var max = null;
-				var maxField = null;
-
-				var _iterator11 = _createForOfIteratorHelper$7(values(_context23 = this._data).call(_context23)),
-					_step11;
-
-				try {
-					for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {
-						var item = _step11.value;
-						var itemField = item[field];
-
-						if (typeof itemField === "number" && (maxField == null || itemField > maxField)) {
-							max = item;
-							maxField = itemField;
-						}
-					}
-				} catch (err) {
-					_iterator11.e(err);
-				} finally {
-					_iterator11.f();
-				}
-
-				return max || null;
-			}
-			/**
-			 * Find the item with minimum value of a specified field.
-			 *
-			 * @param field - Name of the property that should be searched for min value.
-			 * @returns Item containing min value, or null if no items.
-			 */
-
-		}, {
-			key: "min",
-			value: function min(field) {
-				var _context24;
-
-				var min = null;
-				var minField = null;
-
-				var _iterator12 = _createForOfIteratorHelper$7(values(_context24 = this._data).call(_context24)),
-					_step12;
-
-				try {
-					for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {
-						var item = _step12.value;
-						var itemField = item[field];
-
-						if (typeof itemField === "number" && (minField == null || itemField < minField)) {
-							min = item;
-							minField = itemField;
-						}
-					}
-				} catch (err) {
-					_iterator12.e(err);
-				} finally {
-					_iterator12.f();
-				}
-
-				return min || null;
-			}
-			/**
-			 * Find all distinct values of a specified field
-			 *
-			 * @param prop - The property name whose distinct values should be returned.
-			 * @returns Unordered array containing all distinct values. Items without specified property are ignored.
-			 */
-
-		}, {
-			key: "distinct",
-			value: function distinct(prop) {
-				var data = this._data;
-
-				var itemIds = _toConsumableArray(keys(data).call(data));
-
-				var values = [];
-				var count = 0;
-
-				for (var i = 0, len = itemIds.length; i < len; i++) {
-					var id = itemIds[i];
-					var item = data.get(id);
-					var _value3 = item[prop];
-					var exists = false;
-
-					for (var j = 0; j < count; j++) {
-						if (values[j] == _value3) {
-							exists = true;
-							break;
-						}
-					}
-
-					if (!exists && _value3 !== undefined) {
-						values[count] = _value3;
-						count++;
-					}
-				}
-
-				return values;
-			}
-			/**
-			 * Add a single item. Will fail when an item with the same id already exists.
-			 *
-			 * @param item - A new item to be added.
-			 * @returns Added item's id. An id is generated when it is not present in the item.
-			 */
-
-		}, {
-			key: "_addItem",
-			value: function _addItem(item) {
-				var fullItem = ensureFullItem(item, this._idProp);
-				var id = fullItem[this._idProp]; // check whether this id is already taken
-
-				if (this._data.has(id)) {
-					// item already exists
-					throw new Error("Cannot add item: item with id " + id + " already exists");
-				}
-
-				this._data.set(id, fullItem);
-
-				++this.length;
-				return id;
-			}
-			/**
-			 * Update a single item: merge with existing item.
-			 * Will fail when the item has no id, or when there does not exist an item with the same id.
-			 *
-			 * @param update - The new item
-			 * @returns The id of the updated item.
-			 */
-
-		}, {
-			key: "_updateItem",
-			value: function _updateItem(update) {
-				var id = update[this._idProp];
-
-				if (id == null) {
-					throw new Error("Cannot update item: item has no id (item: " + stringify$1(update) + ")");
-				}
-
-				var item = this._data.get(id);
-
-				if (!item) {
-					// item doesn't exist
-					throw new Error("Cannot update item: no item with id " + id + " found");
-				}
-
-				this._data.set(id, _objectSpread$4(_objectSpread$4({}, item), update));
-
-				return id;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "stream",
-			value: function stream(ids) {
-				if (ids) {
-					var data = this._data;
-					return new DataStream(_defineProperty({}, iterator, /*#__PURE__*/regenerator.mark(function _callee3() {
-						var _iterator13, _step13, id, item;
-
-						return regenerator.wrap(function _callee3$(_context25) {
-							while (1) {
-								switch (_context25.prev = _context25.next) {
-									case 0:
-										_iterator13 = _createForOfIteratorHelper$7(ids);
-										_context25.prev = 1;
-
-										_iterator13.s();
-
-									case 3:
-										if ((_step13 = _iterator13.n()).done) {
-											_context25.next = 11;
-											break;
-										}
-
-										id = _step13.value;
-										item = data.get(id);
-
-										if (!(item != null)) {
-											_context25.next = 9;
-											break;
-										}
-
-										_context25.next = 9;
-										return [id, item];
-
-									case 9:
-										_context25.next = 3;
-										break;
-
-									case 11:
-										_context25.next = 16;
-										break;
-
-									case 13:
-										_context25.prev = 13;
-										_context25.t0 = _context25["catch"](1);
-
-										_iterator13.e(_context25.t0);
-
-									case 16:
-										_context25.prev = 16;
-
-										_iterator13.f();
-
-										return _context25.finish(16);
-
-									case 19:
-									case "end":
-										return _context25.stop();
-								}
-							}
-						}, _callee3, null, [[1, 13, 16, 19]]);
-					})));
-				} else {
-					var _context26;
-
-					return new DataStream(_defineProperty({}, iterator, bind$6(_context26 = entries(this._data)).call(_context26, this._data)));
-				}
-			}
-		}]);
-
-		return DataSet;
-	}(DataSetPart);
-	/**
-	 * DataView
-	 *
-	 * A DataView offers a filtered and/or formatted view on a DataSet. One can subscribe to changes in a DataView, and easily get filtered or formatted data without having to specify filters and field types all the time.
-	 *
-	 * ## Example
-	 * ```javascript
-	 * // create a DataSet
-	 * var data = new vis.DataSet();
-	 * data.add([
-	 *   {id: 1, text: 'item 1', date: new Date(2013, 6, 20), group: 1, first: true},
-	 *   {id: 2, text: 'item 2', date: '2013-06-23', group: 2},
-	 *   {id: 3, text: 'item 3', date: '2013-06-25', group: 2},
-	 *   {id: 4, text: 'item 4'}
-	 * ]);
-	 *
-	 * // create a DataView
-	 * // the view will only contain items having a property group with value 1,
-	 * // and will only output fields id, text, and date.
-	 * var view = new vis.DataView(data, {
-	 *   filter: function (item) {
-	 *     return (item.group == 1);
-	 *   },
-	 *   fields: ['id', 'text', 'date']
-	 * });
-	 *
-	 * // subscribe to any change in the DataView
-	 * view.on('*', function (event, properties, senderId) {
-	 *   console.log('event', event, properties);
-	 * });
-	 *
-	 * // update an item in the data set
-	 * data.update({id: 2, group: 1});
-	 *
-	 * // get all ids in the view
-	 * var ids = view.getIds();
-	 * console.log('ids', ids); // will output [1, 2]
-	 *
-	 * // get all items in the view
-	 * var items = view.get();
-	 * ```
-	 *
-	 * @typeParam Item - Item type that may or may not have an id.
-	 * @typeParam IdProp - Name of the property that contains the id.
-	 */
-
-
-	var DataView = /*#__PURE__*/function (_DataSetPart2) {
-		_inherits(DataView, _DataSetPart2);
-
-		var _super2 = _createSuper$t(DataView);
-
-		/**
-		 * Create a DataView.
-		 *
-		 * @param data - The instance containing data (directly or indirectly).
-		 * @param options - Options to configure this data view.
-		 */
-		function DataView(data, options) {
-			var _context27;
-
-			var _this7;
-
-			_classCallCheck(this, DataView);
-
-			_this7 = _super2.call(this);
-
-			_defineProperty(_assertThisInitialized(_this7), "length", 0);
-
-			_defineProperty(_assertThisInitialized(_this7), "_listener", void 0);
-
-			_defineProperty(_assertThisInitialized(_this7), "_data", void 0);
-
-			_defineProperty(_assertThisInitialized(_this7), "_ids", new set());
-
-			_defineProperty(_assertThisInitialized(_this7), "_options", void 0);
-
-			_this7._options = options || {};
-			_this7._listener = bind$6(_context27 = _this7._onEvent).call(_context27, _assertThisInitialized(_this7));
-
-			_this7.setData(data);
-
-			return _this7;
-		} // TODO: implement a function .config() to dynamically update things like configured filter
-		// and trigger changes accordingly
-
-		/**
-		 * Set a data source for the view.
-		 *
-		 * @param data - The instance containing data (directly or indirectly).
-		 * @remarks
-		 * Note that when the data view is bound to a data set it won't be garbage
-		 * collected unless the data set is too. Use `dataView.setData(null)` or
-		 * `dataView.dispose()` to enable garbage collection before you lose the last
-		 * reference.
-		 */
-
-
-		_createClass(DataView, [{
-			key: "idProp",
-			get:
-				/** @inheritDoc */
-
-				/** @inheritDoc */
-				function get() {
-					return this.getDataSet().idProp;
-				}
-		}, {
-			key: "setData",
-			value: function setData(data) {
-				if (this._data) {
-					// unsubscribe from current dataset
-					if (this._data.off) {
-						this._data.off("*", this._listener);
-					} // trigger a remove of all items in memory
-
-
-					var ids = this._data.getIds({
-						filter: filter(this._options)
-					});
-
-					var items = this._data.get(ids);
-
-					this._ids.clear();
-
-					this.length = 0;
-
-					this._trigger("remove", {
-						items: ids,
-						oldData: items
-					});
-				}
-
-				if (data != null) {
-					this._data = data; // trigger an add of all added items
-
-					var _ids = this._data.getIds({
-						filter: filter(this._options)
-					});
-
-					for (var i = 0, len = _ids.length; i < len; i++) {
-						var id = _ids[i];
-
-						this._ids.add(id);
-					}
-
-					this.length = _ids.length;
-
-					this._trigger("add", {
-						items: _ids
-					});
-				} else {
-					this._data = new DataSet();
-				} // subscribe to new dataset
-
-
-				if (this._data.on) {
-					this._data.on("*", this._listener);
-				}
-			}
-			/**
-			 * Refresh the DataView.
-			 * Useful when the DataView has a filter function containing a variable parameter.
-			 */
-
-		}, {
-			key: "refresh",
-			value: function refresh() {
-				var ids = this._data.getIds({
-					filter: filter(this._options)
-				});
-
-				var oldIds = _toConsumableArray(this._ids);
-
-				var newIds = {};
-				var addedIds = [];
-				var removedIds = [];
-				var removedItems = []; // check for additions
-
-				for (var i = 0, len = ids.length; i < len; i++) {
-					var id = ids[i];
-					newIds[id] = true;
-
-					if (!this._ids.has(id)) {
-						addedIds.push(id);
-
-						this._ids.add(id);
-					}
-				} // check for removals
-
-
-				for (var _i10 = 0, _len11 = oldIds.length; _i10 < _len11; _i10++) {
-					var _id7 = oldIds[_i10];
-
-					var item = this._data.get(_id7);
-
-					if (item == null) {
-						// @TODO: Investigate.
-						// Doesn't happen during tests or examples.
-						// Is it really impossible or could it eventually happen?
-						// How to handle it if it does? The types guarantee non-nullable items.
-						console.error("If you see this, report it please.");
-					} else if (!newIds[_id7]) {
-						removedIds.push(_id7);
-						removedItems.push(item);
-
-						this._ids.delete(_id7);
-					}
-				}
-
-				this.length += addedIds.length - removedIds.length; // trigger events
-
-				if (addedIds.length) {
-					this._trigger("add", {
-						items: addedIds
-					});
-				}
-
-				if (removedIds.length) {
-					this._trigger("remove", {
-						items: removedIds,
-						oldData: removedItems
-					});
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "get",
-			value: function get(first, second) {
-				if (this._data == null) {
-					return null;
-				} // parse the arguments
-
-
-				var ids = null;
-				var options;
-
-				if (isId(first) || isArray$2(first)) {
-					ids = first;
-					options = second;
-				} else {
-					options = first;
-				} // extend the options with the default options and provided options
-
-
-				var viewOptions = assign$2({}, this._options, options); // create a combined filter method when needed
-
-
-				var thisFilter = filter(this._options);
-
-				var optionsFilter = options && filter(options);
-
-				if (thisFilter && optionsFilter) {
-					viewOptions.filter = function (item) {
-						return thisFilter(item) && optionsFilter(item);
-					};
-				}
-
-				if (ids == null) {
-					return this._data.get(viewOptions);
-				} else {
-					return this._data.get(ids, viewOptions);
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getIds",
-			value: function getIds(options) {
-				if (this._data.length) {
-					var defaultFilter = filter(this._options);
-
-					var optionsFilter = options != null ? filter(options) : null;
-					var filter$1;
-
-					if (optionsFilter) {
-						if (defaultFilter) {
-							filter$1 = function filter(item) {
-								return defaultFilter(item) && optionsFilter(item);
-							};
-						} else {
-							filter$1 = optionsFilter;
-						}
-					} else {
-						filter$1 = defaultFilter;
-					}
-
-					return this._data.getIds({
-						filter: filter$1,
-						order: options && options.order
-					});
-				} else {
-					return [];
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "forEach",
-			value: function forEach(callback, options) {
-				if (this._data) {
-					var _context28;
-
-					var defaultFilter = filter(this._options);
-
-					var optionsFilter = options && filter(options);
-
-					var filter$1;
-
-					if (optionsFilter) {
-						if (defaultFilter) {
-							filter$1 = function filter(item) {
-								return defaultFilter(item) && optionsFilter(item);
-							};
-						} else {
-							filter$1 = optionsFilter;
-						}
-					} else {
-						filter$1 = defaultFilter;
-					}
-
-					forEach$2(_context28 = this._data).call(_context28, callback, {
-						filter: filter$1,
-						order: options && options.order
-					});
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "map",
-			value: function map(callback, options) {
-				if (this._data) {
-					var _context29;
-
-					var defaultFilter = filter(this._options);
-
-					var optionsFilter = options && filter(options);
-
-					var filter$1;
-
-					if (optionsFilter) {
-						if (defaultFilter) {
-							filter$1 = function filter(item) {
-								return defaultFilter(item) && optionsFilter(item);
-							};
-						} else {
-							filter$1 = optionsFilter;
-						}
-					} else {
-						filter$1 = defaultFilter;
-					}
-
-					return map$3(_context29 = this._data).call(_context29, callback, {
-						filter: filter$1,
-						order: options && options.order
-					});
-				} else {
-					return [];
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getDataSet",
-			value: function getDataSet() {
-				return this._data.getDataSet();
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "stream",
-			value: function stream(ids) {
-				var _context30;
-
-				return this._data.stream(ids || _defineProperty({}, iterator, bind$6(_context30 = keys(this._ids)).call(_context30, this._ids)));
-			}
-			/**
-			 * Render the instance unusable prior to garbage collection.
-			 *
-			 * @remarks
-			 * The intention of this method is to help discover scenarios where the data
-			 * view is being used when the programmer thinks it has been garbage collected
-			 * already. It's stricter version of `dataView.setData(null)`.
-			 */
-
-		}, {
-			key: "dispose",
-			value: function dispose() {
-				var _this$_data;
-
-				if ((_this$_data = this._data) !== null && _this$_data !== void 0 && _this$_data.off) {
-					this._data.off("*", this._listener);
-				}
-
-				var message = "This data view has already been disposed of.";
-				var replacement = {
-					get: function get() {
-						throw new Error(message);
-					},
-					set: function set() {
-						throw new Error(message);
-					},
-					configurable: false
-				};
-
-				var _iterator14 = _createForOfIteratorHelper$7(ownKeys$6(DataView.prototype)),
-					_step14;
-
-				try {
-					for (_iterator14.s(); !(_step14 = _iterator14.n()).done;) {
-						var key = _step14.value;
-
-						defineProperty$6(this, key, replacement);
-					}
-				} catch (err) {
-					_iterator14.e(err);
-				} finally {
-					_iterator14.f();
-				}
-			}
-			/**
-			 * Event listener. Will propagate all events from the connected data set to the subscribers of the DataView, but will filter the items and only trigger when there are changes in the filtered data set.
-			 *
-			 * @param event - The name of the event.
-			 * @param params - Parameters of the event.
-			 * @param senderId - Id supplied by the sender.
-			 */
-
-		}, {
-			key: "_onEvent",
-			value: function _onEvent(event, params, senderId) {
-				if (!params || !params.items || !this._data) {
-					return;
-				}
-
-				var ids = params.items;
-				var addedIds = [];
-				var updatedIds = [];
-				var removedIds = [];
-				var oldItems = [];
-				var updatedItems = [];
-				var removedItems = [];
-
-				switch (event) {
-					case "add":
-						// filter the ids of the added items
-						for (var i = 0, len = ids.length; i < len; i++) {
-							var id = ids[i];
-							var item = this.get(id);
-
-							if (item) {
-								this._ids.add(id);
-
-								addedIds.push(id);
-							}
-						}
-
-						break;
-
-					case "update":
-						// determine the event from the views viewpoint: an updated
-						// item can be added, updated, or removed from this view.
-						for (var _i11 = 0, _len12 = ids.length; _i11 < _len12; _i11++) {
-							var _id8 = ids[_i11];
-
-							var _item5 = this.get(_id8);
-
-							if (_item5) {
-								if (this._ids.has(_id8)) {
-									updatedIds.push(_id8);
-									updatedItems.push(params.data[_i11]);
-									oldItems.push(params.oldData[_i11]);
-								} else {
-									this._ids.add(_id8);
-
-									addedIds.push(_id8);
-								}
-							} else {
-								if (this._ids.has(_id8)) {
-									this._ids.delete(_id8);
-
-									removedIds.push(_id8);
-									removedItems.push(params.oldData[_i11]);
-								}
-							}
-						}
-
-						break;
-
-					case "remove":
-						// filter the ids of the removed items
-						for (var _i12 = 0, _len13 = ids.length; _i12 < _len13; _i12++) {
-							var _id9 = ids[_i12];
-
-							if (this._ids.has(_id9)) {
-								this._ids.delete(_id9);
-
-								removedIds.push(_id9);
-								removedItems.push(params.oldData[_i12]);
-							}
-						}
-
-						break;
-				}
-
-				this.length += addedIds.length - removedIds.length;
-
-				if (addedIds.length) {
-					this._trigger("add", {
-						items: addedIds
-					}, senderId);
-				}
-
-				if (updatedIds.length) {
-					this._trigger("update", {
-						items: updatedIds,
-						oldData: oldItems,
-						data: updatedItems
-					}, senderId);
-				}
-
-				if (removedIds.length) {
-					this._trigger("remove", {
-						items: removedIds,
-						oldData: removedItems
-					}, senderId);
-				}
-			}
-		}]);
-
-		return DataView;
-	}(DataSetPart);
-	/**
-	 * Check that given value is compatible with Vis Data Set interface.
-	 *
-	 * @param idProp - The expected property to contain item id.
-	 * @param v - The value to be tested.
-	 * @returns True if all expected values and methods match, false otherwise.
-	 */
-
-
-	function isDataSetLike(idProp, v) {
-		return _typeof(v) === "object" && v !== null && idProp === v.idProp && typeof v.add === "function" && typeof v.clear === "function" && typeof v.distinct === "function" && typeof forEach$2(v) === "function" && typeof v.get === "function" && typeof v.getDataSet === "function" && typeof v.getIds === "function" && typeof v.length === "number" && typeof map$3(v) === "function" && typeof v.max === "function" && typeof v.min === "function" && typeof v.off === "function" && typeof v.on === "function" && typeof v.remove === "function" && typeof v.setOptions === "function" && typeof v.stream === "function" && typeof v.update === "function" && typeof v.updateOnly === "function";
-	}
-	/**
-	 * Check that given value is compatible with Vis Data View interface.
-	 *
-	 * @param idProp - The expected property to contain item id.
-	 * @param v - The value to be tested.
-	 * @returns True if all expected values and methods match, false otherwise.
-	 */
-
-
-	function isDataViewLike(idProp, v) {
-		return _typeof(v) === "object" && v !== null && idProp === v.idProp && typeof forEach$2(v) === "function" && typeof v.get === "function" && typeof v.getDataSet === "function" && typeof v.getIds === "function" && typeof v.length === "number" && typeof map$3(v) === "function" && typeof v.off === "function" && typeof v.on === "function" && typeof v.stream === "function" && isDataSetLike(idProp, v.getDataSet());
-	}
-
-	var index = /*#__PURE__*/Object.freeze({
-		__proto__: null,
-		DELETE: DELETE,
-		DataSet: DataSet,
-		DataStream: DataStream,
-		DataView: DataView,
-		Queue: Queue,
-		createNewDataPipeFrom: createNewDataPipeFrom,
-		isDataSetLike: isDataSetLike,
-		isDataViewLike: isDataViewLike
-	});
-
-	var global$2 = global$P;
-	var fails$1 = fails$t;
-	var uncurryThis$2 = functionUncurryThis;
-	var toString = toString$8;
-	var trim = stringTrim.trim;
-	var whitespaces = whitespaces$4;
-	var charAt = uncurryThis$2(''.charAt);
-	var n$ParseFloat = global$2.parseFloat;
-	var Symbol$1 = global$2.Symbol;
-	var ITERATOR = Symbol$1 && Symbol$1.iterator;
-	var FORCED = 1 / n$ParseFloat(whitespaces + '-0') !== -Infinity // MS Edge 18- broken with boxed symbols
-		|| ITERATOR && !fails$1(function () {
-			n$ParseFloat(Object(ITERATOR));
-		}); // `parseFloat` method
-	// https://tc39.es/ecma262/#sec-parsefloat-string
-
-	var numberParseFloat = FORCED ? function parseFloat(string) {
-		var trimmedString = trim(toString(string));
-		var result = n$ParseFloat(trimmedString);
-		return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result;
-	} : n$ParseFloat;
-
-	var $$4 = _export;
-	var $parseFloat = numberParseFloat; // `parseFloat` method
-	// https://tc39.es/ecma262/#sec-parsefloat-string
-
-	$$4({
-		global: true,
-		forced: parseFloat != $parseFloat
-	}, {
-		parseFloat: $parseFloat
-	});
-
-	var path$5 = path$y;
-	var _parseFloat$2 = path$5.parseFloat;
-
-	var parent$9 = _parseFloat$2;
-	var _parseFloat$1 = parent$9;
-
-	var _parseFloat = _parseFloat$1;
-
-	var $$3 = _export;
-	var fails = fails$t;
-	var getOwnPropertyNames$3 = objectGetOwnPropertyNamesExternal.f; // eslint-disable-next-line es/no-object-getownpropertynames -- required for testing
-
-	var FAILS_ON_PRIMITIVES = fails(function () {
-		return !Object.getOwnPropertyNames(1);
-	}); // `Object.getOwnPropertyNames` method
-	// https://tc39.es/ecma262/#sec-object.getownpropertynames
-
-	$$3({
-		target: 'Object',
-		stat: true,
-		forced: FAILS_ON_PRIMITIVES
-	}, {
-		getOwnPropertyNames: getOwnPropertyNames$3
-	});
-
-	var path$4 = path$y;
-	var Object$1 = path$4.Object;
-
-	var getOwnPropertyNames$2 = function getOwnPropertyNames(it) {
-		return Object$1.getOwnPropertyNames(it);
-	};
-
-	var parent$8 = getOwnPropertyNames$2;
-	var getOwnPropertyNames$1 = parent$8;
-
-	var getOwnPropertyNames = getOwnPropertyNames$1;
-
-	/**
-	 * Helper functions for components
-	 */
-
-	/**
-	 * Determine values to use for (sub)options of 'chosen'.
-	 *
-	 * This option is either a boolean or an object whose values should be examined further.
-	 * The relevant structures are:
-	 *
-	 * - chosen: <boolean value>
-	 * - chosen: { subOption: <boolean or function> }
-	 *
-	 * Where subOption is 'node', 'edge' or 'label'.
-	 *
-	 * The intention of this method appears to be to set a specific priority to the options;
-	 * Since most properties are either bridged or merged into the local options objects, there
-	 * is not much point in handling them separately.
-	 * TODO: examine if 'most' in previous sentence can be replaced with 'all'. In that case, we
-	 *       should be able to get rid of this method.
-	 *
-	 * @param {string}  subOption  option within object 'chosen' to consider; either 'node', 'edge' or 'label'
-	 * @param {object}  pile       array of options objects to consider
-	 * @returns {boolean | Function}  value for passed subOption of 'chosen' to use
-	 */
-
-	function choosify(subOption, pile) {
-		// allowed values for subOption
-		var allowed = ["node", "edge", "label"];
-		var value = true;
-		var chosen = topMost(pile, "chosen");
-
-		if (typeof chosen === "boolean") {
-			value = chosen;
-		} else if (_typeof(chosen) === "object") {
-			if (indexOf(allowed).call(allowed, subOption) === -1) {
-				throw new Error("choosify: subOption '" + subOption + "' should be one of " + "'" + allowed.join("', '") + "'");
-			}
-
-			var chosenEdge = topMost(pile, ["chosen", subOption]);
-
-			if (typeof chosenEdge === "boolean" || typeof chosenEdge === "function") {
-				value = chosenEdge;
-			}
-		}
-
-		return value;
-	}
-	/**
-	 * Check if the point falls within the given rectangle.
-	 *
-	 * @param {rect} rect
-	 * @param {point} point
-	 * @param {rotationPoint} [rotationPoint] if specified, the rotation that applies to the rectangle.
-	 * @returns {boolean}  true if point within rectangle, false otherwise
-	 */
-
-	function pointInRect(rect, point, rotationPoint) {
-		if (rect.width <= 0 || rect.height <= 0) {
-			return false; // early out
-		}
-
-		if (rotationPoint !== undefined) {
-			// Rotate the point the same amount as the rectangle
-			var tmp = {
-				x: point.x - rotationPoint.x,
-				y: point.y - rotationPoint.y
-			};
-
-			if (rotationPoint.angle !== 0) {
-				// In order to get the coordinates the same, you need to
-				// rotate in the reverse direction
-				var angle = -rotationPoint.angle;
-				var tmp2 = {
-					x: Math.cos(angle) * tmp.x - Math.sin(angle) * tmp.y,
-					y: Math.sin(angle) * tmp.x + Math.cos(angle) * tmp.y
-				};
-				point = tmp2;
-			} else {
-				point = tmp;
-			} // Note that if a rotation is specified, the rectangle coordinates
-			// are **not* the full canvas coordinates. They are relative to the
-			// rotationPoint. Hence, the point coordinates need not be translated
-			// back in this case.
-
-		}
-
-		var right = rect.x + rect.width;
-		var bottom = rect.y + rect.width;
-		return rect.left < point.x && right > point.x && rect.top < point.y && bottom > point.y;
-	}
-	/**
-	 * Check if given value is acceptable as a label text.
-	 *
-	 * @param {*} text value to check; can be anything at this point
-	 * @returns {boolean} true if valid label value, false otherwise
-	 */
-
-	function isValidLabel(text) {
-		// Note that this is quite strict: types that *might* be converted to string are disallowed
-		return typeof text === "string" && text !== "";
-	}
-	/**
-	 * Returns x, y of self reference circle based on provided angle
-	 *
-	 * @param {object} ctx
-	 * @param {number} angle
-	 * @param {number} radius
-	 * @param {VisNode} node
-	 * @returns {object} x and y coordinates
-	 */
-
-	function getSelfRefCoordinates(ctx, angle, radius, node) {
-		var x = node.x;
-		var y = node.y;
-
-		if (typeof node.distanceToBorder === "function") {
-			//calculating opposite and adjacent
-			//distaneToBorder becomes Hypotenuse.
-			//Formulas sin(a) = Opposite / Hypotenuse and cos(a) = Adjacent / Hypotenuse
-			var toBorderDist = node.distanceToBorder(ctx, angle);
-			var yFromNodeCenter = Math.sin(angle) * toBorderDist;
-			var xFromNodeCenter = Math.cos(angle) * toBorderDist; //xFromNodeCenter is basically x and if xFromNodeCenter equals to the distance to border then it means
-			//that y does not need calculation because it is equal node.height / 2 or node.y
-			//same thing with yFromNodeCenter and if yFromNodeCenter equals to the distance to border then it means
-			//that x is equal node.width / 2 or node.x
-
-			if (xFromNodeCenter === toBorderDist) {
-				x += toBorderDist;
-				y = node.y;
-			} else if (yFromNodeCenter === toBorderDist) {
-				x = node.x;
-				y -= toBorderDist;
-			} else {
-				x += xFromNodeCenter;
-				y -= yFromNodeCenter;
-			}
-		} else if (node.shape.width > node.shape.height) {
-			x = node.x + node.shape.width * 0.5;
-			y = node.y - radius;
-		} else {
-			x = node.x + radius;
-			y = node.y - node.shape.height * 0.5;
-		}
-
-		return {
-			x: x,
-			y: y
-		};
-	}
-
-	/**
-	 * Callback to determine text dimensions, using the parent label settings.
-	 *
-	 * @callback MeasureText
-	 * @param {text} text
-	 * @param {text} mod
-	 * @returns {object} { width, values} width in pixels and font attributes
-	 */
-
-	/**
-	 * Helper class for Label which collects results of splitting labels into lines and blocks.
-	 *
-	 * @private
-	 */
-	var LabelAccumulator = /*#__PURE__*/function () {
-		/**
-		 * @param {MeasureText} measureText
-		 */
-		function LabelAccumulator(measureText) {
-			_classCallCheck(this, LabelAccumulator);
-
-			this.measureText = measureText;
-			this.current = 0;
-			this.width = 0;
-			this.height = 0;
-			this.lines = [];
-		}
-		/**
-		 * Append given text to the given line.
-		 *
-		 * @param {number}  l    index of line to add to
-		 * @param {string}  text string to append to line
-		 * @param {'bold'|'ital'|'boldital'|'mono'|'normal'} [mod='normal']
-		 * @private
-		 */
-
-
-		_createClass(LabelAccumulator, [{
-			key: "_add",
-			value: function _add(l, text) {
-				var mod = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "normal";
-
-				if (this.lines[l] === undefined) {
-					this.lines[l] = {
-						width: 0,
-						height: 0,
-						blocks: []
-					};
-				} // We still need to set a block for undefined and empty texts, hence return at this point
-				// This is necessary because we don't know at this point if we're at the
-				// start of an empty line or not.
-				// To compensate, empty blocks are removed in `finalize()`.
-				//
-				// Empty strings should still have a height
-
-
-				var tmpText = text;
-				if (text === undefined || text === "") tmpText = " "; // Determine width and get the font properties
-
-				var result = this.measureText(tmpText, mod);
-
-				var block = assign$2({}, values(result));
-
-				block.text = text;
-				block.width = result.width;
-				block.mod = mod;
-
-				if (text === undefined || text === "") {
-					block.width = 0;
-				}
-
-				this.lines[l].blocks.push(block); // Update the line width. We need this for determining if a string goes over max width
-
-				this.lines[l].width += block.width;
-			}
-			/**
-			 * Returns the width in pixels of the current line.
-			 *
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "curWidth",
-			value: function curWidth() {
-				var line = this.lines[this.current];
-				if (line === undefined) return 0;
-				return line.width;
-			}
-			/**
-			 * Add text in block to current line
-			 *
-			 * @param {string} text
-			 * @param {'bold'|'ital'|'boldital'|'mono'|'normal'} [mod='normal']
-			 */
-
-		}, {
-			key: "append",
-			value: function append(text) {
-				var mod = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "normal";
-
-				this._add(this.current, text, mod);
-			}
-			/**
-			 * Add text in block to current line and start a new line
-			 *
-			 * @param {string} text
-			 * @param {'bold'|'ital'|'boldital'|'mono'|'normal'} [mod='normal']
-			 */
-
-		}, {
-			key: "newLine",
-			value: function newLine(text) {
-				var mod = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "normal";
-
-				this._add(this.current, text, mod);
-
-				this.current++;
-			}
-			/**
-			 * Determine and set the heights of all the lines currently contained in this instance
-			 *
-			 * Note that width has already been set.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "determineLineHeights",
-			value: function determineLineHeights() {
-				for (var k = 0; k < this.lines.length; k++) {
-					var line = this.lines[k]; // Looking for max height of blocks in line
-
-					var height = 0;
-
-					if (line.blocks !== undefined) {
-						// Can happen if text contains e.g. '\n '
-						for (var l = 0; l < line.blocks.length; l++) {
-							var block = line.blocks[l];
-
-							if (height < block.height) {
-								height = block.height;
-							}
-						}
-					}
-
-					line.height = height;
-				}
-			}
-			/**
-			 * Determine the full size of the label text, as determined by current lines and blocks
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "determineLabelSize",
-			value: function determineLabelSize() {
-				var width = 0;
-				var height = 0;
-
-				for (var k = 0; k < this.lines.length; k++) {
-					var line = this.lines[k];
-
-					if (line.width > width) {
-						width = line.width;
-					}
-
-					height += line.height;
-				}
-
-				this.width = width;
-				this.height = height;
-			}
-			/**
-			 * Remove all empty blocks and empty lines we don't need
-			 *
-			 * This must be done after the width/height determination,
-			 * so that these are set properly for processing here.
-			 *
-			 * @returns {Array<Line>} Lines with empty blocks (and some empty lines) removed
-			 * @private
-			 */
-
-		}, {
-			key: "removeEmptyBlocks",
-			value: function removeEmptyBlocks() {
-				var tmpLines = [];
-
-				for (var k = 0; k < this.lines.length; k++) {
-					var line = this.lines[k]; // Note: an empty line in between text has width zero but is still relevant to layout.
-					// So we can't use width for testing empty line here
-
-					if (line.blocks.length === 0) continue; // Discard final empty line always
-
-					if (k === this.lines.length - 1) {
-						if (line.width === 0) continue;
-					}
-
-					var tmpLine = {};
-
-					assign$2(tmpLine, line);
-
-					tmpLine.blocks = [];
-					var firstEmptyBlock = void 0;
-					var tmpBlocks = [];
-
-					for (var l = 0; l < line.blocks.length; l++) {
-						var block = line.blocks[l];
-
-						if (block.width !== 0) {
-							tmpBlocks.push(block);
-						} else {
-							if (firstEmptyBlock === undefined) {
-								firstEmptyBlock = block;
-							}
-						}
-					} // Ensure that there is *some* text present
-
-
-					if (tmpBlocks.length === 0 && firstEmptyBlock !== undefined) {
-						tmpBlocks.push(firstEmptyBlock);
-					}
-
-					tmpLine.blocks = tmpBlocks;
-					tmpLines.push(tmpLine);
-				}
-
-				return tmpLines;
-			}
-			/**
-			 * Set the sizes for all lines and the whole thing.
-			 *
-			 * @returns {{width: (number|*), height: (number|*), lines: Array}}
-			 */
-
-		}, {
-			key: "finalize",
-			value: function finalize() {
-				//console.log(JSON.stringify(this.lines, null, 2));
-				this.determineLineHeights();
-				this.determineLabelSize();
-				var tmpLines = this.removeEmptyBlocks(); // Return a simple hash object for further processing.
-
-				return {
-					width: this.width,
-					height: this.height,
-					lines: tmpLines
-				};
-			}
-		}]);
-
-		return LabelAccumulator;
-	}();
-
-	var tagPattern = {
-		// HTML
-		"<b>": /<b>/,
-		"<i>": /<i>/,
-		"<code>": /<code>/,
-		"</b>": /<\/b>/,
-		"</i>": /<\/i>/,
-		"</code>": /<\/code>/,
-		// Markdown
-		"*": /\*/,
-		// bold
-		_: /_/,
-		// ital
-		"`": /`/,
-		// mono
-		afterBold: /[^*]/,
-		afterItal: /[^_]/,
-		afterMono: /[^`]/
-	};
-	/**
-	 * Internal helper class for parsing the markup tags for HTML and Markdown.
-	 *
-	 * NOTE: Sequences of tabs and spaces are reduced to single space.
-	 *       Scan usage of `this.spacing` within method
-	 */
-
-	var MarkupAccumulator = /*#__PURE__*/function () {
-		/**
-		 * Create an instance
-		 *
-		 * @param {string} text  text to parse for markup
-		 */
-		function MarkupAccumulator(text) {
-			_classCallCheck(this, MarkupAccumulator);
-
-			this.text = text;
-			this.bold = false;
-			this.ital = false;
-			this.mono = false;
-			this.spacing = false;
-			this.position = 0;
-			this.buffer = "";
-			this.modStack = [];
-			this.blocks = [];
-		}
-		/**
-		 * Return the mod label currently on the top of the stack
-		 *
-		 * @returns {string}  label of topmost mod
-		 * @private
-		 */
-
-
-		_createClass(MarkupAccumulator, [{
-			key: "mod",
-			value: function mod() {
-				return this.modStack.length === 0 ? "normal" : this.modStack[0];
-			}
-			/**
-			 * Return the mod label currently active
-			 *
-			 * @returns {string}  label of active mod
-			 * @private
-			 */
-
-		}, {
-			key: "modName",
-			value: function modName() {
-				if (this.modStack.length === 0) return "normal"; else if (this.modStack[0] === "mono") return "mono"; else {
-					if (this.bold && this.ital) {
-						return "boldital";
-					} else if (this.bold) {
-						return "bold";
-					} else if (this.ital) {
-						return "ital";
-					}
-				}
-			}
-			/**
-			 * @private
-			 */
-
-		}, {
-			key: "emitBlock",
-			value: function emitBlock() {
-				if (this.spacing) {
-					this.add(" ");
-					this.spacing = false;
-				}
-
-				if (this.buffer.length > 0) {
-					this.blocks.push({
-						text: this.buffer,
-						mod: this.modName()
-					});
-					this.buffer = "";
-				}
-			}
-			/**
-			 * Output text to buffer
-			 *
-			 * @param {string} text  text to add
-			 * @private
-			 */
-
-		}, {
-			key: "add",
-			value: function add(text) {
-				if (text === " ") {
-					this.spacing = true;
-				}
-
-				if (this.spacing) {
-					this.buffer += " ";
-					this.spacing = false;
-				}
-
-				if (text != " ") {
-					this.buffer += text;
-				}
-			}
-			/**
-			 * Handle parsing of whitespace
-			 *
-			 * @param {string} ch  the character to check
-			 * @returns {boolean} true if the character was processed as whitespace, false otherwise
-			 */
-
-		}, {
-			key: "parseWS",
-			value: function parseWS(ch) {
-				if (/[ \t]/.test(ch)) {
-					if (!this.mono) {
-						this.spacing = true;
-					} else {
-						this.add(ch);
-					}
-
-					return true;
-				}
-
-				return false;
-			}
-			/**
-			 * @param {string} tagName  label for block type to set
-			 * @private
-			 */
-
-		}, {
-			key: "setTag",
-			value: function setTag(tagName) {
-				this.emitBlock();
-				this[tagName] = true;
-				this.modStack.unshift(tagName);
-			}
-			/**
-			 * @param {string} tagName  label for block type to unset
-			 * @private
-			 */
-
-		}, {
-			key: "unsetTag",
-			value: function unsetTag(tagName) {
-				this.emitBlock();
-				this[tagName] = false;
-				this.modStack.shift();
-			}
-			/**
-			 * @param {string} tagName label for block type we are currently processing
-			 * @param {string|RegExp} tag string to match in text
-			 * @returns {boolean} true if the tag was processed, false otherwise
-			 */
-
-		}, {
-			key: "parseStartTag",
-			value: function parseStartTag(tagName, tag) {
-				// Note: if 'mono' passed as tagName, there is a double check here. This is OK
-				if (!this.mono && !this[tagName] && this.match(tag)) {
-					this.setTag(tagName);
-					return true;
-				}
-
-				return false;
-			}
-			/**
-			 * @param {string|RegExp} tag
-			 * @param {number} [advance=true] if set, advance current position in text
-			 * @returns {boolean} true if match at given position, false otherwise
-			 * @private
-			 */
-
-		}, {
-			key: "match",
-			value: function match(tag) {
-				var advance = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-
-				var _this$prepareRegExp = this.prepareRegExp(tag),
-					_this$prepareRegExp2 = _slicedToArray(_this$prepareRegExp, 2),
-					regExp = _this$prepareRegExp2[0],
-					length = _this$prepareRegExp2[1];
-
-				var matched = regExp.test(this.text.substr(this.position, length));
-
-				if (matched && advance) {
-					this.position += length - 1;
-				}
-
-				return matched;
-			}
-			/**
-			 * @param {string} tagName label for block type we are currently processing
-			 * @param {string|RegExp} tag string to match in text
-			 * @param {RegExp} [nextTag] regular expression to match for characters *following* the current tag
-			 * @returns {boolean} true if the tag was processed, false otherwise
-			 */
-
-		}, {
-			key: "parseEndTag",
-			value: function parseEndTag(tagName, tag, nextTag) {
-				var checkTag = this.mod() === tagName;
-
-				if (tagName === "mono") {
-					// special handling for 'mono'
-					checkTag = checkTag && this.mono;
-				} else {
-					checkTag = checkTag && !this.mono;
-				}
-
-				if (checkTag && this.match(tag)) {
-					if (nextTag !== undefined) {
-						// Purpose of the following match is to prevent a direct unset/set of a given tag
-						// E.g. '*bold **still bold*' => '*bold still bold*'
-						if (this.position === this.text.length - 1 || this.match(nextTag, false)) {
-							this.unsetTag(tagName);
-						}
-					} else {
-						this.unsetTag(tagName);
-					}
-
-					return true;
-				}
-
-				return false;
-			}
-			/**
-			 * @param {string|RegExp} tag  string to match in text
-			 * @param {value} value  string to replace tag with, if found at current position
-			 * @returns {boolean} true if the tag was processed, false otherwise
-			 */
-
-		}, {
-			key: "replace",
-			value: function replace(tag, value) {
-				if (this.match(tag)) {
-					this.add(value);
-					this.position += length - 1;
-					return true;
-				}
-
-				return false;
-			}
-			/**
-			 * Create a regular expression for the tag if it isn't already one.
-			 *
-			 * The return value is an array `[RegExp, number]`, with exactly two value, where:
-			 *  - RegExp is the regular expression to use
-			 *  - number is the lenth of the input string to match
-			 *
-			 * @param {string|RegExp} tag  string to match in text
-			 * @returns {Array}  regular expression to use and length of input string to match
-			 * @private
-			 */
-
-		}, {
-			key: "prepareRegExp",
-			value: function prepareRegExp(tag) {
-				var length;
-				var regExp;
-
-				if (tag instanceof RegExp) {
-					regExp = tag;
-					length = 1; // ASSUMPTION: regexp only tests one character
-				} else {
-					// use prepared regexp if present
-					var prepared = tagPattern[tag];
-
-					if (prepared !== undefined) {
-						regExp = prepared;
-					} else {
-						regExp = new RegExp(tag);
-					}
-
-					length = tag.length;
-				}
-
-				return [regExp, length];
-			}
-		}]);
-
-		return MarkupAccumulator;
-	}();
-	/**
-	 * Helper class for Label which explodes the label text into lines and blocks within lines
-	 *
-	 * @private
-	 */
-
-
-	var LabelSplitter = /*#__PURE__*/function () {
-		/**
-		 * @param {CanvasRenderingContext2D} ctx Canvas rendering context
-		 * @param {Label} parent reference to the Label instance using current instance
-		 * @param {boolean} selected
-		 * @param {boolean} hover
-		 */
-		function LabelSplitter(ctx, parent, selected, hover) {
-			var _this = this;
-
-			_classCallCheck(this, LabelSplitter);
-
-			this.ctx = ctx;
-			this.parent = parent;
-			this.selected = selected;
-			this.hover = hover;
-			/**
-			 * Callback to determine text width; passed to LabelAccumulator instance
-			 *
-			 * @param  {string} text string to determine width of
-			 * @param  {string} mod  font type to use for this text
-			 * @returns {object} { width, values} width in pixels and font attributes
-			 */
-
-			var textWidth = function textWidth(text, mod) {
-				if (text === undefined) return 0; // TODO: This can be done more efficiently with caching
-				// This will set the ctx.font correctly, depending on selected/hover and mod - so that ctx.measureText() will be accurate.
-
-				var values = _this.parent.getFormattingValues(ctx, selected, hover, mod);
-
-				var width = 0;
-
-				if (text !== "") {
-					var measure = _this.ctx.measureText(text);
-
-					width = measure.width;
-				}
-
-				return {
-					width: width,
-					values: values
-				};
-			};
-
-			this.lines = new LabelAccumulator(textWidth);
-		}
-		/**
-		 * Split passed text of a label into lines and blocks.
-		 *
-		 * # NOTE
-		 *
-		 * The handling of spacing is option dependent:
-		 *
-		 * - if `font.multi : false`, all spaces are retained
-		 * - if `font.multi : true`, every sequence of spaces is compressed to a single space
-		 *
-		 * This might not be the best way to do it, but this is as it has been working till now.
-		 * In order not to break existing functionality, for the time being this behaviour will
-		 * be retained in any code changes.
-		 *
-		 * @param {string} text  text to split
-		 * @returns {Array<line>}
-		 */
-
-
-		_createClass(LabelSplitter, [{
-			key: "process",
-			value: function process(text) {
-				if (!isValidLabel(text)) {
-					return this.lines.finalize();
-				}
-
-				var font = this.parent.fontOptions; // Normalize the end-of-line's to a single representation - order important
-
-				text = text.replace(/\r\n/g, "\n"); // Dos EOL's
-
-				text = text.replace(/\r/g, "\n"); // Mac EOL's
-				// Note that at this point, there can be no \r's in the text.
-				// This is used later on splitStringIntoLines() to split multifont texts.
-
-				var nlLines = String(text).split("\n");
-				var lineCount = nlLines.length;
-
-				if (font.multi) {
-					// Multi-font case: styling tags active
-					for (var i = 0; i < lineCount; i++) {
-						var blocks = this.splitBlocks(nlLines[i], font.multi); // Post: Sequences of tabs and spaces are reduced to single space
-
-						if (blocks === undefined) continue;
-
-						if (blocks.length === 0) {
-							this.lines.newLine("");
-							continue;
-						}
-
-						if (font.maxWdt > 0) {
-							// widthConstraint.maximum defined
-							//console.log('Running widthConstraint multi, max: ' + this.fontOptions.maxWdt);
-							for (var j = 0; j < blocks.length; j++) {
-								var mod = blocks[j].mod;
-								var _text = blocks[j].text;
-								this.splitStringIntoLines(_text, mod, true);
-							}
-						} else {
-							// widthConstraint.maximum NOT defined
-							for (var _j = 0; _j < blocks.length; _j++) {
-								var _mod = blocks[_j].mod;
-								var _text2 = blocks[_j].text;
-								this.lines.append(_text2, _mod);
-							}
-						}
-
-						this.lines.newLine();
-					}
-				} else {
-					// Single-font case
-					if (font.maxWdt > 0) {
-						// widthConstraint.maximum defined
-						// console.log('Running widthConstraint normal, max: ' + this.fontOptions.maxWdt);
-						for (var _i = 0; _i < lineCount; _i++) {
-							this.splitStringIntoLines(nlLines[_i]);
-						}
-					} else {
-						// widthConstraint.maximum NOT defined
-						for (var _i2 = 0; _i2 < lineCount; _i2++) {
-							this.lines.newLine(nlLines[_i2]);
-						}
-					}
-				}
-
-				return this.lines.finalize();
-			}
-			/**
-			 * normalize the markup system
-			 *
-			 * @param {boolean|'md'|'markdown'|'html'} markupSystem
-			 * @returns {string}
-			 */
-
-		}, {
-			key: "decodeMarkupSystem",
-			value: function decodeMarkupSystem(markupSystem) {
-				var system = "none";
-
-				if (markupSystem === "markdown" || markupSystem === "md") {
-					system = "markdown";
-				} else if (markupSystem === true || markupSystem === "html") {
-					system = "html";
-				}
-
-				return system;
-			}
-			/**
-			 *
-			 * @param {string} text
-			 * @returns {Array}
-			 */
-
-		}, {
-			key: "splitHtmlBlocks",
-			value: function splitHtmlBlocks(text) {
-				var s = new MarkupAccumulator(text);
-
-				var parseEntities = function parseEntities(ch) {
-					if (/&/.test(ch)) {
-						var parsed = s.replace(s.text, "&lt;", "<") || s.replace(s.text, "&amp;", "&");
-
-						if (!parsed) {
-							s.add("&");
-						}
-
-						return true;
-					}
-
-					return false;
-				};
-
-				while (s.position < s.text.length) {
-					var ch = s.text.charAt(s.position);
-					var parsed = s.parseWS(ch) || /</.test(ch) && (s.parseStartTag("bold", "<b>") || s.parseStartTag("ital", "<i>") || s.parseStartTag("mono", "<code>") || s.parseEndTag("bold", "</b>") || s.parseEndTag("ital", "</i>") || s.parseEndTag("mono", "</code>")) || parseEntities(ch);
-
-					if (!parsed) {
-						s.add(ch);
-					}
-
-					s.position++;
-				}
-
-				s.emitBlock();
-				return s.blocks;
-			}
-			/**
-			 *
-			 * @param {string} text
-			 * @returns {Array}
-			 */
-
-		}, {
-			key: "splitMarkdownBlocks",
-			value: function splitMarkdownBlocks(text) {
-				var _this2 = this;
-
-				var s = new MarkupAccumulator(text);
-				var beginable = true;
-
-				var parseOverride = function parseOverride(ch) {
-					if (/\\/.test(ch)) {
-						if (s.position < _this2.text.length + 1) {
-							s.position++;
-							ch = _this2.text.charAt(s.position);
-
-							if (/ \t/.test(ch)) {
-								s.spacing = true;
-							} else {
-								s.add(ch);
-								beginable = false;
-							}
-						}
-
-						return true;
-					}
-
-					return false;
-				};
-
-				while (s.position < s.text.length) {
-					var ch = s.text.charAt(s.position);
-					var parsed = s.parseWS(ch) || parseOverride(ch) || (beginable || s.spacing) && (s.parseStartTag("bold", "*") || s.parseStartTag("ital", "_") || s.parseStartTag("mono", "`")) || s.parseEndTag("bold", "*", "afterBold") || s.parseEndTag("ital", "_", "afterItal") || s.parseEndTag("mono", "`", "afterMono");
-
-					if (!parsed) {
-						s.add(ch);
-						beginable = false;
-					}
-
-					s.position++;
-				}
-
-				s.emitBlock();
-				return s.blocks;
-			}
-			/**
-			 * Explodes a piece of text into single-font blocks using a given markup
-			 *
-			 * @param {string} text
-			 * @param {boolean|'md'|'markdown'|'html'} markupSystem
-			 * @returns {Array.<{text: string, mod: string}>}
-			 * @private
-			 */
-
-		}, {
-			key: "splitBlocks",
-			value: function splitBlocks(text, markupSystem) {
-				var system = this.decodeMarkupSystem(markupSystem);
-
-				if (system === "none") {
-					return [{
-						text: text,
-						mod: "normal"
-					}];
-				} else if (system === "markdown") {
-					return this.splitMarkdownBlocks(text);
-				} else if (system === "html") {
-					return this.splitHtmlBlocks(text);
-				}
-			}
-			/**
-			 * @param {string} text
-			 * @returns {boolean} true if text length over the current max with
-			 * @private
-			 */
-
-		}, {
-			key: "overMaxWidth",
-			value: function overMaxWidth(text) {
-				var width = this.ctx.measureText(text).width;
-				return this.lines.curWidth() + width > this.parent.fontOptions.maxWdt;
-			}
-			/**
-			 * Determine the longest part of the sentence which still fits in the
-			 * current max width.
-			 *
-			 * @param {Array} words  Array of strings signifying a text lines
-			 * @returns {number}      index of first item in string making string go over max
-			 * @private
-			 */
-
-		}, {
-			key: "getLongestFit",
-			value: function getLongestFit(words) {
-				var text = "";
-				var w = 0;
-
-				while (w < words.length) {
-					var pre = text === "" ? "" : " ";
-					var newText = text + pre + words[w];
-					if (this.overMaxWidth(newText)) break;
-					text = newText;
-					w++;
-				}
-
-				return w;
-			}
-			/**
-			 * Determine the longest part of the string which still fits in the
-			 * current max width.
-			 *
-			 * @param {Array} words Array of strings signifying a text lines
-			 * @returns {number} index of first item in string making string go over max
-			 */
-
-		}, {
-			key: "getLongestFitWord",
-			value: function getLongestFitWord(words) {
-				var w = 0;
-
-				while (w < words.length) {
-					if (this.overMaxWidth(slice(words).call(words, 0, w))) break;
-					w++;
-				}
-
-				return w;
-			}
-			/**
-			 * Split the passed text into lines, according to width constraint (if any).
-			 *
-			 * The method assumes that the input string is a single line, i.e. without lines break.
-			 *
-			 * This method retains spaces, if still present (case `font.multi: false`).
-			 * A space which falls on an internal line break, will be replaced by a newline.
-			 * There is no special handling of tabs; these go along with the flow.
-			 *
-			 * @param {string} str
-			 * @param {string} [mod='normal']
-			 * @param {boolean} [appendLast=false]
-			 * @private
-			 */
-
-		}, {
-			key: "splitStringIntoLines",
-			value: function splitStringIntoLines(str) {
-				var mod = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "normal";
-				var appendLast = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-				// Set the canvas context font, based upon the current selected/hover state
-				// and the provided mod, so the text measurement performed by getLongestFit
-				// will be accurate - and not just use the font of whoever last used the canvas.
-				this.parent.getFormattingValues(this.ctx, this.selected, this.hover, mod); // Still-present spaces are relevant, retain them
-
-				str = str.replace(/^( +)/g, "$1\r");
-				str = str.replace(/([^\r][^ ]*)( +)/g, "$1\r$2\r");
-				var words = str.split("\r");
-
-				while (words.length > 0) {
-					var w = this.getLongestFit(words);
-
-					if (w === 0) {
-						// Special case: the first word is already larger than the max width.
-						var word = words[0]; // Break the word to the largest part that fits the line
-
-						var x = this.getLongestFitWord(word);
-						this.lines.newLine(slice(word).call(word, 0, x), mod); // Adjust the word, so that the rest will be done next iteration
-
-						words[0] = slice(word).call(word, x);
-					} else {
-						// skip any space that is replaced by a newline
-						var newW = w;
-
-						if (words[w - 1] === " ") {
-							w--;
-						} else if (words[newW] === " ") {
-							newW++;
-						}
-
-						var text = slice(words).call(words, 0, w).join("");
-
-						if (w == words.length && appendLast) {
-							this.lines.append(text, mod);
-						} else {
-							this.lines.newLine(text, mod);
-						} // Adjust the word, so that the rest will be done next iteration
-
-
-						words = slice(words).call(words, newW);
-					}
-				}
-			}
-		}]);
-
-		return LabelSplitter;
-	}();
-
-	/**
-	 * List of special styles for multi-fonts
-	 *
-	 * @private
-	 */
-
-	var multiFontStyle = ["bold", "ital", "boldital", "mono"];
-	/**
-	 * A Label to be used for Nodes or Edges.
-	 */
-
-	var Label = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {object} options
-		 * @param {boolean} [edgelabel=false]
-		 */
-		function Label(body, options) {
-			var edgelabel = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-
-			_classCallCheck(this, Label);
-
-			this.body = body;
-			this.pointToSelf = false;
-			this.baseSize = undefined;
-			this.fontOptions = {}; // instance variable containing the *instance-local* font options
-
-			this.setOptions(options);
-			this.size = {
-				top: 0,
-				left: 0,
-				width: 0,
-				height: 0,
-				yLine: 0
-			};
-			this.isEdgeLabel = edgelabel;
-		}
-		/**
-		 * @param {object} options the options of the parent Node-instance
-		 */
-
-
-		_createClass(Label, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				this.elementOptions = options; // Reference to the options of the parent Node-instance
-
-				this.initFontOptions(options.font);
-
-				if (isValidLabel(options.label)) {
-					this.labelDirty = true;
-				} else {
-					// Bad label! Change the option value to prevent bad stuff happening
-					options.label = undefined;
-				}
-
-				if (options.font !== undefined && options.font !== null) {
-					// font options can be deleted at various levels
-					if (typeof options.font === "string") {
-						this.baseSize = this.fontOptions.size;
-					} else if (_typeof(options.font) === "object") {
-						var size = options.font.size;
-
-						if (size !== undefined) {
-							this.baseSize = size;
-						}
-					}
-				}
-			}
-			/**
-			 * Init the font Options structure.
-			 *
-			 * Member fontOptions serves as an accumulator for the current font options.
-			 * As such, it needs to be completely separated from the node options.
-			 *
-			 * @param {object} newFontOptions the new font options to process
-			 * @private
-			 */
-
-		}, {
-			key: "initFontOptions",
-			value: function initFontOptions(newFontOptions) {
-				var _this = this;
-
-				// Prepare the multi-font option objects.
-				// These will be filled in propagateFonts(), if required
-				forEach$1(multiFontStyle, function (style) {
-					_this.fontOptions[style] = {};
-				}); // Handle shorthand option, if present
-
-				if (Label.parseFontString(this.fontOptions, newFontOptions)) {
-					this.fontOptions.vadjust = 0;
-					return;
-				} // Copy over the non-multifont options, if specified
-
-
-				forEach$1(newFontOptions, function (prop, n) {
-					if (prop !== undefined && prop !== null && _typeof(prop) !== "object") {
-						_this.fontOptions[n] = prop;
-					}
-				});
-			}
-			/**
-			 * If in-variable is a string, parse it as a font specifier.
-			 *
-			 * Note that following is not done here and have to be done after the call:
-			 * - Not all font options are set (vadjust, mod)
-			 *
-			 * @param {object} outOptions  out-parameter, object in which to store the parse results (if any)
-			 * @param {object} inOptions  font options to parse
-			 * @returns {boolean} true if font parsed as string, false otherwise
-			 * @static
-			 */
-
-		}, {
-			key: "constrain",
-			value:
-				/**
-				 * Set the width and height constraints based on 'nearest' value
-				 *
-				 * @param {Array} pile array of option objects to consider
-				 * @returns {object} the actual constraint values to use
-				 * @private
-				 */
-				function constrain(pile) {
-					// NOTE: constrainWidth and  constrainHeight never set!
-					// NOTE: for edge labels, only 'maxWdt' set
-					// Node labels can set all the fields
-					var fontOptions = {
-						constrainWidth: false,
-						maxWdt: -1,
-						minWdt: -1,
-						constrainHeight: false,
-						minHgt: -1,
-						valign: "middle"
-					};
-					var widthConstraint = topMost(pile, "widthConstraint");
-
-					if (typeof widthConstraint === "number") {
-						fontOptions.maxWdt = Number(widthConstraint);
-						fontOptions.minWdt = Number(widthConstraint);
-					} else if (_typeof(widthConstraint) === "object") {
-						var widthConstraintMaximum = topMost(pile, ["widthConstraint", "maximum"]);
-
-						if (typeof widthConstraintMaximum === "number") {
-							fontOptions.maxWdt = Number(widthConstraintMaximum);
-						}
-
-						var widthConstraintMinimum = topMost(pile, ["widthConstraint", "minimum"]);
-
-						if (typeof widthConstraintMinimum === "number") {
-							fontOptions.minWdt = Number(widthConstraintMinimum);
-						}
-					}
-
-					var heightConstraint = topMost(pile, "heightConstraint");
-
-					if (typeof heightConstraint === "number") {
-						fontOptions.minHgt = Number(heightConstraint);
-					} else if (_typeof(heightConstraint) === "object") {
-						var heightConstraintMinimum = topMost(pile, ["heightConstraint", "minimum"]);
-
-						if (typeof heightConstraintMinimum === "number") {
-							fontOptions.minHgt = Number(heightConstraintMinimum);
-						}
-
-						var heightConstraintValign = topMost(pile, ["heightConstraint", "valign"]);
-
-						if (typeof heightConstraintValign === "string") {
-							if (heightConstraintValign === "top" || heightConstraintValign === "bottom") {
-								fontOptions.valign = heightConstraintValign;
-							}
-						}
-					}
-
-					return fontOptions;
-				}
-			/**
-			 * Set options and update internal state
-			 *
-			 * @param {object} options  options to set
-			 * @param {Array}  pile     array of option objects to consider for option 'chosen'
-			 */
-
-		}, {
-			key: "update",
-			value: function update(options, pile) {
-				this.setOptions(options, true);
-				this.propagateFonts(pile);
-				deepExtend(this.fontOptions, this.constrain(pile));
-				this.fontOptions.chooser = choosify("label", pile);
-			}
-			/**
-			 * When margins are set in an element, adjust sizes is called to remove them
-			 * from the width/height constraints. This must be done prior to label sizing.
-			 *
-			 * @param {{top: number, right: number, bottom: number, left: number}} margins
-			 */
-
-		}, {
-			key: "adjustSizes",
-			value: function adjustSizes(margins) {
-				var widthBias = margins ? margins.right + margins.left : 0;
-
-				if (this.fontOptions.constrainWidth) {
-					this.fontOptions.maxWdt -= widthBias;
-					this.fontOptions.minWdt -= widthBias;
-				}
-
-				var heightBias = margins ? margins.top + margins.bottom : 0;
-
-				if (this.fontOptions.constrainHeight) {
-					this.fontOptions.minHgt -= heightBias;
-				}
-			} /////////////////////////////////////////////////////////
-			// Methods for handling options piles
-			// Eventually, these will be moved to a separate class
-			/////////////////////////////////////////////////////////
-
-			/**
-			 * Add the font members of the passed list of option objects to the pile.
-			 *
-			 * @param {Pile} dstPile  pile of option objects add to
-			 * @param {Pile} srcPile  pile of option objects to take font options from
-			 * @private
-			 */
-
-		}, {
-			key: "addFontOptionsToPile",
-			value: function addFontOptionsToPile(dstPile, srcPile) {
-				for (var i = 0; i < srcPile.length; ++i) {
-					this.addFontToPile(dstPile, srcPile[i]);
-				}
-			}
-			/**
-			 * Add given font option object to the list of objects (the 'pile') to consider for determining
-			 * multi-font option values.
-			 *
-			 * @param {Pile} pile  pile of option objects to use
-			 * @param {object} options  instance to add to pile
-			 * @private
-			 */
-
-		}, {
-			key: "addFontToPile",
-			value: function addFontToPile(pile, options) {
-				if (options === undefined) return;
-				if (options.font === undefined || options.font === null) return;
-				var item = options.font;
-				pile.push(item);
-			}
-			/**
-			 * Collect all own-property values from the font pile that aren't multi-font option objectss.
-			 *
-			 * @param {Pile} pile  pile of option objects to use
-			 * @returns {object} object with all current own basic font properties
-			 * @private
-			 */
-
-		}, {
-			key: "getBasicOptions",
-			value: function getBasicOptions(pile) {
-				var ret = {}; // Scans the whole pile to get all options present
-
-				for (var n = 0; n < pile.length; ++n) {
-					var fontOptions = pile[n]; // Convert shorthand if necessary
-
-					var tmpShorthand = {};
-
-					if (Label.parseFontString(tmpShorthand, fontOptions)) {
-						fontOptions = tmpShorthand;
-					}
-
-					forEach$1(fontOptions, function (opt, name) {
-						if (opt === undefined) return; // multi-font option need not be present
-
-						if (Object.prototype.hasOwnProperty.call(ret, name)) return; // Keep first value we encounter
-
-						if (indexOf(multiFontStyle).call(multiFontStyle, name) !== -1) {
-							// Skip multi-font properties but we do need the structure
-							ret[name] = {};
-						} else {
-							ret[name] = opt;
-						}
-					});
-				}
-
-				return ret;
-			}
-			/**
-			 * Return the value for given option for the given multi-font.
-			 *
-			 * All available option objects are trawled in the set order to construct the option values.
-			 *
-			 * ---------------------------------------------------------------------
-			 * ## Traversal of pile for multi-fonts
-			 *
-			 * The determination of multi-font option values is a special case, because any values not
-			 * present in the multi-font options should by definition be taken from the main font options,
-			 * i.e. from the current 'parent' object of the multi-font option.
-			 *
-			 * ### Search order for multi-fonts
-			 *
-			 * 'bold' used as example:
-			 *
-			 *   - search in option group 'bold' in local properties
-			 *   - search in main font option group in local properties
-			 *
-			 * ---------------------------------------------------------------------
-			 *
-			 * @param {Pile} pile  pile of option objects to use
-			 * @param {MultiFontStyle} multiName sub path for the multi-font
-			 * @param {string} option  the option to search for, for the given multi-font
-			 * @returns {string|number} the value for the given option
-			 * @private
-			 */
-
-		}, {
-			key: "getFontOption",
-			value: function getFontOption(pile, multiName, option) {
-				var multiFont; // Search multi font in local properties
-
-				for (var n = 0; n < pile.length; ++n) {
-					var fontOptions = pile[n];
-
-					if (Object.prototype.hasOwnProperty.call(fontOptions, multiName)) {
-						multiFont = fontOptions[multiName];
-						if (multiFont === undefined || multiFont === null) continue; // Convert shorthand if necessary
-						// TODO: inefficient to do this conversion every time; find a better way.
-
-						var tmpShorthand = {};
-
-						if (Label.parseFontString(tmpShorthand, multiFont)) {
-							multiFont = tmpShorthand;
-						}
-
-						if (Object.prototype.hasOwnProperty.call(multiFont, option)) {
-							return multiFont[option];
-						}
-					}
-				} // Option is not mentioned in the multi font options; take it from the parent font options.
-				// These have already been converted with getBasicOptions(), so use the converted values.
-
-
-				if (Object.prototype.hasOwnProperty.call(this.fontOptions, option)) {
-					return this.fontOptions[option];
-				} // A value **must** be found; you should never get here.
-
-
-				throw new Error("Did not find value for multi-font for property: '" + option + "'");
-			}
-			/**
-			 * Return all options values for the given multi-font.
-			 *
-			 * All available option objects are trawled in the set order to construct the option values.
-			 *
-			 * @param {Pile} pile  pile of option objects to use
-			 * @param {MultiFontStyle} multiName sub path for the mod-font
-			 * @returns {MultiFontOptions}
-			 * @private
-			 */
-
-		}, {
-			key: "getFontOptions",
-			value: function getFontOptions(pile, multiName) {
-				var result = {};
-				var optionNames = ["color", "size", "face", "mod", "vadjust"]; // List of allowed options per multi-font
-
-				for (var i = 0; i < optionNames.length; ++i) {
-					var mod = optionNames[i];
-					result[mod] = this.getFontOption(pile, multiName, mod);
-				}
-
-				return result;
-			} /////////////////////////////////////////////////////////
-			// End methods for handling options piles
-			/////////////////////////////////////////////////////////
-
-			/**
-			 * Collapse the font options for the multi-font to single objects, from
-			 * the chain of option objects passed (the 'pile').
-			 *
-			 * @param {Pile} pile  sequence of option objects to consider.
-			 *                     First item in list assumed to be the newly set options.
-			 */
-
-		}, {
-			key: "propagateFonts",
-			value: function propagateFonts(pile) {
-				var _this2 = this;
-
-				var fontPile = []; // sequence of font objects to consider, order important
-				// Note that this.elementOptions is not used here.
-
-				this.addFontOptionsToPile(fontPile, pile);
-				this.fontOptions = this.getBasicOptions(fontPile); // We set multifont values even if multi === false, for consistency (things break otherwise)
-
-				var _loop = function _loop(i) {
-					var mod = multiFontStyle[i];
-					var modOptions = _this2.fontOptions[mod];
-
-					var tmpMultiFontOptions = _this2.getFontOptions(fontPile, mod); // Copy over found values
-
-
-					forEach$1(tmpMultiFontOptions, function (option, n) {
-						modOptions[n] = option;
-					});
-					modOptions.size = Number(modOptions.size);
-					modOptions.vadjust = Number(modOptions.vadjust);
-				};
-
-				for (var i = 0; i < multiFontStyle.length; ++i) {
-					_loop(i);
-				}
-			}
-			/**
-			 * Main function. This is called from anything that wants to draw a label.
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x
-			 * @param {number} y
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {string} [baseline='middle']
-			 */
-
-		}, {
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover) {
-				var baseline = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : "middle";
-				// if no label, return
-				if (this.elementOptions.label === undefined) return; // check if we have to render the label
-
-				var viewFontSize = this.fontOptions.size * this.body.view.scale;
-				if (this.elementOptions.label && viewFontSize < this.elementOptions.scaling.label.drawThreshold - 1) return; // This ensures that there will not be HUGE letters on screen
-				// by setting an upper limit on the visible text size (regardless of zoomLevel)
-
-				if (viewFontSize >= this.elementOptions.scaling.label.maxVisible) {
-					viewFontSize = Number(this.elementOptions.scaling.label.maxVisible) / this.body.view.scale;
-				} // update the size cache if required
-
-
-				this.calculateLabelSize(ctx, selected, hover, x, y, baseline);
-
-				this._drawBackground(ctx);
-
-				this._drawText(ctx, x, this.size.yLine, baseline, viewFontSize);
-			}
-			/**
-			 * Draws the label background
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @private
-			 */
-
-		}, {
-			key: "_drawBackground",
-			value: function _drawBackground(ctx) {
-				if (this.fontOptions.background !== undefined && this.fontOptions.background !== "none") {
-					ctx.fillStyle = this.fontOptions.background;
-					var size = this.getSize();
-					ctx.fillRect(size.left, size.top, size.width, size.height);
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x
-			 * @param {number} y
-			 * @param {string} [baseline='middle']
-			 * @param {number} viewFontSize
-			 * @private
-			 */
-
-		}, {
-			key: "_drawText",
-			value: function _drawText(ctx, x, y) {
-				var baseline = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "middle";
-				var viewFontSize = arguments.length > 4 ? arguments[4] : undefined;
-
-				var _this$_setAlignment = this._setAlignment(ctx, x, y, baseline);
-
-				var _this$_setAlignment2 = _slicedToArray(_this$_setAlignment, 2);
-
-				x = _this$_setAlignment2[0];
-				y = _this$_setAlignment2[1];
-				ctx.textAlign = "left";
-				x = x - this.size.width / 2; // Shift label 1/2-distance to the left
-
-				if (this.fontOptions.valign && this.size.height > this.size.labelHeight) {
-					if (this.fontOptions.valign === "top") {
-						y -= (this.size.height - this.size.labelHeight) / 2;
-					}
-
-					if (this.fontOptions.valign === "bottom") {
-						y += (this.size.height - this.size.labelHeight) / 2;
-					}
-				} // draw the text
-
-
-				for (var i = 0; i < this.lineCount; i++) {
-					var line = this.lines[i];
-
-					if (line && line.blocks) {
-						var width = 0;
-
-						if (this.isEdgeLabel || this.fontOptions.align === "center") {
-							width += (this.size.width - line.width) / 2;
-						} else if (this.fontOptions.align === "right") {
-							width += this.size.width - line.width;
-						}
-
-						for (var j = 0; j < line.blocks.length; j++) {
-							var block = line.blocks[j];
-							ctx.font = block.font;
-
-							var _this$_getColor = this._getColor(block.color, viewFontSize, block.strokeColor),
-								_this$_getColor2 = _slicedToArray(_this$_getColor, 2),
-								fontColor = _this$_getColor2[0],
-								strokeColor = _this$_getColor2[1];
-
-							if (block.strokeWidth > 0) {
-								ctx.lineWidth = block.strokeWidth;
-								ctx.strokeStyle = strokeColor;
-								ctx.lineJoin = "round";
-							}
-
-							ctx.fillStyle = fontColor;
-
-							if (block.strokeWidth > 0) {
-								ctx.strokeText(block.text, x + width, y + block.vadjust);
-							}
-
-							ctx.fillText(block.text, x + width, y + block.vadjust);
-							width += block.width;
-						}
-
-						y += line.height;
-					}
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x
-			 * @param {number} y
-			 * @param {string} baseline
-			 * @returns {Array.<number>}
-			 * @private
-			 */
-
-		}, {
-			key: "_setAlignment",
-			value: function _setAlignment(ctx, x, y, baseline) {
-				// check for label alignment (for edges)
-				// TODO: make alignment for nodes
-				if (this.isEdgeLabel && this.fontOptions.align !== "horizontal" && this.pointToSelf === false) {
-					x = 0;
-					y = 0;
-					var lineMargin = 2;
-
-					if (this.fontOptions.align === "top") {
-						ctx.textBaseline = "alphabetic";
-						y -= 2 * lineMargin; // distance from edge, required because we use alphabetic. Alphabetic has less difference between browsers
-					} else if (this.fontOptions.align === "bottom") {
-						ctx.textBaseline = "hanging";
-						y += 2 * lineMargin; // distance from edge, required because we use hanging. Hanging has less difference between browsers
-					} else {
-						ctx.textBaseline = "middle";
-					}
-				} else {
-					ctx.textBaseline = baseline;
-				}
-
-				return [x, y];
-			}
-			/**
-			 * fade in when relative scale is between threshold and threshold - 1.
-			 * If the relative scale would be smaller than threshold -1 the draw function would have returned before coming here.
-			 *
-			 * @param {string} color  The font color to use
-			 * @param {number} viewFontSize
-			 * @param {string} initialStrokeColor
-			 * @returns {Array.<string>} An array containing the font color and stroke color
-			 * @private
-			 */
-
-		}, {
-			key: "_getColor",
-			value: function _getColor(color, viewFontSize, initialStrokeColor) {
-				var fontColor = color || "#000000";
-				var strokeColor = initialStrokeColor || "#ffffff";
-
-				if (viewFontSize <= this.elementOptions.scaling.label.drawThreshold) {
-					var opacity = Math.max(0, Math.min(1, 1 - (this.elementOptions.scaling.label.drawThreshold - viewFontSize)));
-					fontColor = overrideOpacity(fontColor, opacity);
-					strokeColor = overrideOpacity(strokeColor, opacity);
-				}
-
-				return [fontColor, strokeColor];
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @returns {{width: number, height: number}}
-			 */
-
-		}, {
-			key: "getTextSize",
-			value: function getTextSize(ctx) {
-				var selected = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-				var hover = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-
-				this._processLabel(ctx, selected, hover);
-
-				return {
-					width: this.size.width,
-					height: this.size.height,
-					lineCount: this.lineCount
-				};
-			}
-			/**
-			 * Get the current dimensions of the label
-			 *
-			 * @returns {rect}
-			 */
-
-		}, {
-			key: "getSize",
-			value: function getSize() {
-				var lineMargin = 2;
-				var x = this.size.left; // default values which might be overridden below
-
-				var y = this.size.top - 0.5 * lineMargin; // idem
-
-				if (this.isEdgeLabel) {
-					var x2 = -this.size.width * 0.5;
-
-					switch (this.fontOptions.align) {
-						case "middle":
-							x = x2;
-							y = -this.size.height * 0.5;
-							break;
-
-						case "top":
-							x = x2;
-							y = -(this.size.height + lineMargin);
-							break;
-
-						case "bottom":
-							x = x2;
-							y = lineMargin;
-							break;
-					}
-				}
-
-				var ret = {
-					left: x,
-					top: y,
-					width: this.size.width,
-					height: this.size.height
-				};
-				return ret;
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {number} [x=0]
-			 * @param {number} [y=0]
-			 * @param {'middle'|'hanging'} [baseline='middle']
-			 */
-
-		}, {
-			key: "calculateLabelSize",
-			value: function calculateLabelSize(ctx, selected, hover) {
-				var x = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
-				var y = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
-				var baseline = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : "middle";
-
-				this._processLabel(ctx, selected, hover);
-
-				this.size.left = x - this.size.width * 0.5;
-				this.size.top = y - this.size.height * 0.5;
-				this.size.yLine = y + (1 - this.lineCount) * 0.5 * this.fontOptions.size;
-
-				if (baseline === "hanging") {
-					this.size.top += 0.5 * this.fontOptions.size;
-					this.size.top += 4; // distance from node, required because we use hanging. Hanging has less difference between browsers
-
-					this.size.yLine += 4; // distance from node
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {string} mod
-			 * @returns {{color, size, face, mod, vadjust, strokeWidth: *, strokeColor: (*|string|allOptions.edges.font.strokeColor|{string}|allOptions.nodes.font.strokeColor|Array)}}
-			 */
-
-		}, {
-			key: "getFormattingValues",
-			value: function getFormattingValues(ctx, selected, hover, mod) {
-				var getValue = function getValue(fontOptions, mod, option) {
-					if (mod === "normal") {
-						if (option === "mod") return "";
-						return fontOptions[option];
-					}
-
-					if (fontOptions[mod][option] !== undefined) {
-						// Grumbl leaving out test on undefined equals false for ""
-						return fontOptions[mod][option];
-					} else {
-						// Take from parent font option
-						return fontOptions[option];
-					}
-				};
-
-				var values = {
-					color: getValue(this.fontOptions, mod, "color"),
-					size: getValue(this.fontOptions, mod, "size"),
-					face: getValue(this.fontOptions, mod, "face"),
-					mod: getValue(this.fontOptions, mod, "mod"),
-					vadjust: getValue(this.fontOptions, mod, "vadjust"),
-					strokeWidth: this.fontOptions.strokeWidth,
-					strokeColor: this.fontOptions.strokeColor
-				};
-
-				if (selected || hover) {
-					if (mod === "normal" && this.fontOptions.chooser === true && this.elementOptions.labelHighlightBold) {
-						values.mod = "bold";
-					} else {
-						if (typeof this.fontOptions.chooser === "function") {
-							this.fontOptions.chooser(values, this.elementOptions.id, selected, hover);
-						}
-					}
-				}
-
-				var fontString = "";
-
-				if (values.mod !== undefined && values.mod !== "") {
-					// safeguard for undefined - this happened
-					fontString += values.mod + " ";
-				}
-
-				fontString += values.size + "px " + values.face;
-				ctx.font = fontString.replace(/"/g, "");
-				values.font = ctx.font;
-				values.height = values.size;
-				return values;
-			}
-			/**
-			 *
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @returns {boolean}
-			 */
-
-		}, {
-			key: "differentState",
-			value: function differentState(selected, hover) {
-				return selected !== this.selectedState || hover !== this.hoverState;
-			}
-			/**
-			 * This explodes the passed text into lines and determines the width, height and number of lines.
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {string} inText  the text to explode
-			 * @returns {{width, height, lines}|*}
-			 * @private
-			 */
-
-		}, {
-			key: "_processLabelText",
-			value: function _processLabelText(ctx, selected, hover, inText) {
-				var splitter = new LabelSplitter(ctx, this, selected, hover);
-				return splitter.process(inText);
-			}
-			/**
-			 * This explodes the label string into lines and sets the width, height and number of lines.
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @private
-			 */
-
-		}, {
-			key: "_processLabel",
-			value: function _processLabel(ctx, selected, hover) {
-				if (this.labelDirty === false && !this.differentState(selected, hover)) return;
-
-				var state = this._processLabelText(ctx, selected, hover, this.elementOptions.label);
-
-				if (this.fontOptions.minWdt > 0 && state.width < this.fontOptions.minWdt) {
-					state.width = this.fontOptions.minWdt;
-				}
-
-				this.size.labelHeight = state.height;
-
-				if (this.fontOptions.minHgt > 0 && state.height < this.fontOptions.minHgt) {
-					state.height = this.fontOptions.minHgt;
-				}
-
-				this.lines = state.lines;
-				this.lineCount = state.lines.length;
-				this.size.width = state.width;
-				this.size.height = state.height;
-				this.selectedState = selected;
-				this.hoverState = hover;
-				this.labelDirty = false;
-			}
-			/**
-			 * Check if this label is visible
-			 *
-			 * @returns {boolean} true if this label will be show, false otherwise
-			 */
-
-		}, {
-			key: "visible",
-			value: function visible() {
-				if (this.size.width === 0 || this.size.height === 0 || this.elementOptions.label === undefined) {
-					return false; // nothing to display
-				}
-
-				var viewFontSize = this.fontOptions.size * this.body.view.scale;
-
-				if (viewFontSize < this.elementOptions.scaling.label.drawThreshold - 1) {
-					return false; // Too small or too far away to show
-				}
-
-				return true;
-			}
-		}], [{
-			key: "parseFontString",
-			value: function parseFontString(outOptions, inOptions) {
-				if (!inOptions || typeof inOptions !== "string") return false;
-				var newOptionsArray = inOptions.split(" ");
-				outOptions.size = +newOptionsArray[0].replace("px", "");
-				outOptions.face = newOptionsArray[1];
-				outOptions.color = newOptionsArray[2];
-				return true;
-			}
-		}]);
-
-		return Label;
-	}();
-
-	/**
-	 * The Base class for all Nodes.
-	 */
-	var NodeBase = /*#__PURE__*/function () {
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function NodeBase(options, body, labelModule) {
-			_classCallCheck(this, NodeBase);
-
-			this.body = body;
-			this.labelModule = labelModule;
-			this.setOptions(options);
-			this.top = undefined;
-			this.left = undefined;
-			this.height = undefined;
-			this.width = undefined;
-			this.radius = undefined;
-			this.margin = undefined;
-			this.refreshNeeded = true;
-			this.boundingBox = {
-				top: 0,
-				left: 0,
-				right: 0,
-				bottom: 0
-			};
-		}
-		/**
-		 *
-		 * @param {object} options
-		 */
-
-
-		_createClass(NodeBase, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				this.options = options;
-			}
-			/**
-			 *
-			 * @param {Label} labelModule
-			 * @private
-			 */
-
-		}, {
-			key: "_setMargins",
-			value: function _setMargins(labelModule) {
-				this.margin = {};
-
-				if (this.options.margin) {
-					if (_typeof(this.options.margin) == "object") {
-						this.margin.top = this.options.margin.top;
-						this.margin.right = this.options.margin.right;
-						this.margin.bottom = this.options.margin.bottom;
-						this.margin.left = this.options.margin.left;
-					} else {
-						this.margin.top = this.options.margin;
-						this.margin.right = this.options.margin;
-						this.margin.bottom = this.options.margin;
-						this.margin.left = this.options.margin;
-					}
-				}
-
-				labelModule.adjustSizes(this.margin);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 * @private
-			 */
-
-		}, {
-			key: "_distanceToBorder",
-			value: function _distanceToBorder(ctx, angle) {
-				var borderWidth = this.options.borderWidth;
-
-				if (ctx) {
-					this.resize(ctx);
-				}
-
-				return Math.min(Math.abs(this.width / 2 / Math.cos(angle)), Math.abs(this.height / 2 / Math.sin(angle))) + borderWidth;
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "enableShadow",
-			value: function enableShadow(ctx, values) {
-				if (values.shadow) {
-					ctx.shadowColor = values.shadowColor;
-					ctx.shadowBlur = values.shadowSize;
-					ctx.shadowOffsetX = values.shadowX;
-					ctx.shadowOffsetY = values.shadowY;
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "disableShadow",
-			value: function disableShadow(ctx, values) {
-				if (values.shadow) {
-					ctx.shadowColor = "rgba(0,0,0,0)";
-					ctx.shadowBlur = 0;
-					ctx.shadowOffsetX = 0;
-					ctx.shadowOffsetY = 0;
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "enableBorderDashes",
-			value: function enableBorderDashes(ctx, values) {
-				if (values.borderDashes !== false) {
-					if (ctx.setLineDash !== undefined) {
-						var dashes = values.borderDashes;
-
-						if (dashes === true) {
-							dashes = [5, 15];
-						}
-
-						ctx.setLineDash(dashes);
-					} else {
-						console.warn("setLineDash is not supported in this browser. The dashed borders cannot be used.");
-						this.options.shapeProperties.borderDashes = false;
-						values.borderDashes = false;
-					}
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "disableBorderDashes",
-			value: function disableBorderDashes(ctx, values) {
-				if (values.borderDashes !== false) {
-					if (ctx.setLineDash !== undefined) {
-						ctx.setLineDash([0]);
-					} else {
-						console.warn("setLineDash is not supported in this browser. The dashed borders cannot be used.");
-						this.options.shapeProperties.borderDashes = false;
-						values.borderDashes = false;
-					}
-				}
-			}
-			/**
-			 * Determine if the shape of a node needs to be recalculated.
-			 *
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @returns {boolean}
-			 * @protected
-			 */
-
-		}, {
-			key: "needsRefresh",
-			value: function needsRefresh(selected, hover) {
-				if (this.refreshNeeded === true) {
-					// This is probably not the best location to reset this member.
-					// However, in the current logic, it is the most convenient one.
-					this.refreshNeeded = false;
-					return true;
-				}
-
-				return this.width === undefined || this.labelModule.differentState(selected, hover);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "initContextForDraw",
-			value: function initContextForDraw(ctx, values) {
-				var borderWidth = values.borderWidth / this.body.view.scale;
-				ctx.lineWidth = Math.min(this.width, borderWidth);
-				ctx.strokeStyle = values.borderColor;
-				ctx.fillStyle = values.color;
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "performStroke",
-			value: function performStroke(ctx, values) {
-				var borderWidth = values.borderWidth / this.body.view.scale; //draw dashed border if enabled, save and restore is required for firefox not to crash on unix.
-
-				ctx.save(); // if borders are zero width, they will be drawn with width 1 by default. This prevents that
-
-				if (borderWidth > 0) {
-					this.enableBorderDashes(ctx, values); //draw the border
-
-					ctx.stroke(); //disable dashed border for other elements
-
-					this.disableBorderDashes(ctx, values);
-				}
-
-				ctx.restore();
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "performFill",
-			value: function performFill(ctx, values) {
-				ctx.save();
-				ctx.fillStyle = values.color; // draw shadow if enabled
-
-				this.enableShadow(ctx, values); // draw the background
-
-				fill(ctx).call(ctx); // disable shadows for other elements.
-
-
-				this.disableShadow(ctx, values);
-				ctx.restore();
-				this.performStroke(ctx, values);
-			}
-			/**
-			 *
-			 * @param {number} margin
-			 * @private
-			 */
-
-		}, {
-			key: "_addBoundingBoxMargin",
-			value: function _addBoundingBoxMargin(margin) {
-				this.boundingBox.left -= margin;
-				this.boundingBox.top -= margin;
-				this.boundingBox.bottom += margin;
-				this.boundingBox.right += margin;
-			}
-			/**
-			 * Actual implementation of this method call.
-			 *
-			 * Doing it like this makes it easier to override
-			 * in the child classes.
-			 *
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @private
-			 */
-
-		}, {
-			key: "_updateBoundingBox",
-			value: function _updateBoundingBox(x, y, ctx, selected, hover) {
-				if (ctx !== undefined) {
-					this.resize(ctx, selected, hover);
-				}
-
-				this.left = x - this.width / 2;
-				this.top = y - this.height / 2;
-				this.boundingBox.left = this.left;
-				this.boundingBox.top = this.top;
-				this.boundingBox.bottom = this.top + this.height;
-				this.boundingBox.right = this.left + this.width;
-			}
-			/**
-			 * Default implementation of this method call.
-			 * This acts as a stub which can be overridden.
-			 *
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 */
-
-		}, {
-			key: "updateBoundingBox",
-			value: function updateBoundingBox(x, y, ctx, selected, hover) {
-				this._updateBoundingBox(x, y, ctx, selected, hover);
-			}
-			/**
-			 * Determine the dimensions to use for nodes with an internal label
-			 *
-			 * Currently, these are: Circle, Ellipse, Database, Box
-			 * The other nodes have external labels, and will not call this method
-			 *
-			 * If there is no label, decent default values are supplied.
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {boolean} [selected]
-			 * @param {boolean} [hover]
-			 * @returns {{width:number, height:number}}
-			 */
-
-		}, {
-			key: "getDimensionsFromLabel",
-			value: function getDimensionsFromLabel(ctx, selected, hover) {
-				// NOTE: previously 'textSize' was not put in 'this' for Ellipse
-				// TODO: examine the consequences.
-				this.textSize = this.labelModule.getTextSize(ctx, selected, hover);
-				var width = this.textSize.width;
-				var height = this.textSize.height;
-				var DEFAULT_SIZE = 14;
-
-				if (width === 0) {
-					// This happens when there is no label text set
-					width = DEFAULT_SIZE; // use a decent default
-
-					height = DEFAULT_SIZE; // if width zero, then height also always zero
-				}
-
-				return {
-					width: width,
-					height: height
-				};
-			}
-		}]);
-
-		return NodeBase;
-	}();
-
-	function _createSuper$s(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$s(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$s() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Box Node/Cluster shape.
-	 *
-	 * @augments NodeBase
-	 */
-
-	var Box$1 = /*#__PURE__*/function (_NodeBase) {
-		_inherits(Box, _NodeBase);
-
-		var _super = _createSuper$s(Box);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Box(options, body, labelModule) {
-			var _this;
-
-			_classCallCheck(this, Box);
-
-			_this = _super.call(this, options, body, labelModule);
-
-			_this._setMargins(labelModule);
-
-			return _this;
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {boolean} [selected]
-		 * @param {boolean} [hover]
-		 */
-
-
-		_createClass(Box, [{
-			key: "resize",
-			value: function resize(ctx) {
-				var selected = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.selected;
-				var hover = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.hover;
-
-				if (this.needsRefresh(selected, hover)) {
-					var dimensions = this.getDimensionsFromLabel(ctx, selected, hover);
-					this.width = dimensions.width + this.margin.right + this.margin.left;
-					this.height = dimensions.height + this.margin.top + this.margin.bottom;
-					this.radius = this.width / 2;
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				this.resize(ctx, selected, hover);
-				this.left = x - this.width / 2;
-				this.top = y - this.height / 2;
-				this.initContextForDraw(ctx, values);
-				drawRoundRect(ctx, this.left, this.top, this.width, this.height, values.borderRadius);
-				this.performFill(ctx, values);
-				this.updateBoundingBox(x, y, ctx, selected, hover);
-				this.labelModule.draw(ctx, this.left + this.textSize.width / 2 + this.margin.left, this.top + this.textSize.height / 2 + this.margin.top, selected, hover);
-			}
-			/**
-			 *
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 */
-
-		}, {
-			key: "updateBoundingBox",
-			value: function updateBoundingBox(x, y, ctx, selected, hover) {
-				this._updateBoundingBox(x, y, ctx, selected, hover);
-
-				var borderRadius = this.options.shapeProperties.borderRadius; // only effective for box
-
-				this._addBoundingBoxMargin(borderRadius);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				if (ctx) {
-					this.resize(ctx);
-				}
-
-				var borderWidth = this.options.borderWidth;
-				return Math.min(Math.abs(this.width / 2 / Math.cos(angle)), Math.abs(this.height / 2 / Math.sin(angle))) + borderWidth;
-			}
-		}]);
-
-		return Box;
-	}(NodeBase);
-
-	function _createSuper$r(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$r(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$r() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * NOTE: This is a bad base class
-	 *
-	 * Child classes are:
-	 *
-	 *   Image       - uses *only* image methods
-	 *   Circle      - uses *only* _drawRawCircle
-	 *   CircleImage - uses all
-	 *
-	 * TODO: Refactor, move _drawRawCircle to different module, derive Circle from NodeBase
-	 *       Rename this to ImageBase
-	 *       Consolidate common code in Image and CircleImage to base class
-	 *
-	 * @augments NodeBase
-	 */
-
-	var CircleImageBase = /*#__PURE__*/function (_NodeBase) {
-		_inherits(CircleImageBase, _NodeBase);
-
-		var _super = _createSuper$r(CircleImageBase);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function CircleImageBase(options, body, labelModule) {
-			var _this;
-
-			_classCallCheck(this, CircleImageBase);
-
-			_this = _super.call(this, options, body, labelModule);
-			_this.labelOffset = 0;
-			_this.selected = false;
-			return _this;
-		}
-		/**
-		 *
-		 * @param {object} options
-		 * @param {object} [imageObj]
-		 * @param {object} [imageObjAlt]
-		 */
-
-
-		_createClass(CircleImageBase, [{
-			key: "setOptions",
-			value: function setOptions(options, imageObj, imageObjAlt) {
-				this.options = options;
-
-				if (!(imageObj === undefined && imageObjAlt === undefined)) {
-					this.setImages(imageObj, imageObjAlt);
-				}
-			}
-			/**
-			 * Set the images for this node.
-			 *
-			 * The images can be updated after the initial setting of options;
-			 * therefore, this method needs to be reentrant.
-			 *
-			 * For correct working in error cases, it is necessary to properly set
-			 * field 'nodes.brokenImage' in the options.
-			 *
-			 * @param {Image} imageObj  required; main image to show for this node
-			 * @param {Image|undefined} imageObjAlt optional; image to show when node is selected
-			 */
-
-		}, {
-			key: "setImages",
-			value: function setImages(imageObj, imageObjAlt) {
-				if (imageObjAlt && this.selected) {
-					this.imageObj = imageObjAlt;
-					this.imageObjAlt = imageObj;
-				} else {
-					this.imageObj = imageObj;
-					this.imageObjAlt = imageObjAlt;
-				}
-			}
-			/**
-			 * Set selection and switch between the base and the selected image.
-			 *
-			 * Do the switch only if imageObjAlt exists.
-			 *
-			 * @param {boolean} selected value of new selected state for current node
-			 */
-
-		}, {
-			key: "switchImages",
-			value: function switchImages(selected) {
-				var selection_changed = selected && !this.selected || !selected && this.selected;
-				this.selected = selected; // Remember new selection
-
-				if (this.imageObjAlt !== undefined && selection_changed) {
-					var imageTmp = this.imageObj;
-					this.imageObj = this.imageObjAlt;
-					this.imageObjAlt = imageTmp;
-				}
-			}
-			/**
-			 * Returns Image Padding from node options
-			 *
-			 * @returns {{top: number,left: number,bottom: number,right: number}} image padding inside this shape
-			 * @private
-			 */
-
-		}, {
-			key: "_getImagePadding",
-			value: function _getImagePadding() {
-				var imgPadding = {
-					top: 0,
-					right: 0,
-					bottom: 0,
-					left: 0
-				};
-
-				if (this.options.imagePadding) {
-					var optImgPadding = this.options.imagePadding;
-
-					if (_typeof(optImgPadding) == "object") {
-						imgPadding.top = optImgPadding.top;
-						imgPadding.right = optImgPadding.right;
-						imgPadding.bottom = optImgPadding.bottom;
-						imgPadding.left = optImgPadding.left;
-					} else {
-						imgPadding.top = optImgPadding;
-						imgPadding.right = optImgPadding;
-						imgPadding.bottom = optImgPadding;
-						imgPadding.left = optImgPadding;
-					}
-				}
-
-				return imgPadding;
-			}
-			/**
-			 * Adjust the node dimensions for a loaded image.
-			 *
-			 * Pre: this.imageObj is valid
-			 */
-
-		}, {
-			key: "_resizeImage",
-			value: function _resizeImage() {
-				var width, height;
-
-				if (this.options.shapeProperties.useImageSize === false) {
-					// Use the size property
-					var ratio_width = 1;
-					var ratio_height = 1; // Only calculate the proper ratio if both width and height not zero
-
-					if (this.imageObj.width && this.imageObj.height) {
-						if (this.imageObj.width > this.imageObj.height) {
-							ratio_width = this.imageObj.width / this.imageObj.height;
-						} else {
-							ratio_height = this.imageObj.height / this.imageObj.width;
-						}
-					}
-
-					width = this.options.size * 2 * ratio_width;
-					height = this.options.size * 2 * ratio_height;
-				} else {
-					// Use the image size with image padding
-					var imgPadding = this._getImagePadding();
-
-					width = this.imageObj.width + imgPadding.left + imgPadding.right;
-					height = this.imageObj.height + imgPadding.top + imgPadding.bottom;
-				}
-
-				this.width = width;
-				this.height = height;
-				this.radius = 0.5 * this.width;
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {ArrowOptions} values
-			 * @private
-			 */
-
-		}, {
-			key: "_drawRawCircle",
-			value: function _drawRawCircle(ctx, x, y, values) {
-				this.initContextForDraw(ctx, values);
-				drawCircle(ctx, x, y, values.size);
-				this.performFill(ctx, values);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {ArrowOptions} values
-			 * @private
-			 */
-
-		}, {
-			key: "_drawImageAtPosition",
-			value: function _drawImageAtPosition(ctx, values) {
-				if (this.imageObj.width != 0) {
-					// draw the image
-					ctx.globalAlpha = values.opacity !== undefined ? values.opacity : 1; // draw shadow if enabled
-
-					this.enableShadow(ctx, values);
-					var factor = 1;
-
-					if (this.options.shapeProperties.interpolation === true) {
-						factor = this.imageObj.width / this.width / this.body.view.scale;
-					}
-
-					var imgPadding = this._getImagePadding();
-
-					var imgPosLeft = this.left + imgPadding.left;
-					var imgPosTop = this.top + imgPadding.top;
-					var imgWidth = this.width - imgPadding.left - imgPadding.right;
-					var imgHeight = this.height - imgPadding.top - imgPadding.bottom;
-					this.imageObj.drawImageAtPosition(ctx, factor, imgPosLeft, imgPosTop, imgWidth, imgHeight); // disable shadows for other elements.
-
-					this.disableShadow(ctx, values);
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @private
-			 */
-
-		}, {
-			key: "_drawImageLabel",
-			value: function _drawImageLabel(ctx, x, y, selected, hover) {
-				var offset = 0;
-
-				if (this.height !== undefined) {
-					offset = this.height * 0.5;
-					var labelDimensions = this.labelModule.getTextSize(ctx, selected, hover);
-
-					if (labelDimensions.lineCount >= 1) {
-						offset += labelDimensions.height / 2;
-					}
-				}
-
-				var yLabel = y + offset;
-
-				if (this.options.label) {
-					this.labelOffset = offset;
-				}
-
-				this.labelModule.draw(ctx, x, yLabel, selected, hover, "hanging");
-			}
-		}]);
-
-		return CircleImageBase;
-	}(NodeBase);
-
-	function _createSuper$q(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$q(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$q() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Circle Node/Cluster shape.
-	 *
-	 * @augments CircleImageBase
-	 */
-
-	var Circle$1 = /*#__PURE__*/function (_CircleImageBase) {
-		_inherits(Circle, _CircleImageBase);
-
-		var _super = _createSuper$q(Circle);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Circle(options, body, labelModule) {
-			var _this;
-
-			_classCallCheck(this, Circle);
-
-			_this = _super.call(this, options, body, labelModule);
-
-			_this._setMargins(labelModule);
-
-			return _this;
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {boolean} [selected]
-		 * @param {boolean} [hover]
-		 */
-
-
-		_createClass(Circle, [{
-			key: "resize",
-			value: function resize(ctx) {
-				var selected = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.selected;
-				var hover = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.hover;
-
-				if (this.needsRefresh(selected, hover)) {
-					var dimensions = this.getDimensionsFromLabel(ctx, selected, hover);
-					var diameter = Math.max(dimensions.width + this.margin.right + this.margin.left, dimensions.height + this.margin.top + this.margin.bottom);
-					this.options.size = diameter / 2; // NOTE: this size field only set here, not in Ellipse, Database, Box
-
-					this.width = diameter;
-					this.height = diameter;
-					this.radius = this.width / 2;
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				this.resize(ctx, selected, hover);
-				this.left = x - this.width / 2;
-				this.top = y - this.height / 2;
-
-				this._drawRawCircle(ctx, x, y, values);
-
-				this.updateBoundingBox(x, y);
-				this.labelModule.draw(ctx, this.left + this.textSize.width / 2 + this.margin.left, y, selected, hover);
-			}
-			/**
-			 *
-			 * @param {number} x width
-			 * @param {number} y height
-			 */
-
-		}, {
-			key: "updateBoundingBox",
-			value: function updateBoundingBox(x, y) {
-				this.boundingBox.top = y - this.options.size;
-				this.boundingBox.left = x - this.options.size;
-				this.boundingBox.right = x + this.options.size;
-				this.boundingBox.bottom = y + this.options.size;
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx) {
-				if (ctx) {
-					this.resize(ctx);
-				}
-
-				return this.width * 0.5;
-			}
-		}]);
-
-		return Circle;
-	}(CircleImageBase);
-
-	function _createSuper$p(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$p(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$p() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A CircularImage Node/Cluster shape.
-	 *
-	 * @augments CircleImageBase
-	 */
-
-	var CircularImage = /*#__PURE__*/function (_CircleImageBase) {
-		_inherits(CircularImage, _CircleImageBase);
-
-		var _super = _createSuper$p(CircularImage);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 * @param {Image} imageObj
-		 * @param {Image} imageObjAlt
-		 */
-		function CircularImage(options, body, labelModule, imageObj, imageObjAlt) {
-			var _this;
-
-			_classCallCheck(this, CircularImage);
-
-			_this = _super.call(this, options, body, labelModule);
-
-			_this.setImages(imageObj, imageObjAlt);
-
-			return _this;
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {boolean} [selected]
-		 * @param {boolean} [hover]
-		 */
-
-
-		_createClass(CircularImage, [{
-			key: "resize",
-			value: function resize(ctx) {
-				var selected = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.selected;
-				var hover = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.hover;
-				var imageAbsent = this.imageObj.src === undefined || this.imageObj.width === undefined || this.imageObj.height === undefined;
-
-				if (imageAbsent) {
-					var diameter = this.options.size * 2;
-					this.width = diameter;
-					this.height = diameter;
-					this.radius = 0.5 * this.width;
-					return;
-				} // At this point, an image is present, i.e. this.imageObj is valid.
-
-
-				if (this.needsRefresh(selected, hover)) {
-					this._resizeImage();
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				this.switchImages(selected);
-				this.resize();
-				var labelX = x,
-					labelY = y;
-
-				if (this.options.shapeProperties.coordinateOrigin === "top-left") {
-					this.left = x;
-					this.top = y;
-					labelX += this.width / 2;
-					labelY += this.height / 2;
-				} else {
-					this.left = x - this.width / 2;
-					this.top = y - this.height / 2;
-				} // draw the background circle. IMPORTANT: the stroke in this method is used by the clip method below.
-
-
-				this._drawRawCircle(ctx, labelX, labelY, values); // now we draw in the circle, we save so we can revert the clip operation after drawing.
-
-
-				ctx.save(); // clip is used to use the stroke in drawRawCircle as an area that we can draw in.
-
-				ctx.clip(); // draw the image
-
-				this._drawImageAtPosition(ctx, values); // restore so we can again draw on the full canvas
-
-
-				ctx.restore();
-
-				this._drawImageLabel(ctx, labelX, labelY, selected, hover);
-
-				this.updateBoundingBox(x, y);
-			} // TODO: compare with Circle.updateBoundingBox(), consolidate? More stuff is happening here
-
-			/**
-			 *
-			 * @param {number} x width
-			 * @param {number} y height
-			 */
-
-		}, {
-			key: "updateBoundingBox",
-			value: function updateBoundingBox(x, y) {
-				if (this.options.shapeProperties.coordinateOrigin === "top-left") {
-					this.boundingBox.top = y;
-					this.boundingBox.left = x;
-					this.boundingBox.right = x + this.options.size * 2;
-					this.boundingBox.bottom = y + this.options.size * 2;
-				} else {
-					this.boundingBox.top = y - this.options.size;
-					this.boundingBox.left = x - this.options.size;
-					this.boundingBox.right = x + this.options.size;
-					this.boundingBox.bottom = y + this.options.size;
-				} // TODO: compare with Image.updateBoundingBox(), consolidate?
-
-
-				this.boundingBox.left = Math.min(this.boundingBox.left, this.labelModule.size.left);
-				this.boundingBox.right = Math.max(this.boundingBox.right, this.labelModule.size.left + this.labelModule.size.width);
-				this.boundingBox.bottom = Math.max(this.boundingBox.bottom, this.boundingBox.bottom + this.labelOffset);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx) {
-				if (ctx) {
-					this.resize(ctx);
-				}
-
-				return this.width * 0.5;
-			}
-		}]);
-
-		return CircularImage;
-	}(CircleImageBase);
-
-	function _createSuper$o(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$o(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$o() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * Base class for constructing Node/Cluster Shapes.
-	 *
-	 * @augments NodeBase
-	 */
-
-	var ShapeBase = /*#__PURE__*/function (_NodeBase) {
-		_inherits(ShapeBase, _NodeBase);
-
-		var _super = _createSuper$o(ShapeBase);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function ShapeBase(options, body, labelModule) {
-			_classCallCheck(this, ShapeBase);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {boolean} [selected]
-		 * @param {boolean} [hover]
-		 * @param {object} [values={size: this.options.size}]
-		 */
-
-
-		_createClass(ShapeBase, [{
-			key: "resize",
-			value: function resize(ctx) {
-				var selected = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.selected;
-				var hover = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.hover;
-				var values = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {
-					size: this.options.size
-				};
-
-				if (this.needsRefresh(selected, hover)) {
-					var _this$customSizeWidth, _this$customSizeHeigh;
-
-					this.labelModule.getTextSize(ctx, selected, hover);
-					var size = 2 * values.size;
-					this.width = (_this$customSizeWidth = this.customSizeWidth) !== null && _this$customSizeWidth !== void 0 ? _this$customSizeWidth : size;
-					this.height = (_this$customSizeHeigh = this.customSizeHeight) !== null && _this$customSizeHeigh !== void 0 ? _this$customSizeHeigh : size;
-					this.radius = 0.5 * this.width;
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {string} shape
-			 * @param {number} sizeMultiplier - Unused! TODO: Remove next major release
-			 * @param {number} x
-			 * @param {number} y
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {ArrowOptions} values
-			 * @private
-			 * @returns {object} Callbacks to draw later on higher layers.
-			 */
-
-		}, {
-			key: "_drawShape",
-			value: function _drawShape(ctx, shape, sizeMultiplier, x, y, selected, hover, values) {
-				var _this = this;
-
-				this.resize(ctx, selected, hover, values);
-				this.left = x - this.width / 2;
-				this.top = y - this.height / 2;
-				this.initContextForDraw(ctx, values);
-				getShape(shape)(ctx, x, y, values.size);
-				this.performFill(ctx, values);
-
-				if (this.options.icon !== undefined) {
-					if (this.options.icon.code !== undefined) {
-						ctx.font = (selected ? "bold " : "") + this.height / 2 + "px " + (this.options.icon.face || "FontAwesome");
-						ctx.fillStyle = this.options.icon.color || "black";
-						ctx.textAlign = "center";
-						ctx.textBaseline = "middle";
-						ctx.fillText(this.options.icon.code, x, y);
-					}
-				}
-
-				return {
-					drawExternalLabel: function drawExternalLabel() {
-						if (_this.options.label !== undefined) {
-							// Need to call following here in order to ensure value for
-							// `this.labelModule.size.height`.
-							_this.labelModule.calculateLabelSize(ctx, selected, hover, x, y, "hanging");
-
-							var yLabel = y + 0.5 * _this.height + 0.5 * _this.labelModule.size.height;
-
-							_this.labelModule.draw(ctx, x, yLabel, selected, hover, "hanging");
-						}
-
-						_this.updateBoundingBox(x, y);
-					}
-				};
-			}
-			/**
-			 *
-			 * @param {number} x
-			 * @param {number} y
-			 */
-
-		}, {
-			key: "updateBoundingBox",
-			value: function updateBoundingBox(x, y) {
-				this.boundingBox.top = y - this.options.size;
-				this.boundingBox.left = x - this.options.size;
-				this.boundingBox.right = x + this.options.size;
-				this.boundingBox.bottom = y + this.options.size;
-
-				if (this.options.label !== undefined && this.labelModule.size.width > 0) {
-					this.boundingBox.left = Math.min(this.boundingBox.left, this.labelModule.size.left);
-					this.boundingBox.right = Math.max(this.boundingBox.right, this.labelModule.size.left + this.labelModule.size.width);
-					this.boundingBox.bottom = Math.max(this.boundingBox.bottom, this.boundingBox.bottom + this.labelModule.size.height);
-				}
-			}
-		}]);
-
-		return ShapeBase;
-	}(NodeBase);
-
-	function ownKeys$3(object, enumerableOnly) { var keys = keys$4(object); if (getOwnPropertySymbols) { var symbols = getOwnPropertySymbols(object); enumerableOnly && (symbols = filter(symbols).call(symbols, function (sym) { return getOwnPropertyDescriptor$3(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
-
-	function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? forEach$2(_context = ownKeys$3(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : getOwnPropertyDescriptors ? defineProperties(target, getOwnPropertyDescriptors(source)) : forEach$2(_context2 = ownKeys$3(Object(source))).call(_context2, function (key) { defineProperty$6(target, key, getOwnPropertyDescriptor$3(source, key)); }); } return target; }
-
-	function _createSuper$n(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$n(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$n() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A CustomShape Node/Cluster shape.
-	 *
-	 * @augments ShapeBase
-	 */
-
-	var CustomShape = /*#__PURE__*/function (_ShapeBase) {
-		_inherits(CustomShape, _ShapeBase);
-
-		var _super = _createSuper$n(CustomShape);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 * @param {Function} ctxRenderer
-		 */
-		function CustomShape(options, body, labelModule, ctxRenderer) {
-			var _this;
-
-			_classCallCheck(this, CustomShape);
-
-			_this = _super.call(this, options, body, labelModule, ctxRenderer);
-			_this.ctxRenderer = ctxRenderer;
-			return _this;
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {number} x width
-		 * @param {number} y height
-		 * @param {boolean} selected
-		 * @param {boolean} hover
-		 * @param {ArrowOptions} values
-		 * @returns {object} Callbacks to draw later on different layers.
-		 */
-
-
-		_createClass(CustomShape, [{
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				this.resize(ctx, selected, hover, values);
-				this.left = x - this.width / 2;
-				this.top = y - this.height / 2; // Guard right away because someone may just draw in the function itself.
-
-				ctx.save();
-				var drawLater = this.ctxRenderer({
-					ctx: ctx,
-					id: this.options.id,
-					x: x,
-					y: y,
-					state: {
-						selected: selected,
-						hover: hover
-					},
-					style: _objectSpread$3({}, values),
-					label: this.options.label
-				}); // Render the node shape bellow arrows.
-
-				if (drawLater.drawNode != null) {
-					drawLater.drawNode();
-				}
-
-				ctx.restore();
-
-				if (drawLater.drawExternalLabel) {
-					// Guard the external label (above arrows) drawing function.
-					var drawExternalLabel = drawLater.drawExternalLabel;
-
-					drawLater.drawExternalLabel = function () {
-						ctx.save();
-						drawExternalLabel();
-						ctx.restore();
-					};
-				}
-
-				if (drawLater.nodeDimensions) {
-					this.customSizeWidth = drawLater.nodeDimensions.width;
-					this.customSizeHeight = drawLater.nodeDimensions.height;
-				}
-
-				return drawLater;
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this._distanceToBorder(ctx, angle);
-			}
-		}]);
-
-		return CustomShape;
-	}(ShapeBase);
-
-	function _createSuper$m(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$m(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$m() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Database Node/Cluster shape.
-	 *
-	 * @augments NodeBase
-	 */
-
-	var Database = /*#__PURE__*/function (_NodeBase) {
-		_inherits(Database, _NodeBase);
-
-		var _super = _createSuper$m(Database);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Database(options, body, labelModule) {
-			var _this;
-
-			_classCallCheck(this, Database);
-
-			_this = _super.call(this, options, body, labelModule);
-
-			_this._setMargins(labelModule);
-
-			return _this;
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {boolean} selected
-		 * @param {boolean} hover
-		 */
-
-
-		_createClass(Database, [{
-			key: "resize",
-			value: function resize(ctx, selected, hover) {
-				if (this.needsRefresh(selected, hover)) {
-					var dimensions = this.getDimensionsFromLabel(ctx, selected, hover);
-					var size = dimensions.width + this.margin.right + this.margin.left;
-					this.width = size;
-					this.height = size;
-					this.radius = this.width / 2;
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				this.resize(ctx, selected, hover);
-				this.left = x - this.width / 2;
-				this.top = y - this.height / 2;
-				this.initContextForDraw(ctx, values);
-				drawDatabase(ctx, x - this.width / 2, y - this.height / 2, this.width, this.height);
-				this.performFill(ctx, values);
-				this.updateBoundingBox(x, y, ctx, selected, hover);
-				this.labelModule.draw(ctx, this.left + this.textSize.width / 2 + this.margin.left, this.top + this.textSize.height / 2 + this.margin.top, selected, hover);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this._distanceToBorder(ctx, angle);
-			}
-		}]);
-
-		return Database;
-	}(NodeBase);
-
-	function _createSuper$l(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$l(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$l() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Diamond Node/Cluster shape.
-	 *
-	 * @augments ShapeBase
-	 */
-
-	var Diamond$1 = /*#__PURE__*/function (_ShapeBase) {
-		_inherits(Diamond, _ShapeBase);
-
-		var _super = _createSuper$l(Diamond);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Diamond(options, body, labelModule) {
-			_classCallCheck(this, Diamond);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {number} x width
-		 * @param {number} y height
-		 * @param {boolean} selected
-		 * @param {boolean} hover
-		 * @param {ArrowOptions} values
-		 * @returns {object} Callbacks to draw later on higher layers.
-		 */
-
-
-		_createClass(Diamond, [{
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				return this._drawShape(ctx, "diamond", 4, x, y, selected, hover, values);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this._distanceToBorder(ctx, angle);
-			}
-		}]);
-
-		return Diamond;
-	}(ShapeBase);
-
-	function _createSuper$k(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$k(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$k() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Dot Node/Cluster shape.
-	 *
-	 * @augments ShapeBase
-	 */
-
-	var Dot = /*#__PURE__*/function (_ShapeBase) {
-		_inherits(Dot, _ShapeBase);
-
-		var _super = _createSuper$k(Dot);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Dot(options, body, labelModule) {
-			_classCallCheck(this, Dot);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {number} x width
-		 * @param {number} y height
-		 * @param {boolean} selected
-		 * @param {boolean} hover
-		 * @param {ArrowOptions} values
-		 * @returns {object} Callbacks to draw later on higher layers.
-		 */
-
-
-		_createClass(Dot, [{
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				return this._drawShape(ctx, "circle", 2, x, y, selected, hover, values);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx) {
-				if (ctx) {
-					this.resize(ctx);
-				}
-
-				return this.options.size;
-			}
-		}]);
-
-		return Dot;
-	}(ShapeBase);
-
-	function _createSuper$j(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$j(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$j() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * Am Ellipse Node/Cluster shape.
-	 *
-	 * @augments NodeBase
-	 */
-
-	var Ellipse = /*#__PURE__*/function (_NodeBase) {
-		_inherits(Ellipse, _NodeBase);
-
-		var _super = _createSuper$j(Ellipse);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Ellipse(options, body, labelModule) {
-			_classCallCheck(this, Ellipse);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {boolean} [selected]
-		 * @param {boolean} [hover]
-		 */
-
-
-		_createClass(Ellipse, [{
-			key: "resize",
-			value: function resize(ctx) {
-				var selected = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.selected;
-				var hover = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.hover;
-
-				if (this.needsRefresh(selected, hover)) {
-					var dimensions = this.getDimensionsFromLabel(ctx, selected, hover);
-					this.height = dimensions.height * 2;
-					this.width = dimensions.width + dimensions.height;
-					this.radius = 0.5 * this.width;
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				this.resize(ctx, selected, hover);
-				this.left = x - this.width * 0.5;
-				this.top = y - this.height * 0.5;
-				this.initContextForDraw(ctx, values);
-				drawEllipse(ctx, this.left, this.top, this.width, this.height);
-				this.performFill(ctx, values);
-				this.updateBoundingBox(x, y, ctx, selected, hover);
-				this.labelModule.draw(ctx, x, y, selected, hover);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				if (ctx) {
-					this.resize(ctx);
-				}
-
-				var a = this.width * 0.5;
-				var b = this.height * 0.5;
-				var w = Math.sin(angle) * a;
-				var h = Math.cos(angle) * b;
-				return a * b / Math.sqrt(w * w + h * h);
-			}
-		}]);
-
-		return Ellipse;
-	}(NodeBase);
-
-	function _createSuper$i(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$i(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$i() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * An icon replacement for the default Node shape.
-	 *
-	 * @augments NodeBase
-	 */
-
-	var Icon = /*#__PURE__*/function (_NodeBase) {
-		_inherits(Icon, _NodeBase);
-
-		var _super = _createSuper$i(Icon);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Icon(options, body, labelModule) {
-			var _this;
-
-			_classCallCheck(this, Icon);
-
-			_this = _super.call(this, options, body, labelModule);
-
-			_this._setMargins(labelModule);
-
-			return _this;
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx - Unused.
-		 * @param {boolean} [selected]
-		 * @param {boolean} [hover]
-		 */
-
-
-		_createClass(Icon, [{
-			key: "resize",
-			value: function resize(ctx, selected, hover) {
-				if (this.needsRefresh(selected, hover)) {
-					this.iconSize = {
-						width: Number(this.options.icon.size),
-						height: Number(this.options.icon.size)
-					};
-					this.width = this.iconSize.width + this.margin.right + this.margin.left;
-					this.height = this.iconSize.height + this.margin.top + this.margin.bottom;
-					this.radius = 0.5 * this.width;
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {ArrowOptions} values
-			 * @returns {object} Callbacks to draw later on higher layers.
-			 */
-
-		}, {
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				var _this2 = this;
-
-				this.resize(ctx, selected, hover);
-				this.options.icon.size = this.options.icon.size || 50;
-				this.left = x - this.width / 2;
-				this.top = y - this.height / 2;
-
-				this._icon(ctx, x, y, selected, hover, values);
-
-				return {
-					drawExternalLabel: function drawExternalLabel() {
-						if (_this2.options.label !== undefined) {
-							var iconTextSpacing = 5;
-
-							_this2.labelModule.draw(ctx, _this2.left + _this2.iconSize.width / 2 + _this2.margin.left, y + _this2.height / 2 + iconTextSpacing, selected);
-						}
-
-						_this2.updateBoundingBox(x, y);
-					}
-				};
-			}
-			/**
-			 *
-			 * @param {number} x
-			 * @param {number} y
-			 */
-
-		}, {
-			key: "updateBoundingBox",
-			value: function updateBoundingBox(x, y) {
-				this.boundingBox.top = y - this.options.icon.size * 0.5;
-				this.boundingBox.left = x - this.options.icon.size * 0.5;
-				this.boundingBox.right = x + this.options.icon.size * 0.5;
-				this.boundingBox.bottom = y + this.options.icon.size * 0.5;
-
-				if (this.options.label !== undefined && this.labelModule.size.width > 0) {
-					var iconTextSpacing = 5;
-					this.boundingBox.left = Math.min(this.boundingBox.left, this.labelModule.size.left);
-					this.boundingBox.right = Math.max(this.boundingBox.right, this.labelModule.size.left + this.labelModule.size.width);
-					this.boundingBox.bottom = Math.max(this.boundingBox.bottom, this.boundingBox.bottom + this.labelModule.size.height + iconTextSpacing);
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {boolean} selected
-			 * @param {boolean} hover - Unused
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "_icon",
-			value: function _icon(ctx, x, y, selected, hover, values) {
-				var iconSize = Number(this.options.icon.size);
-
-				if (this.options.icon.code !== undefined) {
-					ctx.font = [this.options.icon.weight != null ? this.options.icon.weight : selected ? "bold" : "", // If the weight is forced (for example to make Font Awesome 5 work
-					// properly) substitute slightly bigger size for bold font face.
-					(this.options.icon.weight != null && selected ? 5 : 0) + iconSize + "px", this.options.icon.face].join(" "); // draw icon
-
-					ctx.fillStyle = this.options.icon.color || "black";
-					ctx.textAlign = "center";
-					ctx.textBaseline = "middle"; // draw shadow if enabled
-
-					this.enableShadow(ctx, values);
-					ctx.fillText(this.options.icon.code, x, y); // disable shadows for other elements.
-
-					this.disableShadow(ctx, values);
-				} else {
-					console.error("When using the icon shape, you need to define the code in the icon options object. This can be done per node or globally.");
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this._distanceToBorder(ctx, angle);
-			}
-		}]);
-
-		return Icon;
-	}(NodeBase);
-
-	function _createSuper$h(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$h(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$h() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * An image-based replacement for the default Node shape.
-	 *
-	 * @augments CircleImageBase
-	 */
-
-	var Image$2 = /*#__PURE__*/function (_CircleImageBase) {
-		_inherits(Image, _CircleImageBase);
-
-		var _super = _createSuper$h(Image);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 * @param {Image} imageObj
-		 * @param {Image} imageObjAlt
-		 */
-		function Image(options, body, labelModule, imageObj, imageObjAlt) {
-			var _this;
-
-			_classCallCheck(this, Image);
-
-			_this = _super.call(this, options, body, labelModule);
-
-			_this.setImages(imageObj, imageObjAlt);
-
-			return _this;
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx - Unused.
-		 * @param {boolean} [selected]
-		 * @param {boolean} [hover]
-		 */
-
-
-		_createClass(Image, [{
-			key: "resize",
-			value: function resize(ctx) {
-				var selected = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.selected;
-				var hover = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.hover;
-				var imageAbsent = this.imageObj.src === undefined || this.imageObj.width === undefined || this.imageObj.height === undefined;
-
-				if (imageAbsent) {
-					var side = this.options.size * 2;
-					this.width = side;
-					this.height = side;
-					return;
-				}
-
-				if (this.needsRefresh(selected, hover)) {
-					this._resizeImage();
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				ctx.save();
-				this.switchImages(selected);
-				this.resize();
-				var labelX = x,
-					labelY = y;
-
-				if (this.options.shapeProperties.coordinateOrigin === "top-left") {
-					this.left = x;
-					this.top = y;
-					labelX += this.width / 2;
-					labelY += this.height / 2;
-				} else {
-					this.left = x - this.width / 2;
-					this.top = y - this.height / 2;
-				}
-
-				if (this.options.shapeProperties.useBorderWithImage === true) {
-					var neutralborderWidth = this.options.borderWidth;
-					var selectionLineWidth = this.options.borderWidthSelected || 2 * this.options.borderWidth;
-					var borderWidth = (selected ? selectionLineWidth : neutralborderWidth) / this.body.view.scale;
-					ctx.lineWidth = Math.min(this.width, borderWidth);
-					ctx.beginPath();
-					var strokeStyle = selected ? this.options.color.highlight.border : hover ? this.options.color.hover.border : this.options.color.border;
-					var fillStyle = selected ? this.options.color.highlight.background : hover ? this.options.color.hover.background : this.options.color.background;
-
-					if (values.opacity !== undefined) {
-						strokeStyle = overrideOpacity(strokeStyle, values.opacity);
-						fillStyle = overrideOpacity(fillStyle, values.opacity);
-					} // setup the line properties.
-
-
-					ctx.strokeStyle = strokeStyle; // set a fillstyle
-
-					ctx.fillStyle = fillStyle; // draw a rectangle to form the border around. This rectangle is filled so the opacity of a picture (in future vis releases?) can be used to tint the image
-
-					ctx.rect(this.left - 0.5 * ctx.lineWidth, this.top - 0.5 * ctx.lineWidth, this.width + ctx.lineWidth, this.height + ctx.lineWidth);
-
-					fill(ctx).call(ctx);
-
-					this.performStroke(ctx, values);
-					ctx.closePath();
-				}
-
-				this._drawImageAtPosition(ctx, values);
-
-				this._drawImageLabel(ctx, labelX, labelY, selected, hover);
-
-				this.updateBoundingBox(x, y);
-				ctx.restore();
-			}
-			/**
-			 *
-			 * @param {number} x
-			 * @param {number} y
-			 */
-
-		}, {
-			key: "updateBoundingBox",
-			value: function updateBoundingBox(x, y) {
-				this.resize();
-
-				if (this.options.shapeProperties.coordinateOrigin === "top-left") {
-					this.left = x;
-					this.top = y;
-				} else {
-					this.left = x - this.width / 2;
-					this.top = y - this.height / 2;
-				}
-
-				this.boundingBox.left = this.left;
-				this.boundingBox.top = this.top;
-				this.boundingBox.bottom = this.top + this.height;
-				this.boundingBox.right = this.left + this.width;
-
-				if (this.options.label !== undefined && this.labelModule.size.width > 0) {
-					this.boundingBox.left = Math.min(this.boundingBox.left, this.labelModule.size.left);
-					this.boundingBox.right = Math.max(this.boundingBox.right, this.labelModule.size.left + this.labelModule.size.width);
-					this.boundingBox.bottom = Math.max(this.boundingBox.bottom, this.boundingBox.bottom + this.labelOffset);
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this._distanceToBorder(ctx, angle);
-			}
-		}]);
-
-		return Image;
-	}(CircleImageBase);
-
-	function _createSuper$g(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$g(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$g() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Square Node/Cluster shape.
-	 *
-	 * @augments ShapeBase
-	 */
-
-	var Square = /*#__PURE__*/function (_ShapeBase) {
-		_inherits(Square, _ShapeBase);
-
-		var _super = _createSuper$g(Square);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Square(options, body, labelModule) {
-			_classCallCheck(this, Square);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {number} x width
-		 * @param {number} y height
-		 * @param {boolean} selected
-		 * @param {boolean} hover
-		 * @param {ArrowOptions} values
-		 * @returns {object} Callbacks to draw later on higher layers.
-		 */
-
-
-		_createClass(Square, [{
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				return this._drawShape(ctx, "square", 2, x, y, selected, hover, values);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this._distanceToBorder(ctx, angle);
-			}
-		}]);
-
-		return Square;
-	}(ShapeBase);
-
-	function _createSuper$f(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$f(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$f() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Hexagon Node/Cluster shape.
-	 *
-	 * @augments ShapeBase
-	 */
-
-	var Hexagon = /*#__PURE__*/function (_ShapeBase) {
-		_inherits(Hexagon, _ShapeBase);
-
-		var _super = _createSuper$f(Hexagon);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Hexagon(options, body, labelModule) {
-			_classCallCheck(this, Hexagon);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {number} x width
-		 * @param {number} y height
-		 * @param {boolean} selected
-		 * @param {boolean} hover
-		 * @param {ArrowOptions} values
-		 * @returns {object} Callbacks to draw later on higher layers.
-		 */
-
-
-		_createClass(Hexagon, [{
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				return this._drawShape(ctx, "hexagon", 4, x, y, selected, hover, values);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this._distanceToBorder(ctx, angle);
-			}
-		}]);
-
-		return Hexagon;
-	}(ShapeBase);
-
-	function _createSuper$e(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$e(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$e() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Star Node/Cluster shape.
-	 *
-	 * @augments ShapeBase
-	 */
-
-	var Star = /*#__PURE__*/function (_ShapeBase) {
-		_inherits(Star, _ShapeBase);
-
-		var _super = _createSuper$e(Star);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Star(options, body, labelModule) {
-			_classCallCheck(this, Star);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {number} x width
-		 * @param {number} y height
-		 * @param {boolean} selected
-		 * @param {boolean} hover
-		 * @param {ArrowOptions} values
-		 * @returns {object} Callbacks to draw later on higher layers.
-		 */
-
-
-		_createClass(Star, [{
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				return this._drawShape(ctx, "star", 4, x, y, selected, hover, values);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this._distanceToBorder(ctx, angle);
-			}
-		}]);
-
-		return Star;
-	}(ShapeBase);
-
-	function _createSuper$d(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$d(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$d() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A text-based replacement for the default Node shape.
-	 *
-	 * @augments NodeBase
-	 */
-
-	var Text = /*#__PURE__*/function (_NodeBase) {
-		_inherits(Text, _NodeBase);
-
-		var _super = _createSuper$d(Text);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Text(options, body, labelModule) {
-			var _this;
-
-			_classCallCheck(this, Text);
-
-			_this = _super.call(this, options, body, labelModule);
-
-			_this._setMargins(labelModule);
-
-			return _this;
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {boolean} selected
-		 * @param {boolean} hover
-		 */
-
-
-		_createClass(Text, [{
-			key: "resize",
-			value: function resize(ctx, selected, hover) {
-				if (this.needsRefresh(selected, hover)) {
-					this.textSize = this.labelModule.getTextSize(ctx, selected, hover);
-					this.width = this.textSize.width + this.margin.right + this.margin.left;
-					this.height = this.textSize.height + this.margin.top + this.margin.bottom;
-					this.radius = 0.5 * this.width;
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} x width
-			 * @param {number} y height
-			 * @param {boolean} selected
-			 * @param {boolean} hover
-			 * @param {ArrowOptions} values
-			 */
-
-		}, {
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				this.resize(ctx, selected, hover);
-				this.left = x - this.width / 2;
-				this.top = y - this.height / 2; // draw shadow if enabled
-
-				this.enableShadow(ctx, values);
-				this.labelModule.draw(ctx, this.left + this.textSize.width / 2 + this.margin.left, this.top + this.textSize.height / 2 + this.margin.top, selected, hover); // disable shadows for other elements.
-
-				this.disableShadow(ctx, values);
-				this.updateBoundingBox(x, y, ctx, selected, hover);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this._distanceToBorder(ctx, angle);
-			}
-		}]);
-
-		return Text;
-	}(NodeBase);
-
-	function _createSuper$c(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$c(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$c() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Triangle Node/Cluster shape.
-	 *
-	 * @augments ShapeBase
-	 */
-
-	var Triangle$1 = /*#__PURE__*/function (_ShapeBase) {
-		_inherits(Triangle, _ShapeBase);
-
-		var _super = _createSuper$c(Triangle);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function Triangle(options, body, labelModule) {
-			_classCallCheck(this, Triangle);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {number} x
-		 * @param {number} y
-		 * @param {boolean} selected
-		 * @param {boolean} hover
-		 * @param {ArrowOptions} values
-		 * @returns {object} Callbacks to draw later on higher layers.
-		 */
-
-
-		_createClass(Triangle, [{
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				return this._drawShape(ctx, "triangle", 3, x, y, selected, hover, values);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this._distanceToBorder(ctx, angle);
-			}
-		}]);
-
-		return Triangle;
-	}(ShapeBase);
-
-	function _createSuper$b(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$b(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$b() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A downward facing Triangle Node/Cluster shape.
-	 *
-	 * @augments ShapeBase
-	 */
-
-	var TriangleDown = /*#__PURE__*/function (_ShapeBase) {
-		_inherits(TriangleDown, _ShapeBase);
-
-		var _super = _createSuper$b(TriangleDown);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Label} labelModule
-		 */
-		function TriangleDown(options, body, labelModule) {
-			_classCallCheck(this, TriangleDown);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/**
-		 *
-		 * @param {CanvasRenderingContext2D} ctx
-		 * @param {number} x
-		 * @param {number} y
-		 * @param {boolean} selected
-		 * @param {boolean} hover
-		 * @param {ArrowOptions} values
-		 * @returns {object} Callbacks to draw later on higher layers.
-		 */
-
-
-		_createClass(TriangleDown, [{
-			key: "draw",
-			value: function draw(ctx, x, y, selected, hover, values) {
-				return this._drawShape(ctx, "triangleDown", 3, x, y, selected, hover, values);
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {number} angle
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this._distanceToBorder(ctx, angle);
-			}
-		}]);
-
-		return TriangleDown;
-	}(ShapeBase);
-
-	function ownKeys$2(object, enumerableOnly) { var keys = keys$4(object); if (getOwnPropertySymbols) { var symbols = getOwnPropertySymbols(object); enumerableOnly && (symbols = filter(symbols).call(symbols, function (sym) { return getOwnPropertyDescriptor$3(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
-
-	function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var _context5, _context6; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? forEach$2(_context5 = ownKeys$2(Object(source), !0)).call(_context5, function (key) { _defineProperty(target, key, source[key]); }) : getOwnPropertyDescriptors ? defineProperties(target, getOwnPropertyDescriptors(source)) : forEach$2(_context6 = ownKeys$2(Object(source))).call(_context6, function (key) { defineProperty$6(target, key, getOwnPropertyDescriptor$3(source, key)); }); } return target; }
-	/**
-	 * A node. A node can be connected to other nodes via one or multiple edges.
-	 */
-
-	var Node = /*#__PURE__*/function () {
-		/**
-		 *
-		 * @param {object} options An object containing options for the node. All
-		 *                            options are optional, except for the id.
-		 *                              {number} id     Id of the node. Required
-		 *                              {string} label  Text label for the node
-		 *                              {number} x      Horizontal position of the node
-		 *                              {number} y      Vertical position of the node
-		 *                              {string} shape  Node shape
-		 *                              {string} image  An image url
-		 *                              {string} title  A title text, can be HTML
-		 *                              {anytype} group A group name or number
-		 * @param {object} body               Shared state of current network instance
-		 * @param {Network.Images} imagelist  A list with images. Only needed when the node has an image
-		 * @param {Groups} grouplist          A list with groups. Needed for retrieving group options
-		 * @param {object} globalOptions      Current global node options; these serve as defaults for the node instance
-		 * @param {object} defaultOptions     Global default options for nodes; note that this is also the prototype
-		 *                                    for parameter `globalOptions`.
-		 */
-		function Node(options, body, imagelist, grouplist, globalOptions, defaultOptions) {
-			_classCallCheck(this, Node);
-
-			this.options = bridgeObject(globalOptions);
-			this.globalOptions = globalOptions;
-			this.defaultOptions = defaultOptions;
-			this.body = body;
-			this.edges = []; // all edges connected to this node
-			// set defaults for the options
-
-			this.id = undefined;
-			this.imagelist = imagelist;
-			this.grouplist = grouplist; // state options
-
-			this.x = undefined;
-			this.y = undefined;
-			this.baseSize = this.options.size;
-			this.baseFontSize = this.options.font.size;
-			this.predefinedPosition = false; // used to check if initial fit should just take the range or approximate
-
-			this.selected = false;
-			this.hover = false;
-			this.labelModule = new Label(this.body, this.options, false
-				/* Not edge label */
-			);
-			this.setOptions(options);
-		}
-		/**
-		 * Attach a edge to the node
-		 *
-		 * @param {Edge} edge
-		 */
-
-
-		_createClass(Node, [{
-			key: "attachEdge",
-			value: function attachEdge(edge) {
-				var _context;
-
-				if (indexOf(_context = this.edges).call(_context, edge) === -1) {
-					this.edges.push(edge);
-				}
-			}
-			/**
-			 * Detach a edge from the node
-			 *
-			 * @param {Edge} edge
-			 */
-
-		}, {
-			key: "detachEdge",
-			value: function detachEdge(edge) {
-				var _context2;
-
-				var index = indexOf(_context2 = this.edges).call(_context2, edge);
-
-				if (index != -1) {
-					var _context3;
-
-					splice$1(_context3 = this.edges).call(_context3, index, 1);
-				}
-			}
-			/**
-			 * Set or overwrite options for the node
-			 *
-			 * @param {object} options an object with options
-			 * @returns {null|boolean}
-			 */
-
-		}, {
-			key: "setOptions",
-			value: function setOptions(options) {
-				var currentShape = this.options.shape;
-
-				if (!options) {
-					return; // Note that the return value will be 'undefined'! This is OK.
-				} // Save the color for later.
-				// This is necessary in order to prevent local color from being overwritten by group color.
-				// TODO: To prevent such workarounds the way options are handled should be rewritten from scratch.
-				// This is not the only problem with current options handling.
-
-
-				if (typeof options.color !== "undefined") {
-					this._localColor = options.color;
-				} // basic options
-
-
-				if (options.id !== undefined) {
-					this.id = options.id;
-				}
-
-				if (this.id === undefined) {
-					throw new Error("Node must have an id");
-				}
-
-				Node.checkMass(options, this.id); // set these options locally
-				// clear x and y positions
-
-				if (options.x !== undefined) {
-					if (options.x === null) {
-						this.x = undefined;
-						this.predefinedPosition = false;
-					} else {
-						this.x = _parseInt(options.x);
-						this.predefinedPosition = true;
-					}
-				}
-
-				if (options.y !== undefined) {
-					if (options.y === null) {
-						this.y = undefined;
-						this.predefinedPosition = false;
-					} else {
-						this.y = _parseInt(options.y);
-						this.predefinedPosition = true;
-					}
-				}
-
-				if (options.size !== undefined) {
-					this.baseSize = options.size;
-				}
-
-				if (options.value !== undefined) {
-					options.value = _parseFloat(options.value);
-				} // this transforms all shorthands into fully defined options
-
-
-				Node.parseOptions(this.options, options, true, this.globalOptions, this.grouplist);
-				var pile = [options, this.options, this.defaultOptions];
-				this.chooser = choosify("node", pile);
-
-				this._load_images();
-
-				this.updateLabelModule(options); // Need to set local opacity after `this.updateLabelModule(options);` because `this.updateLabelModule(options);` overrites local opacity with group opacity
-
-				if (options.opacity !== undefined && Node.checkOpacity(options.opacity)) {
-					this.options.opacity = options.opacity;
-				}
-
-				this.updateShape(currentShape);
-				return options.hidden !== undefined || options.physics !== undefined;
-			}
-			/**
-			 * Load the images from the options, for the nodes that need them.
-			 *
-			 * Images are always loaded, even if they are not used in the current shape.
-			 * The user may switch to an image shape later on.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_load_images",
-			value: function _load_images() {
-				if (this.options.shape === "circularImage" || this.options.shape === "image") {
-					if (this.options.image === undefined) {
-						throw new Error("Option image must be defined for node type '" + this.options.shape + "'");
-					}
-				}
-
-				if (this.options.image === undefined) {
-					return;
-				}
-
-				if (this.imagelist === undefined) {
-					throw new Error("Internal Error: No images provided");
-				}
-
-				if (typeof this.options.image === "string") {
-					this.imageObj = this.imagelist.load(this.options.image, this.options.brokenImage, this.id);
-				} else {
-					if (this.options.image.unselected === undefined) {
-						throw new Error("No unselected image provided");
-					}
-
-					this.imageObj = this.imagelist.load(this.options.image.unselected, this.options.brokenImage, this.id);
-
-					if (this.options.image.selected !== undefined) {
-						this.imageObjAlt = this.imagelist.load(this.options.image.selected, this.options.brokenImage, this.id);
-					} else {
-						this.imageObjAlt = undefined;
-					}
-				}
-			}
-			/**
-			 * Check that opacity is only between 0 and 1
-			 *
-			 * @param {number} opacity
-			 * @returns {boolean}
-			 */
-
-		}, {
-			key: "getFormattingValues",
-			value:
-				/**
-				 *
-				 * @returns {{color: *, borderWidth: *, borderColor: *, size: *, borderDashes: (boolean|Array|allOptions.nodes.shapeProperties.borderDashes|{boolean, array}), borderRadius: (number|allOptions.nodes.shapeProperties.borderRadius|{number}|Array), shadow: *, shadowColor: *, shadowSize: *, shadowX: *, shadowY: *}}
-				 */
-				function getFormattingValues() {
-					var values = {
-						color: this.options.color.background,
-						opacity: this.options.opacity,
-						borderWidth: this.options.borderWidth,
-						borderColor: this.options.color.border,
-						size: this.options.size,
-						borderDashes: this.options.shapeProperties.borderDashes,
-						borderRadius: this.options.shapeProperties.borderRadius,
-						shadow: this.options.shadow.enabled,
-						shadowColor: this.options.shadow.color,
-						shadowSize: this.options.shadow.size,
-						shadowX: this.options.shadow.x,
-						shadowY: this.options.shadow.y
-					};
-
-					if (this.selected || this.hover) {
-						if (this.chooser === true) {
-							if (this.selected) {
-								if (this.options.borderWidthSelected != null) {
-									values.borderWidth = this.options.borderWidthSelected;
-								} else {
-									values.borderWidth *= 2;
-								}
-
-								values.color = this.options.color.highlight.background;
-								values.borderColor = this.options.color.highlight.border;
-								values.shadow = this.options.shadow.enabled;
-							} else if (this.hover) {
-								values.color = this.options.color.hover.background;
-								values.borderColor = this.options.color.hover.border;
-								values.shadow = this.options.shadow.enabled;
-							}
-						} else if (typeof this.chooser === "function") {
-							this.chooser(values, this.options.id, this.selected, this.hover);
-
-							if (values.shadow === false) {
-								if (values.shadowColor !== this.options.shadow.color || values.shadowSize !== this.options.shadow.size || values.shadowX !== this.options.shadow.x || values.shadowY !== this.options.shadow.y) {
-									values.shadow = true;
-								}
-							}
-						}
-					} else {
-						values.shadow = this.options.shadow.enabled;
-					}
-
-					if (this.options.opacity !== undefined) {
-						var opacity = this.options.opacity;
-						values.borderColor = overrideOpacity(values.borderColor, opacity);
-						values.color = overrideOpacity(values.color, opacity);
-						values.shadowColor = overrideOpacity(values.shadowColor, opacity);
-					}
-
-					return values;
-				}
-			/**
-			 *
-			 * @param {object} options
-			 */
-
-		}, {
-			key: "updateLabelModule",
-			value: function updateLabelModule(options) {
-				if (this.options.label === undefined || this.options.label === null) {
-					this.options.label = "";
-				}
-
-				Node.updateGroupOptions(this.options, _objectSpread$2(_objectSpread$2({}, options), {}, {
-					color: options && options.color || this._localColor || undefined
-				}), this.grouplist); //
-				// Note:The prototype chain for this.options is:
-				//
-				// this.options ->    NodesHandler.options    -> NodesHandler.defaultOptions
-				//                 (also: this.globalOptions)
-				//
-				// Note that the prototypes are mentioned explicitly in the pile list below;
-				// WE DON'T WANT THE ORDER OF THE PROTOTYPES!!!! At least, not for font handling of labels.
-				// This is a good indication that the prototype usage of options is deficient.
-				//
-
-				var currentGroup = this.grouplist.get(this.options.group, false);
-				var pile = [options, // new options
-					this.options, // current node options, see comment above for prototype
-					currentGroup, // group options, if any
-					this.globalOptions, // Currently set global node options
-					this.defaultOptions // Default global node options
-				];
-				this.labelModule.update(this.options, pile);
-
-				if (this.labelModule.baseSize !== undefined) {
-					this.baseFontSize = this.labelModule.baseSize;
-				}
-			}
-			/**
-			 *
-			 * @param {string} currentShape
-			 */
-
-		}, {
-			key: "updateShape",
-			value: function updateShape(currentShape) {
-				if (currentShape === this.options.shape && this.shape) {
-					this.shape.setOptions(this.options, this.imageObj, this.imageObjAlt);
-				} else {
-					// choose draw method depending on the shape
-					switch (this.options.shape) {
-						case "box":
-							this.shape = new Box$1(this.options, this.body, this.labelModule);
-							break;
-
-						case "circle":
-							this.shape = new Circle$1(this.options, this.body, this.labelModule);
-							break;
-
-						case "circularImage":
-							this.shape = new CircularImage(this.options, this.body, this.labelModule, this.imageObj, this.imageObjAlt);
-							break;
-
-						case "custom":
-							this.shape = new CustomShape(this.options, this.body, this.labelModule, this.options.ctxRenderer);
-							break;
-
-						case "database":
-							this.shape = new Database(this.options, this.body, this.labelModule);
-							break;
-
-						case "diamond":
-							this.shape = new Diamond$1(this.options, this.body, this.labelModule);
-							break;
-
-						case "dot":
-							this.shape = new Dot(this.options, this.body, this.labelModule);
-							break;
-
-						case "ellipse":
-							this.shape = new Ellipse(this.options, this.body, this.labelModule);
-							break;
-
-						case "icon":
-							this.shape = new Icon(this.options, this.body, this.labelModule);
-							break;
-
-						case "image":
-							this.shape = new Image$2(this.options, this.body, this.labelModule, this.imageObj, this.imageObjAlt);
-							break;
-
-						case "square":
-							this.shape = new Square(this.options, this.body, this.labelModule);
-							break;
-
-						case "hexagon":
-							this.shape = new Hexagon(this.options, this.body, this.labelModule);
-							break;
-
-						case "star":
-							this.shape = new Star(this.options, this.body, this.labelModule);
-							break;
-
-						case "text":
-							this.shape = new Text(this.options, this.body, this.labelModule);
-							break;
-
-						case "triangle":
-							this.shape = new Triangle$1(this.options, this.body, this.labelModule);
-							break;
-
-						case "triangleDown":
-							this.shape = new TriangleDown(this.options, this.body, this.labelModule);
-							break;
-
-						default:
-							this.shape = new Ellipse(this.options, this.body, this.labelModule);
-							break;
-					}
-				}
-
-				this.needsRefresh();
-			}
-			/**
-			 * select this node
-			 */
-
-		}, {
-			key: "select",
-			value: function select() {
-				this.selected = true;
-				this.needsRefresh();
-			}
-			/**
-			 * unselect this node
-			 */
-
-		}, {
-			key: "unselect",
-			value: function unselect() {
-				this.selected = false;
-				this.needsRefresh();
-			}
-			/**
-			 * Reset the calculated size of the node, forces it to recalculate its size
-			 */
-
-		}, {
-			key: "needsRefresh",
-			value: function needsRefresh() {
-				this.shape.refreshNeeded = true;
-			}
-			/**
-			 * get the title of this node.
-			 *
-			 * @returns {string} title    The title of the node, or undefined when no title
-			 *                           has been set.
-			 */
-
-		}, {
-			key: "getTitle",
-			value: function getTitle() {
-				return this.options.title;
-			}
-			/**
-			 * Calculate the distance to the border of the Node
-			 *
-			 * @param {CanvasRenderingContext2D}   ctx
-			 * @param {number} angle        Angle in radians
-			 * @returns {number} distance   Distance to the border in pixels
-			 */
-
-		}, {
-			key: "distanceToBorder",
-			value: function distanceToBorder(ctx, angle) {
-				return this.shape.distanceToBorder(ctx, angle);
-			}
-			/**
-			 * Check if this node has a fixed x and y position
-			 *
-			 * @returns {boolean}      true if fixed, false if not
-			 */
-
-		}, {
-			key: "isFixed",
-			value: function isFixed() {
-				return this.options.fixed.x && this.options.fixed.y;
-			}
-			/**
-			 * check if this node is selecte
-			 *
-			 * @returns {boolean} selected   True if node is selected, else false
-			 */
-
-		}, {
-			key: "isSelected",
-			value: function isSelected() {
-				return this.selected;
-			}
-			/**
-			 * Retrieve the value of the node. Can be undefined
-			 *
-			 * @returns {number} value
-			 */
-
-		}, {
-			key: "getValue",
-			value: function getValue() {
-				return this.options.value;
-			}
-			/**
-			 * Get the current dimensions of the label
-			 *
-			 * @returns {rect}
-			 */
-
-		}, {
-			key: "getLabelSize",
-			value: function getLabelSize() {
-				return this.labelModule.size();
-			}
-			/**
-			 * Adjust the value range of the node. The node will adjust it's size
-			 * based on its value.
-			 *
-			 * @param {number} min
-			 * @param {number} max
-			 * @param {number} total
-			 */
-
-		}, {
-			key: "setValueRange",
-			value: function setValueRange(min, max, total) {
-				if (this.options.value !== undefined) {
-					var scale = this.options.scaling.customScalingFunction(min, max, total, this.options.value);
-					var sizeDiff = this.options.scaling.max - this.options.scaling.min;
-
-					if (this.options.scaling.label.enabled === true) {
-						var fontDiff = this.options.scaling.label.max - this.options.scaling.label.min;
-						this.options.font.size = this.options.scaling.label.min + scale * fontDiff;
-					}
-
-					this.options.size = this.options.scaling.min + scale * sizeDiff;
-				} else {
-					this.options.size = this.baseSize;
-					this.options.font.size = this.baseFontSize;
-				}
-
-				this.updateLabelModule();
-			}
-			/**
-			 * Draw this node in the given canvas
-			 * The 2d context of a HTML canvas can be retrieved by canvas.getContext("2d");
-			 *
-			 * @param {CanvasRenderingContext2D}   ctx
-			 * @returns {object} Callbacks to draw later on higher layers.
-			 */
-
-		}, {
-			key: "draw",
-			value: function draw(ctx) {
-				var values = this.getFormattingValues();
-				return this.shape.draw(ctx, this.x, this.y, this.selected, this.hover, values) || {};
-			}
-			/**
-			 * Update the bounding box of the shape
-			 *
-			 * @param {CanvasRenderingContext2D}   ctx
-			 */
-
-		}, {
-			key: "updateBoundingBox",
-			value: function updateBoundingBox(ctx) {
-				this.shape.updateBoundingBox(this.x, this.y, ctx);
-			}
-			/**
-			 * Recalculate the size of this node in the given canvas
-			 * The 2d context of a HTML canvas can be retrieved by canvas.getContext("2d");
-			 *
-			 * @param {CanvasRenderingContext2D}   ctx
-			 */
-
-		}, {
-			key: "resize",
-			value: function resize(ctx) {
-				var values = this.getFormattingValues();
-				this.shape.resize(ctx, this.selected, this.hover, values);
-			}
-			/**
-			 * Determine all visual elements of this node instance, in which the given
-			 * point falls within the bounding shape.
-			 *
-			 * @param {point} point
-			 * @returns {Array.<nodeClickItem|nodeLabelClickItem>} list with the items which are on the point
-			 */
-
-		}, {
-			key: "getItemsOnPoint",
-			value: function getItemsOnPoint(point) {
-				var ret = [];
-
-				if (this.labelModule.visible()) {
-					if (pointInRect(this.labelModule.getSize(), point)) {
-						ret.push({
-							nodeId: this.id,
-							labelId: 0
-						});
-					}
-				}
-
-				if (pointInRect(this.shape.boundingBox, point)) {
-					ret.push({
-						nodeId: this.id
-					});
-				}
-
-				return ret;
-			}
-			/**
-			 * Check if this object is overlapping with the provided object
-			 *
-			 * @param {object} obj   an object with parameters left, top, right, bottom
-			 * @returns {boolean}     True if location is located on node
-			 */
-
-		}, {
-			key: "isOverlappingWith",
-			value: function isOverlappingWith(obj) {
-				return this.shape.left < obj.right && this.shape.left + this.shape.width > obj.left && this.shape.top < obj.bottom && this.shape.top + this.shape.height > obj.top;
-			}
-			/**
-			 * Check if this object is overlapping with the provided object
-			 *
-			 * @param {object} obj   an object with parameters left, top, right, bottom
-			 * @returns {boolean}     True if location is located on node
-			 */
-
-		}, {
-			key: "isBoundingBoxOverlappingWith",
-			value: function isBoundingBoxOverlappingWith(obj) {
-				return this.shape.boundingBox.left < obj.right && this.shape.boundingBox.right > obj.left && this.shape.boundingBox.top < obj.bottom && this.shape.boundingBox.bottom > obj.top;
-			}
-			/**
-			 * Check valid values for mass
-			 *
-			 * The mass may not be negative or zero. If it is, reset to 1
-			 *
-			 * @param {object} options
-			 * @param {Node.id} id
-			 * @static
-			 */
-
-		}], [{
-			key: "checkOpacity",
-			value: function checkOpacity(opacity) {
-				return 0 <= opacity && opacity <= 1;
-			}
-			/**
-			 * Check that origin is 'center' or 'top-left'
-			 *
-			 * @param {string} origin
-			 * @returns {boolean}
-			 */
-
-		}, {
-			key: "checkCoordinateOrigin",
-			value: function checkCoordinateOrigin(origin) {
-				return origin === undefined || origin === "center" || origin === "top-left";
-			}
-			/**
-			 * Copy group option values into the node options.
-			 *
-			 * The group options override the global node options, so the copy of group options
-			 *  must happen *after* the global node options have been set.
-			 *
-			 * This method must also be called also if the global node options have changed and the group options did not.
-			 *
-			 * @param {object} parentOptions
-			 * @param {object} newOptions  new values for the options, currently only passed in for check
-			 * @param {object} groupList
-			 */
-
-		}, {
-			key: "updateGroupOptions",
-			value: function updateGroupOptions(parentOptions, newOptions, groupList) {
-				var _context4;
-
-				if (groupList === undefined) return; // No groups, nothing to do
-
-				var group = parentOptions.group; // paranoia: the selected group is already merged into node options, check.
-
-				if (newOptions !== undefined && newOptions.group !== undefined && group !== newOptions.group) {
-					throw new Error("updateGroupOptions: group values in options don't match.");
-				}
-
-				var hasGroup = typeof group === "number" || typeof group === "string" && group != "";
-				if (!hasGroup) return; // current node has no group, no need to merge
-
-				var groupObj = groupList.get(group);
-
-				if (groupObj.opacity !== undefined && newOptions.opacity === undefined) {
-					if (!Node.checkOpacity(groupObj.opacity)) {
-						console.error("Invalid option for node opacity. Value must be between 0 and 1, found: " + groupObj.opacity);
-						groupObj.opacity = undefined;
-					}
-				} // Skip any new option to avoid them being overridden by the group options.
-
-
-				var skipProperties = filter(_context4 = getOwnPropertyNames(newOptions)).call(_context4, function (p) {
-					return newOptions[p] != null;
-				}); // Always skip merging group font options into parent; these are required to be distinct for labels
-
-
-				skipProperties.push("font");
-				selectiveNotDeepExtend(skipProperties, parentOptions, groupObj); // the color object needs to be completely defined.
-				// Since groups can partially overwrite the colors, we parse it again, just in case.
-
-				parentOptions.color = parseColor(parentOptions.color);
-			}
-			/**
-			 * This process all possible shorthands in the new options and makes sure that the parentOptions are fully defined.
-			 * Static so it can also be used by the handler.
-			 *
-			 * @param {object} parentOptions
-			 * @param {object} newOptions
-			 * @param {boolean} [allowDeletion=false]
-			 * @param {object} [globalOptions={}]
-			 * @param {object} [groupList]
-			 * @static
-			 */
-
-		}, {
-			key: "parseOptions",
-			value: function parseOptions(parentOptions, newOptions) {
-				var allowDeletion = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-				var globalOptions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
-				var groupList = arguments.length > 4 ? arguments[4] : undefined;
-				var fields = ["color", "fixed", "shadow"];
-				selectiveNotDeepExtend(fields, parentOptions, newOptions, allowDeletion);
-				Node.checkMass(newOptions);
-
-				if (parentOptions.opacity !== undefined) {
-					if (!Node.checkOpacity(parentOptions.opacity)) {
-						console.error("Invalid option for node opacity. Value must be between 0 and 1, found: " + parentOptions.opacity);
-						parentOptions.opacity = undefined;
-					}
-				}
-
-				if (newOptions.opacity !== undefined) {
-					if (!Node.checkOpacity(newOptions.opacity)) {
-						console.error("Invalid option for node opacity. Value must be between 0 and 1, found: " + newOptions.opacity);
-						newOptions.opacity = undefined;
-					}
-				}
-
-				if (newOptions.shapeProperties && !Node.checkCoordinateOrigin(newOptions.shapeProperties.coordinateOrigin)) {
-					console.error("Invalid option for node coordinateOrigin, found: " + newOptions.shapeProperties.coordinateOrigin);
-				} // merge the shadow options into the parent.
-
-
-				mergeOptions(parentOptions, newOptions, "shadow", globalOptions); // individual shape newOptions
-
-				if (newOptions.color !== undefined && newOptions.color !== null) {
-					var parsedColor = parseColor(newOptions.color);
-					fillIfDefined(parentOptions.color, parsedColor);
-				} else if (allowDeletion === true && newOptions.color === null) {
-					parentOptions.color = bridgeObject(globalOptions.color); // set the object back to the global options
-				} // handle the fixed options
-
-
-				if (newOptions.fixed !== undefined && newOptions.fixed !== null) {
-					if (typeof newOptions.fixed === "boolean") {
-						parentOptions.fixed.x = newOptions.fixed;
-						parentOptions.fixed.y = newOptions.fixed;
-					} else {
-						if (newOptions.fixed.x !== undefined && typeof newOptions.fixed.x === "boolean") {
-							parentOptions.fixed.x = newOptions.fixed.x;
-						}
-
-						if (newOptions.fixed.y !== undefined && typeof newOptions.fixed.y === "boolean") {
-							parentOptions.fixed.y = newOptions.fixed.y;
-						}
-					}
-				}
-
-				if (allowDeletion === true && newOptions.font === null) {
-					parentOptions.font = bridgeObject(globalOptions.font); // set the object back to the global options
-				}
-
-				Node.updateGroupOptions(parentOptions, newOptions, groupList); // handle the scaling options, specifically the label part
-
-				if (newOptions.scaling !== undefined) {
-					mergeOptions(parentOptions.scaling, newOptions.scaling, "label", globalOptions.scaling);
-				}
-			}
-		}, {
-			key: "checkMass",
-			value: function checkMass(options, id) {
-				if (options.mass !== undefined && options.mass <= 0) {
-					var strId = "";
-
-					if (id !== undefined) {
-						strId = " in node id: " + id;
-					}
-
-					console.error("%cNegative or zero mass disallowed" + strId + ", setting mass to 1.", VALIDATOR_PRINT_STYLE);
-					options.mass = 1;
-				}
-			}
-		}]);
-
-		return Node;
-	}();
-
-	function _createForOfIteratorHelper$6(o, allowArrayLike) { var it = typeof symbol !== "undefined" && getIteratorMethod$1(o) || o["@@iterator"]; if (!it) { if (isArray$2(o) || (it = _unsupportedIterableToArray$6(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() { }; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
-
-	function _unsupportedIterableToArray$6(o, minLen) { var _context4; if (!o) return; if (typeof o === "string") return _arrayLikeToArray$6(o, minLen); var n = slice(_context4 = Object.prototype.toString.call(o)).call(_context4, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return from$3(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$6(o, minLen); }
-
-	function _arrayLikeToArray$6(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
-	/**
-	 * Handler for Nodes
-	 */
-
-	var NodesHandler = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {Images} images
-		 * @param {Array.<Group>} groups
-		 * @param {LayoutEngine} layoutEngine
-		 */
-		function NodesHandler(body, images, groups, layoutEngine) {
-			var _context,
-				_this = this;
-
-			_classCallCheck(this, NodesHandler);
-
-			this.body = body;
-			this.images = images;
-			this.groups = groups;
-			this.layoutEngine = layoutEngine; // create the node API in the body container
-
-			this.body.functions.createNode = bind$6(_context = this.create).call(_context, this);
-			this.nodesListeners = {
-				add: function add(event, params) {
-					_this.add(params.items);
-				},
-				update: function update(event, params) {
-					_this.update(params.items, params.data, params.oldData);
-				},
-				remove: function remove(event, params) {
-					_this.remove(params.items);
-				}
-			};
-			this.defaultOptions = {
-				borderWidth: 1,
-				borderWidthSelected: undefined,
-				brokenImage: undefined,
-				color: {
-					border: "#2B7CE9",
-					background: "#97C2FC",
-					highlight: {
-						border: "#2B7CE9",
-						background: "#D2E5FF"
-					},
-					hover: {
-						border: "#2B7CE9",
-						background: "#D2E5FF"
-					}
-				},
-				opacity: undefined,
-				// number between 0 and 1
-				fixed: {
-					x: false,
-					y: false
-				},
-				font: {
-					color: "#343434",
-					size: 14,
-					// px
-					face: "arial",
-					background: "none",
-					strokeWidth: 0,
-					// px
-					strokeColor: "#ffffff",
-					align: "center",
-					vadjust: 0,
-					multi: false,
-					bold: {
-						mod: "bold"
-					},
-					boldital: {
-						mod: "bold italic"
-					},
-					ital: {
-						mod: "italic"
-					},
-					mono: {
-						mod: "",
-						size: 15,
-						// px
-						face: "monospace",
-						vadjust: 2
-					}
-				},
-				group: undefined,
-				hidden: false,
-				icon: {
-					face: "FontAwesome",
-					//'FontAwesome',
-					code: undefined,
-					//'\uf007',
-					size: 50,
-					//50,
-					color: "#2B7CE9" //'#aa00ff'
-
-				},
-				image: undefined,
-				// --> URL
-				imagePadding: {
-					// only for image shape
-					top: 0,
-					right: 0,
-					bottom: 0,
-					left: 0
-				},
-				label: undefined,
-				labelHighlightBold: true,
-				level: undefined,
-				margin: {
-					top: 5,
-					right: 5,
-					bottom: 5,
-					left: 5
-				},
-				mass: 1,
-				physics: true,
-				scaling: {
-					min: 10,
-					max: 30,
-					label: {
-						enabled: false,
-						min: 14,
-						max: 30,
-						maxVisible: 30,
-						drawThreshold: 5
-					},
-					customScalingFunction: function customScalingFunction(min, max, total, value) {
-						if (max === min) {
-							return 0.5;
-						} else {
-							var scale = 1 / (max - min);
-							return Math.max(0, (value - min) * scale);
-						}
-					}
-				},
-				shadow: {
-					enabled: false,
-					color: "rgba(0,0,0,0.5)",
-					size: 10,
-					x: 5,
-					y: 5
-				},
-				shape: "ellipse",
-				shapeProperties: {
-					borderDashes: false,
-					// only for borders
-					borderRadius: 6,
-					// only for box shape
-					interpolation: true,
-					// only for image and circularImage shapes
-					useImageSize: false,
-					// only for image and circularImage shapes
-					useBorderWithImage: false,
-					// only for image shape
-					coordinateOrigin: "center" // only for image and circularImage shapes
-
-				},
-				size: 25,
-				title: undefined,
-				value: undefined,
-				x: undefined,
-				y: undefined
-			}; // Protect from idiocy
-
-			if (this.defaultOptions.mass <= 0) {
-				throw "Internal error: mass in defaultOptions of NodesHandler may not be zero or negative";
-			}
-
-			this.options = bridgeObject(this.defaultOptions);
-			this.bindEventListeners();
-		}
-		/**
-		 * Binds event listeners
-		 */
-
-
-		_createClass(NodesHandler, [{
-			key: "bindEventListeners",
-			value: function bindEventListeners() {
-				var _context2,
-					_context3,
-					_this2 = this;
-
-				// refresh the nodes. Used when reverting from hierarchical layout
-				this.body.emitter.on("refreshNodes", bind$6(_context2 = this.refresh).call(_context2, this));
-				this.body.emitter.on("refresh", bind$6(_context3 = this.refresh).call(_context3, this));
-				this.body.emitter.on("destroy", function () {
-					forEach$1(_this2.nodesListeners, function (callback, event) {
-						if (_this2.body.data.nodes) _this2.body.data.nodes.off(event, callback);
-					});
-					delete _this2.body.functions.createNode;
-					delete _this2.nodesListeners.add;
-					delete _this2.nodesListeners.update;
-					delete _this2.nodesListeners.remove;
-					delete _this2.nodesListeners;
-				});
-			}
-			/**
-			 *
-			 * @param {object} options
-			 */
-
-		}, {
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (options !== undefined) {
-					Node.parseOptions(this.options, options); // Need to set opacity here because Node.parseOptions is also used for groups,
-					// if you set opacity in Node.parseOptions it overwrites group opacity.
-
-					if (options.opacity !== undefined) {
-						if (isNan(options.opacity) || !_isFinite(options.opacity) || options.opacity < 0 || options.opacity > 1) {
-							console.error("Invalid option for node opacity. Value must be between 0 and 1, found: " + options.opacity);
-						} else {
-							this.options.opacity = options.opacity;
-						}
-					} // update the shape in all nodes
-
-
-					if (options.shape !== undefined) {
-						for (var nodeId in this.body.nodes) {
-							if (Object.prototype.hasOwnProperty.call(this.body.nodes, nodeId)) {
-								this.body.nodes[nodeId].updateShape();
-							}
-						}
-					} // Update the labels of nodes if any relevant options changed.
-
-
-					if (typeof options.font !== "undefined" || typeof options.widthConstraint !== "undefined" || typeof options.heightConstraint !== "undefined") {
-						for (var _i = 0, _Object$keys = keys$4(this.body.nodes); _i < _Object$keys.length; _i++) {
-							var _nodeId = _Object$keys[_i];
-
-							this.body.nodes[_nodeId].updateLabelModule();
-
-							this.body.nodes[_nodeId].needsRefresh();
-						}
-					} // update the shape size in all nodes
-
-
-					if (options.size !== undefined) {
-						for (var _nodeId2 in this.body.nodes) {
-							if (Object.prototype.hasOwnProperty.call(this.body.nodes, _nodeId2)) {
-								this.body.nodes[_nodeId2].needsRefresh();
-							}
-						}
-					} // update the state of the variables if needed
-
-
-					if (options.hidden !== undefined || options.physics !== undefined) {
-						this.body.emitter.emit("_dataChanged");
-					}
-				}
-			}
-			/**
-			 * Set a data set with nodes for the network
-			 *
-			 * @param {Array | DataSet | DataView} nodes         The data containing the nodes.
-			 * @param {boolean} [doNotEmit=false] - Suppress data changed event.
-			 * @private
-			 */
-
-		}, {
-			key: "setData",
-			value: function setData(nodes) {
-				var doNotEmit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-				var oldNodesData = this.body.data.nodes;
-
-				if (isDataViewLike("id", nodes)) {
-					this.body.data.nodes = nodes;
-				} else if (isArray$2(nodes)) {
-					this.body.data.nodes = new DataSet();
-					this.body.data.nodes.add(nodes);
-				} else if (!nodes) {
-					this.body.data.nodes = new DataSet();
-				} else {
-					throw new TypeError("Array or DataSet expected");
-				}
-
-				if (oldNodesData) {
-					// unsubscribe from old dataset
-					forEach$1(this.nodesListeners, function (callback, event) {
-						oldNodesData.off(event, callback);
-					});
-				} // remove drawn nodes
-
-
-				this.body.nodes = {};
-
-				if (this.body.data.nodes) {
-					// subscribe to new dataset
-					var me = this;
-					forEach$1(this.nodesListeners, function (callback, event) {
-						me.body.data.nodes.on(event, callback);
-					}); // draw all new nodes
-
-					var ids = this.body.data.nodes.getIds();
-					this.add(ids, true);
-				}
-
-				if (doNotEmit === false) {
-					this.body.emitter.emit("_dataChanged");
-				}
-			}
-			/**
-			 * Add nodes
-			 *
-			 * @param {number[] | string[]} ids
-			 * @param {boolean} [doNotEmit=false]
-			 * @private
-			 */
-
-		}, {
-			key: "add",
-			value: function add(ids) {
-				var doNotEmit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-				var id;
-				var newNodes = [];
-
-				for (var i = 0; i < ids.length; i++) {
-					id = ids[i];
-					var properties = this.body.data.nodes.get(id);
-					var node = this.create(properties);
-					newNodes.push(node);
-					this.body.nodes[id] = node; // note: this may replace an existing node
-				}
-
-				this.layoutEngine.positionInitially(newNodes);
-
-				if (doNotEmit === false) {
-					this.body.emitter.emit("_dataChanged");
-				}
-			}
-			/**
-			 * Update existing nodes, or create them when not yet existing
-			 *
-			 * @param {number[] | string[]} ids id's of changed nodes
-			 * @param {Array} changedData array with changed data
-			 * @param {Array|undefined} oldData optional; array with previous data
-			 * @private
-			 */
-
-		}, {
-			key: "update",
-			value: function update(ids, changedData, oldData) {
-				var nodes = this.body.nodes;
-				var dataChanged = false;
-
-				for (var i = 0; i < ids.length; i++) {
-					var id = ids[i];
-					var node = nodes[id];
-					var data = changedData[i];
-
-					if (node !== undefined) {
-						// update node
-						if (node.setOptions(data)) {
-							dataChanged = true;
-						}
-					} else {
-						dataChanged = true; // create node
-
-						node = this.create(data);
-						nodes[id] = node;
-					}
-				}
-
-				if (!dataChanged && oldData !== undefined) {
-					// Check for any changes which should trigger a layout recalculation
-					// For now, this is just 'level' for hierarchical layout
-					// Assumption: old and new data arranged in same order; at time of writing, this holds.
-					dataChanged = some(changedData).call(changedData, function (newValue, index) {
-						var oldValue = oldData[index];
-						return oldValue && oldValue.level !== newValue.level;
-					});
-				}
-
-				if (dataChanged === true) {
-					this.body.emitter.emit("_dataChanged");
-				} else {
-					this.body.emitter.emit("_dataUpdated");
-				}
-			}
-			/**
-			 * Remove existing nodes. If nodes do not exist, the method will just ignore it.
-			 *
-			 * @param {number[] | string[]} ids
-			 * @private
-			 */
-
-		}, {
-			key: "remove",
-			value: function remove(ids) {
-				var nodes = this.body.nodes;
-
-				for (var i = 0; i < ids.length; i++) {
-					var id = ids[i];
-					delete nodes[id];
-				}
-
-				this.body.emitter.emit("_dataChanged");
-			}
-			/**
-			 * create a node
-			 *
-			 * @param {object} properties
-			 * @param {class} [constructorClass=Node.default]
-			 * @returns {*}
-			 */
-
-		}, {
-			key: "create",
-			value: function create(properties) {
-				var constructorClass = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Node;
-				return new constructorClass(properties, this.body, this.images, this.groups, this.options, this.defaultOptions);
-			}
-			/**
-			 *
-			 * @param {boolean} [clearPositions=false]
-			 */
-
-		}, {
-			key: "refresh",
-			value: function refresh() {
-				var _this3 = this;
-
-				var clearPositions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-				forEach$1(this.body.nodes, function (node, nodeId) {
-					var data = _this3.body.data.nodes.get(nodeId);
-
-					if (data !== undefined) {
-						if (clearPositions === true) {
-							node.setOptions({
-								x: null,
-								y: null
-							});
-						}
-
-						node.setOptions({
-							fixed: false
-						});
-						node.setOptions(data);
-					}
-				});
-			}
-			/**
-			 * Returns the positions of the nodes.
-			 *
-			 * @param {Array.<Node.id> | string} [ids]  --> optional, can be array of nodeIds, can be string
-			 * @returns {{}}
-			 */
-
-		}, {
-			key: "getPositions",
-			value: function getPositions(ids) {
-				var dataArray = {};
-
-				if (ids !== undefined) {
-					if (isArray$2(ids) === true) {
-						for (var i = 0; i < ids.length; i++) {
-							if (this.body.nodes[ids[i]] !== undefined) {
-								var node = this.body.nodes[ids[i]];
-								dataArray[ids[i]] = {
-									x: Math.round(node.x),
-									y: Math.round(node.y)
-								};
-							}
-						}
-					} else {
-						if (this.body.nodes[ids] !== undefined) {
-							var _node = this.body.nodes[ids];
-							dataArray[ids] = {
-								x: Math.round(_node.x),
-								y: Math.round(_node.y)
-							};
-						}
-					}
-				} else {
-					for (var _i2 = 0; _i2 < this.body.nodeIndices.length; _i2++) {
-						var _node2 = this.body.nodes[this.body.nodeIndices[_i2]];
-						dataArray[this.body.nodeIndices[_i2]] = {
-							x: Math.round(_node2.x),
-							y: Math.round(_node2.y)
-						};
-					}
-				}
-
-				return dataArray;
-			}
-			/**
-			 * Retrieves the x y position of a specific id.
-			 *
-			 * @param {string} id The id to retrieve.
-			 * @throws {TypeError} If no id is included.
-			 * @throws {ReferenceError} If an invalid id is provided.
-			 * @returns {{ x: number, y: number }} Returns X, Y canvas position of the node with given id.
-			 */
-
-		}, {
-			key: "getPosition",
-			value: function getPosition(id) {
-				if (id == undefined) {
-					throw new TypeError("No id was specified for getPosition method.");
-				} else if (this.body.nodes[id] == undefined) {
-					throw new ReferenceError("NodeId provided for getPosition does not exist. Provided: ".concat(id));
-				} else {
-					return {
-						x: Math.round(this.body.nodes[id].x),
-						y: Math.round(this.body.nodes[id].y)
-					};
-				}
-			}
-			/**
-			 * Load the XY positions of the nodes into the dataset.
-			 */
-
-		}, {
-			key: "storePositions",
-			value: function storePositions() {
-				// todo: add support for clusters and hierarchical.
-				var dataArray = [];
-				var dataset = this.body.data.nodes.getDataSet();
-
-				var _iterator = _createForOfIteratorHelper$6(dataset.get()),
-					_step;
-
-				try {
-					for (_iterator.s(); !(_step = _iterator.n()).done;) {
-						var dsNode = _step.value;
-						var id = dsNode.id;
-						var bodyNode = this.body.nodes[id];
-						var x = Math.round(bodyNode.x);
-						var y = Math.round(bodyNode.y);
-
-						if (dsNode.x !== x || dsNode.y !== y) {
-							dataArray.push({
-								id: id,
-								x: x,
-								y: y
-							});
-						}
-					}
-				} catch (err) {
-					_iterator.e(err);
-				} finally {
-					_iterator.f();
-				}
-
-				dataset.update(dataArray);
-			}
-			/**
-			 * get the bounding box of a node.
-			 *
-			 * @param {Node.id} nodeId
-			 * @returns {j|*}
-			 */
-
-		}, {
-			key: "getBoundingBox",
-			value: function getBoundingBox(nodeId) {
-				if (this.body.nodes[nodeId] !== undefined) {
-					return this.body.nodes[nodeId].shape.boundingBox;
-				}
-			}
-			/**
-			 * Get the Ids of nodes connected to this node.
-			 *
-			 * @param {Node.id} nodeId
-			 * @param {'to'|'from'|undefined} direction values 'from' and 'to' select respectively parent and child nodes only.
-			 *                                          Any other value returns both parent and child nodes.
-			 * @returns {Array}
-			 */
-
-		}, {
-			key: "getConnectedNodes",
-			value: function getConnectedNodes(nodeId, direction) {
-				var nodeList = [];
-
-				if (this.body.nodes[nodeId] !== undefined) {
-					var node = this.body.nodes[nodeId];
-					var nodeObj = {}; // used to quickly check if node already exists
-
-					for (var i = 0; i < node.edges.length; i++) {
-						var edge = node.edges[i];
-
-						if (direction !== "to" && edge.toId == node.id) {
-							// these are double equals since ids can be numeric or string
-							if (nodeObj[edge.fromId] === undefined) {
-								nodeList.push(edge.fromId);
-								nodeObj[edge.fromId] = true;
-							}
-						} else if (direction !== "from" && edge.fromId == node.id) {
-							// these are double equals since ids can be numeric or string
-							if (nodeObj[edge.toId] === undefined) {
-								nodeList.push(edge.toId);
-								nodeObj[edge.toId] = true;
-							}
-						}
-					}
-				}
-
-				return nodeList;
-			}
-			/**
-			 * Get the ids of the edges connected to this node.
-			 *
-			 * @param {Node.id} nodeId
-			 * @returns {*}
-			 */
-
-		}, {
-			key: "getConnectedEdges",
-			value: function getConnectedEdges(nodeId) {
-				var edgeList = [];
-
-				if (this.body.nodes[nodeId] !== undefined) {
-					var node = this.body.nodes[nodeId];
-
-					for (var i = 0; i < node.edges.length; i++) {
-						edgeList.push(node.edges[i].id);
-					}
-				} else {
-					console.error("NodeId provided for getConnectedEdges does not exist. Provided: ", nodeId);
-				}
-
-				return edgeList;
-			}
-			/**
-			 * Move a node.
-			 *
-			 * @param {Node.id} nodeId
-			 * @param {number} x
-			 * @param {number} y
-			 */
-
-		}, {
-			key: "moveNode",
-			value: function moveNode(nodeId, x, y) {
-				var _this4 = this;
-
-				if (this.body.nodes[nodeId] !== undefined) {
-					this.body.nodes[nodeId].x = Number(x);
-					this.body.nodes[nodeId].y = Number(y);
-
-					setTimeout$1(function () {
-						_this4.body.emitter.emit("startSimulation");
-					}, 0);
-				} else {
-					console.error("Node id supplied to moveNode does not exist. Provided: ", nodeId);
-				}
-			}
-		}]);
-
-		return NodesHandler;
-	}();
-
-	var hasOwn$1 = hasOwnProperty_1;
-
-	var isDataDescriptor$1 = function (descriptor) {
-		return descriptor !== undefined && (hasOwn$1(descriptor, 'value') || hasOwn$1(descriptor, 'writable'));
-	};
-
-	var $$2 = _export;
-	var call = functionCall;
-	var isObject$2 = isObject$j;
-	var anObject$1 = anObject$d;
-	var isDataDescriptor = isDataDescriptor$1;
-	var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
-	var getPrototypeOf = objectGetPrototypeOf; // `Reflect.get` method
-	// https://tc39.es/ecma262/#sec-reflect.get
-
-	function get$5(target, propertyKey
-		/* , receiver */
-	) {
-		var receiver = arguments.length < 3 ? target : arguments[2];
-		var descriptor, prototype;
-		if (anObject$1(target) === receiver) return target[propertyKey];
-		descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey);
-		if (descriptor) return isDataDescriptor(descriptor) ? descriptor.value : descriptor.get === undefined ? undefined : call(descriptor.get, receiver);
-		if (isObject$2(prototype = getPrototypeOf(target))) return get$5(prototype, propertyKey, receiver);
-	}
-
-	$$2({
-		target: 'Reflect',
-		stat: true
-	}, {
-		get: get$5
-	});
-
-	var path$3 = path$y;
-	var get$4 = path$3.Reflect.get;
-
-	var parent$7 = get$4;
-	var get$3 = parent$7;
-
-	var parent$6 = get$3;
-	var get$2 = parent$6;
-
-	var parent$5 = get$2;
-	var get$1 = parent$5;
-
-	var get = get$1;
-
-	var parent$4 = getOwnPropertyDescriptor$4;
-	var getOwnPropertyDescriptor$2 = parent$4;
-
-	var parent$3 = getOwnPropertyDescriptor$2;
-	var getOwnPropertyDescriptor$1 = parent$3;
-
-	var getOwnPropertyDescriptor = getOwnPropertyDescriptor$1;
-
-	function _superPropBase(object, property) {
-		while (!Object.prototype.hasOwnProperty.call(object, property)) {
-			object = _getPrototypeOf(object);
-			if (object === null) break;
-		}
-
-		return object;
-	}
-
-	function _get() {
-		if (typeof Reflect !== "undefined" && get) {
-			_get = get;
-		} else {
-			_get = function _get(target, property, receiver) {
-				var base = _superPropBase(target, property);
-				if (!base) return;
-
-				var desc = getOwnPropertyDescriptor(base, property);
-
-				if (desc.get) {
-					return desc.get.call(arguments.length < 3 ? target : receiver);
-				}
-
-				return desc.value;
-			};
-		}
-
-		return _get.apply(this, arguments);
-	}
-
-	var $$1 = _export; // eslint-disable-next-line es/no-math-hypot -- required for testing
-
-	var $hypot = Math.hypot;
-	var abs = Math.abs;
-	var sqrt = Math.sqrt; // Chrome 77 bug
-	// https://bugs.chromium.org/p/v8/issues/detail?id=9546
-
-	var BUGGY = !!$hypot && $hypot(Infinity, NaN) !== Infinity; // `Math.hypot` method
-	// https://tc39.es/ecma262/#sec-math.hypot
-
-	$$1({
-		target: 'Math',
-		stat: true,
-		forced: BUGGY
-	}, {
-		// eslint-disable-next-line no-unused-vars -- required for `.length`
-		hypot: function hypot(value1, value2) {
-			var sum = 0;
-			var i = 0;
-			var aLen = arguments.length;
-			var larg = 0;
-			var arg, div;
-
-			while (i < aLen) {
-				arg = abs(arguments[i++]);
-
-				if (larg < arg) {
-					div = larg / arg;
-					sum = sum * div * div + 1;
-					larg = arg;
-				} else if (arg > 0) {
-					div = arg / larg;
-					sum += div * div;
-				} else sum += arg;
-			}
-
-			return larg === Infinity ? Infinity : larg * sqrt(sum);
-		}
-	});
-
-	var path$2 = path$y;
-	var hypot$2 = path$2.Math.hypot;
-
-	var parent$2 = hypot$2;
-	var hypot$1 = parent$2;
-
-	var hypot = hypot$1;
-
-	function _createSuper$a(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$a(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$a() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * Common methods for endpoints
-	 *
-	 * @class
-	 */
-
-	var EndPoint = /*#__PURE__*/function () {
-		function EndPoint() {
-			_classCallCheck(this, EndPoint);
-		}
-
-		_createClass(EndPoint, null, [{
-			key: "transform",
-			value:
-				/**
-				 * Apply transformation on points for display.
-				 *
-				 * The following is done:
-				 * - rotate by the specified angle
-				 * - multiply the (normalized) coordinates by the passed length
-				 * - offset by the target coordinates
-				 *
-				 * @param points - The point(s) to be transformed.
-				 * @param arrowData - The data determining the result of the transformation.
-				 */
-				function transform(points, arrowData) {
-					if (!isArray$2(points)) {
-						points = [points];
-					}
-
-					var x = arrowData.point.x;
-					var y = arrowData.point.y;
-					var angle = arrowData.angle;
-					var length = arrowData.length;
-
-					for (var i = 0; i < points.length; ++i) {
-						var p = points[i];
-						var xt = p.x * Math.cos(angle) - p.y * Math.sin(angle);
-						var yt = p.x * Math.sin(angle) + p.y * Math.cos(angle);
-						p.x = x + length * xt;
-						p.y = y + length * yt;
-					}
-				}
-			/**
-			 * Draw a closed path using the given real coordinates.
-			 *
-			 * @param ctx - The path will be rendered into this context.
-			 * @param points - The points of the path.
-			 */
-
-		}, {
-			key: "drawPath",
-			value: function drawPath(ctx, points) {
-				ctx.beginPath();
-				ctx.moveTo(points[0].x, points[0].y);
-
-				for (var i = 1; i < points.length; ++i) {
-					ctx.lineTo(points[i].x, points[i].y);
-				}
-
-				ctx.closePath();
-			}
-		}]);
-
-		return EndPoint;
-	}();
-	/**
-	 * Drawing methods for the arrow endpoint.
-	 */
-
-
-	var Image$1 = /*#__PURE__*/function (_EndPoint) {
-		_inherits(Image, _EndPoint);
-
-		var _super = _createSuper$a(Image);
-
-		function Image() {
-			_classCallCheck(this, Image);
-
-			return _super.apply(this, arguments);
-		}
-
-		_createClass(Image, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns False as there is no way to fill an image.
-				 */
-				function draw(ctx, arrowData) {
-					if (arrowData.image) {
-						ctx.save();
-						ctx.translate(arrowData.point.x, arrowData.point.y);
-						ctx.rotate(Math.PI / 2 + arrowData.angle);
-						var width = arrowData.imageWidth != null ? arrowData.imageWidth : arrowData.image.width;
-						var height = arrowData.imageHeight != null ? arrowData.imageHeight : arrowData.image.height;
-						arrowData.image.drawImageAtPosition(ctx, 1, // scale
-							-width / 2, // x
-							0, // y
-							width, height);
-						ctx.restore();
-					}
-
-					return false;
-				}
-		}]);
-
-		return Image;
-	}(EndPoint);
-	/**
-	 * Drawing methods for the arrow endpoint.
-	 */
-
-
-	var Arrow = /*#__PURE__*/function (_EndPoint2) {
-		_inherits(Arrow, _EndPoint2);
-
-		var _super2 = _createSuper$a(Arrow);
-
-		function Arrow() {
-			_classCallCheck(this, Arrow);
-
-			return _super2.apply(this, arguments);
-		}
-
-		_createClass(Arrow, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True because ctx.fill() can be used to fill the arrow.
-				 */
-				function draw(ctx, arrowData) {
-					// Normalized points of closed path, in the order that they should be drawn.
-					// (0, 0) is the attachment point, and the point around which should be rotated
-					var points = [{
-						x: 0,
-						y: 0
-					}, {
-						x: -1,
-						y: 0.3
-					}, {
-						x: -0.9,
-						y: 0
-					}, {
-						x: -1,
-						y: -0.3
-					}];
-					EndPoint.transform(points, arrowData);
-					EndPoint.drawPath(ctx, points);
-					return true;
-				}
-		}]);
-
-		return Arrow;
-	}(EndPoint);
-	/**
-	 * Drawing methods for the crow endpoint.
-	 */
-
-
-	var Crow = /*#__PURE__*/function () {
-		function Crow() {
-			_classCallCheck(this, Crow);
-		}
-
-		_createClass(Crow, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True because ctx.fill() can be used to fill the arrow.
-				 */
-				function draw(ctx, arrowData) {
-					// Normalized points of closed path, in the order that they should be drawn.
-					// (0, 0) is the attachment point, and the point around which should be rotated
-					var points = [{
-						x: -1,
-						y: 0
-					}, {
-						x: 0,
-						y: 0.3
-					}, {
-						x: -0.4,
-						y: 0
-					}, {
-						x: 0,
-						y: -0.3
-					}];
-					EndPoint.transform(points, arrowData);
-					EndPoint.drawPath(ctx, points);
-					return true;
-				}
-		}]);
-
-		return Crow;
-	}();
-	/**
-	 * Drawing methods for the curve endpoint.
-	 */
-
-
-	var Curve = /*#__PURE__*/function () {
-		function Curve() {
-			_classCallCheck(this, Curve);
-		}
-
-		_createClass(Curve, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True because ctx.fill() can be used to fill the arrow.
-				 */
-				function draw(ctx, arrowData) {
-					// Normalized points of closed path, in the order that they should be drawn.
-					// (0, 0) is the attachment point, and the point around which should be rotated
-					var point = {
-						x: -0.4,
-						y: 0
-					};
-					EndPoint.transform(point, arrowData); // Update endpoint style for drawing transparent arc.
-
-					ctx.strokeStyle = ctx.fillStyle;
-					ctx.fillStyle = "rgba(0, 0, 0, 0)"; // Define curve endpoint as semicircle.
-
-					var pi = Math.PI;
-					var startAngle = arrowData.angle - pi / 2;
-					var endAngle = arrowData.angle + pi / 2;
-					ctx.beginPath();
-					ctx.arc(point.x, point.y, arrowData.length * 0.4, startAngle, endAngle, false);
-					ctx.stroke();
-					return true;
-				}
-		}]);
-
-		return Curve;
-	}();
-	/**
-	 * Drawing methods for the inverted curve endpoint.
-	 */
-
-
-	var InvertedCurve = /*#__PURE__*/function () {
-		function InvertedCurve() {
-			_classCallCheck(this, InvertedCurve);
-		}
-
-		_createClass(InvertedCurve, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True because ctx.fill() can be used to fill the arrow.
-				 */
-				function draw(ctx, arrowData) {
-					// Normalized points of closed path, in the order that they should be drawn.
-					// (0, 0) is the attachment point, and the point around which should be rotated
-					var point = {
-						x: -0.3,
-						y: 0
-					};
-					EndPoint.transform(point, arrowData); // Update endpoint style for drawing transparent arc.
-
-					ctx.strokeStyle = ctx.fillStyle;
-					ctx.fillStyle = "rgba(0, 0, 0, 0)"; // Define inverted curve endpoint as semicircle.
-
-					var pi = Math.PI;
-					var startAngle = arrowData.angle + pi / 2;
-					var endAngle = arrowData.angle + 3 * pi / 2;
-					ctx.beginPath();
-					ctx.arc(point.x, point.y, arrowData.length * 0.4, startAngle, endAngle, false);
-					ctx.stroke();
-					return true;
-				}
-		}]);
-
-		return InvertedCurve;
-	}();
-	/**
-	 * Drawing methods for the trinagle endpoint.
-	 */
-
-
-	var Triangle = /*#__PURE__*/function () {
-		function Triangle() {
-			_classCallCheck(this, Triangle);
-		}
-
-		_createClass(Triangle, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True because ctx.fill() can be used to fill the arrow.
-				 */
-				function draw(ctx, arrowData) {
-					// Normalized points of closed path, in the order that they should be drawn.
-					// (0, 0) is the attachment point, and the point around which should be rotated
-					var points = [{
-						x: 0.02,
-						y: 0
-					}, {
-						x: -1,
-						y: 0.3
-					}, {
-						x: -1,
-						y: -0.3
-					}];
-					EndPoint.transform(points, arrowData);
-					EndPoint.drawPath(ctx, points);
-					return true;
-				}
-		}]);
-
-		return Triangle;
-	}();
-	/**
-	 * Drawing methods for the inverted trinagle endpoint.
-	 */
-
-
-	var InvertedTriangle = /*#__PURE__*/function () {
-		function InvertedTriangle() {
-			_classCallCheck(this, InvertedTriangle);
-		}
-
-		_createClass(InvertedTriangle, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True because ctx.fill() can be used to fill the arrow.
-				 */
-				function draw(ctx, arrowData) {
-					// Normalized points of closed path, in the order that they should be drawn.
-					// (0, 0) is the attachment point, and the point around which should be rotated
-					var points = [{
-						x: 0,
-						y: 0.3
-					}, {
-						x: 0,
-						y: -0.3
-					}, {
-						x: -1,
-						y: 0
-					}];
-					EndPoint.transform(points, arrowData);
-					EndPoint.drawPath(ctx, points);
-					return true;
-				}
-		}]);
-
-		return InvertedTriangle;
-	}();
-	/**
-	 * Drawing methods for the circle endpoint.
-	 */
-
-
-	var Circle = /*#__PURE__*/function () {
-		function Circle() {
-			_classCallCheck(this, Circle);
-		}
-
-		_createClass(Circle, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True because ctx.fill() can be used to fill the arrow.
-				 */
-				function draw(ctx, arrowData) {
-					var point = {
-						x: -0.4,
-						y: 0
-					};
-					EndPoint.transform(point, arrowData);
-					drawCircle(ctx, point.x, point.y, arrowData.length * 0.4);
-					return true;
-				}
-		}]);
-
-		return Circle;
-	}();
-	/**
-	 * Drawing methods for the bar endpoint.
-	 */
-
-
-	var Bar = /*#__PURE__*/function () {
-		function Bar() {
-			_classCallCheck(this, Bar);
-		}
-
-		_createClass(Bar, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True because ctx.fill() can be used to fill the arrow.
-				 */
-				function draw(ctx, arrowData) {
-					/*
-					var points = [
-					  {x:0, y:0.5},
-					  {x:0, y:-0.5}
-					];
-						 EndPoint.transform(points, arrowData);
-					ctx.beginPath();
-					ctx.moveTo(points[0].x, points[0].y);
-					ctx.lineTo(points[1].x, points[1].y);
-					ctx.stroke();
-					*/
-					var points = [{
-						x: 0,
-						y: 0.5
-					}, {
-						x: 0,
-						y: -0.5
-					}, {
-						x: -0.15,
-						y: -0.5
-					}, {
-						x: -0.15,
-						y: 0.5
-					}];
-					EndPoint.transform(points, arrowData);
-					EndPoint.drawPath(ctx, points);
-					return true;
-				}
-		}]);
-
-		return Bar;
-	}();
-	/**
-	 * Drawing methods for the box endpoint.
-	 */
-
-
-	var Box = /*#__PURE__*/function () {
-		function Box() {
-			_classCallCheck(this, Box);
-		}
-
-		_createClass(Box, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True because ctx.fill() can be used to fill the arrow.
-				 */
-				function draw(ctx, arrowData) {
-					var points = [{
-						x: 0,
-						y: 0.3
-					}, {
-						x: 0,
-						y: -0.3
-					}, {
-						x: -0.6,
-						y: -0.3
-					}, {
-						x: -0.6,
-						y: 0.3
-					}];
-					EndPoint.transform(points, arrowData);
-					EndPoint.drawPath(ctx, points);
-					return true;
-				}
-		}]);
-
-		return Box;
-	}();
-	/**
-	 * Drawing methods for the diamond endpoint.
-	 */
-
-
-	var Diamond = /*#__PURE__*/function () {
-		function Diamond() {
-			_classCallCheck(this, Diamond);
-		}
-
-		_createClass(Diamond, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True because ctx.fill() can be used to fill the arrow.
-				 */
-				function draw(ctx, arrowData) {
-					var points = [{
-						x: 0,
-						y: 0
-					}, {
-						x: -0.5,
-						y: -0.3
-					}, {
-						x: -1,
-						y: 0
-					}, {
-						x: -0.5,
-						y: 0.3
-					}];
-					EndPoint.transform(points, arrowData);
-					EndPoint.drawPath(ctx, points);
-					return true;
-				}
-		}]);
-
-		return Diamond;
-	}();
-	/**
-	 * Drawing methods for the vee endpoint.
-	 */
-
-
-	var Vee = /*#__PURE__*/function () {
-		function Vee() {
-			_classCallCheck(this, Vee);
-		}
-
-		_createClass(Vee, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw this shape at the end of a line.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True because ctx.fill() can be used to fill the arrow.
-				 */
-				function draw(ctx, arrowData) {
-					// Normalized points of closed path, in the order that they should be drawn.
-					// (0, 0) is the attachment point, and the point around which should be rotated
-					var points = [{
-						x: -1,
-						y: 0.3
-					}, {
-						x: -0.5,
-						y: 0
-					}, {
-						x: -1,
-						y: -0.3
-					}, {
-						x: 0,
-						y: 0
-					}];
-					EndPoint.transform(points, arrowData);
-					EndPoint.drawPath(ctx, points);
-					return true;
-				}
-		}]);
-
-		return Vee;
-	}();
-	/**
-	 * Drawing methods for the endpoints.
-	 */
-
-
-	var EndPoints = /*#__PURE__*/function () {
-		function EndPoints() {
-			_classCallCheck(this, EndPoints);
-		}
-
-		_createClass(EndPoints, null, [{
-			key: "draw",
-			value:
-				/**
-				 * Draw an endpoint.
-				 *
-				 * @param ctx - The shape will be rendered into this context.
-				 * @param arrowData - The data determining the shape.
-				 * @returns True if ctx.fill() can be used to fill the arrow, false otherwise.
-				 */
-				function draw(ctx, arrowData) {
-					var type;
-
-					if (arrowData.type) {
-						type = arrowData.type.toLowerCase();
-					}
-
-					switch (type) {
-						case "image":
-							return Image$1.draw(ctx, arrowData);
-
-						case "circle":
-							return Circle.draw(ctx, arrowData);
-
-						case "box":
-							return Box.draw(ctx, arrowData);
-
-						case "crow":
-							return Crow.draw(ctx, arrowData);
-
-						case "curve":
-							return Curve.draw(ctx, arrowData);
-
-						case "diamond":
-							return Diamond.draw(ctx, arrowData);
-
-						case "inv_curve":
-							return InvertedCurve.draw(ctx, arrowData);
-
-						case "triangle":
-							return Triangle.draw(ctx, arrowData);
-
-						case "inv_triangle":
-							return InvertedTriangle.draw(ctx, arrowData);
-
-						case "bar":
-							return Bar.draw(ctx, arrowData);
-
-						case "vee":
-							return Vee.draw(ctx, arrowData);
-
-						case "arrow": // fall-through
-
-						default:
-							return Arrow.draw(ctx, arrowData);
-					}
-				}
-		}]);
-
-		return EndPoints;
-	}();
-
-	function ownKeys$1(object, enumerableOnly) { var keys = keys$4(object); if (getOwnPropertySymbols) { var symbols = getOwnPropertySymbols(object); enumerableOnly && (symbols = filter(symbols).call(symbols, function (sym) { return getOwnPropertyDescriptor$3(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
-
-	function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var _context2, _context3; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? forEach$2(_context2 = ownKeys$1(Object(source), !0)).call(_context2, function (key) { _defineProperty(target, key, source[key]); }) : getOwnPropertyDescriptors ? defineProperties(target, getOwnPropertyDescriptors(source)) : forEach$2(_context3 = ownKeys$1(Object(source))).call(_context3, function (key) { defineProperty$6(target, key, getOwnPropertyDescriptor$3(source, key)); }); } return target; }
-	/**
-	 * The Base Class for all edges.
-	 */
-
-	var EdgeBase = /*#__PURE__*/function () {
-		/**
-		 * Create a new instance.
-		 *
-		 * @param options - The options object of given edge.
-		 * @param _body - The body of the network.
-		 * @param _labelModule - Label module.
-		 */
-		function EdgeBase(options, _body, _labelModule) {
-			_classCallCheck(this, EdgeBase);
-
-			this._body = _body;
-			this._labelModule = _labelModule;
-			this.color = {};
-			this.colorDirty = true;
-			this.hoverWidth = 1.5;
-			this.selectionWidth = 2;
-			this.setOptions(options);
-			this.fromPoint = this.from;
-			this.toPoint = this.to;
-		}
-		/** @inheritDoc */
-
-
-		_createClass(EdgeBase, [{
-			key: "connect",
-			value: function connect() {
-				this.from = this._body.nodes[this.options.from];
-				this.to = this._body.nodes[this.options.to];
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "cleanup",
-			value: function cleanup() {
-				return false;
-			}
-			/**
-			 * Set new edge options.
-			 *
-			 * @param options - The new edge options object.
-			 */
-
-		}, {
-			key: "setOptions",
-			value: function setOptions(options) {
-				this.options = options;
-				this.from = this._body.nodes[this.options.from];
-				this.to = this._body.nodes[this.options.to];
-				this.id = this.options.id;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "drawLine",
-			value: function drawLine(ctx, values, _selected, _hover) {
-				var viaNode = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.getViaNode();
-				// set style
-				ctx.strokeStyle = this.getColor(ctx, values);
-				ctx.lineWidth = values.width;
-
-				if (values.dashes !== false) {
-					this._drawDashedLine(ctx, values, viaNode);
-				} else {
-					this._drawLine(ctx, values, viaNode);
-				}
-			}
-			/**
-			 * Draw a line with given style between two nodes through supplied node(s).
-			 *
-			 * @param ctx - The context that will be used for rendering.
-			 * @param values - Formatting values like color, opacity or shadow.
-			 * @param viaNode - Additional control point(s) for the edge.
-			 * @param fromPoint - TODO: Seems ignored, remove?
-			 * @param toPoint - TODO: Seems ignored, remove?
-			 */
-
-		}, {
-			key: "_drawLine",
-			value: function _drawLine(ctx, values, viaNode, fromPoint, toPoint) {
-				if (this.from != this.to) {
-					// draw line
-					this._line(ctx, values, viaNode, fromPoint, toPoint);
-				} else {
-					var _this$_getCircleData = this._getCircleData(ctx),
-						_this$_getCircleData2 = _slicedToArray(_this$_getCircleData, 3),
-						x = _this$_getCircleData2[0],
-						y = _this$_getCircleData2[1],
-						radius = _this$_getCircleData2[2];
-
-					this._circle(ctx, values, x, y, radius);
-				}
-			}
-			/**
-			 * Draw a dashed line with given style between two nodes through supplied node(s).
-			 *
-			 * @param ctx - The context that will be used for rendering.
-			 * @param values - Formatting values like color, opacity or shadow.
-			 * @param viaNode - Additional control point(s) for the edge.
-			 * @param _fromPoint - Ignored (TODO: remove in the future).
-			 * @param _toPoint - Ignored (TODO: remove in the future).
-			 */
-
-		}, {
-			key: "_drawDashedLine",
-			value: function _drawDashedLine(ctx, values, viaNode, _fromPoint, _toPoint) {
-				ctx.lineCap = "round";
-				var pattern = isArray$2(values.dashes) ? values.dashes : [5, 5]; // only firefox and chrome support this method, else we use the legacy one.
-
-				if (ctx.setLineDash !== undefined) {
-					ctx.save(); // set dash settings for chrome or firefox
-
-					ctx.setLineDash(pattern);
-					ctx.lineDashOffset = 0; // draw the line
-
-					if (this.from != this.to) {
-						// draw line
-						this._line(ctx, values, viaNode);
-					} else {
-						var _this$_getCircleData3 = this._getCircleData(ctx),
-							_this$_getCircleData4 = _slicedToArray(_this$_getCircleData3, 3),
-							x = _this$_getCircleData4[0],
-							y = _this$_getCircleData4[1],
-							radius = _this$_getCircleData4[2];
-
-						this._circle(ctx, values, x, y, radius);
-					} // restore the dash settings.
-
-
-					ctx.setLineDash([0]);
-					ctx.lineDashOffset = 0;
-					ctx.restore();
-				} else {
-					// unsupporting smooth lines
-					if (this.from != this.to) {
-						// draw line
-						drawDashedLine(ctx, this.from.x, this.from.y, this.to.x, this.to.y, pattern);
-					} else {
-						var _this$_getCircleData5 = this._getCircleData(ctx),
-							_this$_getCircleData6 = _slicedToArray(_this$_getCircleData5, 3),
-							_x = _this$_getCircleData6[0],
-							_y = _this$_getCircleData6[1],
-							_radius = _this$_getCircleData6[2];
-
-						this._circle(ctx, values, _x, _y, _radius);
-					} // draw shadow if enabled
-
-
-					this.enableShadow(ctx, values);
-					ctx.stroke(); // disable shadows for other elements.
-
-					this.disableShadow(ctx, values);
-				}
-			}
-			/**
-			 * Find the intersection between the border of the node and the edge.
-			 *
-			 * @param node - The node (either from or to node of the edge).
-			 * @param ctx - The context that will be used for rendering.
-			 * @param options - Additional options.
-			 * @returns Cartesian coordinates of the intersection between the border of the node and the edge.
-			 */
-
-		}, {
-			key: "findBorderPosition",
-			value: function findBorderPosition(node, ctx, options) {
-				if (this.from != this.to) {
-					return this._findBorderPosition(node, ctx, options);
-				} else {
-					return this._findBorderPositionCircle(node, ctx, options);
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "findBorderPositions",
-			value: function findBorderPositions(ctx) {
-				if (this.from != this.to) {
-					return {
-						from: this._findBorderPosition(this.from, ctx),
-						to: this._findBorderPosition(this.to, ctx)
-					};
-				} else {
-					var _context;
-
-					var _this$_getCircleData$ = slice(_context = this._getCircleData(ctx)).call(_context, 0, 2),
-						_this$_getCircleData$2 = _slicedToArray(_this$_getCircleData$, 2),
-						x = _this$_getCircleData$2[0],
-						y = _this$_getCircleData$2[1];
-
-					return {
-						from: this._findBorderPositionCircle(this.from, ctx, {
-							x: x,
-							y: y,
-							low: 0.25,
-							high: 0.6,
-							direction: -1
-						}),
-						to: this._findBorderPositionCircle(this.from, ctx, {
-							x: x,
-							y: y,
-							low: 0.6,
-							high: 0.8,
-							direction: 1
-						})
-					};
-				}
-			}
-			/**
-			 * Compute the center point and radius of an edge connected to the same node at both ends.
-			 *
-			 * @param ctx - The context that will be used for rendering.
-			 * @returns `[x, y, radius]`
-			 */
-
-		}, {
-			key: "_getCircleData",
-			value: function _getCircleData(ctx) {
-				var radius = this.options.selfReference.size;
-
-				if (ctx !== undefined) {
-					if (this.from.shape.width === undefined) {
-						this.from.shape.resize(ctx);
-					}
-				} // get circle coordinates
-
-
-				var coordinates = getSelfRefCoordinates(ctx, this.options.selfReference.angle, radius, this.from);
-				return [coordinates.x, coordinates.y, radius];
-			}
-			/**
-			 * Get a point on a circle.
-			 *
-			 * @param x - Center of the circle on the x axis.
-			 * @param y - Center of the circle on the y axis.
-			 * @param radius - Radius of the circle.
-			 * @param position - Value between 0 (line start) and 1 (line end).
-			 * @returns Cartesian coordinates of requested point on the circle.
-			 */
-
-		}, {
-			key: "_pointOnCircle",
-			value: function _pointOnCircle(x, y, radius, position) {
-				var angle = position * 2 * Math.PI;
-				return {
-					x: x + radius * Math.cos(angle),
-					y: y - radius * Math.sin(angle)
-				};
-			}
-			/**
-			 * Find the intersection between the border of the node and the edge.
-			 *
-			 * @remarks
-			 * This function uses binary search to look for the point where the circle crosses the border of the node.
-			 * @param nearNode - The node (either from or to node of the edge).
-			 * @param ctx - The context that will be used for rendering.
-			 * @param options - Additional options.
-			 * @returns Cartesian coordinates of the intersection between the border of the node and the edge.
-			 */
-
-		}, {
-			key: "_findBorderPositionCircle",
-			value: function _findBorderPositionCircle(nearNode, ctx, options) {
-				var x = options.x;
-				var y = options.y;
-				var low = options.low;
-				var high = options.high;
-				var direction = options.direction;
-				var maxIterations = 10;
-				var radius = this.options.selfReference.size;
-				var threshold = 0.05;
-				var pos;
-				var middle = (low + high) * 0.5;
-				var endPointOffset = 0;
-
-				if (this.options.arrowStrikethrough === true) {
-					if (direction === -1) {
-						endPointOffset = this.options.endPointOffset.from;
-					} else if (direction === 1) {
-						endPointOffset = this.options.endPointOffset.to;
-					}
-				}
-
-				var iteration = 0;
-
-				do {
-					middle = (low + high) * 0.5;
-					pos = this._pointOnCircle(x, y, radius, middle);
-					var angle = Math.atan2(nearNode.y - pos.y, nearNode.x - pos.x);
-					var distanceToBorder = nearNode.distanceToBorder(ctx, angle) + endPointOffset;
-					var distanceToPoint = Math.sqrt(Math.pow(pos.x - nearNode.x, 2) + Math.pow(pos.y - nearNode.y, 2));
-					var difference = distanceToBorder - distanceToPoint;
-
-					if (Math.abs(difference) < threshold) {
-						break; // found
-					} else if (difference > 0) {
-						// distance to nodes is larger than distance to border --> t needs to be bigger if we're looking at the to node.
-						if (direction > 0) {
-							low = middle;
-						} else {
-							high = middle;
-						}
-					} else {
-						if (direction > 0) {
-							high = middle;
-						} else {
-							low = middle;
-						}
-					}
-
-					++iteration;
-				} while (low <= high && iteration < maxIterations);
-
-				return _objectSpread$1(_objectSpread$1({}, pos), {}, {
-					t: middle
-				});
-			}
-			/**
-			 * Get the line width of the edge. Depends on width and whether one of the connected nodes is selected.
-			 *
-			 * @param selected - Determines wheter the line is selected.
-			 * @param hover - Determines wheter the line is being hovered, only applies if selected is false.
-			 * @returns The width of the line.
-			 */
-
-		}, {
-			key: "getLineWidth",
-			value: function getLineWidth(selected, hover) {
-				if (selected === true) {
-					return Math.max(this.selectionWidth, 0.3 / this._body.view.scale);
-				} else if (hover === true) {
-					return Math.max(this.hoverWidth, 0.3 / this._body.view.scale);
-				} else {
-					return Math.max(this.options.width, 0.3 / this._body.view.scale);
-				}
-			}
-			/**
-			 * Compute the color or gradient for given edge.
-			 *
-			 * @param ctx - The context that will be used for rendering.
-			 * @param values - Formatting values like color, opacity or shadow.
-			 * @param _selected - Ignored (TODO: remove in the future).
-			 * @param _hover - Ignored (TODO: remove in the future).
-			 * @returns Color string if single color is inherited or gradient if two.
-			 */
-
-		}, {
-			key: "getColor",
-			value: function getColor(ctx, values) {
-				if (values.inheritsColor !== false) {
-					// when this is a loop edge, just use the 'from' method
-					if (values.inheritsColor === "both" && this.from.id !== this.to.id) {
-						var grd = ctx.createLinearGradient(this.from.x, this.from.y, this.to.x, this.to.y);
-						var fromColor = this.from.options.color.highlight.border;
-						var toColor = this.to.options.color.highlight.border;
-
-						if (this.from.selected === false && this.to.selected === false) {
-							fromColor = overrideOpacity(this.from.options.color.border, values.opacity);
-							toColor = overrideOpacity(this.to.options.color.border, values.opacity);
-						} else if (this.from.selected === true && this.to.selected === false) {
-							toColor = this.to.options.color.border;
-						} else if (this.from.selected === false && this.to.selected === true) {
-							fromColor = this.from.options.color.border;
-						}
-
-						grd.addColorStop(0, fromColor);
-						grd.addColorStop(1, toColor); // -------------------- this returns -------------------- //
-
-						return grd;
-					}
-
-					if (values.inheritsColor === "to") {
-						return overrideOpacity(this.to.options.color.border, values.opacity);
-					} else {
-						// "from"
-						return overrideOpacity(this.from.options.color.border, values.opacity);
-					}
-				} else {
-					return overrideOpacity(values.color, values.opacity);
-				}
-			}
-			/**
-			 * Draw a line from a node to itself, a circle.
-			 *
-			 * @param ctx - The context that will be used for rendering.
-			 * @param values - Formatting values like color, opacity or shadow.
-			 * @param x - Center of the circle on the x axis.
-			 * @param y - Center of the circle on the y axis.
-			 * @param radius - Radius of the circle.
-			 */
-
-		}, {
-			key: "_circle",
-			value: function _circle(ctx, values, x, y, radius) {
-				// draw shadow if enabled
-				this.enableShadow(ctx, values); //full circle
-
-				var angleFrom = 0;
-				var angleTo = Math.PI * 2;
-
-				if (!this.options.selfReference.renderBehindTheNode) {
-					//render only parts which are not overlaping with parent node
-					//need to find x,y of from point and x,y to point
-					//calculating radians
-					var low = this.options.selfReference.angle;
-					var high = this.options.selfReference.angle + Math.PI;
-
-					var pointTFrom = this._findBorderPositionCircle(this.from, ctx, {
-						x: x,
-						y: y,
-						low: low,
-						high: high,
-						direction: -1
-					});
-
-					var pointTTo = this._findBorderPositionCircle(this.from, ctx, {
-						x: x,
-						y: y,
-						low: low,
-						high: high,
-						direction: 1
-					});
-
-					angleFrom = Math.atan2(pointTFrom.y - y, pointTFrom.x - x);
-					angleTo = Math.atan2(pointTTo.y - y, pointTTo.x - x);
-				} // draw a circle
-
-
-				ctx.beginPath();
-				ctx.arc(x, y, radius, angleFrom, angleTo, false);
-				ctx.stroke(); // disable shadows for other elements.
-
-				this.disableShadow(ctx, values);
-			}
-			/**
-			 * @inheritDoc
-			 * @remarks
-			 * http://stackoverflow.com/questions/849211/shortest-distancae-between-a-point-and-a-line-segment
-			 */
-
-		}, {
-			key: "getDistanceToEdge",
-			value: function getDistanceToEdge(x1, y1, x2, y2, x3, y3) {
-				if (this.from != this.to) {
-					return this._getDistanceToEdge(x1, y1, x2, y2, x3, y3);
-				} else {
-					var _this$_getCircleData7 = this._getCircleData(undefined),
-						_this$_getCircleData8 = _slicedToArray(_this$_getCircleData7, 3),
-						x = _this$_getCircleData8[0],
-						y = _this$_getCircleData8[1],
-						radius = _this$_getCircleData8[2];
-
-					var dx = x - x3;
-					var dy = y - y3;
-					return Math.abs(Math.sqrt(dx * dx + dy * dy) - radius);
-				}
-			}
-			/**
-			 * Calculate the distance between a point (x3, y3) and a line segment from (x1, y1) to (x2, y2).
-			 *
-			 * @param x1 - First end of the line segment on the x axis.
-			 * @param y1 - First end of the line segment on the y axis.
-			 * @param x2 - Second end of the line segment on the x axis.
-			 * @param y2 - Second end of the line segment on the y axis.
-			 * @param x3 - Position of the point on the x axis.
-			 * @param y3 - Position of the point on the y axis.
-			 * @returns The distance between the line segment and the point.
-			 */
-
-		}, {
-			key: "_getDistanceToLine",
-			value: function _getDistanceToLine(x1, y1, x2, y2, x3, y3) {
-				var px = x2 - x1;
-				var py = y2 - y1;
-				var something = px * px + py * py;
-				var u = ((x3 - x1) * px + (y3 - y1) * py) / something;
-
-				if (u > 1) {
-					u = 1;
-				} else if (u < 0) {
-					u = 0;
-				}
-
-				var x = x1 + u * px;
-				var y = y1 + u * py;
-				var dx = x - x3;
-				var dy = y - y3; //# Note: If the actual distance does not matter,
-				//# if you only want to compare what this function
-				//# returns to other results of this function, you
-				//# can just return the squared distance instead
-				//# (i.e. remove the sqrt) to gain a little performance
-
-				return Math.sqrt(dx * dx + dy * dy);
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getArrowData",
-			value: function getArrowData(ctx, position, viaNode, _selected, _hover, values) {
-				// set lets
-				var angle;
-				var arrowPoint;
-				var node1;
-				var node2;
-				var reversed;
-				var scaleFactor;
-				var type;
-				var lineWidth = values.width;
-
-				if (position === "from") {
-					node1 = this.from;
-					node2 = this.to;
-					reversed = values.fromArrowScale < 0;
-					scaleFactor = Math.abs(values.fromArrowScale);
-					type = values.fromArrowType;
-				} else if (position === "to") {
-					node1 = this.to;
-					node2 = this.from;
-					reversed = values.toArrowScale < 0;
-					scaleFactor = Math.abs(values.toArrowScale);
-					type = values.toArrowType;
-				} else {
-					node1 = this.to;
-					node2 = this.from;
-					reversed = values.middleArrowScale < 0;
-					scaleFactor = Math.abs(values.middleArrowScale);
-					type = values.middleArrowType;
-				}
-
-				var length = 15 * scaleFactor + 3 * lineWidth; // 3* lineWidth is the width of the edge.
-				// if not connected to itself
-
-				if (node1 != node2) {
-					var approximateEdgeLength = hypot(node1.x - node2.x, node1.y - node2.y);
-
-					var relativeLength = length / approximateEdgeLength;
-
-					if (position !== "middle") {
-						// draw arrow head
-						if (this.options.smooth.enabled === true) {
-							var pointT = this._findBorderPosition(node1, ctx, {
-								via: viaNode
-							});
-
-							var guidePos = this.getPoint(pointT.t + relativeLength * (position === "from" ? 1 : -1), viaNode);
-							angle = Math.atan2(pointT.y - guidePos.y, pointT.x - guidePos.x);
-							arrowPoint = pointT;
-						} else {
-							angle = Math.atan2(node1.y - node2.y, node1.x - node2.x);
-							arrowPoint = this._findBorderPosition(node1, ctx);
-						}
-					} else {
-						// Negative half length reverses arrow direction.
-						var halfLength = (reversed ? -relativeLength : relativeLength) / 2;
-						var guidePos1 = this.getPoint(0.5 + halfLength, viaNode);
-						var guidePos2 = this.getPoint(0.5 - halfLength, viaNode);
-						angle = Math.atan2(guidePos1.y - guidePos2.y, guidePos1.x - guidePos2.x);
-						arrowPoint = this.getPoint(0.5, viaNode);
-					}
-				} else {
-					// draw circle
-					var _this$_getCircleData9 = this._getCircleData(ctx),
-						_this$_getCircleData10 = _slicedToArray(_this$_getCircleData9, 3),
-						x = _this$_getCircleData10[0],
-						y = _this$_getCircleData10[1],
-						radius = _this$_getCircleData10[2];
-
-					if (position === "from") {
-						var low = this.options.selfReference.angle;
-						var high = this.options.selfReference.angle + Math.PI;
-
-						var _pointT = this._findBorderPositionCircle(this.from, ctx, {
-							x: x,
-							y: y,
-							low: low,
-							high: high,
-							direction: -1
-						});
-
-						angle = _pointT.t * -2 * Math.PI + 1.5 * Math.PI + 0.1 * Math.PI;
-						arrowPoint = _pointT;
-					} else if (position === "to") {
-						var _low = this.options.selfReference.angle;
-
-						var _high = this.options.selfReference.angle + Math.PI;
-
-						var _pointT2 = this._findBorderPositionCircle(this.from, ctx, {
-							x: x,
-							y: y,
-							low: _low,
-							high: _high,
-							direction: 1
-						});
-
-						angle = _pointT2.t * -2 * Math.PI + 1.5 * Math.PI - 1.1 * Math.PI;
-						arrowPoint = _pointT2;
-					} else {
-						var pos = this.options.selfReference.angle / (2 * Math.PI);
-						arrowPoint = this._pointOnCircle(x, y, radius, pos);
-						angle = pos * -2 * Math.PI + 1.5 * Math.PI + 0.1 * Math.PI;
-					}
-				}
-
-				var xi = arrowPoint.x - length * 0.9 * Math.cos(angle);
-				var yi = arrowPoint.y - length * 0.9 * Math.sin(angle);
-				var arrowCore = {
-					x: xi,
-					y: yi
-				};
-				return {
-					point: arrowPoint,
-					core: arrowCore,
-					angle: angle,
-					length: length,
-					type: type
-				};
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "drawArrowHead",
-			value: function drawArrowHead(ctx, values, _selected, _hover, arrowData) {
-				// set style
-				ctx.strokeStyle = this.getColor(ctx, values);
-				ctx.fillStyle = ctx.strokeStyle;
-				ctx.lineWidth = values.width;
-				var canFill = EndPoints.draw(ctx, arrowData);
-
-				if (canFill) {
-					// draw shadow if enabled
-					this.enableShadow(ctx, values);
-
-					fill(ctx).call(ctx); // disable shadows for other elements.
-
-
-					this.disableShadow(ctx, values);
-				}
-			}
-			/**
-			 * Set the shadow formatting values in the context if enabled, do nothing otherwise.
-			 *
-			 * @param ctx - The context that will be used for rendering.
-			 * @param values - Formatting values for the shadow.
-			 */
-
-		}, {
-			key: "enableShadow",
-			value: function enableShadow(ctx, values) {
-				if (values.shadow === true) {
-					ctx.shadowColor = values.shadowColor;
-					ctx.shadowBlur = values.shadowSize;
-					ctx.shadowOffsetX = values.shadowX;
-					ctx.shadowOffsetY = values.shadowY;
-				}
-			}
-			/**
-			 * Reset the shadow formatting values in the context if enabled, do nothing otherwise.
-			 *
-			 * @param ctx - The context that will be used for rendering.
-			 * @param values - Formatting values for the shadow.
-			 */
-
-		}, {
-			key: "disableShadow",
-			value: function disableShadow(ctx, values) {
-				if (values.shadow === true) {
-					ctx.shadowColor = "rgba(0,0,0,0)";
-					ctx.shadowBlur = 0;
-					ctx.shadowOffsetX = 0;
-					ctx.shadowOffsetY = 0;
-				}
-			}
-			/**
-			 * Render the background according to the formatting values.
-			 *
-			 * @param ctx - The context that will be used for rendering.
-			 * @param values - Formatting values for the background.
-			 */
-
-		}, {
-			key: "drawBackground",
-			value: function drawBackground(ctx, values) {
-				if (values.background !== false) {
-					// save original line attrs
-					var origCtxAttr = {
-						strokeStyle: ctx.strokeStyle,
-						lineWidth: ctx.lineWidth,
-						dashes: ctx.dashes
-					};
-					ctx.strokeStyle = values.backgroundColor;
-					ctx.lineWidth = values.backgroundSize;
-					this.setStrokeDashed(ctx, values.backgroundDashes);
-					ctx.stroke(); // restore original line attrs
-
-					ctx.strokeStyle = origCtxAttr.strokeStyle;
-					ctx.lineWidth = origCtxAttr.lineWidth;
-					ctx.dashes = origCtxAttr.dashes;
-					this.setStrokeDashed(ctx, values.dashes);
-				}
-			}
-			/**
-			 * Set the line dash pattern if supported. Logs a warning to the console if it isn't supported.
-			 *
-			 * @param ctx - The context that will be used for rendering.
-			 * @param dashes - The pattern [line, space, line…], true for default dashed line or false for normal line.
-			 */
-
-		}, {
-			key: "setStrokeDashed",
-			value: function setStrokeDashed(ctx, dashes) {
-				if (dashes !== false) {
-					if (ctx.setLineDash !== undefined) {
-						var pattern = isArray$2(dashes) ? dashes : [5, 5];
-						ctx.setLineDash(pattern);
-					} else {
-						console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.");
-					}
-				} else {
-					if (ctx.setLineDash !== undefined) {
-						ctx.setLineDash([]);
-					} else {
-						console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.");
-					}
-				}
-			}
-		}]);
-
-		return EdgeBase;
-	}();
-
-	function ownKeys(object, enumerableOnly) { var keys = keys$4(object); if (getOwnPropertySymbols) { var symbols = getOwnPropertySymbols(object); enumerableOnly && (symbols = filter(symbols).call(symbols, function (sym) { return getOwnPropertyDescriptor$3(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
-
-	function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? forEach$2(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : getOwnPropertyDescriptors ? defineProperties(target, getOwnPropertyDescriptors(source)) : forEach$2(_context2 = ownKeys(Object(source))).call(_context2, function (key) { defineProperty$6(target, key, getOwnPropertyDescriptor$3(source, key)); }); } return target; }
-
-	function _createSuper$9(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$9(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$9() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * The Base Class for all Bezier edges.
-	 * Bezier curves are used to model smooth gradual curves in paths between nodes.
-	 */
-
-	var BezierEdgeBase = /*#__PURE__*/function (_EdgeBase) {
-		_inherits(BezierEdgeBase, _EdgeBase);
-
-		var _super = _createSuper$9(BezierEdgeBase);
-
-		/**
-		 * Create a new instance.
-		 *
-		 * @param options - The options object of given edge.
-		 * @param body - The body of the network.
-		 * @param labelModule - Label module.
-		 */
-		function BezierEdgeBase(options, body, labelModule) {
-			_classCallCheck(this, BezierEdgeBase);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/**
-		 * Find the intersection between the border of the node and the edge.
-		 *
-		 * @remarks
-		 * This function uses binary search to look for the point where the bezier curve crosses the border of the node.
-		 * @param nearNode - The node (either from or to node of the edge).
-		 * @param ctx - The context that will be used for rendering.
-		 * @param viaNode - Additional node(s) the edge passes through.
-		 * @returns Cartesian coordinates of the intersection between the border of the node and the edge.
-		 */
-
-
-		_createClass(BezierEdgeBase, [{
-			key: "_findBorderPositionBezier",
-			value: function _findBorderPositionBezier(nearNode, ctx) {
-				var viaNode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this._getViaCoordinates();
-				var maxIterations = 10;
-				var threshold = 0.2;
-				var from = false;
-				var high = 1;
-				var low = 0;
-				var node = this.to;
-				var pos;
-				var middle;
-				var endPointOffset = this.options.endPointOffset ? this.options.endPointOffset.to : 0;
-
-				if (nearNode.id === this.from.id) {
-					node = this.from;
-					from = true;
-					endPointOffset = this.options.endPointOffset ? this.options.endPointOffset.from : 0;
-				}
-
-				if (this.options.arrowStrikethrough === false) {
-					endPointOffset = 0;
-				}
-
-				var iteration = 0;
-
-				do {
-					middle = (low + high) * 0.5;
-					pos = this.getPoint(middle, viaNode);
-					var angle = Math.atan2(node.y - pos.y, node.x - pos.x);
-					var distanceToBorder = node.distanceToBorder(ctx, angle) + endPointOffset;
-					var distanceToPoint = Math.sqrt(Math.pow(pos.x - node.x, 2) + Math.pow(pos.y - node.y, 2));
-					var difference = distanceToBorder - distanceToPoint;
-
-					if (Math.abs(difference) < threshold) {
-						break; // found
-					} else if (difference < 0) {
-						// distance to nodes is larger than distance to border --> t needs to be bigger if we're looking at the to node.
-						if (from === false) {
-							low = middle;
-						} else {
-							high = middle;
-						}
-					} else {
-						if (from === false) {
-							high = middle;
-						} else {
-							low = middle;
-						}
-					}
-
-					++iteration;
-				} while (low <= high && iteration < maxIterations);
-
-				return _objectSpread(_objectSpread({}, pos), {}, {
-					t: middle
-				});
-			}
-			/**
-			 * Calculate the distance between a point (x3,y3) and a line segment from (x1,y1) to (x2,y2).
-			 *
-			 * @remarks
-			 * http://stackoverflow.com/questions/849211/shortest-distancae-between-a-point-and-a-line-segment
-			 * @param x1 - First end of the line segment on the x axis.
-			 * @param y1 - First end of the line segment on the y axis.
-			 * @param x2 - Second end of the line segment on the x axis.
-			 * @param y2 - Second end of the line segment on the y axis.
-			 * @param x3 - Position of the point on the x axis.
-			 * @param y3 - Position of the point on the y axis.
-			 * @param via - The control point for the edge.
-			 * @returns The distance between the line segment and the point.
-			 */
-
-		}, {
-			key: "_getDistanceToBezierEdge",
-			value: function _getDistanceToBezierEdge(x1, y1, x2, y2, x3, y3, via) {
-				// x3,y3 is the point
-				var minDistance = 1e9;
-				var distance;
-				var i, t, x, y;
-				var lastX = x1;
-				var lastY = y1;
-
-				for (i = 1; i < 10; i++) {
-					t = 0.1 * i;
-					x = Math.pow(1 - t, 2) * x1 + 2 * t * (1 - t) * via.x + Math.pow(t, 2) * x2;
-					y = Math.pow(1 - t, 2) * y1 + 2 * t * (1 - t) * via.y + Math.pow(t, 2) * y2;
-
-					if (i > 0) {
-						distance = this._getDistanceToLine(lastX, lastY, x, y, x3, y3);
-						minDistance = distance < minDistance ? distance : minDistance;
-					}
-
-					lastX = x;
-					lastY = y;
-				}
-
-				return minDistance;
-			}
-			/**
-			 * Render a bezier curve between two nodes.
-			 *
-			 * @remarks
-			 * The method accepts zero, one or two control points.
-			 * Passing zero control points just draws a straight line.
-			 * @param ctx - The context that will be used for rendering.
-			 * @param values - Style options for edge drawing.
-			 * @param viaNode1 - First control point for curve drawing.
-			 * @param viaNode2 - Second control point for curve drawing.
-			 */
-
-		}, {
-			key: "_bezierCurve",
-			value: function _bezierCurve(ctx, values, viaNode1, viaNode2) {
-				ctx.beginPath();
-				ctx.moveTo(this.fromPoint.x, this.fromPoint.y);
-
-				if (viaNode1 != null && viaNode1.x != null) {
-					if (viaNode2 != null && viaNode2.x != null) {
-						ctx.bezierCurveTo(viaNode1.x, viaNode1.y, viaNode2.x, viaNode2.y, this.toPoint.x, this.toPoint.y);
-					} else {
-						ctx.quadraticCurveTo(viaNode1.x, viaNode1.y, this.toPoint.x, this.toPoint.y);
-					}
-				} else {
-					// fallback to normal straight edge
-					ctx.lineTo(this.toPoint.x, this.toPoint.y);
-				} // draw a background
-
-
-				this.drawBackground(ctx, values); // draw shadow if enabled
-
-				this.enableShadow(ctx, values);
-				ctx.stroke();
-				this.disableShadow(ctx, values);
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getViaNode",
-			value: function getViaNode() {
-				return this._getViaCoordinates();
-			}
-		}]);
-
-		return BezierEdgeBase;
-	}(EdgeBase);
-
-	function _createSuper$8(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$8(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$8() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Dynamic Bezier Edge. Bezier curves are used to model smooth gradual
-	 * curves in paths between nodes. The Dynamic piece refers to how the curve
-	 * reacts to physics changes.
-	 *
-	 * @augments BezierEdgeBase
-	 */
-
-	var BezierEdgeDynamic = /*#__PURE__*/function (_BezierEdgeBase) {
-		_inherits(BezierEdgeDynamic, _BezierEdgeBase);
-
-		var _super = _createSuper$8(BezierEdgeDynamic);
-
-		/**
-		 * Create a new instance.
-		 *
-		 * @param options - The options object of given edge.
-		 * @param body - The body of the network.
-		 * @param labelModule - Label module.
-		 */
-		function BezierEdgeDynamic(options, body, labelModule) {
-			var _this;
-
-			_classCallCheck(this, BezierEdgeDynamic);
-
-			//this.via = undefined; // Here for completeness but not allowed to defined before super() is invoked.
-			_this = _super.call(this, options, body, labelModule); // --> this calls the setOptions below
-
-			_this.via = _this.via; // constructor → super → super → setOptions → setupSupportNode
-
-			_this._boundFunction = function () {
-				_this.positionBezierNode();
-			};
-
-			_this._body.emitter.on("_repositionBezierNodes", _this._boundFunction);
-
-			return _this;
-		}
-		/** @inheritDoc */
-
-
-		_createClass(BezierEdgeDynamic, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				_get(_getPrototypeOf(BezierEdgeDynamic.prototype), "setOptions", this).call(this, options); // check if the physics has changed.
-
-
-				var physicsChange = false;
-
-				if (this.options.physics !== options.physics) {
-					physicsChange = true;
-				} // set the options and the to and from nodes
-
-
-				this.options = options;
-				this.id = this.options.id;
-				this.from = this._body.nodes[this.options.from];
-				this.to = this._body.nodes[this.options.to]; // setup the support node and connect
-
-				this.setupSupportNode();
-				this.connect(); // when we change the physics state of the edge, we reposition the support node.
-
-				if (physicsChange === true) {
-					this.via.setOptions({
-						physics: this.options.physics
-					});
-					this.positionBezierNode();
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "connect",
-			value: function connect() {
-				this.from = this._body.nodes[this.options.from];
-				this.to = this._body.nodes[this.options.to];
-
-				if (this.from === undefined || this.to === undefined || this.options.physics === false) {
-					this.via.setOptions({
-						physics: false
-					});
-				} else {
-					// fix weird behaviour where a self referencing node has physics enabled
-					if (this.from.id === this.to.id) {
-						this.via.setOptions({
-							physics: false
-						});
-					} else {
-						this.via.setOptions({
-							physics: true
-						});
-					}
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "cleanup",
-			value: function cleanup() {
-				this._body.emitter.off("_repositionBezierNodes", this._boundFunction);
-
-				if (this.via !== undefined) {
-					delete this._body.nodes[this.via.id];
-					this.via = undefined;
-					return true;
-				}
-
-				return false;
-			}
-			/**
-			 * Create and add a support node if not already present.
-			 *
-			 * @remarks
-			 * Bezier curves require an anchor point to calculate the smooth flow.
-			 * These points are nodes.
-			 * These nodes are invisible but are used for the force calculation.
-			 *
-			 * The changed data is not called, if needed, it is returned by the main edge constructor.
-			 */
-
-		}, {
-			key: "setupSupportNode",
-			value: function setupSupportNode() {
-				if (this.via === undefined) {
-					var nodeId = "edgeId:" + this.id;
-
-					var node = this._body.functions.createNode({
-						id: nodeId,
-						shape: "circle",
-						physics: true,
-						hidden: true
-					});
-
-					this._body.nodes[nodeId] = node;
-					this.via = node;
-					this.via.parentEdgeId = this.id;
-					this.positionBezierNode();
-				}
-			}
-			/**
-			 * Position bezier node.
-			 */
-
-		}, {
-			key: "positionBezierNode",
-			value: function positionBezierNode() {
-				if (this.via !== undefined && this.from !== undefined && this.to !== undefined) {
-					this.via.x = 0.5 * (this.from.x + this.to.x);
-					this.via.y = 0.5 * (this.from.y + this.to.y);
-				} else if (this.via !== undefined) {
-					this.via.x = 0;
-					this.via.y = 0;
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "_line",
-			value: function _line(ctx, values, viaNode) {
-				this._bezierCurve(ctx, values, viaNode);
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "_getViaCoordinates",
-			value: function _getViaCoordinates() {
-				return this.via;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getViaNode",
-			value: function getViaNode() {
-				return this.via;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getPoint",
-			value: function getPoint(position) {
-				var viaNode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.via;
-
-				if (this.from === this.to) {
-					var _this$_getCircleData = this._getCircleData(),
-						_this$_getCircleData2 = _slicedToArray(_this$_getCircleData, 3),
-						cx = _this$_getCircleData2[0],
-						cy = _this$_getCircleData2[1],
-						cr = _this$_getCircleData2[2];
-
-					var a = 2 * Math.PI * (1 - position);
-					return {
-						x: cx + cr * Math.sin(a),
-						y: cy + cr - cr * (1 - Math.cos(a))
-					};
-				} else {
-					return {
-						x: Math.pow(1 - position, 2) * this.fromPoint.x + 2 * position * (1 - position) * viaNode.x + Math.pow(position, 2) * this.toPoint.x,
-						y: Math.pow(1 - position, 2) * this.fromPoint.y + 2 * position * (1 - position) * viaNode.y + Math.pow(position, 2) * this.toPoint.y
-					};
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "_findBorderPosition",
-			value: function _findBorderPosition(nearNode, ctx) {
-				return this._findBorderPositionBezier(nearNode, ctx, this.via);
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "_getDistanceToEdge",
-			value: function _getDistanceToEdge(x1, y1, x2, y2, x3, y3) {
-				// x3,y3 is the point
-				return this._getDistanceToBezierEdge(x1, y1, x2, y2, x3, y3, this.via);
-			}
-		}]);
-
-		return BezierEdgeDynamic;
-	}(BezierEdgeBase);
-
-	function _createSuper$7(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$7(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$7() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Static Bezier Edge. Bezier curves are used to model smooth gradual curves in paths between nodes.
-	 */
-
-	var BezierEdgeStatic = /*#__PURE__*/function (_BezierEdgeBase) {
-		_inherits(BezierEdgeStatic, _BezierEdgeBase);
-
-		var _super = _createSuper$7(BezierEdgeStatic);
-
-		/**
-		 * Create a new instance.
-		 *
-		 * @param options - The options object of given edge.
-		 * @param body - The body of the network.
-		 * @param labelModule - Label module.
-		 */
-		function BezierEdgeStatic(options, body, labelModule) {
-			_classCallCheck(this, BezierEdgeStatic);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/** @inheritDoc */
-
-
-		_createClass(BezierEdgeStatic, [{
-			key: "_line",
-			value: function _line(ctx, values, viaNode) {
-				this._bezierCurve(ctx, values, viaNode);
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getViaNode",
-			value: function getViaNode() {
-				return this._getViaCoordinates();
-			}
-			/**
-			 * Compute the coordinates of the via node.
-			 *
-			 * @remarks
-			 * We do not use the to and fromPoints here to make the via nodes the same as edges without arrows.
-			 * @returns Cartesian coordinates of the via node.
-			 */
-
-		}, {
-			key: "_getViaCoordinates",
-			value: function _getViaCoordinates() {
-				// Assumption: x/y coordinates in from/to always defined
-				var factor = this.options.smooth.roundness;
-				var type = this.options.smooth.type;
-				var dx = Math.abs(this.from.x - this.to.x);
-				var dy = Math.abs(this.from.y - this.to.y);
-
-				if (type === "discrete" || type === "diagonalCross") {
-					var stepX;
-					var stepY;
-
-					if (dx <= dy) {
-						stepX = stepY = factor * dy;
-					} else {
-						stepX = stepY = factor * dx;
-					}
-
-					if (this.from.x > this.to.x) {
-						stepX = -stepX;
-					}
-
-					if (this.from.y >= this.to.y) {
-						stepY = -stepY;
-					}
-
-					var xVia = this.from.x + stepX;
-					var yVia = this.from.y + stepY;
-
-					if (type === "discrete") {
-						if (dx <= dy) {
-							xVia = dx < factor * dy ? this.from.x : xVia;
-						} else {
-							yVia = dy < factor * dx ? this.from.y : yVia;
-						}
-					}
-
-					return {
-						x: xVia,
-						y: yVia
-					};
-				} else if (type === "straightCross") {
-					var _stepX = (1 - factor) * dx;
-
-					var _stepY = (1 - factor) * dy;
-
-					if (dx <= dy) {
-						// up - down
-						_stepX = 0;
-
-						if (this.from.y < this.to.y) {
-							_stepY = -_stepY;
-						}
-					} else {
-						// left - right
-						if (this.from.x < this.to.x) {
-							_stepX = -_stepX;
-						}
-
-						_stepY = 0;
-					}
-
-					return {
-						x: this.to.x + _stepX,
-						y: this.to.y + _stepY
-					};
-				} else if (type === "horizontal") {
-					var _stepX2 = (1 - factor) * dx;
-
-					if (this.from.x < this.to.x) {
-						_stepX2 = -_stepX2;
-					}
-
-					return {
-						x: this.to.x + _stepX2,
-						y: this.from.y
-					};
-				} else if (type === "vertical") {
-					var _stepY2 = (1 - factor) * dy;
-
-					if (this.from.y < this.to.y) {
-						_stepY2 = -_stepY2;
-					}
-
-					return {
-						x: this.from.x,
-						y: this.to.y + _stepY2
-					};
-				} else if (type === "curvedCW") {
-					dx = this.to.x - this.from.x;
-					dy = this.from.y - this.to.y;
-					var radius = Math.sqrt(dx * dx + dy * dy);
-					var pi = Math.PI;
-					var originalAngle = Math.atan2(dy, dx);
-					var myAngle = (originalAngle + (factor * 0.5 + 0.5) * pi) % (2 * pi);
-					return {
-						x: this.from.x + (factor * 0.5 + 0.5) * radius * Math.sin(myAngle),
-						y: this.from.y + (factor * 0.5 + 0.5) * radius * Math.cos(myAngle)
-					};
-				} else if (type === "curvedCCW") {
-					dx = this.to.x - this.from.x;
-					dy = this.from.y - this.to.y;
-
-					var _radius = Math.sqrt(dx * dx + dy * dy);
-
-					var _pi = Math.PI;
-
-					var _originalAngle = Math.atan2(dy, dx);
-
-					var _myAngle = (_originalAngle + (-factor * 0.5 + 0.5) * _pi) % (2 * _pi);
-
-					return {
-						x: this.from.x + (factor * 0.5 + 0.5) * _radius * Math.sin(_myAngle),
-						y: this.from.y + (factor * 0.5 + 0.5) * _radius * Math.cos(_myAngle)
-					};
-				} else {
-					// continuous
-					var _stepX3;
-
-					var _stepY3;
-
-					if (dx <= dy) {
-						_stepX3 = _stepY3 = factor * dy;
-					} else {
-						_stepX3 = _stepY3 = factor * dx;
-					}
-
-					if (this.from.x > this.to.x) {
-						_stepX3 = -_stepX3;
-					}
-
-					if (this.from.y >= this.to.y) {
-						_stepY3 = -_stepY3;
-					}
-
-					var _xVia = this.from.x + _stepX3;
-
-					var _yVia = this.from.y + _stepY3;
-
-					if (dx <= dy) {
-						if (this.from.x <= this.to.x) {
-							_xVia = this.to.x < _xVia ? this.to.x : _xVia;
-						} else {
-							_xVia = this.to.x > _xVia ? this.to.x : _xVia;
-						}
-					} else {
-						if (this.from.y >= this.to.y) {
-							_yVia = this.to.y > _yVia ? this.to.y : _yVia;
-						} else {
-							_yVia = this.to.y < _yVia ? this.to.y : _yVia;
-						}
-					}
-
-					return {
-						x: _xVia,
-						y: _yVia
-					};
-				}
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "_findBorderPosition",
-			value: function _findBorderPosition(nearNode, ctx) {
-				var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
-				return this._findBorderPositionBezier(nearNode, ctx, options.via);
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "_getDistanceToEdge",
-			value: function _getDistanceToEdge(x1, y1, x2, y2, x3, y3) {
-				var viaNode = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : this._getViaCoordinates();
-				// x3,y3 is the point
-				return this._getDistanceToBezierEdge(x1, y1, x2, y2, x3, y3, viaNode);
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getPoint",
-			value: function getPoint(position) {
-				var viaNode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this._getViaCoordinates();
-				var t = position;
-				var x = Math.pow(1 - t, 2) * this.fromPoint.x + 2 * t * (1 - t) * viaNode.x + Math.pow(t, 2) * this.toPoint.x;
-				var y = Math.pow(1 - t, 2) * this.fromPoint.y + 2 * t * (1 - t) * viaNode.y + Math.pow(t, 2) * this.toPoint.y;
-				return {
-					x: x,
-					y: y
-				};
-			}
-		}]);
-
-		return BezierEdgeStatic;
-	}(BezierEdgeBase);
-
-	function _createSuper$6(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$6(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$6() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Base Class for all Cubic Bezier Edges. Bezier curves are used to model
-	 * smooth gradual curves in paths between nodes.
-	 *
-	 * @augments BezierEdgeBase
-	 */
-
-	var CubicBezierEdgeBase = /*#__PURE__*/function (_BezierEdgeBase) {
-		_inherits(CubicBezierEdgeBase, _BezierEdgeBase);
-
-		var _super = _createSuper$6(CubicBezierEdgeBase);
-
-		/**
-		 * Create a new instance.
-		 *
-		 * @param options - The options object of given edge.
-		 * @param body - The body of the network.
-		 * @param labelModule - Label module.
-		 */
-		function CubicBezierEdgeBase(options, body, labelModule) {
-			_classCallCheck(this, CubicBezierEdgeBase);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/**
-		 * Calculate the distance between a point (x3,y3) and a line segment from (x1,y1) to (x2,y2).
-		 *
-		 * @remarks
-		 * http://stackoverflow.com/questions/849211/shortest-distancae-between-a-point-and-a-line-segment
-		 * https://en.wikipedia.org/wiki/B%C3%A9zier_curve
-		 * @param x1 - First end of the line segment on the x axis.
-		 * @param y1 - First end of the line segment on the y axis.
-		 * @param x2 - Second end of the line segment on the x axis.
-		 * @param y2 - Second end of the line segment on the y axis.
-		 * @param x3 - Position of the point on the x axis.
-		 * @param y3 - Position of the point on the y axis.
-		 * @param via1 - The first point this edge passes through.
-		 * @param via2 - The second point this edge passes through.
-		 * @returns The distance between the line segment and the point.
-		 */
-
-
-		_createClass(CubicBezierEdgeBase, [{
-			key: "_getDistanceToBezierEdge2",
-			value: function _getDistanceToBezierEdge2(x1, y1, x2, y2, x3, y3, via1, via2) {
-				// x3,y3 is the point
-				var minDistance = 1e9;
-				var lastX = x1;
-				var lastY = y1;
-				var vec = [0, 0, 0, 0];
-
-				for (var i = 1; i < 10; i++) {
-					var t = 0.1 * i;
-					vec[0] = Math.pow(1 - t, 3);
-					vec[1] = 3 * t * Math.pow(1 - t, 2);
-					vec[2] = 3 * Math.pow(t, 2) * (1 - t);
-					vec[3] = Math.pow(t, 3);
-					var x = vec[0] * x1 + vec[1] * via1.x + vec[2] * via2.x + vec[3] * x2;
-					var y = vec[0] * y1 + vec[1] * via1.y + vec[2] * via2.y + vec[3] * y2;
-
-					if (i > 0) {
-						var distance = this._getDistanceToLine(lastX, lastY, x, y, x3, y3);
-
-						minDistance = distance < minDistance ? distance : minDistance;
-					}
-
-					lastX = x;
-					lastY = y;
-				}
-
-				return minDistance;
-			}
-		}]);
-
-		return CubicBezierEdgeBase;
-	}(BezierEdgeBase);
-
-	function _createSuper$5(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$5(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$5() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Cubic Bezier Edge. Bezier curves are used to model smooth gradual curves in paths between nodes.
-	 */
-
-	var CubicBezierEdge = /*#__PURE__*/function (_CubicBezierEdgeBase) {
-		_inherits(CubicBezierEdge, _CubicBezierEdgeBase);
-
-		var _super = _createSuper$5(CubicBezierEdge);
-
-		/**
-		 * Create a new instance.
-		 *
-		 * @param options - The options object of given edge.
-		 * @param body - The body of the network.
-		 * @param labelModule - Label module.
-		 */
-		function CubicBezierEdge(options, body, labelModule) {
-			_classCallCheck(this, CubicBezierEdge);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/** @inheritDoc */
-
-
-		_createClass(CubicBezierEdge, [{
-			key: "_line",
-			value: function _line(ctx, values, viaNodes) {
-				// get the coordinates of the support points.
-				var via1 = viaNodes[0];
-				var via2 = viaNodes[1];
-
-				this._bezierCurve(ctx, values, via1, via2);
-			}
-			/**
-			 * Compute the additional points the edge passes through.
-			 *
-			 * @returns Cartesian coordinates of the points the edge passes through.
-			 */
-
-		}, {
-			key: "_getViaCoordinates",
-			value: function _getViaCoordinates() {
-				var dx = this.from.x - this.to.x;
-				var dy = this.from.y - this.to.y;
-				var x1;
-				var y1;
-				var x2;
-				var y2;
-				var roundness = this.options.smooth.roundness; // horizontal if x > y or if direction is forced or if direction is horizontal
-
-				if ((Math.abs(dx) > Math.abs(dy) || this.options.smooth.forceDirection === true || this.options.smooth.forceDirection === "horizontal") && this.options.smooth.forceDirection !== "vertical") {
-					y1 = this.from.y;
-					y2 = this.to.y;
-					x1 = this.from.x - roundness * dx;
-					x2 = this.to.x + roundness * dx;
-				} else {
-					y1 = this.from.y - roundness * dy;
-					y2 = this.to.y + roundness * dy;
-					x1 = this.from.x;
-					x2 = this.to.x;
-				}
-
-				return [{
-					x: x1,
-					y: y1
-				}, {
-					x: x2,
-					y: y2
-				}];
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getViaNode",
-			value: function getViaNode() {
-				return this._getViaCoordinates();
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "_findBorderPosition",
-			value: function _findBorderPosition(nearNode, ctx) {
-				return this._findBorderPositionBezier(nearNode, ctx);
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "_getDistanceToEdge",
-			value: function _getDistanceToEdge(x1, y1, x2, y2, x3, y3) {
-				var _ref = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : this._getViaCoordinates(),
-					_ref2 = _slicedToArray(_ref, 2),
-					via1 = _ref2[0],
-					via2 = _ref2[1];
-
-				// x3,y3 is the point
-				return this._getDistanceToBezierEdge2(x1, y1, x2, y2, x3, y3, via1, via2);
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getPoint",
-			value: function getPoint(position) {
-				var _ref3 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this._getViaCoordinates(),
-					_ref4 = _slicedToArray(_ref3, 2),
-					via1 = _ref4[0],
-					via2 = _ref4[1];
-
-				var t = position;
-				var vec = [Math.pow(1 - t, 3), 3 * t * Math.pow(1 - t, 2), 3 * Math.pow(t, 2) * (1 - t), Math.pow(t, 3)];
-				var x = vec[0] * this.fromPoint.x + vec[1] * via1.x + vec[2] * via2.x + vec[3] * this.toPoint.x;
-				var y = vec[0] * this.fromPoint.y + vec[1] * via1.y + vec[2] * via2.y + vec[3] * this.toPoint.y;
-				return {
-					x: x,
-					y: y
-				};
-			}
-		}]);
-
-		return CubicBezierEdge;
-	}(CubicBezierEdgeBase);
-
-	function _createSuper$4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$4(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$4() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Straight Edge.
-	 */
-
-	var StraightEdge = /*#__PURE__*/function (_EdgeBase) {
-		_inherits(StraightEdge, _EdgeBase);
-
-		var _super = _createSuper$4(StraightEdge);
-
-		/**
-		 * Create a new instance.
-		 *
-		 * @param options - The options object of given edge.
-		 * @param body - The body of the network.
-		 * @param labelModule - Label module.
-		 */
-		function StraightEdge(options, body, labelModule) {
-			_classCallCheck(this, StraightEdge);
-
-			return _super.call(this, options, body, labelModule);
-		}
-		/** @inheritDoc */
-
-
-		_createClass(StraightEdge, [{
-			key: "_line",
-			value: function _line(ctx, values) {
-				// draw a straight line
-				ctx.beginPath();
-				ctx.moveTo(this.fromPoint.x, this.fromPoint.y);
-				ctx.lineTo(this.toPoint.x, this.toPoint.y); // draw shadow if enabled
-
-				this.enableShadow(ctx, values);
-				ctx.stroke();
-				this.disableShadow(ctx, values);
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getViaNode",
-			value: function getViaNode() {
-				return undefined;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getPoint",
-			value: function getPoint(position) {
-				return {
-					x: (1 - position) * this.fromPoint.x + position * this.toPoint.x,
-					y: (1 - position) * this.fromPoint.y + position * this.toPoint.y
-				};
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "_findBorderPosition",
-			value: function _findBorderPosition(nearNode, ctx) {
-				var node1 = this.to;
-				var node2 = this.from;
-
-				if (nearNode.id === this.from.id) {
-					node1 = this.from;
-					node2 = this.to;
-				}
-
-				var angle = Math.atan2(node1.y - node2.y, node1.x - node2.x);
-				var dx = node1.x - node2.x;
-				var dy = node1.y - node2.y;
-				var edgeSegmentLength = Math.sqrt(dx * dx + dy * dy);
-				var toBorderDist = nearNode.distanceToBorder(ctx, angle);
-				var toBorderPoint = (edgeSegmentLength - toBorderDist) / edgeSegmentLength;
-				return {
-					x: (1 - toBorderPoint) * node2.x + toBorderPoint * node1.x,
-					y: (1 - toBorderPoint) * node2.y + toBorderPoint * node1.y,
-					t: 0
-				};
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "_getDistanceToEdge",
-			value: function _getDistanceToEdge(x1, y1, x2, y2, x3, y3) {
-				// x3,y3 is the point
-				return this._getDistanceToLine(x1, y1, x2, y2, x3, y3);
-			}
-		}]);
-
-		return StraightEdge;
-	}(EdgeBase);
-
-	/**
-	 * An edge connects two nodes and has a specific direction.
-	 */
-
-	var Edge = /*#__PURE__*/function () {
-		/**
-		 * @param {object} options        values specific to this edge, must contain at least 'from' and 'to'
-		 * @param {object} body           shared state from Network instance
-		 * @param {Network.Images} imagelist  A list with images. Only needed when the edge has image arrows.
-		 * @param {object} globalOptions  options from the EdgesHandler instance
-		 * @param {object} defaultOptions default options from the EdgeHandler instance. Value and reference are constant
-		 */
-		function Edge(options, body, imagelist, globalOptions, defaultOptions) {
-			_classCallCheck(this, Edge);
-
-			if (body === undefined) {
-				throw new Error("No body provided");
-			} // Since globalOptions is constant in values as well as reference,
-			// Following needs to be done only once.
-
-
-			this.options = bridgeObject(globalOptions);
-			this.globalOptions = globalOptions;
-			this.defaultOptions = defaultOptions;
-			this.body = body;
-			this.imagelist = imagelist; // initialize variables
-
-			this.id = undefined;
-			this.fromId = undefined;
-			this.toId = undefined;
-			this.selected = false;
-			this.hover = false;
-			this.labelDirty = true;
-			this.baseWidth = this.options.width;
-			this.baseFontSize = this.options.font.size;
-			this.from = undefined; // a node
-
-			this.to = undefined; // a node
-
-			this.edgeType = undefined;
-			this.connected = false;
-			this.labelModule = new Label(this.body, this.options, true
-				/* It's an edge label */
-			);
-			this.setOptions(options);
-		}
-		/**
-		 * Set or overwrite options for the edge
-		 *
-		 * @param {object} options  an object with options
-		 * @returns {undefined|boolean} undefined if no options, true if layout affecting data changed, false otherwise.
-		 */
-
-
-		_createClass(Edge, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (!options) {
-					return;
-				} // Following options if changed affect the layout.
-
-
-				var affectsLayout = typeof options.physics !== "undefined" && this.options.physics !== options.physics || typeof options.hidden !== "undefined" && (this.options.hidden || false) !== (options.hidden || false) || typeof options.from !== "undefined" && this.options.from !== options.from || typeof options.to !== "undefined" && this.options.to !== options.to;
-				Edge.parseOptions(this.options, options, true, this.globalOptions);
-
-				if (options.id !== undefined) {
-					this.id = options.id;
-				}
-
-				if (options.from !== undefined) {
-					this.fromId = options.from;
-				}
-
-				if (options.to !== undefined) {
-					this.toId = options.to;
-				}
-
-				if (options.title !== undefined) {
-					this.title = options.title;
-				}
-
-				if (options.value !== undefined) {
-					options.value = _parseFloat(options.value);
-				}
-
-				var pile = [options, this.options, this.defaultOptions];
-				this.chooser = choosify("edge", pile); // update label Module
-
-				this.updateLabelModule(options); // Update edge type, this if changed affects the layout.
-
-				affectsLayout = this.updateEdgeType() || affectsLayout; // if anything has been updates, reset the selection width and the hover width
-
-				this._setInteractionWidths(); // A node is connected when it has a from and to node that both exist in the network.body.nodes.
-
-
-				this.connect();
-				return affectsLayout;
-			}
-			/**
-			 *
-			 * @param {object} parentOptions
-			 * @param {object} newOptions
-			 * @param {boolean} [allowDeletion=false]
-			 * @param {object} [globalOptions={}]
-			 * @param {boolean} [copyFromGlobals=false]
-			 */
-
-		}, {
-			key: "getFormattingValues",
-			value:
-				/**
-				 *
-				 * @returns {ArrowOptions}
-				 */
-				function getFormattingValues() {
-					var toArrow = this.options.arrows.to === true || this.options.arrows.to.enabled === true;
-					var fromArrow = this.options.arrows.from === true || this.options.arrows.from.enabled === true;
-					var middleArrow = this.options.arrows.middle === true || this.options.arrows.middle.enabled === true;
-					var inheritsColor = this.options.color.inherit;
-					var values = {
-						toArrow: toArrow,
-						toArrowScale: this.options.arrows.to.scaleFactor,
-						toArrowType: this.options.arrows.to.type,
-						toArrowSrc: this.options.arrows.to.src,
-						toArrowImageWidth: this.options.arrows.to.imageWidth,
-						toArrowImageHeight: this.options.arrows.to.imageHeight,
-						middleArrow: middleArrow,
-						middleArrowScale: this.options.arrows.middle.scaleFactor,
-						middleArrowType: this.options.arrows.middle.type,
-						middleArrowSrc: this.options.arrows.middle.src,
-						middleArrowImageWidth: this.options.arrows.middle.imageWidth,
-						middleArrowImageHeight: this.options.arrows.middle.imageHeight,
-						fromArrow: fromArrow,
-						fromArrowScale: this.options.arrows.from.scaleFactor,
-						fromArrowType: this.options.arrows.from.type,
-						fromArrowSrc: this.options.arrows.from.src,
-						fromArrowImageWidth: this.options.arrows.from.imageWidth,
-						fromArrowImageHeight: this.options.arrows.from.imageHeight,
-						arrowStrikethrough: this.options.arrowStrikethrough,
-						color: inheritsColor ? undefined : this.options.color.color,
-						inheritsColor: inheritsColor,
-						opacity: this.options.color.opacity,
-						hidden: this.options.hidden,
-						length: this.options.length,
-						shadow: this.options.shadow.enabled,
-						shadowColor: this.options.shadow.color,
-						shadowSize: this.options.shadow.size,
-						shadowX: this.options.shadow.x,
-						shadowY: this.options.shadow.y,
-						dashes: this.options.dashes,
-						width: this.options.width,
-						background: this.options.background.enabled,
-						backgroundColor: this.options.background.color,
-						backgroundSize: this.options.background.size,
-						backgroundDashes: this.options.background.dashes
-					};
-
-					if (this.selected || this.hover) {
-						if (this.chooser === true) {
-							if (this.selected) {
-								var selectedWidth = this.options.selectionWidth;
-
-								if (typeof selectedWidth === "function") {
-									values.width = selectedWidth(values.width);
-								} else if (typeof selectedWidth === "number") {
-									values.width += selectedWidth;
-								}
-
-								values.width = Math.max(values.width, 0.3 / this.body.view.scale);
-								values.color = this.options.color.highlight;
-								values.shadow = this.options.shadow.enabled;
-							} else if (this.hover) {
-								var hoverWidth = this.options.hoverWidth;
-
-								if (typeof hoverWidth === "function") {
-									values.width = hoverWidth(values.width);
-								} else if (typeof hoverWidth === "number") {
-									values.width += hoverWidth;
-								}
-
-								values.width = Math.max(values.width, 0.3 / this.body.view.scale);
-								values.color = this.options.color.hover;
-								values.shadow = this.options.shadow.enabled;
-							}
-						} else if (typeof this.chooser === "function") {
-							this.chooser(values, this.options.id, this.selected, this.hover);
-
-							if (values.color !== undefined) {
-								values.inheritsColor = false;
-							}
-
-							if (values.shadow === false) {
-								if (values.shadowColor !== this.options.shadow.color || values.shadowSize !== this.options.shadow.size || values.shadowX !== this.options.shadow.x || values.shadowY !== this.options.shadow.y) {
-									values.shadow = true;
-								}
-							}
-						}
-					} else {
-						values.shadow = this.options.shadow.enabled;
-						values.width = Math.max(values.width, 0.3 / this.body.view.scale);
-					}
-
-					return values;
-				}
-			/**
-			 * update the options in the label module
-			 *
-			 * @param {object} options
-			 */
-
-		}, {
-			key: "updateLabelModule",
-			value: function updateLabelModule(options) {
-				var pile = [options, this.options, this.globalOptions, // Currently set global edge options
-					this.defaultOptions];
-				this.labelModule.update(this.options, pile);
-
-				if (this.labelModule.baseSize !== undefined) {
-					this.baseFontSize = this.labelModule.baseSize;
-				}
-			}
-			/**
-			 * update the edge type, set the options
-			 *
-			 * @returns {boolean}
-			 */
-
-		}, {
-			key: "updateEdgeType",
-			value: function updateEdgeType() {
-				var smooth = this.options.smooth;
-				var dataChanged = false;
-				var changeInType = true;
-
-				if (this.edgeType !== undefined) {
-					if (this.edgeType instanceof BezierEdgeDynamic && smooth.enabled === true && smooth.type === "dynamic" || this.edgeType instanceof CubicBezierEdge && smooth.enabled === true && smooth.type === "cubicBezier" || this.edgeType instanceof BezierEdgeStatic && smooth.enabled === true && smooth.type !== "dynamic" && smooth.type !== "cubicBezier" || this.edgeType instanceof StraightEdge && smooth.type.enabled === false) {
-						changeInType = false;
-					}
-
-					if (changeInType === true) {
-						dataChanged = this.cleanup();
-					}
-				}
-
-				if (changeInType === true) {
-					if (smooth.enabled === true) {
-						if (smooth.type === "dynamic") {
-							dataChanged = true;
-							this.edgeType = new BezierEdgeDynamic(this.options, this.body, this.labelModule);
-						} else if (smooth.type === "cubicBezier") {
-							this.edgeType = new CubicBezierEdge(this.options, this.body, this.labelModule);
-						} else {
-							this.edgeType = new BezierEdgeStatic(this.options, this.body, this.labelModule);
-						}
-					} else {
-						this.edgeType = new StraightEdge(this.options, this.body, this.labelModule);
-					}
-				} else {
-					// if nothing changes, we just set the options.
-					this.edgeType.setOptions(this.options);
-				}
-
-				return dataChanged;
-			}
-			/**
-			 * Connect an edge to its nodes
-			 */
-
-		}, {
-			key: "connect",
-			value: function connect() {
-				this.disconnect();
-				this.from = this.body.nodes[this.fromId] || undefined;
-				this.to = this.body.nodes[this.toId] || undefined;
-				this.connected = this.from !== undefined && this.to !== undefined;
-
-				if (this.connected === true) {
-					this.from.attachEdge(this);
-					this.to.attachEdge(this);
-				} else {
-					if (this.from) {
-						this.from.detachEdge(this);
-					}
-
-					if (this.to) {
-						this.to.detachEdge(this);
-					}
-				}
-
-				this.edgeType.connect();
-			}
-			/**
-			 * Disconnect an edge from its nodes
-			 */
-
-		}, {
-			key: "disconnect",
-			value: function disconnect() {
-				if (this.from) {
-					this.from.detachEdge(this);
-					this.from = undefined;
-				}
-
-				if (this.to) {
-					this.to.detachEdge(this);
-					this.to = undefined;
-				}
-
-				this.connected = false;
-			}
-			/**
-			 * get the title of this edge.
-			 *
-			 * @returns {string} title    The title of the edge, or undefined when no title
-			 *                           has been set.
-			 */
-
-		}, {
-			key: "getTitle",
-			value: function getTitle() {
-				return this.title;
-			}
-			/**
-			 * check if this node is selecte
-			 *
-			 * @returns {boolean} selected   True if node is selected, else false
-			 */
-
-		}, {
-			key: "isSelected",
-			value: function isSelected() {
-				return this.selected;
-			}
-			/**
-			 * Retrieve the value of the edge. Can be undefined
-			 *
-			 * @returns {number} value
-			 */
-
-		}, {
-			key: "getValue",
-			value: function getValue() {
-				return this.options.value;
-			}
-			/**
-			 * Adjust the value range of the edge. The edge will adjust it's width
-			 * based on its value.
-			 *
-			 * @param {number} min
-			 * @param {number} max
-			 * @param {number} total
-			 */
-
-		}, {
-			key: "setValueRange",
-			value: function setValueRange(min, max, total) {
-				if (this.options.value !== undefined) {
-					var scale = this.options.scaling.customScalingFunction(min, max, total, this.options.value);
-					var widthDiff = this.options.scaling.max - this.options.scaling.min;
-
-					if (this.options.scaling.label.enabled === true) {
-						var fontDiff = this.options.scaling.label.max - this.options.scaling.label.min;
-						this.options.font.size = this.options.scaling.label.min + scale * fontDiff;
-					}
-
-					this.options.width = this.options.scaling.min + scale * widthDiff;
-				} else {
-					this.options.width = this.baseWidth;
-					this.options.font.size = this.baseFontSize;
-				}
-
-				this._setInteractionWidths();
-
-				this.updateLabelModule();
-			}
-			/**
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_setInteractionWidths",
-			value: function _setInteractionWidths() {
-				if (typeof this.options.hoverWidth === "function") {
-					this.edgeType.hoverWidth = this.options.hoverWidth(this.options.width);
-				} else {
-					this.edgeType.hoverWidth = this.options.hoverWidth + this.options.width;
-				}
-
-				if (typeof this.options.selectionWidth === "function") {
-					this.edgeType.selectionWidth = this.options.selectionWidth(this.options.width);
-				} else {
-					this.edgeType.selectionWidth = this.options.selectionWidth + this.options.width;
-				}
-			}
-			/**
-			 * Redraw a edge
-			 * Draw this edge in the given canvas
-			 * The 2d context of a HTML canvas can be retrieved by canvas.getContext("2d");
-			 *
-			 * @param {CanvasRenderingContext2D}   ctx
-			 */
-
-		}, {
-			key: "draw",
-			value: function draw(ctx) {
-				var values = this.getFormattingValues();
-
-				if (values.hidden) {
-					return;
-				} // get the via node from the edge type
-
-
-				var viaNode = this.edgeType.getViaNode(); // draw line and label
-
-				this.edgeType.drawLine(ctx, values, this.selected, this.hover, viaNode);
-				this.drawLabel(ctx, viaNode);
-			}
-			/**
-			 * Redraw arrows
-			 * Draw this arrows in the given canvas
-			 * The 2d context of a HTML canvas can be retrieved by canvas.getContext("2d");
-			 *
-			 * @param {CanvasRenderingContext2D}   ctx
-			 */
-
-		}, {
-			key: "drawArrows",
-			value: function drawArrows(ctx) {
-				var values = this.getFormattingValues();
-
-				if (values.hidden) {
-					return;
-				} // get the via node from the edge type
-
-
-				var viaNode = this.edgeType.getViaNode();
-				var arrowData = {}; // restore edge targets to defaults
-
-				this.edgeType.fromPoint = this.edgeType.from;
-				this.edgeType.toPoint = this.edgeType.to; // from and to arrows give a different end point for edges. we set them here
-
-				if (values.fromArrow) {
-					arrowData.from = this.edgeType.getArrowData(ctx, "from", viaNode, this.selected, this.hover, values);
-					if (values.arrowStrikethrough === false) this.edgeType.fromPoint = arrowData.from.core;
-
-					if (values.fromArrowSrc) {
-						arrowData.from.image = this.imagelist.load(values.fromArrowSrc);
-					}
-
-					if (values.fromArrowImageWidth) {
-						arrowData.from.imageWidth = values.fromArrowImageWidth;
-					}
-
-					if (values.fromArrowImageHeight) {
-						arrowData.from.imageHeight = values.fromArrowImageHeight;
-					}
-				}
-
-				if (values.toArrow) {
-					arrowData.to = this.edgeType.getArrowData(ctx, "to", viaNode, this.selected, this.hover, values);
-					if (values.arrowStrikethrough === false) this.edgeType.toPoint = arrowData.to.core;
-
-					if (values.toArrowSrc) {
-						arrowData.to.image = this.imagelist.load(values.toArrowSrc);
-					}
-
-					if (values.toArrowImageWidth) {
-						arrowData.to.imageWidth = values.toArrowImageWidth;
-					}
-
-					if (values.toArrowImageHeight) {
-						arrowData.to.imageHeight = values.toArrowImageHeight;
-					}
-				} // the middle arrow depends on the line, which can depend on the to and from arrows so we do this one lastly.
-
-
-				if (values.middleArrow) {
-					arrowData.middle = this.edgeType.getArrowData(ctx, "middle", viaNode, this.selected, this.hover, values);
-
-					if (values.middleArrowSrc) {
-						arrowData.middle.image = this.imagelist.load(values.middleArrowSrc);
-					}
-
-					if (values.middleArrowImageWidth) {
-						arrowData.middle.imageWidth = values.middleArrowImageWidth;
-					}
-
-					if (values.middleArrowImageHeight) {
-						arrowData.middle.imageHeight = values.middleArrowImageHeight;
-					}
-				}
-
-				if (values.fromArrow) {
-					this.edgeType.drawArrowHead(ctx, values, this.selected, this.hover, arrowData.from);
-				}
-
-				if (values.middleArrow) {
-					this.edgeType.drawArrowHead(ctx, values, this.selected, this.hover, arrowData.middle);
-				}
-
-				if (values.toArrow) {
-					this.edgeType.drawArrowHead(ctx, values, this.selected, this.hover, arrowData.to);
-				}
-			}
-			/**
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {Node} viaNode
-			 */
-
-		}, {
-			key: "drawLabel",
-			value: function drawLabel(ctx, viaNode) {
-				if (this.options.label !== undefined) {
-					// set style
-					var node1 = this.from;
-					var node2 = this.to;
-
-					if (this.labelModule.differentState(this.selected, this.hover)) {
-						this.labelModule.getTextSize(ctx, this.selected, this.hover);
-					}
-
-					var point;
-
-					if (node1.id != node2.id) {
-						this.labelModule.pointToSelf = false;
-						point = this.edgeType.getPoint(0.5, viaNode);
-						ctx.save();
-
-						var rotationPoint = this._getRotation(ctx);
-
-						if (rotationPoint.angle != 0) {
-							ctx.translate(rotationPoint.x, rotationPoint.y);
-							ctx.rotate(rotationPoint.angle);
-						} // draw the label
-
-
-						this.labelModule.draw(ctx, point.x, point.y, this.selected, this.hover);
-						/*
-						// Useful debug code: draw a border around the label
-						// This should **not** be enabled in production!
-						var size = this.labelModule.getSize();; // ;; intentional so lint catches it
-						ctx.strokeStyle = "#ff0000";
-						ctx.strokeRect(size.left, size.top, size.width, size.height);
-						// End  debug code
-						*/
-
-						ctx.restore();
-					} else {
-						// Ignore the orientations.
-						this.labelModule.pointToSelf = true; // get circle coordinates
-
-						var coordinates = getSelfRefCoordinates(ctx, this.options.selfReference.angle, this.options.selfReference.size, node1);
-						point = this._pointOnCircle(coordinates.x, coordinates.y, this.options.selfReference.size, this.options.selfReference.angle);
-						this.labelModule.draw(ctx, point.x, point.y, this.selected, this.hover);
-					}
-				}
-			}
-			/**
-			 * Determine all visual elements of this edge instance, in which the given
-			 * point falls within the bounding shape.
-			 *
-			 * @param {point} point
-			 * @returns {Array.<edgeClickItem|edgeLabelClickItem>} list with the items which are on the point
-			 */
-
-		}, {
-			key: "getItemsOnPoint",
-			value: function getItemsOnPoint(point) {
-				var ret = [];
-
-				if (this.labelModule.visible()) {
-					var rotationPoint = this._getRotation();
-
-					if (pointInRect(this.labelModule.getSize(), point, rotationPoint)) {
-						ret.push({
-							edgeId: this.id,
-							labelId: 0
-						});
-					}
-				}
-
-				var obj = {
-					left: point.x,
-					top: point.y
-				};
-
-				if (this.isOverlappingWith(obj)) {
-					ret.push({
-						edgeId: this.id
-					});
-				}
-
-				return ret;
-			}
-			/**
-			 * Check if this object is overlapping with the provided object
-			 *
-			 * @param {object} obj   an object with parameters left, top
-			 * @returns {boolean}     True if location is located on the edge
-			 */
-
-		}, {
-			key: "isOverlappingWith",
-			value: function isOverlappingWith(obj) {
-				if (this.connected) {
-					var distMax = 10;
-					var xFrom = this.from.x;
-					var yFrom = this.from.y;
-					var xTo = this.to.x;
-					var yTo = this.to.y;
-					var xObj = obj.left;
-					var yObj = obj.top;
-					var dist = this.edgeType.getDistanceToEdge(xFrom, yFrom, xTo, yTo, xObj, yObj);
-					return dist < distMax;
-				} else {
-					return false;
-				}
-			}
-			/**
-			 * Determine the rotation point, if any.
-			 *
-			 * @param {CanvasRenderingContext2D} [ctx] if passed, do a recalculation of the label size
-			 * @returns {rotationPoint} the point to rotate around and the angle in radians to rotate
-			 * @private
-			 */
-
-		}, {
-			key: "_getRotation",
-			value: function _getRotation(ctx) {
-				var viaNode = this.edgeType.getViaNode();
-				var point = this.edgeType.getPoint(0.5, viaNode);
-
-				if (ctx !== undefined) {
-					this.labelModule.calculateLabelSize(ctx, this.selected, this.hover, point.x, point.y);
-				}
-
-				var ret = {
-					x: point.x,
-					y: this.labelModule.size.yLine,
-					angle: 0
-				};
-
-				if (!this.labelModule.visible()) {
-					return ret; // Don't even bother doing the atan2, there's nothing to draw
-				}
-
-				if (this.options.font.align === "horizontal") {
-					return ret; // No need to calculate angle
-				}
-
-				var dy = this.from.y - this.to.y;
-				var dx = this.from.x - this.to.x;
-				var angle = Math.atan2(dy, dx); // radians
-				// rotate so that label is readable
-
-				if (angle < -1 && dx < 0 || angle > 0 && dx < 0) {
-					angle += Math.PI;
-				}
-
-				ret.angle = angle;
-				return ret;
-			}
-			/**
-			 * Get a point on a circle
-			 *
-			 * @param {number} x
-			 * @param {number} y
-			 * @param {number} radius
-			 * @param {number} angle
-			 * @returns {object} point
-			 * @private
-			 */
-
-		}, {
-			key: "_pointOnCircle",
-			value: function _pointOnCircle(x, y, radius, angle) {
-				return {
-					x: x + radius * Math.cos(angle),
-					y: y - radius * Math.sin(angle)
-				};
-			}
-			/**
-			 * Sets selected state to true
-			 */
-
-		}, {
-			key: "select",
-			value: function select() {
-				this.selected = true;
-			}
-			/**
-			 * Sets selected state to false
-			 */
-
-		}, {
-			key: "unselect",
-			value: function unselect() {
-				this.selected = false;
-			}
-			/**
-			 * cleans all required things on delete
-			 *
-			 * @returns {*}
-			 */
-
-		}, {
-			key: "cleanup",
-			value: function cleanup() {
-				return this.edgeType.cleanup();
-			}
-			/**
-			 * Remove edge from the list and perform necessary cleanup.
-			 */
-
-		}, {
-			key: "remove",
-			value: function remove() {
-				this.cleanup();
-				this.disconnect();
-				delete this.body.edges[this.id];
-			}
-			/**
-			 * Check if both connecting nodes exist
-			 *
-			 * @returns {boolean}
-			 */
-
-		}, {
-			key: "endPointsValid",
-			value: function endPointsValid() {
-				return this.body.nodes[this.fromId] !== undefined && this.body.nodes[this.toId] !== undefined;
-			}
-		}], [{
-			key: "parseOptions",
-			value: function parseOptions(parentOptions, newOptions) {
-				var allowDeletion = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-				var globalOptions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
-				var copyFromGlobals = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
-				var fields = ["endPointOffset", "arrowStrikethrough", "id", "from", "hidden", "hoverWidth", "labelHighlightBold", "length", "line", "opacity", "physics", "scaling", "selectionWidth", "selfReferenceSize", "selfReference", "to", "title", "value", "width", "font", "chosen", "widthConstraint"]; // only deep extend the items in the field array. These do not have shorthand.
-
-				selectiveDeepExtend(fields, parentOptions, newOptions, allowDeletion); // Only use endPointOffset values (from and to) if it's valid values
-
-				if (newOptions.endPointOffset !== undefined && newOptions.endPointOffset.from !== undefined) {
-					if (_isFinite(newOptions.endPointOffset.from)) {
-						parentOptions.endPointOffset.from = newOptions.endPointOffset.from;
-					} else {
-						parentOptions.endPointOffset.from = globalOptions.endPointOffset.from !== undefined ? globalOptions.endPointOffset.from : 0;
-						console.error("endPointOffset.from is not a valid number");
-					}
-				}
-
-				if (newOptions.endPointOffset !== undefined && newOptions.endPointOffset.to !== undefined) {
-					if (_isFinite(newOptions.endPointOffset.to)) {
-						parentOptions.endPointOffset.to = newOptions.endPointOffset.to;
-					} else {
-						parentOptions.endPointOffset.to = globalOptions.endPointOffset.to !== undefined ? globalOptions.endPointOffset.to : 0;
-						console.error("endPointOffset.to is not a valid number");
-					}
-				} // Only copy label if it's a legal value.
-
-
-				if (isValidLabel(newOptions.label)) {
-					parentOptions.label = newOptions.label;
-				} else if (!isValidLabel(parentOptions.label)) {
-					parentOptions.label = undefined;
-				}
-
-				mergeOptions(parentOptions, newOptions, "smooth", globalOptions);
-				mergeOptions(parentOptions, newOptions, "shadow", globalOptions);
-				mergeOptions(parentOptions, newOptions, "background", globalOptions);
-
-				if (newOptions.dashes !== undefined && newOptions.dashes !== null) {
-					parentOptions.dashes = newOptions.dashes;
-				} else if (allowDeletion === true && newOptions.dashes === null) {
-					parentOptions.dashes = create$5(globalOptions.dashes); // this sets the pointer of the option back to the global option.
-				} // set the scaling newOptions
-
-
-				if (newOptions.scaling !== undefined && newOptions.scaling !== null) {
-					if (newOptions.scaling.min !== undefined) {
-						parentOptions.scaling.min = newOptions.scaling.min;
-					}
-
-					if (newOptions.scaling.max !== undefined) {
-						parentOptions.scaling.max = newOptions.scaling.max;
-					}
-
-					mergeOptions(parentOptions.scaling, newOptions.scaling, "label", globalOptions.scaling);
-				} else if (allowDeletion === true && newOptions.scaling === null) {
-					parentOptions.scaling = create$5(globalOptions.scaling); // this sets the pointer of the option back to the global option.
-				} // handle multiple input cases for arrows
-
-
-				if (newOptions.arrows !== undefined && newOptions.arrows !== null) {
-					if (typeof newOptions.arrows === "string") {
-						var arrows = newOptions.arrows.toLowerCase();
-						parentOptions.arrows.to.enabled = indexOf(arrows).call(arrows, "to") != -1;
-						parentOptions.arrows.middle.enabled = indexOf(arrows).call(arrows, "middle") != -1;
-						parentOptions.arrows.from.enabled = indexOf(arrows).call(arrows, "from") != -1;
-					} else if (_typeof(newOptions.arrows) === "object") {
-						mergeOptions(parentOptions.arrows, newOptions.arrows, "to", globalOptions.arrows);
-						mergeOptions(parentOptions.arrows, newOptions.arrows, "middle", globalOptions.arrows);
-						mergeOptions(parentOptions.arrows, newOptions.arrows, "from", globalOptions.arrows);
-					} else {
-						throw new Error("The arrow newOptions can only be an object or a string. Refer to the documentation. You used:" + stringify$1(newOptions.arrows));
-					}
-				} else if (allowDeletion === true && newOptions.arrows === null) {
-					parentOptions.arrows = create$5(globalOptions.arrows); // this sets the pointer of the option back to the global option.
-				} // handle multiple input cases for color
-
-
-				if (newOptions.color !== undefined && newOptions.color !== null) {
-					var fromColor = isString(newOptions.color) ? {
-						color: newOptions.color,
-						highlight: newOptions.color,
-						hover: newOptions.color,
-						inherit: false,
-						opacity: 1
-					} : newOptions.color;
-					var toColor = parentOptions.color; // If passed, fill in values from default options - required in the case of no prototype bridging
-
-					if (copyFromGlobals) {
-						deepExtend(toColor, globalOptions.color, false, allowDeletion);
-					} else {
-						// Clear local properties - need to do it like this in order to retain prototype bridges
-						for (var i in toColor) {
-							if (Object.prototype.hasOwnProperty.call(toColor, i)) {
-								delete toColor[i];
-							}
-						}
-					}
-
-					if (isString(toColor)) {
-						toColor.color = toColor;
-						toColor.highlight = toColor;
-						toColor.hover = toColor;
-						toColor.inherit = false;
-
-						if (fromColor.opacity === undefined) {
-							toColor.opacity = 1.0; // set default
-						}
-					} else {
-						var colorsDefined = false;
-
-						if (fromColor.color !== undefined) {
-							toColor.color = fromColor.color;
-							colorsDefined = true;
-						}
-
-						if (fromColor.highlight !== undefined) {
-							toColor.highlight = fromColor.highlight;
-							colorsDefined = true;
-						}
-
-						if (fromColor.hover !== undefined) {
-							toColor.hover = fromColor.hover;
-							colorsDefined = true;
-						}
-
-						if (fromColor.inherit !== undefined) {
-							toColor.inherit = fromColor.inherit;
-						}
-
-						if (fromColor.opacity !== undefined) {
-							toColor.opacity = Math.min(1, Math.max(0, fromColor.opacity));
-						}
-
-						if (colorsDefined === true) {
-							toColor.inherit = false;
-						} else {
-							if (toColor.inherit === undefined) {
-								toColor.inherit = "from"; // Set default
-							}
-						}
-					}
-				} else if (allowDeletion === true && newOptions.color === null) {
-					parentOptions.color = bridgeObject(globalOptions.color); // set the object back to the global options
-				}
-
-				if (allowDeletion === true && newOptions.font === null) {
-					parentOptions.font = bridgeObject(globalOptions.font); // set the object back to the global options
-				}
-
-				if (Object.prototype.hasOwnProperty.call(newOptions, "selfReferenceSize")) {
-					console.warn("The selfReferenceSize property has been deprecated. Please use selfReference property instead. The selfReference can be set like thise selfReference:{size:30, angle:Math.PI / 4}");
-					parentOptions.selfReference.size = newOptions.selfReferenceSize;
-				}
-			}
-		}]);
-
-		return Edge;
-	}();
-
-	/**
-	 * Handler for Edges
-	 */
-
-	var EdgesHandler = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {Array.<Image>} images
-		 * @param {Array.<Group>} groups
-		 */
-		function EdgesHandler(body, images, groups) {
-			var _context,
-				_this = this;
-
-			_classCallCheck(this, EdgesHandler);
-
-			this.body = body;
-			this.images = images;
-			this.groups = groups; // create the edge API in the body container
-
-			this.body.functions.createEdge = bind$6(_context = this.create).call(_context, this);
-			this.edgesListeners = {
-				add: function add(event, params) {
-					_this.add(params.items);
-				},
-				update: function update(event, params) {
-					_this.update(params.items);
-				},
-				remove: function remove(event, params) {
-					_this.remove(params.items);
-				}
-			};
-			this.options = {};
-			this.defaultOptions = {
-				arrows: {
-					to: {
-						enabled: false,
-						scaleFactor: 1,
-						type: "arrow"
-					},
-					// boolean / {arrowScaleFactor:1} / {enabled: false, arrowScaleFactor:1}
-					middle: {
-						enabled: false,
-						scaleFactor: 1,
-						type: "arrow"
-					},
-					from: {
-						enabled: false,
-						scaleFactor: 1,
-						type: "arrow"
-					}
-				},
-				endPointOffset: {
-					from: 0,
-					to: 0
-				},
-				arrowStrikethrough: true,
-				color: {
-					color: "#848484",
-					highlight: "#848484",
-					hover: "#848484",
-					inherit: "from",
-					opacity: 1.0
-				},
-				dashes: false,
-				font: {
-					color: "#343434",
-					size: 14,
-					// px
-					face: "arial",
-					background: "none",
-					strokeWidth: 2,
-					// px
-					strokeColor: "#ffffff",
-					align: "horizontal",
-					multi: false,
-					vadjust: 0,
-					bold: {
-						mod: "bold"
-					},
-					boldital: {
-						mod: "bold italic"
-					},
-					ital: {
-						mod: "italic"
-					},
-					mono: {
-						mod: "",
-						size: 15,
-						// px
-						face: "courier new",
-						vadjust: 2
-					}
-				},
-				hidden: false,
-				hoverWidth: 1.5,
-				label: undefined,
-				labelHighlightBold: true,
-				length: undefined,
-				physics: true,
-				scaling: {
-					min: 1,
-					max: 15,
-					label: {
-						enabled: true,
-						min: 14,
-						max: 30,
-						maxVisible: 30,
-						drawThreshold: 5
-					},
-					customScalingFunction: function customScalingFunction(min, max, total, value) {
-						if (max === min) {
-							return 0.5;
-						} else {
-							var scale = 1 / (max - min);
-							return Math.max(0, (value - min) * scale);
-						}
-					}
-				},
-				selectionWidth: 1.5,
-				selfReference: {
-					size: 20,
-					angle: Math.PI / 4,
-					renderBehindTheNode: true
-				},
-				shadow: {
-					enabled: false,
-					color: "rgba(0,0,0,0.5)",
-					size: 10,
-					x: 5,
-					y: 5
-				},
-				background: {
-					enabled: false,
-					color: "rgba(111,111,111,1)",
-					size: 10,
-					dashes: false
-				},
-				smooth: {
-					enabled: true,
-					type: "dynamic",
-					forceDirection: "none",
-					roundness: 0.5
-				},
-				title: undefined,
-				width: 1,
-				value: undefined
-			};
-			deepExtend(this.options, this.defaultOptions);
-			this.bindEventListeners();
-		}
-		/**
-		 * Binds event listeners
-		 */
-
-
-		_createClass(EdgesHandler, [{
-			key: "bindEventListeners",
-			value: function bindEventListeners() {
-				var _this2 = this,
-					_context2,
-					_context3;
-
-				// this allows external modules to force all dynamic curves to turn static.
-				this.body.emitter.on("_forceDisableDynamicCurves", function (type) {
-					var emit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-
-					if (type === "dynamic") {
-						type = "continuous";
-					}
-
-					var dataChanged = false;
-
-					for (var edgeId in _this2.body.edges) {
-						if (Object.prototype.hasOwnProperty.call(_this2.body.edges, edgeId)) {
-							var edge = _this2.body.edges[edgeId];
-
-							var edgeData = _this2.body.data.edges.get(edgeId); // only forcibly remove the smooth curve if the data has been set of the edge has the smooth curves defined.
-							// this is because a change in the global would not affect these curves.
-
-
-							if (edgeData != null) {
-								var smoothOptions = edgeData.smooth;
-
-								if (smoothOptions !== undefined) {
-									if (smoothOptions.enabled === true && smoothOptions.type === "dynamic") {
-										if (type === undefined) {
-											edge.setOptions({
-												smooth: false
-											});
-										} else {
-											edge.setOptions({
-												smooth: {
-													type: type
-												}
-											});
-										}
-
-										dataChanged = true;
-									}
-								}
-							}
-						}
-					}
-
-					if (emit === true && dataChanged === true) {
-						_this2.body.emitter.emit("_dataChanged");
-					}
-				}); // this is called when options of EXISTING nodes or edges have changed.
-				//
-				// NOTE: Not true, called when options have NOT changed, for both existing as well as new nodes.
-				//       See update() for logic.
-				// TODO: Verify and examine the consequences of this. It might still trigger when
-				//       non-option fields have changed, but then reconnecting edges is still useless.
-				//       Alternatively, it might also be called when edges are removed.
-				//
-
-				this.body.emitter.on("_dataUpdated", function () {
-					_this2.reconnectEdges();
-				}); // refresh the edges. Used when reverting from hierarchical layout
-
-				this.body.emitter.on("refreshEdges", bind$6(_context2 = this.refresh).call(_context2, this));
-				this.body.emitter.on("refresh", bind$6(_context3 = this.refresh).call(_context3, this));
-				this.body.emitter.on("destroy", function () {
-					forEach$1(_this2.edgesListeners, function (callback, event) {
-						if (_this2.body.data.edges) _this2.body.data.edges.off(event, callback);
-					});
-					delete _this2.body.functions.createEdge;
-					delete _this2.edgesListeners.add;
-					delete _this2.edgesListeners.update;
-					delete _this2.edgesListeners.remove;
-					delete _this2.edgesListeners;
-				});
-			}
-			/**
-			 *
-			 * @param {object} options
-			 */
-
-		}, {
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (options !== undefined) {
-					// use the parser from the Edge class to fill in all shorthand notations
-					Edge.parseOptions(this.options, options, true, this.defaultOptions, true); // update smooth settings in all edges
-
-					var dataChanged = false;
-
-					if (options.smooth !== undefined) {
-						for (var edgeId in this.body.edges) {
-							if (Object.prototype.hasOwnProperty.call(this.body.edges, edgeId)) {
-								dataChanged = this.body.edges[edgeId].updateEdgeType() || dataChanged;
-							}
-						}
-					} // update fonts in all edges
-
-
-					if (options.font !== undefined) {
-						for (var _edgeId in this.body.edges) {
-							if (Object.prototype.hasOwnProperty.call(this.body.edges, _edgeId)) {
-								this.body.edges[_edgeId].updateLabelModule();
-							}
-						}
-					} // update the state of the variables if needed
-
-
-					if (options.hidden !== undefined || options.physics !== undefined || dataChanged === true) {
-						this.body.emitter.emit("_dataChanged");
-					}
-				}
-			}
-			/**
-			 * Load edges by reading the data table
-			 *
-			 * @param {Array | DataSet | DataView} edges    The data containing the edges.
-			 * @param {boolean} [doNotEmit=false] - Suppress data changed event.
-			 * @private
-			 */
-
-		}, {
-			key: "setData",
-			value: function setData(edges) {
-				var _this3 = this;
-
-				var doNotEmit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-				var oldEdgesData = this.body.data.edges;
-
-				if (isDataViewLike("id", edges)) {
-					this.body.data.edges = edges;
-				} else if (isArray$2(edges)) {
-					this.body.data.edges = new DataSet();
-					this.body.data.edges.add(edges);
-				} else if (!edges) {
-					this.body.data.edges = new DataSet();
-				} else {
-					throw new TypeError("Array or DataSet expected");
-				} // TODO: is this null or undefined or false?
-
-
-				if (oldEdgesData) {
-					// unsubscribe from old dataset
-					forEach$1(this.edgesListeners, function (callback, event) {
-						oldEdgesData.off(event, callback);
-					});
-				} // remove drawn edges
-
-
-				this.body.edges = {}; // TODO: is this null or undefined or false?
-
-				if (this.body.data.edges) {
-					// subscribe to new dataset
-					forEach$1(this.edgesListeners, function (callback, event) {
-						_this3.body.data.edges.on(event, callback);
-					}); // draw all new nodes
-
-					var ids = this.body.data.edges.getIds();
-					this.add(ids, true);
-				}
-
-				this.body.emitter.emit("_adjustEdgesForHierarchicalLayout");
-
-				if (doNotEmit === false) {
-					this.body.emitter.emit("_dataChanged");
-				}
-			}
-			/**
-			 * Add edges
-			 *
-			 * @param {number[] | string[]} ids
-			 * @param {boolean} [doNotEmit=false]
-			 * @private
-			 */
-
-		}, {
-			key: "add",
-			value: function add(ids) {
-				var doNotEmit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-				var edges = this.body.edges;
-				var edgesData = this.body.data.edges;
-
-				for (var i = 0; i < ids.length; i++) {
-					var id = ids[i];
-					var oldEdge = edges[id];
-
-					if (oldEdge) {
-						oldEdge.disconnect();
-					}
-
-					var data = edgesData.get(id, {
-						showInternalIds: true
-					});
-					edges[id] = this.create(data);
-				}
-
-				this.body.emitter.emit("_adjustEdgesForHierarchicalLayout");
-
-				if (doNotEmit === false) {
-					this.body.emitter.emit("_dataChanged");
-				}
-			}
-			/**
-			 * Update existing edges, or create them when not yet existing
-			 *
-			 * @param {number[] | string[]} ids
-			 * @private
-			 */
-
-		}, {
-			key: "update",
-			value: function update(ids) {
-				var edges = this.body.edges;
-				var edgesData = this.body.data.edges;
-				var dataChanged = false;
-
-				for (var i = 0; i < ids.length; i++) {
-					var id = ids[i];
-					var data = edgesData.get(id);
-					var edge = edges[id];
-
-					if (edge !== undefined) {
-						// update edge
-						edge.disconnect();
-						dataChanged = edge.setOptions(data) || dataChanged; // if a support node is added, data can be changed.
-
-						edge.connect();
-					} else {
-						// create edge
-						this.body.edges[id] = this.create(data);
-						dataChanged = true;
-					}
-				}
-
-				if (dataChanged === true) {
-					this.body.emitter.emit("_adjustEdgesForHierarchicalLayout");
-					this.body.emitter.emit("_dataChanged");
-				} else {
-					this.body.emitter.emit("_dataUpdated");
-				}
-			}
-			/**
-			 * Remove existing edges. Non existing ids will be ignored
-			 *
-			 * @param {number[] | string[]} ids
-			 * @param {boolean} [emit=true]
-			 * @private
-			 */
-
-		}, {
-			key: "remove",
-			value: function remove(ids) {
-				var emit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-				if (ids.length === 0) return; // early out
-
-				var edges = this.body.edges;
-				forEach$1(ids, function (id) {
-					var edge = edges[id];
-
-					if (edge !== undefined) {
-						edge.remove();
-					}
-				});
-
-				if (emit) {
-					this.body.emitter.emit("_dataChanged");
-				}
-			}
-			/**
-			 * Refreshes Edge Handler
-			 */
-
-		}, {
-			key: "refresh",
-			value: function refresh() {
-				var _this4 = this;
-
-				forEach$1(this.body.edges, function (edge, edgeId) {
-					var data = _this4.body.data.edges.get(edgeId);
-
-					if (data !== undefined) {
-						edge.setOptions(data);
-					}
-				});
-			}
-			/**
-			 *
-			 * @param {object} properties
-			 * @returns {Edge}
-			 */
-
-		}, {
-			key: "create",
-			value: function create(properties) {
-				return new Edge(properties, this.body, this.images, this.options, this.defaultOptions);
-			}
-			/**
-			 * Reconnect all edges
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "reconnectEdges",
-			value: function reconnectEdges() {
-				var id;
-				var nodes = this.body.nodes;
-				var edges = this.body.edges;
-
-				for (id in nodes) {
-					if (Object.prototype.hasOwnProperty.call(nodes, id)) {
-						nodes[id].edges = [];
-					}
-				}
-
-				for (id in edges) {
-					if (Object.prototype.hasOwnProperty.call(edges, id)) {
-						var edge = edges[id];
-						edge.from = null;
-						edge.to = null;
-						edge.connect();
-					}
-				}
-			}
-			/**
-			 *
-			 * @param {Edge.id} edgeId
-			 * @returns {Array}
-			 */
-
-		}, {
-			key: "getConnectedNodes",
-			value: function getConnectedNodes(edgeId) {
-				var nodeList = [];
-
-				if (this.body.edges[edgeId] !== undefined) {
-					var edge = this.body.edges[edgeId];
-
-					if (edge.fromId !== undefined) {
-						nodeList.push(edge.fromId);
-					}
-
-					if (edge.toId !== undefined) {
-						nodeList.push(edge.toId);
-					}
-				}
-
-				return nodeList;
-			}
-			/**
-			 * There is no direct relation between the nodes and the edges DataSet,
-			 * so the right place to do call this is in the handler for event `_dataUpdated`.
-			 */
-
-		}, {
-			key: "_updateState",
-			value: function _updateState() {
-				this._addMissingEdges();
-
-				this._removeInvalidEdges();
-			}
-			/**
-			 * Scan for missing nodes and remove corresponding edges, if any.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_removeInvalidEdges",
-			value: function _removeInvalidEdges() {
-				var _this5 = this;
-
-				var edgesToDelete = [];
-				forEach$1(this.body.edges, function (edge, id) {
-					var toNode = _this5.body.nodes[edge.toId];
-					var fromNode = _this5.body.nodes[edge.fromId]; // Skip clustering edges here, let the Clustering module handle those
-
-					if (toNode !== undefined && toNode.isCluster === true || fromNode !== undefined && fromNode.isCluster === true) {
-						return;
-					}
-
-					if (toNode === undefined || fromNode === undefined) {
-						edgesToDelete.push(id);
-					}
-				});
-				this.remove(edgesToDelete, false);
-			}
-			/**
-			 * add all edges from dataset that are not in the cached state
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_addMissingEdges",
-			value: function _addMissingEdges() {
-				var edgesData = this.body.data.edges;
-
-				if (edgesData === undefined || edgesData === null) {
-					return; // No edges DataSet yet; can happen on startup
-				}
-
-				var edges = this.body.edges;
-				var addIds = [];
-
-				forEach$2(edgesData).call(edgesData, function (edgeData, edgeId) {
-					var edge = edges[edgeId];
-
-					if (edge === undefined) {
-						addIds.push(edgeId);
-					}
-				});
-
-				this.add(addIds, true);
-			}
-		}]);
-
-		return EdgesHandler;
-	}();
-
-	/**
-	 * Barnes Hut Solver
-	 */
-
-	var BarnesHutSolver = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {{physicsNodeIndices: Array, physicsEdgeIndices: Array, forces: {}, velocities: {}}} physicsBody
-		 * @param {object} options
-		 */
-		function BarnesHutSolver(body, physicsBody, options) {
-			_classCallCheck(this, BarnesHutSolver);
-
-			this.body = body;
-			this.physicsBody = physicsBody;
-			this.barnesHutTree;
-			this.setOptions(options);
-			this._rng = Alea("BARNES HUT SOLVER"); // debug: show grid
-			// this.body.emitter.on("afterDrawing", (ctx) => {this._debug(ctx,'#ff0000')})
-		}
-		/**
-		 *
-		 * @param {object} options
-		 */
-
-
-		_createClass(BarnesHutSolver, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				this.options = options;
-				this.thetaInversed = 1 / this.options.theta; // if 1 then min distance = 0.5, if 0.5 then min distance = 0.5 + 0.5*node.shape.radius
-
-				this.overlapAvoidanceFactor = 1 - Math.max(0, Math.min(1, this.options.avoidOverlap));
-			}
-			/**
-			 * This function calculates the forces the nodes apply on each other based on a gravitational model.
-			 * The Barnes Hut method is used to speed up this N-body simulation.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "solve",
-			value: function solve() {
-				if (this.options.gravitationalConstant !== 0 && this.physicsBody.physicsNodeIndices.length > 0) {
-					var node;
-					var nodes = this.body.nodes;
-					var nodeIndices = this.physicsBody.physicsNodeIndices;
-					var nodeCount = nodeIndices.length; // create the tree
-
-					var barnesHutTree = this._formBarnesHutTree(nodes, nodeIndices); // for debugging
-
-
-					this.barnesHutTree = barnesHutTree; // place the nodes one by one recursively
-
-					for (var i = 0; i < nodeCount; i++) {
-						node = nodes[nodeIndices[i]];
-
-						if (node.options.mass > 0) {
-							// starting with root is irrelevant, it never passes the BarnesHutSolver condition
-							this._getForceContributions(barnesHutTree.root, node);
-						}
-					}
-				}
-			}
-			/**
-			 * @param {object} parentBranch
-			 * @param {Node} node
-			 * @private
-			 */
-
-		}, {
-			key: "_getForceContributions",
-			value: function _getForceContributions(parentBranch, node) {
-				this._getForceContribution(parentBranch.children.NW, node);
-
-				this._getForceContribution(parentBranch.children.NE, node);
-
-				this._getForceContribution(parentBranch.children.SW, node);
-
-				this._getForceContribution(parentBranch.children.SE, node);
-			}
-			/**
-			 * This function traverses the barnesHutTree. It checks when it can approximate distant nodes with their center of mass.
-			 * If a region contains a single node, we check if it is not itself, then we apply the force.
-			 *
-			 * @param {object} parentBranch
-			 * @param {Node} node
-			 * @private
-			 */
-
-		}, {
-			key: "_getForceContribution",
-			value: function _getForceContribution(parentBranch, node) {
-				// we get no force contribution from an empty region
-				if (parentBranch.childrenCount > 0) {
-					// get the distance from the center of mass to the node.
-					var dx = parentBranch.centerOfMass.x - node.x;
-					var dy = parentBranch.centerOfMass.y - node.y;
-					var distance = Math.sqrt(dx * dx + dy * dy); // BarnesHutSolver condition
-					// original condition : s/d < theta = passed  ===  d/s > 1/theta = passed
-					// calcSize = 1/s --> d * 1/s > 1/theta = passed
-
-					if (distance * parentBranch.calcSize > this.thetaInversed) {
-						this._calculateForces(distance, dx, dy, node, parentBranch);
-					} else {
-						// Did not pass the condition, go into children if available
-						if (parentBranch.childrenCount === 4) {
-							this._getForceContributions(parentBranch, node);
-						} else {
-							// parentBranch must have only one node, if it was empty we wouldnt be here
-							if (parentBranch.children.data.id != node.id) {
-								// if it is not self
-								this._calculateForces(distance, dx, dy, node, parentBranch);
-							}
-						}
-					}
-				}
-			}
-			/**
-			 * Calculate the forces based on the distance.
-			 *
-			 * @param {number} distance
-			 * @param {number} dx
-			 * @param {number} dy
-			 * @param {Node} node
-			 * @param {object} parentBranch
-			 * @private
-			 */
-
-		}, {
-			key: "_calculateForces",
-			value: function _calculateForces(distance, dx, dy, node, parentBranch) {
-				if (distance === 0) {
-					distance = 0.1;
-					dx = distance;
-				}
-
-				if (this.overlapAvoidanceFactor < 1 && node.shape.radius) {
-					distance = Math.max(0.1 + this.overlapAvoidanceFactor * node.shape.radius, distance - node.shape.radius);
-				} // the dividing by the distance cubed instead of squared allows us to get the fx and fy components without sines and cosines
-				// it is shorthand for gravityforce with distance squared and fx = dx/distance * gravityForce
-
-
-				var gravityForce = this.options.gravitationalConstant * parentBranch.mass * node.options.mass / Math.pow(distance, 3);
-				var fx = dx * gravityForce;
-				var fy = dy * gravityForce;
-				this.physicsBody.forces[node.id].x += fx;
-				this.physicsBody.forces[node.id].y += fy;
-			}
-			/**
-			 * This function constructs the barnesHut tree recursively. It creates the root, splits it and starts placing the nodes.
-			 *
-			 * @param {Array.<Node>} nodes
-			 * @param {Array.<number>} nodeIndices
-			 * @returns {{root: {centerOfMass: {x: number, y: number}, mass: number, range: {minX: number, maxX: number, minY: number, maxY: number}, size: number, calcSize: number, children: {data: null}, maxWidth: number, level: number, childrenCount: number}}} BarnesHutTree
-			 * @private
-			 */
-
-		}, {
-			key: "_formBarnesHutTree",
-			value: function _formBarnesHutTree(nodes, nodeIndices) {
-				var node;
-				var nodeCount = nodeIndices.length;
-				var minX = nodes[nodeIndices[0]].x;
-				var minY = nodes[nodeIndices[0]].y;
-				var maxX = nodes[nodeIndices[0]].x;
-				var maxY = nodes[nodeIndices[0]].y; // get the range of the nodes
-
-				for (var i = 1; i < nodeCount; i++) {
-					var _node = nodes[nodeIndices[i]];
-					var x = _node.x;
-					var y = _node.y;
-
-					if (_node.options.mass > 0) {
-						if (x < minX) {
-							minX = x;
-						}
-
-						if (x > maxX) {
-							maxX = x;
-						}
-
-						if (y < minY) {
-							minY = y;
-						}
-
-						if (y > maxY) {
-							maxY = y;
-						}
-					}
-				} // make the range a square
-
-
-				var sizeDiff = Math.abs(maxX - minX) - Math.abs(maxY - minY); // difference between X and Y
-
-				if (sizeDiff > 0) {
-					minY -= 0.5 * sizeDiff;
-					maxY += 0.5 * sizeDiff;
-				} // xSize > ySize
-				else {
-					minX += 0.5 * sizeDiff;
-					maxX -= 0.5 * sizeDiff;
-				} // xSize < ySize
-
-
-				var minimumTreeSize = 1e-5;
-				var rootSize = Math.max(minimumTreeSize, Math.abs(maxX - minX));
-				var halfRootSize = 0.5 * rootSize;
-				var centerX = 0.5 * (minX + maxX),
-					centerY = 0.5 * (minY + maxY); // construct the barnesHutTree
-
-				var barnesHutTree = {
-					root: {
-						centerOfMass: {
-							x: 0,
-							y: 0
-						},
-						mass: 0,
-						range: {
-							minX: centerX - halfRootSize,
-							maxX: centerX + halfRootSize,
-							minY: centerY - halfRootSize,
-							maxY: centerY + halfRootSize
-						},
-						size: rootSize,
-						calcSize: 1 / rootSize,
-						children: {
-							data: null
-						},
-						maxWidth: 0,
-						level: 0,
-						childrenCount: 4
-					}
-				};
-
-				this._splitBranch(barnesHutTree.root); // place the nodes one by one recursively
-
-
-				for (var _i = 0; _i < nodeCount; _i++) {
-					node = nodes[nodeIndices[_i]];
-
-					if (node.options.mass > 0) {
-						this._placeInTree(barnesHutTree.root, node);
-					}
-				} // make global
-
-
-				return barnesHutTree;
-			}
-			/**
-			 * this updates the mass of a branch. this is increased by adding a node.
-			 *
-			 * @param {object} parentBranch
-			 * @param {Node} node
-			 * @private
-			 */
-
-		}, {
-			key: "_updateBranchMass",
-			value: function _updateBranchMass(parentBranch, node) {
-				var centerOfMass = parentBranch.centerOfMass;
-				var totalMass = parentBranch.mass + node.options.mass;
-				var totalMassInv = 1 / totalMass;
-				centerOfMass.x = centerOfMass.x * parentBranch.mass + node.x * node.options.mass;
-				centerOfMass.x *= totalMassInv;
-				centerOfMass.y = centerOfMass.y * parentBranch.mass + node.y * node.options.mass;
-				centerOfMass.y *= totalMassInv;
-				parentBranch.mass = totalMass;
-				var biggestSize = Math.max(Math.max(node.height, node.radius), node.width);
-				parentBranch.maxWidth = parentBranch.maxWidth < biggestSize ? biggestSize : parentBranch.maxWidth;
-			}
-			/**
-			 * determine in which branch the node will be placed.
-			 *
-			 * @param {object} parentBranch
-			 * @param {Node} node
-			 * @param {boolean} skipMassUpdate
-			 * @private
-			 */
-
-		}, {
-			key: "_placeInTree",
-			value: function _placeInTree(parentBranch, node, skipMassUpdate) {
-				if (skipMassUpdate != true || skipMassUpdate === undefined) {
-					// update the mass of the branch.
-					this._updateBranchMass(parentBranch, node);
-				}
-
-				var range = parentBranch.children.NW.range;
-				var region;
-
-				if (range.maxX > node.x) {
-					// in NW or SW
-					if (range.maxY > node.y) {
-						region = "NW";
-					} else {
-						region = "SW";
-					}
-				} else {
-					// in NE or SE
-					if (range.maxY > node.y) {
-						region = "NE";
-					} else {
-						region = "SE";
-					}
-				}
-
-				this._placeInRegion(parentBranch, node, region);
-			}
-			/**
-			 * actually place the node in a region (or branch)
-			 *
-			 * @param {object} parentBranch
-			 * @param {Node} node
-			 * @param {'NW'| 'NE' | 'SW' | 'SE'} region
-			 * @private
-			 */
-
-		}, {
-			key: "_placeInRegion",
-			value: function _placeInRegion(parentBranch, node, region) {
-				var children = parentBranch.children[region];
-
-				switch (children.childrenCount) {
-					case 0:
-						// place node here
-						children.children.data = node;
-						children.childrenCount = 1;
-
-						this._updateBranchMass(children, node);
-
-						break;
-
-					case 1:
-						// convert into children
-						// if there are two nodes exactly overlapping (on init, on opening of cluster etc.)
-						// we move one node a little bit and we do not put it in the tree.
-						if (children.children.data.x === node.x && children.children.data.y === node.y) {
-							node.x += this._rng();
-							node.y += this._rng();
-						} else {
-							this._splitBranch(children);
-
-							this._placeInTree(children, node);
-						}
-
-						break;
-
-					case 4:
-						// place in branch
-						this._placeInTree(children, node);
-
-						break;
-				}
-			}
-			/**
-			 * this function splits a branch into 4 sub branches. If the branch contained a node, we place it in the subbranch
-			 * after the split is complete.
-			 *
-			 * @param {object} parentBranch
-			 * @private
-			 */
-
-		}, {
-			key: "_splitBranch",
-			value: function _splitBranch(parentBranch) {
-				// if the branch is shaded with a node, replace the node in the new subset.
-				var containedNode = null;
-
-				if (parentBranch.childrenCount === 1) {
-					containedNode = parentBranch.children.data;
-					parentBranch.mass = 0;
-					parentBranch.centerOfMass.x = 0;
-					parentBranch.centerOfMass.y = 0;
-				}
-
-				parentBranch.childrenCount = 4;
-				parentBranch.children.data = null;
-
-				this._insertRegion(parentBranch, "NW");
-
-				this._insertRegion(parentBranch, "NE");
-
-				this._insertRegion(parentBranch, "SW");
-
-				this._insertRegion(parentBranch, "SE");
-
-				if (containedNode != null) {
-					this._placeInTree(parentBranch, containedNode);
-				}
-			}
-			/**
-			 * This function subdivides the region into four new segments.
-			 * Specifically, this inserts a single new segment.
-			 * It fills the children section of the parentBranch
-			 *
-			 * @param {object} parentBranch
-			 * @param {'NW'| 'NE' | 'SW' | 'SE'} region
-			 * @private
-			 */
-
-		}, {
-			key: "_insertRegion",
-			value: function _insertRegion(parentBranch, region) {
-				var minX, maxX, minY, maxY;
-				var childSize = 0.5 * parentBranch.size;
-
-				switch (region) {
-					case "NW":
-						minX = parentBranch.range.minX;
-						maxX = parentBranch.range.minX + childSize;
-						minY = parentBranch.range.minY;
-						maxY = parentBranch.range.minY + childSize;
-						break;
-
-					case "NE":
-						minX = parentBranch.range.minX + childSize;
-						maxX = parentBranch.range.maxX;
-						minY = parentBranch.range.minY;
-						maxY = parentBranch.range.minY + childSize;
-						break;
-
-					case "SW":
-						minX = parentBranch.range.minX;
-						maxX = parentBranch.range.minX + childSize;
-						minY = parentBranch.range.minY + childSize;
-						maxY = parentBranch.range.maxY;
-						break;
-
-					case "SE":
-						minX = parentBranch.range.minX + childSize;
-						maxX = parentBranch.range.maxX;
-						minY = parentBranch.range.minY + childSize;
-						maxY = parentBranch.range.maxY;
-						break;
-				}
-
-				parentBranch.children[region] = {
-					centerOfMass: {
-						x: 0,
-						y: 0
-					},
-					mass: 0,
-					range: {
-						minX: minX,
-						maxX: maxX,
-						minY: minY,
-						maxY: maxY
-					},
-					size: 0.5 * parentBranch.size,
-					calcSize: 2 * parentBranch.calcSize,
-					children: {
-						data: null
-					},
-					maxWidth: 0,
-					level: parentBranch.level + 1,
-					childrenCount: 0
-				};
-			} //---------------------------  DEBUGGING BELOW  ---------------------------//
-
-			/**
-			 * This function is for debugging purposed, it draws the tree.
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {string} color
-			 * @private
-			 */
-
-		}, {
-			key: "_debug",
-			value: function _debug(ctx, color) {
-				if (this.barnesHutTree !== undefined) {
-					ctx.lineWidth = 1;
-
-					this._drawBranch(this.barnesHutTree.root, ctx, color);
-				}
-			}
-			/**
-			 * This function is for debugging purposes. It draws the branches recursively.
-			 *
-			 * @param {object} branch
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @param {string} color
-			 * @private
-			 */
-
-		}, {
-			key: "_drawBranch",
-			value: function _drawBranch(branch, ctx, color) {
-				if (color === undefined) {
-					color = "#FF0000";
-				}
-
-				if (branch.childrenCount === 4) {
-					this._drawBranch(branch.children.NW, ctx);
-
-					this._drawBranch(branch.children.NE, ctx);
-
-					this._drawBranch(branch.children.SE, ctx);
-
-					this._drawBranch(branch.children.SW, ctx);
-				}
-
-				ctx.strokeStyle = color;
-				ctx.beginPath();
-				ctx.moveTo(branch.range.minX, branch.range.minY);
-				ctx.lineTo(branch.range.maxX, branch.range.minY);
-				ctx.stroke();
-				ctx.beginPath();
-				ctx.moveTo(branch.range.maxX, branch.range.minY);
-				ctx.lineTo(branch.range.maxX, branch.range.maxY);
-				ctx.stroke();
-				ctx.beginPath();
-				ctx.moveTo(branch.range.maxX, branch.range.maxY);
-				ctx.lineTo(branch.range.minX, branch.range.maxY);
-				ctx.stroke();
-				ctx.beginPath();
-				ctx.moveTo(branch.range.minX, branch.range.maxY);
-				ctx.lineTo(branch.range.minX, branch.range.minY);
-				ctx.stroke();
-				/*
-				 if (branch.mass > 0) {
-				 ctx.circle(branch.centerOfMass.x, branch.centerOfMass.y, 3*branch.mass);
-				 ctx.stroke();
-				 }
-				 */
-			}
-		}]);
-
-		return BarnesHutSolver;
-	}();
-
-	/**
-	 * Repulsion Solver
-	 */
-
-	var RepulsionSolver = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {{physicsNodeIndices: Array, physicsEdgeIndices: Array, forces: {}, velocities: {}}} physicsBody
-		 * @param {object} options
-		 */
-		function RepulsionSolver(body, physicsBody, options) {
-			_classCallCheck(this, RepulsionSolver);
-
-			this._rng = Alea("REPULSION SOLVER");
-			this.body = body;
-			this.physicsBody = physicsBody;
-			this.setOptions(options);
-		}
-		/**
-		 *
-		 * @param {object} options
-		 */
-
-
-		_createClass(RepulsionSolver, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				this.options = options;
-			}
-			/**
-			 * Calculate the forces the nodes apply on each other based on a repulsion field.
-			 * This field is linearly approximated.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "solve",
-			value: function solve() {
-				var dx, dy, distance, fx, fy, repulsingForce, node1, node2;
-				var nodes = this.body.nodes;
-				var nodeIndices = this.physicsBody.physicsNodeIndices;
-				var forces = this.physicsBody.forces; // repulsing forces between nodes
-
-				var nodeDistance = this.options.nodeDistance; // approximation constants
-
-				var a = -2 / 3 / nodeDistance;
-				var b = 4 / 3; // we loop from i over all but the last entree in the array
-				// j loops from i+1 to the last. This way we do not double count any of the indices, nor i === j
-
-				for (var i = 0; i < nodeIndices.length - 1; i++) {
-					node1 = nodes[nodeIndices[i]];
-
-					for (var j = i + 1; j < nodeIndices.length; j++) {
-						node2 = nodes[nodeIndices[j]];
-						dx = node2.x - node1.x;
-						dy = node2.y - node1.y;
-						distance = Math.sqrt(dx * dx + dy * dy); // same condition as BarnesHutSolver, making sure nodes are never 100% overlapping.
-
-						if (distance === 0) {
-							distance = 0.1 * this._rng();
-							dx = distance;
-						}
-
-						if (distance < 2 * nodeDistance) {
-							if (distance < 0.5 * nodeDistance) {
-								repulsingForce = 1.0;
-							} else {
-								repulsingForce = a * distance + b; // linear approx of  1 / (1 + Math.exp((distance / nodeDistance - 1) * steepness))
-							}
-
-							repulsingForce = repulsingForce / distance;
-							fx = dx * repulsingForce;
-							fy = dy * repulsingForce;
-							forces[node1.id].x -= fx;
-							forces[node1.id].y -= fy;
-							forces[node2.id].x += fx;
-							forces[node2.id].y += fy;
-						}
-					}
-				}
-			}
-		}]);
-
-		return RepulsionSolver;
-	}();
-
-	/**
-	 * Hierarchical Repulsion Solver
-	 */
-	var HierarchicalRepulsionSolver = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {{physicsNodeIndices: Array, physicsEdgeIndices: Array, forces: {}, velocities: {}}} physicsBody
-		 * @param {object} options
-		 */
-		function HierarchicalRepulsionSolver(body, physicsBody, options) {
-			_classCallCheck(this, HierarchicalRepulsionSolver);
-
-			this.body = body;
-			this.physicsBody = physicsBody;
-			this.setOptions(options);
-		}
-		/**
-		 *
-		 * @param {object} options
-		 */
-
-
-		_createClass(HierarchicalRepulsionSolver, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				this.options = options;
-				this.overlapAvoidanceFactor = Math.max(0, Math.min(1, this.options.avoidOverlap || 0));
-			}
-			/**
-			 * Calculate the forces the nodes apply on each other based on a repulsion field.
-			 * This field is linearly approximated.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "solve",
-			value: function solve() {
-				var nodes = this.body.nodes;
-				var nodeIndices = this.physicsBody.physicsNodeIndices;
-				var forces = this.physicsBody.forces; // repulsing forces between nodes
-
-				var nodeDistance = this.options.nodeDistance; // we loop from i over all but the last entree in the array
-				// j loops from i+1 to the last. This way we do not double count any of the indices, nor i === j
-
-				for (var i = 0; i < nodeIndices.length - 1; i++) {
-					var node1 = nodes[nodeIndices[i]];
-
-					for (var j = i + 1; j < nodeIndices.length; j++) {
-						var node2 = nodes[nodeIndices[j]]; // nodes only affect nodes on their level
-
-						if (node1.level === node2.level) {
-							var theseNodesDistance = nodeDistance + this.overlapAvoidanceFactor * ((node1.shape.radius || 0) / 2 + (node2.shape.radius || 0) / 2);
-							var dx = node2.x - node1.x;
-							var dy = node2.y - node1.y;
-							var distance = Math.sqrt(dx * dx + dy * dy);
-							var steepness = 0.05;
-							var repulsingForce = void 0;
-
-							if (distance < theseNodesDistance) {
-								repulsingForce = -Math.pow(steepness * distance, 2) + Math.pow(steepness * theseNodesDistance, 2);
-							} else {
-								repulsingForce = 0;
-							} // normalize force with
-
-
-							if (distance !== 0) {
-								repulsingForce = repulsingForce / distance;
-							}
-
-							var fx = dx * repulsingForce;
-							var fy = dy * repulsingForce;
-							forces[node1.id].x -= fx;
-							forces[node1.id].y -= fy;
-							forces[node2.id].x += fx;
-							forces[node2.id].y += fy;
-						}
-					}
-				}
-			}
-		}]);
-
-		return HierarchicalRepulsionSolver;
-	}();
-
-	/**
-	 * Spring Solver
-	 */
-	var SpringSolver = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {{physicsNodeIndices: Array, physicsEdgeIndices: Array, forces: {}, velocities: {}}} physicsBody
-		 * @param {object} options
-		 */
-		function SpringSolver(body, physicsBody, options) {
-			_classCallCheck(this, SpringSolver);
-
-			this.body = body;
-			this.physicsBody = physicsBody;
-			this.setOptions(options);
-		}
-		/**
-		 *
-		 * @param {object} options
-		 */
-
-
-		_createClass(SpringSolver, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				this.options = options;
-			}
-			/**
-			 * This function calculates the springforces on the nodes, accounting for the support nodes.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "solve",
-			value: function solve() {
-				var edgeLength, edge;
-				var edgeIndices = this.physicsBody.physicsEdgeIndices;
-				var edges = this.body.edges;
-				var node1, node2, node3; // forces caused by the edges, modelled as springs
-
-				for (var i = 0; i < edgeIndices.length; i++) {
-					edge = edges[edgeIndices[i]];
-
-					if (edge.connected === true && edge.toId !== edge.fromId) {
-						// only calculate forces if nodes are in the same sector
-						if (this.body.nodes[edge.toId] !== undefined && this.body.nodes[edge.fromId] !== undefined) {
-							if (edge.edgeType.via !== undefined) {
-								edgeLength = edge.options.length === undefined ? this.options.springLength : edge.options.length;
-								node1 = edge.to;
-								node2 = edge.edgeType.via;
-								node3 = edge.from;
-
-								this._calculateSpringForce(node1, node2, 0.5 * edgeLength);
-
-								this._calculateSpringForce(node2, node3, 0.5 * edgeLength);
-							} else {
-								// the * 1.5 is here so the edge looks as large as a smooth edge. It does not initially because the smooth edges use
-								// the support nodes which exert a repulsive force on the to and from nodes, making the edge appear larger.
-								edgeLength = edge.options.length === undefined ? this.options.springLength * 1.5 : edge.options.length;
-
-								this._calculateSpringForce(edge.from, edge.to, edgeLength);
-							}
-						}
-					}
-				}
-			}
-			/**
-			 * This is the code actually performing the calculation for the function above.
-			 *
-			 * @param {Node} node1
-			 * @param {Node} node2
-			 * @param {number} edgeLength
-			 * @private
-			 */
-
-		}, {
-			key: "_calculateSpringForce",
-			value: function _calculateSpringForce(node1, node2, edgeLength) {
-				var dx = node1.x - node2.x;
-				var dy = node1.y - node2.y;
-				var distance = Math.max(Math.sqrt(dx * dx + dy * dy), 0.01); // the 1/distance is so the fx and fy can be calculated without sine or cosine.
-
-				var springForce = this.options.springConstant * (edgeLength - distance) / distance;
-				var fx = dx * springForce;
-				var fy = dy * springForce; // handle the case where one node is not part of the physcis
-
-				if (this.physicsBody.forces[node1.id] !== undefined) {
-					this.physicsBody.forces[node1.id].x += fx;
-					this.physicsBody.forces[node1.id].y += fy;
-				}
-
-				if (this.physicsBody.forces[node2.id] !== undefined) {
-					this.physicsBody.forces[node2.id].x -= fx;
-					this.physicsBody.forces[node2.id].y -= fy;
-				}
-			}
-		}]);
-
-		return SpringSolver;
-	}();
-
-	/**
-	 * Hierarchical Spring Solver
-	 */
-	var HierarchicalSpringSolver = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {{physicsNodeIndices: Array, physicsEdgeIndices: Array, forces: {}, velocities: {}}} physicsBody
-		 * @param {object} options
-		 */
-		function HierarchicalSpringSolver(body, physicsBody, options) {
-			_classCallCheck(this, HierarchicalSpringSolver);
-
-			this.body = body;
-			this.physicsBody = physicsBody;
-			this.setOptions(options);
-		}
-		/**
-		 *
-		 * @param {object} options
-		 */
-
-
-		_createClass(HierarchicalSpringSolver, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				this.options = options;
-			}
-			/**
-			 * This function calculates the springforces on the nodes, accounting for the support nodes.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "solve",
-			value: function solve() {
-				var edgeLength, edge;
-				var dx, dy, fx, fy, springForce, distance;
-				var edges = this.body.edges;
-				var factor = 0.5;
-				var edgeIndices = this.physicsBody.physicsEdgeIndices;
-				var nodeIndices = this.physicsBody.physicsNodeIndices;
-				var forces = this.physicsBody.forces; // initialize the spring force counters
-
-				for (var i = 0; i < nodeIndices.length; i++) {
-					var nodeId = nodeIndices[i];
-					forces[nodeId].springFx = 0;
-					forces[nodeId].springFy = 0;
-				} // forces caused by the edges, modelled as springs
-
-
-				for (var _i = 0; _i < edgeIndices.length; _i++) {
-					edge = edges[edgeIndices[_i]];
-
-					if (edge.connected === true) {
-						edgeLength = edge.options.length === undefined ? this.options.springLength : edge.options.length;
-						dx = edge.from.x - edge.to.x;
-						dy = edge.from.y - edge.to.y;
-						distance = Math.sqrt(dx * dx + dy * dy);
-						distance = distance === 0 ? 0.01 : distance; // the 1/distance is so the fx and fy can be calculated without sine or cosine.
-
-						springForce = this.options.springConstant * (edgeLength - distance) / distance;
-						fx = dx * springForce;
-						fy = dy * springForce;
-
-						if (edge.to.level != edge.from.level) {
-							if (forces[edge.toId] !== undefined) {
-								forces[edge.toId].springFx -= fx;
-								forces[edge.toId].springFy -= fy;
-							}
-
-							if (forces[edge.fromId] !== undefined) {
-								forces[edge.fromId].springFx += fx;
-								forces[edge.fromId].springFy += fy;
-							}
-						} else {
-							if (forces[edge.toId] !== undefined) {
-								forces[edge.toId].x -= factor * fx;
-								forces[edge.toId].y -= factor * fy;
-							}
-
-							if (forces[edge.fromId] !== undefined) {
-								forces[edge.fromId].x += factor * fx;
-								forces[edge.fromId].y += factor * fy;
-							}
-						}
-					}
-				} // normalize spring forces
-
-
-				springForce = 1;
-				var springFx, springFy;
-
-				for (var _i2 = 0; _i2 < nodeIndices.length; _i2++) {
-					var _nodeId = nodeIndices[_i2];
-					springFx = Math.min(springForce, Math.max(-springForce, forces[_nodeId].springFx));
-					springFy = Math.min(springForce, Math.max(-springForce, forces[_nodeId].springFy));
-					forces[_nodeId].x += springFx;
-					forces[_nodeId].y += springFy;
-				} // retain energy balance
-
-
-				var totalFx = 0;
-				var totalFy = 0;
-
-				for (var _i3 = 0; _i3 < nodeIndices.length; _i3++) {
-					var _nodeId2 = nodeIndices[_i3];
-					totalFx += forces[_nodeId2].x;
-					totalFy += forces[_nodeId2].y;
-				}
-
-				var correctionFx = totalFx / nodeIndices.length;
-				var correctionFy = totalFy / nodeIndices.length;
-
-				for (var _i4 = 0; _i4 < nodeIndices.length; _i4++) {
-					var _nodeId3 = nodeIndices[_i4];
-					forces[_nodeId3].x -= correctionFx;
-					forces[_nodeId3].y -= correctionFy;
-				}
-			}
-		}]);
-
-		return HierarchicalSpringSolver;
-	}();
-
-	/**
-	 * Central Gravity Solver
-	 */
-	var CentralGravitySolver = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {{physicsNodeIndices: Array, physicsEdgeIndices: Array, forces: {}, velocities: {}}} physicsBody
-		 * @param {object} options
-		 */
-		function CentralGravitySolver(body, physicsBody, options) {
-			_classCallCheck(this, CentralGravitySolver);
-
-			this.body = body;
-			this.physicsBody = physicsBody;
-			this.setOptions(options);
-		}
-		/**
-		 *
-		 * @param {object} options
-		 */
-
-
-		_createClass(CentralGravitySolver, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				this.options = options;
-			}
-			/**
-			 * Calculates forces for each node
-			 */
-
-		}, {
-			key: "solve",
-			value: function solve() {
-				var dx, dy, distance, node;
-				var nodes = this.body.nodes;
-				var nodeIndices = this.physicsBody.physicsNodeIndices;
-				var forces = this.physicsBody.forces;
-
-				for (var i = 0; i < nodeIndices.length; i++) {
-					var nodeId = nodeIndices[i];
-					node = nodes[nodeId];
-					dx = -node.x;
-					dy = -node.y;
-					distance = Math.sqrt(dx * dx + dy * dy);
-
-					this._calculateForces(distance, dx, dy, forces, node);
-				}
-			}
-			/**
-			 * Calculate the forces based on the distance.
-			 *
-			 * @param {number} distance
-			 * @param {number} dx
-			 * @param {number} dy
-			 * @param {object<Node.id, vis.Node>} forces
-			 * @param {Node} node
-			 * @private
-			 */
-
-		}, {
-			key: "_calculateForces",
-			value: function _calculateForces(distance, dx, dy, forces, node) {
-				var gravityForce = distance === 0 ? 0 : this.options.centralGravity / distance;
-				forces[node.id].x = dx * gravityForce;
-				forces[node.id].y = dy * gravityForce;
-			}
-		}]);
-
-		return CentralGravitySolver;
-	}();
-
-	function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$3() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * @augments BarnesHutSolver
-	 */
-
-	var ForceAtlas2BasedRepulsionSolver = /*#__PURE__*/function (_BarnesHutSolver) {
-		_inherits(ForceAtlas2BasedRepulsionSolver, _BarnesHutSolver);
-
-		var _super = _createSuper$3(ForceAtlas2BasedRepulsionSolver);
-
-		/**
-		 * @param {object} body
-		 * @param {{physicsNodeIndices: Array, physicsEdgeIndices: Array, forces: {}, velocities: {}}} physicsBody
-		 * @param {object} options
-		 */
-		function ForceAtlas2BasedRepulsionSolver(body, physicsBody, options) {
-			var _this;
-
-			_classCallCheck(this, ForceAtlas2BasedRepulsionSolver);
-
-			_this = _super.call(this, body, physicsBody, options);
-			_this._rng = Alea("FORCE ATLAS 2 BASED REPULSION SOLVER");
-			return _this;
-		}
-		/**
-		 * Calculate the forces based on the distance.
-		 *
-		 * @param {number} distance
-		 * @param {number} dx
-		 * @param {number} dy
-		 * @param {Node} node
-		 * @param {object} parentBranch
-		 * @private
-		 */
-
-
-		_createClass(ForceAtlas2BasedRepulsionSolver, [{
-			key: "_calculateForces",
-			value: function _calculateForces(distance, dx, dy, node, parentBranch) {
-				if (distance === 0) {
-					distance = 0.1 * this._rng();
-					dx = distance;
-				}
-
-				if (this.overlapAvoidanceFactor < 1 && node.shape.radius) {
-					distance = Math.max(0.1 + this.overlapAvoidanceFactor * node.shape.radius, distance - node.shape.radius);
-				}
-
-				var degree = node.edges.length + 1; // the dividing by the distance cubed instead of squared allows us to get the fx and fy components without sines and cosines
-				// it is shorthand for gravityforce with distance squared and fx = dx/distance * gravityForce
-
-				var gravityForce = this.options.gravitationalConstant * parentBranch.mass * node.options.mass * degree / Math.pow(distance, 2);
-				var fx = dx * gravityForce;
-				var fy = dy * gravityForce;
-				this.physicsBody.forces[node.id].x += fx;
-				this.physicsBody.forces[node.id].y += fy;
-			}
-		}]);
-
-		return ForceAtlas2BasedRepulsionSolver;
-	}(BarnesHutSolver);
-
-	function _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$2() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * @augments CentralGravitySolver
-	 */
-
-	var ForceAtlas2BasedCentralGravitySolver = /*#__PURE__*/function (_CentralGravitySolver) {
-		_inherits(ForceAtlas2BasedCentralGravitySolver, _CentralGravitySolver);
-
-		var _super = _createSuper$2(ForceAtlas2BasedCentralGravitySolver);
-
-		/**
-		 * @param {object} body
-		 * @param {{physicsNodeIndices: Array, physicsEdgeIndices: Array, forces: {}, velocities: {}}} physicsBody
-		 * @param {object} options
-		 */
-		function ForceAtlas2BasedCentralGravitySolver(body, physicsBody, options) {
-			_classCallCheck(this, ForceAtlas2BasedCentralGravitySolver);
-
-			return _super.call(this, body, physicsBody, options);
-		}
-		/**
-		 * Calculate the forces based on the distance.
-		 *
-		 * @param {number} distance
-		 * @param {number} dx
-		 * @param {number} dy
-		 * @param {object<Node.id, Node>} forces
-		 * @param {Node} node
-		 * @private
-		 */
-
-
-		_createClass(ForceAtlas2BasedCentralGravitySolver, [{
-			key: "_calculateForces",
-			value: function _calculateForces(distance, dx, dy, forces, node) {
-				if (distance > 0) {
-					var degree = node.edges.length + 1;
-					var gravityForce = this.options.centralGravity * degree * node.options.mass;
-					forces[node.id].x = dx * gravityForce;
-					forces[node.id].y = dy * gravityForce;
-				}
-			}
-		}]);
-
-		return ForceAtlas2BasedCentralGravitySolver;
-	}(CentralGravitySolver);
-
-	/**
-	 * The physics engine
-	 */
-
-	var PhysicsEngine = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 */
-		function PhysicsEngine(body) {
-			_classCallCheck(this, PhysicsEngine);
-
-			this.body = body;
-			this.physicsBody = {
-				physicsNodeIndices: [],
-				physicsEdgeIndices: [],
-				forces: {},
-				velocities: {}
-			};
-			this.physicsEnabled = true;
-			this.simulationInterval = 1000 / 60;
-			this.requiresTimeout = true;
-			this.previousStates = {};
-			this.referenceState = {};
-			this.freezeCache = {};
-			this.renderTimer = undefined; // parameters for the adaptive timestep
-
-			this.adaptiveTimestep = false;
-			this.adaptiveTimestepEnabled = false;
-			this.adaptiveCounter = 0;
-			this.adaptiveInterval = 3;
-			this.stabilized = false;
-			this.startedStabilization = false;
-			this.stabilizationIterations = 0;
-			this.ready = false; // will be set to true if the stabilize
-			// default options
-
-			this.options = {};
-			this.defaultOptions = {
-				enabled: true,
-				barnesHut: {
-					theta: 0.5,
-					gravitationalConstant: -2000,
-					centralGravity: 0.3,
-					springLength: 95,
-					springConstant: 0.04,
-					damping: 0.09,
-					avoidOverlap: 0
-				},
-				forceAtlas2Based: {
-					theta: 0.5,
-					gravitationalConstant: -50,
-					centralGravity: 0.01,
-					springConstant: 0.08,
-					springLength: 100,
-					damping: 0.4,
-					avoidOverlap: 0
-				},
-				repulsion: {
-					centralGravity: 0.2,
-					springLength: 200,
-					springConstant: 0.05,
-					nodeDistance: 100,
-					damping: 0.09,
-					avoidOverlap: 0
-				},
-				hierarchicalRepulsion: {
-					centralGravity: 0.0,
-					springLength: 100,
-					springConstant: 0.01,
-					nodeDistance: 120,
-					damping: 0.09
-				},
-				maxVelocity: 50,
-				minVelocity: 0.75,
-				// px/s
-				solver: "barnesHut",
-				stabilization: {
-					enabled: true,
-					iterations: 1000,
-					// maximum number of iteration to stabilize
-					updateInterval: 50,
-					onlyDynamicEdges: false,
-					fit: true
-				},
-				timestep: 0.5,
-				adaptiveTimestep: true,
-				wind: {
-					x: 0,
-					y: 0
-				}
-			};
-
-			assign$2(this.options, this.defaultOptions);
-
-			this.timestep = 0.5;
-			this.layoutFailed = false;
-			this.bindEventListeners();
-		}
-		/**
-		 * Binds event listeners
-		 */
-
-
-		_createClass(PhysicsEngine, [{
-			key: "bindEventListeners",
-			value: function bindEventListeners() {
-				var _this = this;
-
-				this.body.emitter.on("initPhysics", function () {
-					_this.initPhysics();
-				});
-				this.body.emitter.on("_layoutFailed", function () {
-					_this.layoutFailed = true;
-				});
-				this.body.emitter.on("resetPhysics", function () {
-					_this.stopSimulation();
-
-					_this.ready = false;
-				});
-				this.body.emitter.on("disablePhysics", function () {
-					_this.physicsEnabled = false;
-
-					_this.stopSimulation();
-				});
-				this.body.emitter.on("restorePhysics", function () {
-					_this.setOptions(_this.options);
-
-					if (_this.ready === true) {
-						_this.startSimulation();
-					}
-				});
-				this.body.emitter.on("startSimulation", function () {
-					if (_this.ready === true) {
-						_this.startSimulation();
-					}
-				});
-				this.body.emitter.on("stopSimulation", function () {
-					_this.stopSimulation();
-				});
-				this.body.emitter.on("destroy", function () {
-					_this.stopSimulation(false);
-
-					_this.body.emitter.off();
-				});
-				this.body.emitter.on("_dataChanged", function () {
-					// Nodes and/or edges have been added or removed, update shortcut lists.
-					_this.updatePhysicsData();
-				}); // debug: show forces
-				// this.body.emitter.on("afterDrawing", (ctx) => {this._drawForces(ctx);});
-			}
-			/**
-			 * set the physics options
-			 *
-			 * @param {object} options
-			 */
-
-		}, {
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (options !== undefined) {
-					if (options === false) {
-						this.options.enabled = false;
-						this.physicsEnabled = false;
-						this.stopSimulation();
-					} else if (options === true) {
-						this.options.enabled = true;
-						this.physicsEnabled = true;
-						this.startSimulation();
-					} else {
-						this.physicsEnabled = true;
-						selectiveNotDeepExtend(["stabilization"], this.options, options);
-						mergeOptions(this.options, options, "stabilization");
-
-						if (options.enabled === undefined) {
-							this.options.enabled = true;
-						}
-
-						if (this.options.enabled === false) {
-							this.physicsEnabled = false;
-							this.stopSimulation();
-						}
-
-						var wind = this.options.wind;
-
-						if (wind) {
-							if (typeof wind.x !== "number" || isNan(wind.x)) {
-								wind.x = 0;
-							}
-
-							if (typeof wind.y !== "number" || isNan(wind.y)) {
-								wind.y = 0;
-							}
-						} // set the timestep
-
-
-						this.timestep = this.options.timestep;
-					}
-				}
-
-				this.init();
-			}
-			/**
-			 * configure the engine.
-			 */
-
-		}, {
-			key: "init",
-			value: function init() {
-				var options;
-
-				if (this.options.solver === "forceAtlas2Based") {
-					options = this.options.forceAtlas2Based;
-					this.nodesSolver = new ForceAtlas2BasedRepulsionSolver(this.body, this.physicsBody, options);
-					this.edgesSolver = new SpringSolver(this.body, this.physicsBody, options);
-					this.gravitySolver = new ForceAtlas2BasedCentralGravitySolver(this.body, this.physicsBody, options);
-				} else if (this.options.solver === "repulsion") {
-					options = this.options.repulsion;
-					this.nodesSolver = new RepulsionSolver(this.body, this.physicsBody, options);
-					this.edgesSolver = new SpringSolver(this.body, this.physicsBody, options);
-					this.gravitySolver = new CentralGravitySolver(this.body, this.physicsBody, options);
-				} else if (this.options.solver === "hierarchicalRepulsion") {
-					options = this.options.hierarchicalRepulsion;
-					this.nodesSolver = new HierarchicalRepulsionSolver(this.body, this.physicsBody, options);
-					this.edgesSolver = new HierarchicalSpringSolver(this.body, this.physicsBody, options);
-					this.gravitySolver = new CentralGravitySolver(this.body, this.physicsBody, options);
-				} else {
-					// barnesHut
-					options = this.options.barnesHut;
-					this.nodesSolver = new BarnesHutSolver(this.body, this.physicsBody, options);
-					this.edgesSolver = new SpringSolver(this.body, this.physicsBody, options);
-					this.gravitySolver = new CentralGravitySolver(this.body, this.physicsBody, options);
-				}
-
-				this.modelOptions = options;
-			}
-			/**
-			 * initialize the engine
-			 */
-
-		}, {
-			key: "initPhysics",
-			value: function initPhysics() {
-				if (this.physicsEnabled === true && this.options.enabled === true) {
-					if (this.options.stabilization.enabled === true) {
-						this.stabilize();
-					} else {
-						this.stabilized = false;
-						this.ready = true;
-						this.body.emitter.emit("fit", {}, this.layoutFailed); // if the layout failed, we use the approximation for the zoom
-
-						this.startSimulation();
-					}
-				} else {
-					this.ready = true;
-					this.body.emitter.emit("fit");
-				}
-			}
-			/**
-			 * Start the simulation
-			 */
-
-		}, {
-			key: "startSimulation",
-			value: function startSimulation() {
-				if (this.physicsEnabled === true && this.options.enabled === true) {
-					this.stabilized = false; // when visible, adaptivity is disabled.
-
-					this.adaptiveTimestep = false; // this sets the width of all nodes initially which could be required for the avoidOverlap
-
-					this.body.emitter.emit("_resizeNodes");
-
-					if (this.viewFunction === undefined) {
-						var _context;
-
-						this.viewFunction = bind$6(_context = this.simulationStep).call(_context, this);
-						this.body.emitter.on("initRedraw", this.viewFunction);
-						this.body.emitter.emit("_startRendering");
-					}
-				} else {
-					this.body.emitter.emit("_redraw");
-				}
-			}
-			/**
-			 * Stop the simulation, force stabilization.
-			 *
-			 * @param {boolean} [emit=true]
-			 */
-
-		}, {
-			key: "stopSimulation",
-			value: function stopSimulation() {
-				var emit = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
-				this.stabilized = true;
-
-				if (emit === true) {
-					this._emitStabilized();
-				}
-
-				if (this.viewFunction !== undefined) {
-					this.body.emitter.off("initRedraw", this.viewFunction);
-					this.viewFunction = undefined;
-
-					if (emit === true) {
-						this.body.emitter.emit("_stopRendering");
-					}
-				}
-			}
-			/**
-			 * The viewFunction inserts this step into each render loop. It calls the physics tick and handles the cleanup at stabilized.
-			 *
-			 */
-
-		}, {
-			key: "simulationStep",
-			value: function simulationStep() {
-				// check if the physics have settled
-				var startTime = now$1();
-
-				this.physicsTick();
-				var physicsTime = now$1() - startTime; // run double speed if it is a little graph
-
-				if ((physicsTime < 0.4 * this.simulationInterval || this.runDoubleSpeed === true) && this.stabilized === false) {
-					this.physicsTick(); // this makes sure there is no jitter. The decision is taken once to run it at double speed.
-
-					this.runDoubleSpeed = true;
-				}
-
-				if (this.stabilized === true) {
-					this.stopSimulation();
-				}
-			}
-			/**
-			 * trigger the stabilized event.
-			 *
-			 * @param {number} [amountOfIterations=this.stabilizationIterations]
-			 * @private
-			 */
-
-		}, {
-			key: "_emitStabilized",
-			value: function _emitStabilized() {
-				var _this2 = this;
-
-				var amountOfIterations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.stabilizationIterations;
-
-				if (this.stabilizationIterations > 1 || this.startedStabilization === true) {
-					setTimeout$1(function () {
-						_this2.body.emitter.emit("stabilized", {
-							iterations: amountOfIterations
-						});
-
-						_this2.startedStabilization = false;
-						_this2.stabilizationIterations = 0;
-					}, 0);
-				}
-			}
-			/**
-			 * Calculate the forces for one physics iteration and move the nodes.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "physicsStep",
-			value: function physicsStep() {
-				this.gravitySolver.solve();
-				this.nodesSolver.solve();
-				this.edgesSolver.solve();
-				this.moveNodes();
-			}
-			/**
-			 * Make dynamic adjustments to the timestep, based on current state.
-			 *
-			 * Helper function for physicsTick().
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "adjustTimeStep",
-			value: function adjustTimeStep() {
-				var factor = 1.2; // Factor for increasing the timestep on success.
-				// we compare the two steps. if it is acceptable we double the step.
-
-				if (this._evaluateStepQuality() === true) {
-					this.timestep = factor * this.timestep;
-				} else {
-					// if not, we decrease the step to a minimum of the options timestep.
-					// if the decreased timestep is smaller than the options step, we do not reset the counter
-					// we assume that the options timestep is stable enough.
-					if (this.timestep / factor < this.options.timestep) {
-						this.timestep = this.options.timestep;
-					} else {
-						// if the timestep was larger than 2 times the option one we check the adaptivity again to ensure
-						// that large instabilities do not form.
-						this.adaptiveCounter = -1; // check again next iteration
-
-						this.timestep = Math.max(this.options.timestep, this.timestep / factor);
-					}
-				}
-			}
-			/**
-			 * A single simulation step (or 'tick') in the physics simulation
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "physicsTick",
-			value: function physicsTick() {
-				this._startStabilizing(); // this ensures that there is no start event when the network is already stable.
-
-
-				if (this.stabilized === true) return; // adaptivity means the timestep adapts to the situation, only applicable for stabilization
-
-				if (this.adaptiveTimestep === true && this.adaptiveTimestepEnabled === true) {
-					// timestep remains stable for "interval" iterations.
-					var doAdaptive = this.adaptiveCounter % this.adaptiveInterval === 0;
-
-					if (doAdaptive) {
-						// first the big step and revert.
-						this.timestep = 2 * this.timestep;
-						this.physicsStep();
-						this.revert(); // saves the reference state
-						// now the normal step. Since this is the last step, it is the more stable one and we will take this.
-
-						this.timestep = 0.5 * this.timestep; // since it's half the step, we do it twice.
-
-						this.physicsStep();
-						this.physicsStep();
-						this.adjustTimeStep();
-					} else {
-						this.physicsStep(); // normal step, keeping timestep constant
-					}
-
-					this.adaptiveCounter += 1;
-				} else {
-					// case for the static timestep, we reset it to the one in options and take a normal step.
-					this.timestep = this.options.timestep;
-					this.physicsStep();
-				}
-
-				if (this.stabilized === true) this.revert();
-				this.stabilizationIterations++;
-			}
-			/**
-			 * Nodes and edges can have the physics toggles on or off. A collection of indices is created here so we can skip the check all the time.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "updatePhysicsData",
-			value: function updatePhysicsData() {
-				this.physicsBody.forces = {};
-				this.physicsBody.physicsNodeIndices = [];
-				this.physicsBody.physicsEdgeIndices = [];
-				var nodes = this.body.nodes;
-				var edges = this.body.edges; // get node indices for physics
-
-				for (var nodeId in nodes) {
-					if (Object.prototype.hasOwnProperty.call(nodes, nodeId)) {
-						if (nodes[nodeId].options.physics === true) {
-							this.physicsBody.physicsNodeIndices.push(nodes[nodeId].id);
-						}
-					}
-				} // get edge indices for physics
-
-
-				for (var edgeId in edges) {
-					if (Object.prototype.hasOwnProperty.call(edges, edgeId)) {
-						if (edges[edgeId].options.physics === true) {
-							this.physicsBody.physicsEdgeIndices.push(edges[edgeId].id);
-						}
-					}
-				} // get the velocity and the forces vector
-
-
-				for (var i = 0; i < this.physicsBody.physicsNodeIndices.length; i++) {
-					var _nodeId = this.physicsBody.physicsNodeIndices[i];
-					this.physicsBody.forces[_nodeId] = {
-						x: 0,
-						y: 0
-					}; // forces can be reset because they are recalculated. Velocities have to persist.
-
-					if (this.physicsBody.velocities[_nodeId] === undefined) {
-						this.physicsBody.velocities[_nodeId] = {
-							x: 0,
-							y: 0
-						};
-					}
-				} // clean deleted nodes from the velocity vector
-
-
-				for (var _nodeId2 in this.physicsBody.velocities) {
-					if (nodes[_nodeId2] === undefined) {
-						delete this.physicsBody.velocities[_nodeId2];
-					}
-				}
-			}
-			/**
-			 * Revert the simulation one step. This is done so after stabilization, every new start of the simulation will also say stabilized.
-			 */
-
-		}, {
-			key: "revert",
-			value: function revert() {
-				var nodeIds = keys$4(this.previousStates);
-
-				var nodes = this.body.nodes;
-				var velocities = this.physicsBody.velocities;
-				this.referenceState = {};
-
-				for (var i = 0; i < nodeIds.length; i++) {
-					var nodeId = nodeIds[i];
-
-					if (nodes[nodeId] !== undefined) {
-						if (nodes[nodeId].options.physics === true) {
-							this.referenceState[nodeId] = {
-								positions: {
-									x: nodes[nodeId].x,
-									y: nodes[nodeId].y
-								}
-							};
-							velocities[nodeId].x = this.previousStates[nodeId].vx;
-							velocities[nodeId].y = this.previousStates[nodeId].vy;
-							nodes[nodeId].x = this.previousStates[nodeId].x;
-							nodes[nodeId].y = this.previousStates[nodeId].y;
-						}
-					} else {
-						delete this.previousStates[nodeId];
-					}
-				}
-			}
-			/**
-			 * This compares the reference state to the current state
-			 *
-			 * @returns {boolean}
-			 * @private
-			 */
-
-		}, {
-			key: "_evaluateStepQuality",
-			value: function _evaluateStepQuality() {
-				var dx, dy, dpos;
-				var nodes = this.body.nodes;
-				var reference = this.referenceState;
-				var posThreshold = 0.3;
-
-				for (var nodeId in this.referenceState) {
-					if (Object.prototype.hasOwnProperty.call(this.referenceState, nodeId) && nodes[nodeId] !== undefined) {
-						dx = nodes[nodeId].x - reference[nodeId].positions.x;
-						dy = nodes[nodeId].y - reference[nodeId].positions.y;
-						dpos = Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2));
-
-						if (dpos > posThreshold) {
-							return false;
-						}
-					}
-				}
-
-				return true;
-			}
-			/**
-			 * move the nodes one timestep and check if they are stabilized
-			 */
-
-		}, {
-			key: "moveNodes",
-			value: function moveNodes() {
-				var nodeIndices = this.physicsBody.physicsNodeIndices;
-				var maxNodeVelocity = 0;
-				var averageNodeVelocity = 0; // the velocity threshold (energy in the system) for the adaptivity toggle
-
-				var velocityAdaptiveThreshold = 5;
-
-				for (var i = 0; i < nodeIndices.length; i++) {
-					var nodeId = nodeIndices[i];
-
-					var nodeVelocity = this._performStep(nodeId); // stabilized is true if stabilized is true and velocity is smaller than vmin --> all nodes must be stabilized
-
-
-					maxNodeVelocity = Math.max(maxNodeVelocity, nodeVelocity);
-					averageNodeVelocity += nodeVelocity;
-				} // evaluating the stabilized and adaptiveTimestepEnabled conditions
-
-
-				this.adaptiveTimestepEnabled = averageNodeVelocity / nodeIndices.length < velocityAdaptiveThreshold;
-				this.stabilized = maxNodeVelocity < this.options.minVelocity;
-			}
-			/**
-			 * Calculate new velocity for a coordinate direction
-			 *
-			 * @param {number} v  velocity for current coordinate
-			 * @param {number} f  regular force for current coordinate
-			 * @param {number} m  mass of current node
-			 * @returns {number} new velocity for current coordinate
-			 * @private
-			 */
-
-		}, {
-			key: "calculateComponentVelocity",
-			value: function calculateComponentVelocity(v, f, m) {
-				var df = this.modelOptions.damping * v; // damping force
-
-				var a = (f - df) / m; // acceleration
-
-				v += a * this.timestep; // Put a limit on the velocities if it is really high
-
-				var maxV = this.options.maxVelocity || 1e9;
-
-				if (Math.abs(v) > maxV) {
-					v = v > 0 ? maxV : -maxV;
-				}
-
-				return v;
-			}
-			/**
-			 * Perform the actual step
-			 *
-			 * @param {Node.id} nodeId
-			 * @returns {number} the new velocity of given node
-			 * @private
-			 */
-
-		}, {
-			key: "_performStep",
-			value: function _performStep(nodeId) {
-				var node = this.body.nodes[nodeId];
-				var force = this.physicsBody.forces[nodeId];
-
-				if (this.options.wind) {
-					force.x += this.options.wind.x;
-					force.y += this.options.wind.y;
-				}
-
-				var velocity = this.physicsBody.velocities[nodeId]; // store the state so we can revert
-
-				this.previousStates[nodeId] = {
-					x: node.x,
-					y: node.y,
-					vx: velocity.x,
-					vy: velocity.y
-				};
-
-				if (node.options.fixed.x === false) {
-					velocity.x = this.calculateComponentVelocity(velocity.x, force.x, node.options.mass);
-					node.x += velocity.x * this.timestep;
-				} else {
-					force.x = 0;
-					velocity.x = 0;
-				}
-
-				if (node.options.fixed.y === false) {
-					velocity.y = this.calculateComponentVelocity(velocity.y, force.y, node.options.mass);
-					node.y += velocity.y * this.timestep;
-				} else {
-					force.y = 0;
-					velocity.y = 0;
-				}
-
-				var totalVelocity = Math.sqrt(Math.pow(velocity.x, 2) + Math.pow(velocity.y, 2));
-				return totalVelocity;
-			}
-			/**
-			 * When initializing and stabilizing, we can freeze nodes with a predefined position.
-			 * This greatly speeds up stabilization because only the supportnodes for the smoothCurves have to settle.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_freezeNodes",
-			value: function _freezeNodes() {
-				var nodes = this.body.nodes;
-
-				for (var id in nodes) {
-					if (Object.prototype.hasOwnProperty.call(nodes, id)) {
-						if (nodes[id].x && nodes[id].y) {
-							var fixed = nodes[id].options.fixed;
-							this.freezeCache[id] = {
-								x: fixed.x,
-								y: fixed.y
-							};
-							fixed.x = true;
-							fixed.y = true;
-						}
-					}
-				}
-			}
-			/**
-			 * Unfreezes the nodes that have been frozen by _freezeDefinedNodes.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_restoreFrozenNodes",
-			value: function _restoreFrozenNodes() {
-				var nodes = this.body.nodes;
-
-				for (var id in nodes) {
-					if (Object.prototype.hasOwnProperty.call(nodes, id)) {
-						if (this.freezeCache[id] !== undefined) {
-							nodes[id].options.fixed.x = this.freezeCache[id].x;
-							nodes[id].options.fixed.y = this.freezeCache[id].y;
-						}
-					}
-				}
-
-				this.freezeCache = {};
-			}
-			/**
-			 * Find a stable position for all nodes
-			 *
-			 * @param {number} [iterations=this.options.stabilization.iterations]
-			 */
-
-		}, {
-			key: "stabilize",
-			value: function stabilize() {
-				var _this3 = this;
-
-				var iterations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.options.stabilization.iterations;
-
-				if (typeof iterations !== "number") {
-					iterations = this.options.stabilization.iterations;
-					console.error("The stabilize method needs a numeric amount of iterations. Switching to default: ", iterations);
-				}
-
-				if (this.physicsBody.physicsNodeIndices.length === 0) {
-					this.ready = true;
-					return;
-				} // enable adaptive timesteps
-
-
-				this.adaptiveTimestep = this.options.adaptiveTimestep; // this sets the width of all nodes initially which could be required for the avoidOverlap
-
-				this.body.emitter.emit("_resizeNodes");
-				this.stopSimulation(); // stop the render loop
-
-				this.stabilized = false; // block redraw requests
-
-				this.body.emitter.emit("_blockRedraw");
-				this.targetIterations = iterations; // start the stabilization
-
-				if (this.options.stabilization.onlyDynamicEdges === true) {
-					this._freezeNodes();
-				}
-
-				this.stabilizationIterations = 0;
-
-				setTimeout$1(function () {
-					return _this3._stabilizationBatch();
-				}, 0);
-			}
-			/**
-			 * If not already stabilizing, start it and emit a start event.
-			 *
-			 * @returns {boolean} true if stabilization started with this call
-			 * @private
-			 */
-
-		}, {
-			key: "_startStabilizing",
-			value: function _startStabilizing() {
-				if (this.startedStabilization === true) return false;
-				this.body.emitter.emit("startStabilizing");
-				this.startedStabilization = true;
-				return true;
-			}
-			/**
-			 * One batch of stabilization
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_stabilizationBatch",
-			value: function _stabilizationBatch() {
-				var _this4 = this;
-
-				var running = function running() {
-					return _this4.stabilized === false && _this4.stabilizationIterations < _this4.targetIterations;
-				};
-
-				var sendProgress = function sendProgress() {
-					_this4.body.emitter.emit("stabilizationProgress", {
-						iterations: _this4.stabilizationIterations,
-						total: _this4.targetIterations
-					});
-				};
-
-				if (this._startStabilizing()) {
-					sendProgress(); // Ensure that there is at least one start event.
-				}
-
-				var count = 0;
-
-				while (running() && count < this.options.stabilization.updateInterval) {
-					this.physicsTick();
-					count++;
-				}
-
-				sendProgress();
-
-				if (running()) {
-					var _context2;
-
-					setTimeout$1(bind$6(_context2 = this._stabilizationBatch).call(_context2, this), 0);
-				} else {
-					this._finalizeStabilization();
-				}
-			}
-			/**
-			 * Wrap up the stabilization, fit and emit the events.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_finalizeStabilization",
-			value: function _finalizeStabilization() {
-				this.body.emitter.emit("_allowRedraw");
-
-				if (this.options.stabilization.fit === true) {
-					this.body.emitter.emit("fit");
-				}
-
-				if (this.options.stabilization.onlyDynamicEdges === true) {
-					this._restoreFrozenNodes();
-				}
-
-				this.body.emitter.emit("stabilizationIterationsDone");
-				this.body.emitter.emit("_requestRedraw");
-
-				if (this.stabilized === true) {
-					this._emitStabilized();
-				} else {
-					this.startSimulation();
-				}
-
-				this.ready = true;
-			} //---------------------------  DEBUGGING BELOW  ---------------------------//
-
-			/**
-			 * Debug function that display arrows for the forces currently active in the network.
-			 *
-			 * Use this when debugging only.
-			 *
-			 * @param {CanvasRenderingContext2D} ctx
-			 * @private
-			 */
-
-		}, {
-			key: "_drawForces",
-			value: function _drawForces(ctx) {
-				for (var i = 0; i < this.physicsBody.physicsNodeIndices.length; i++) {
-					var index = this.physicsBody.physicsNodeIndices[i];
-					var node = this.body.nodes[index];
-					var force = this.physicsBody.forces[index];
-					var factor = 20;
-					var colorFactor = 0.03;
-					var forceSize = Math.sqrt(Math.pow(force.x, 2) + Math.pow(force.x, 2));
-					var size = Math.min(Math.max(5, forceSize), 15);
-					var arrowSize = 3 * size;
-					var color = HSVToHex((180 - Math.min(1, Math.max(0, colorFactor * forceSize)) * 180) / 360, 1, 1);
-					var point = {
-						x: node.x + factor * force.x,
-						y: node.y + factor * force.y
-					};
-					ctx.lineWidth = size;
-					ctx.strokeStyle = color;
-					ctx.beginPath();
-					ctx.moveTo(node.x, node.y);
-					ctx.lineTo(point.x, point.y);
-					ctx.stroke();
-					var angle = Math.atan2(force.y, force.x);
-					ctx.fillStyle = color;
-					EndPoints.draw(ctx, {
-						type: "arrow",
-						point: point,
-						angle: angle,
-						length: arrowSize
-					});
-
-					fill(ctx).call(ctx);
-				}
-			}
-		}]);
-
-		return PhysicsEngine;
-	}();
-
-	/**
-	 * Utility Class
-	 */
-
-	var NetworkUtil = /*#__PURE__*/function () {
-		/**
-		 * @ignore
-		 */
-		function NetworkUtil() {
-			_classCallCheck(this, NetworkUtil);
-		}
-		/**
-		 * Find the center position of the network considering the bounding boxes
-		 *
-		 * @param {Array.<Node>} allNodes
-		 * @param {Array.<Node>} [specificNodes=[]]
-		 * @returns {{minX: number, maxX: number, minY: number, maxY: number}}
-		 * @static
-		 */
-
-
-		_createClass(NetworkUtil, null, [{
-			key: "getRange",
-			value: function getRange(allNodes) {
-				var specificNodes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
-				var minY = 1e9,
-					maxY = -1e9,
-					minX = 1e9,
-					maxX = -1e9,
-					node;
-
-				if (specificNodes.length > 0) {
-					for (var i = 0; i < specificNodes.length; i++) {
-						node = allNodes[specificNodes[i]];
-
-						if (minX > node.shape.boundingBox.left) {
-							minX = node.shape.boundingBox.left;
-						}
-
-						if (maxX < node.shape.boundingBox.right) {
-							maxX = node.shape.boundingBox.right;
-						}
-
-						if (minY > node.shape.boundingBox.top) {
-							minY = node.shape.boundingBox.top;
-						} // top is negative, bottom is positive
-
-
-						if (maxY < node.shape.boundingBox.bottom) {
-							maxY = node.shape.boundingBox.bottom;
-						} // top is negative, bottom is positive
-
-					}
-				}
-
-				if (minX === 1e9 && maxX === -1e9 && minY === 1e9 && maxY === -1e9) {
-					minY = 0, maxY = 0, minX = 0, maxX = 0;
-				}
-
-				return {
-					minX: minX,
-					maxX: maxX,
-					minY: minY,
-					maxY: maxY
-				};
-			}
-			/**
-			 * Find the center position of the network
-			 *
-			 * @param {Array.<Node>} allNodes
-			 * @param {Array.<Node>} [specificNodes=[]]
-			 * @returns {{minX: number, maxX: number, minY: number, maxY: number}}
-			 * @static
-			 */
-
-		}, {
-			key: "getRangeCore",
-			value: function getRangeCore(allNodes) {
-				var specificNodes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
-				var minY = 1e9,
-					maxY = -1e9,
-					minX = 1e9,
-					maxX = -1e9,
-					node;
-
-				if (specificNodes.length > 0) {
-					for (var i = 0; i < specificNodes.length; i++) {
-						node = allNodes[specificNodes[i]];
-
-						if (minX > node.x) {
-							minX = node.x;
-						}
-
-						if (maxX < node.x) {
-							maxX = node.x;
-						}
-
-						if (minY > node.y) {
-							minY = node.y;
-						} // top is negative, bottom is positive
-
-
-						if (maxY < node.y) {
-							maxY = node.y;
-						} // top is negative, bottom is positive
-
-					}
-				}
-
-				if (minX === 1e9 && maxX === -1e9 && minY === 1e9 && maxY === -1e9) {
-					minY = 0, maxY = 0, minX = 0, maxX = 0;
-				}
-
-				return {
-					minX: minX,
-					maxX: maxX,
-					minY: minY,
-					maxY: maxY
-				};
-			}
-			/**
-			 * @param {object} range = {minX: minX, maxX: maxX, minY: minY, maxY: maxY};
-			 * @returns {{x: number, y: number}}
-			 * @static
-			 */
-
-		}, {
-			key: "findCenter",
-			value: function findCenter(range) {
-				return {
-					x: 0.5 * (range.maxX + range.minX),
-					y: 0.5 * (range.maxY + range.minY)
-				};
-			}
-			/**
-			 * This returns a clone of the options or options of the edge or node to be used for construction of new edges or check functions for new nodes.
-			 *
-			 * @param {vis.Item} item
-			 * @param {'node'|undefined} type
-			 * @returns {{}}
-			 * @static
-			 */
-
-		}, {
-			key: "cloneOptions",
-			value: function cloneOptions(item, type) {
-				var clonedOptions = {};
-
-				if (type === undefined || type === "node") {
-					deepExtend(clonedOptions, item.options, true);
-					clonedOptions.x = item.x;
-					clonedOptions.y = item.y;
-					clonedOptions.amountOfConnections = item.edges.length;
-				} else {
-					deepExtend(clonedOptions, item.options, true);
-				}
-
-				return clonedOptions;
-			}
-		}]);
-
-		return NetworkUtil;
-	}();
-
-	function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct$1() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * A Cluster is a special Node that allows a group of Nodes positioned closely together
-	 * to be represented by a single Cluster Node.
-	 *
-	 * @augments Node
-	 */
-
-	var Cluster = /*#__PURE__*/function (_Node) {
-		_inherits(Cluster, _Node);
-
-		var _super = _createSuper$1(Cluster);
-
-		/**
-		 * @param {object} options
-		 * @param {object} body
-		 * @param {Array.<HTMLImageElement>}imagelist
-		 * @param {Array} grouplist
-		 * @param {object} globalOptions
-		 * @param {object} defaultOptions     Global default options for nodes
-		 */
-		function Cluster(options, body, imagelist, grouplist, globalOptions, defaultOptions) {
-			var _this;
-
-			_classCallCheck(this, Cluster);
-
-			_this = _super.call(this, options, body, imagelist, grouplist, globalOptions, defaultOptions);
-			_this.isCluster = true;
-			_this.containedNodes = {};
-			_this.containedEdges = {};
-			return _this;
-		}
-		/**
-		 * Transfer child cluster data to current and disconnect the child cluster.
-		 *
-		 * Please consult the header comment in 'Clustering.js' for the fields set here.
-		 *
-		 * @param {string|number} childClusterId  id of child cluster to open
-		 */
-
-
-		_createClass(Cluster, [{
-			key: "_openChildCluster",
-			value: function _openChildCluster(childClusterId) {
-				var _this2 = this;
-
-				var childCluster = this.body.nodes[childClusterId];
-
-				if (this.containedNodes[childClusterId] === undefined) {
-					throw new Error("node with id: " + childClusterId + " not in current cluster");
-				}
-
-				if (!childCluster.isCluster) {
-					throw new Error("node with id: " + childClusterId + " is not a cluster");
-				} // Disconnect child cluster from current cluster
-
-
-				delete this.containedNodes[childClusterId];
-				forEach$1(childCluster.edges, function (edge) {
-					delete _this2.containedEdges[edge.id];
-				}); // Transfer nodes and edges
-
-				forEach$1(childCluster.containedNodes, function (node, nodeId) {
-					_this2.containedNodes[nodeId] = node;
-				});
-				childCluster.containedNodes = {};
-				forEach$1(childCluster.containedEdges, function (edge, edgeId) {
-					_this2.containedEdges[edgeId] = edge;
-				});
-				childCluster.containedEdges = {}; // Transfer edges within cluster edges which are clustered
-
-				forEach$1(childCluster.edges, function (clusterEdge) {
-					forEach$1(_this2.edges, function (parentClusterEdge) {
-						var _context, _context2;
-
-						// Assumption: a clustered edge can only be present in a single clustering edge
-						// Not tested here
-						var index = indexOf(_context = parentClusterEdge.clusteringEdgeReplacingIds).call(_context, clusterEdge.id);
-
-						if (index === -1) return;
-						forEach$1(clusterEdge.clusteringEdgeReplacingIds, function (srcId) {
-							parentClusterEdge.clusteringEdgeReplacingIds.push(srcId); // Maintain correct bookkeeping for transferred edge
-
-							_this2.body.edges[srcId].edgeReplacedById = parentClusterEdge.id;
-						}); // Remove cluster edge from parent cluster edge
-
-						splice$1(_context2 = parentClusterEdge.clusteringEdgeReplacingIds).call(_context2, index, 1);
-					});
-				});
-				childCluster.edges = [];
-			}
-		}]);
-
-		return Cluster;
-	}(Node);
-
-	/**
-	 * The clustering engine
-	 */
-
-	var ClusterEngine = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 */
-		function ClusterEngine(body) {
-			var _this = this;
-
-			_classCallCheck(this, ClusterEngine);
-
-			this.body = body;
-			this.clusteredNodes = {}; // key: node id, value: { clusterId: <id of cluster>, node: <node instance>}
-
-			this.clusteredEdges = {}; // key: edge id, value: restore information for given edge
-
-			this.options = {};
-			this.defaultOptions = {};
-
-			assign$2(this.options, this.defaultOptions);
-
-			this.body.emitter.on("_resetData", function () {
-				_this.clusteredNodes = {};
-				_this.clusteredEdges = {};
-			});
-		}
-		/**
-		 *
-		 * @param {number} hubsize
-		 * @param {object} options
-		 */
-
-
-		_createClass(ClusterEngine, [{
-			key: "clusterByHubsize",
-			value: function clusterByHubsize(hubsize, options) {
-				if (hubsize === undefined) {
-					hubsize = this._getHubSize();
-				} else if (_typeof(hubsize) === "object") {
-					options = this._checkOptions(hubsize);
-					hubsize = this._getHubSize();
-				}
-
-				var nodesToCluster = [];
-
-				for (var i = 0; i < this.body.nodeIndices.length; i++) {
-					var node = this.body.nodes[this.body.nodeIndices[i]];
-
-					if (node.edges.length >= hubsize) {
-						nodesToCluster.push(node.id);
-					}
-				}
-
-				for (var _i = 0; _i < nodesToCluster.length; _i++) {
-					this.clusterByConnection(nodesToCluster[_i], options, true);
-				}
-
-				this.body.emitter.emit("_dataChanged");
-			}
-			/**
-			 * loop over all nodes, check if they adhere to the condition and cluster if needed.
-			 *
-			 * @param {object} options
-			 * @param {boolean} [refreshData=true]
-			 */
-
-		}, {
-			key: "cluster",
-			value: function cluster() {
-				var _this2 = this;
-
-				var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-				var refreshData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-
-				if (options.joinCondition === undefined) {
-					throw new Error("Cannot call clusterByNodeData without a joinCondition function in the options.");
-				} // check if the options object is fine, append if needed
-
-
-				options = this._checkOptions(options);
-				var childNodesObj = {};
-				var childEdgesObj = {}; // collect the nodes that will be in the cluster
-
-				forEach$1(this.body.nodes, function (node, nodeId) {
-					if (node.options && options.joinCondition(node.options) === true) {
-						childNodesObj[nodeId] = node; // collect the edges that will be in the cluster
-
-						forEach$1(node.edges, function (edge) {
-							if (_this2.clusteredEdges[edge.id] === undefined) {
-								childEdgesObj[edge.id] = edge;
-							}
-						});
-					}
-				});
-
-				this._cluster(childNodesObj, childEdgesObj, options, refreshData);
-			}
-			/**
-			 * Cluster all nodes in the network that have only X edges
-			 *
-			 * @param {number} edgeCount
-			 * @param {object} options
-			 * @param {boolean} [refreshData=true]
-			 */
-
-		}, {
-			key: "clusterByEdgeCount",
-			value: function clusterByEdgeCount(edgeCount, options) {
-				var _this3 = this;
-
-				var refreshData = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
-				options = this._checkOptions(options);
-				var clusters = [];
-				var usedNodes = {};
-				var edge, edges, relevantEdgeCount; // collect the nodes that will be in the cluster
-
-				var _loop = function _loop(i) {
-					var childNodesObj = {};
-					var childEdgesObj = {};
-					var nodeId = _this3.body.nodeIndices[i];
-					var node = _this3.body.nodes[nodeId]; // if this node is already used in another cluster this session, we do not have to re-evaluate it.
-
-					if (usedNodes[nodeId] === undefined) {
-						relevantEdgeCount = 0;
-						edges = [];
-
-						for (var j = 0; j < node.edges.length; j++) {
-							edge = node.edges[j];
-
-							if (_this3.clusteredEdges[edge.id] === undefined) {
-								if (edge.toId !== edge.fromId) {
-									relevantEdgeCount++;
-								}
-
-								edges.push(edge);
-							}
-						} // this node qualifies, we collect its neighbours to start the clustering process.
-
-
-						if (relevantEdgeCount === edgeCount) {
-							var checkJoinCondition = function checkJoinCondition(node) {
-								if (options.joinCondition === undefined || options.joinCondition === null) {
-									return true;
-								}
-
-								var clonedOptions = NetworkUtil.cloneOptions(node);
-								return options.joinCondition(clonedOptions);
-							};
-
-							var gatheringSuccessful = true;
-
-							for (var _j = 0; _j < edges.length; _j++) {
-								edge = edges[_j];
-
-								var childNodeId = _this3._getConnectedId(edge, nodeId); // add the nodes to the list by the join condition.
-
-
-								if (checkJoinCondition(node)) {
-									childEdgesObj[edge.id] = edge;
-									childNodesObj[nodeId] = node;
-									childNodesObj[childNodeId] = _this3.body.nodes[childNodeId];
-									usedNodes[nodeId] = true;
-								} else {
-									// this node does not qualify after all.
-									gatheringSuccessful = false;
-									break;
-								}
-							} // add to the cluster queue
-
-
-							if (keys$4(childNodesObj).length > 0 && keys$4(childEdgesObj).length > 0 && gatheringSuccessful === true) {
-								/**
-								 * Search for cluster data that contains any of the node id's
-								 *
-								 * @returns {boolean} true if no joinCondition, otherwise return value of joinCondition
-								 */
-								var findClusterData = function findClusterData() {
-									for (var n = 0; n < clusters.length; ++n) {
-										// Search for a cluster containing any of the node id's
-										for (var m in childNodesObj) {
-											if (clusters[n].nodes[m] !== undefined) {
-												return clusters[n];
-											}
-										}
-									}
-
-									return undefined;
-								}; // If any of the found nodes is part of a cluster found in this method,
-								// add the current values to that cluster
-
-
-								var foundCluster = findClusterData();
-
-								if (foundCluster !== undefined) {
-									// Add nodes to found cluster if not present
-									for (var m in childNodesObj) {
-										if (foundCluster.nodes[m] === undefined) {
-											foundCluster.nodes[m] = childNodesObj[m];
-										}
-									} // Add edges to found cluster, if not present
-
-
-									for (var _m in childEdgesObj) {
-										if (foundCluster.edges[_m] === undefined) {
-											foundCluster.edges[_m] = childEdgesObj[_m];
-										}
-									}
-								} else {
-									// Create a new cluster group
-									clusters.push({
-										nodes: childNodesObj,
-										edges: childEdgesObj
-									});
-								}
-							}
-						}
-					}
-				};
-
-				for (var i = 0; i < this.body.nodeIndices.length; i++) {
-					_loop(i);
-				}
-
-				for (var _i2 = 0; _i2 < clusters.length; _i2++) {
-					this._cluster(clusters[_i2].nodes, clusters[_i2].edges, options, false);
-				}
-
-				if (refreshData === true) {
-					this.body.emitter.emit("_dataChanged");
-				}
-			}
-			/**
-			 * Cluster all nodes in the network that have only 1 edge
-			 *
-			 * @param {object} options
-			 * @param {boolean} [refreshData=true]
-			 */
-
-		}, {
-			key: "clusterOutliers",
-			value: function clusterOutliers(options) {
-				var refreshData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-				this.clusterByEdgeCount(1, options, refreshData);
-			}
-			/**
-			 * Cluster all nodes in the network that have only 2 edge
-			 *
-			 * @param {object} options
-			 * @param {boolean} [refreshData=true]
-			 */
-
-		}, {
-			key: "clusterBridges",
-			value: function clusterBridges(options) {
-				var refreshData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-				this.clusterByEdgeCount(2, options, refreshData);
-			}
-			/**
-			 * suck all connected nodes of a node into the node.
-			 *
-			 * @param {Node.id} nodeId
-			 * @param {object} options
-			 * @param {boolean} [refreshData=true]
-			 */
-
-		}, {
-			key: "clusterByConnection",
-			value: function clusterByConnection(nodeId, options) {
-				var _context;
-
-				var refreshData = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
-
-				// kill conditions
-				if (nodeId === undefined) {
-					throw new Error("No nodeId supplied to clusterByConnection!");
-				}
-
-				if (this.body.nodes[nodeId] === undefined) {
-					throw new Error("The nodeId given to clusterByConnection does not exist!");
-				}
-
-				var node = this.body.nodes[nodeId];
-				options = this._checkOptions(options, node);
-
-				if (options.clusterNodeProperties.x === undefined) {
-					options.clusterNodeProperties.x = node.x;
-				}
-
-				if (options.clusterNodeProperties.y === undefined) {
-					options.clusterNodeProperties.y = node.y;
-				}
-
-				if (options.clusterNodeProperties.fixed === undefined) {
-					options.clusterNodeProperties.fixed = {};
-					options.clusterNodeProperties.fixed.x = node.options.fixed.x;
-					options.clusterNodeProperties.fixed.y = node.options.fixed.y;
-				}
-
-				var childNodesObj = {};
-				var childEdgesObj = {};
-				var parentNodeId = node.id;
-				var parentClonedOptions = NetworkUtil.cloneOptions(node);
-				childNodesObj[parentNodeId] = node; // collect the nodes that will be in the cluster
-
-				for (var i = 0; i < node.edges.length; i++) {
-					var edge = node.edges[i];
-
-					if (this.clusteredEdges[edge.id] === undefined) {
-						var childNodeId = this._getConnectedId(edge, parentNodeId); // if the child node is not in a cluster
-
-
-						if (this.clusteredNodes[childNodeId] === undefined) {
-							if (childNodeId !== parentNodeId) {
-								if (options.joinCondition === undefined) {
-									childEdgesObj[edge.id] = edge;
-									childNodesObj[childNodeId] = this.body.nodes[childNodeId];
-								} else {
-									// clone the options and insert some additional parameters that could be interesting.
-									var childClonedOptions = NetworkUtil.cloneOptions(this.body.nodes[childNodeId]);
-
-									if (options.joinCondition(parentClonedOptions, childClonedOptions) === true) {
-										childEdgesObj[edge.id] = edge;
-										childNodesObj[childNodeId] = this.body.nodes[childNodeId];
-									}
-								}
-							} else {
-								// swallow the edge if it is self-referencing.
-								childEdgesObj[edge.id] = edge;
-							}
-						}
-					}
-				}
-
-				var childNodeIDs = map$3(_context = keys$4(childNodesObj)).call(_context, function (childNode) {
-					return childNodesObj[childNode].id;
-				});
-
-				for (var childNodeKey in childNodesObj) {
-					if (!Object.prototype.hasOwnProperty.call(childNodesObj, childNodeKey)) continue;
-					var childNode = childNodesObj[childNodeKey];
-
-					for (var y = 0; y < childNode.edges.length; y++) {
-						var childEdge = childNode.edges[y];
-
-						if (indexOf(childNodeIDs).call(childNodeIDs, this._getConnectedId(childEdge, childNode.id)) > -1) {
-							childEdgesObj[childEdge.id] = childEdge;
-						}
-					}
-				}
-
-				this._cluster(childNodesObj, childEdgesObj, options, refreshData);
-			}
-			/**
-			 * This function creates the edges that will be attached to the cluster
-			 * It looks for edges that are connected to the nodes from the "outside' of the cluster.
-			 *
-			 * @param {{Node.id: vis.Node}} childNodesObj
-			 * @param {{vis.Edge.id: vis.Edge}} childEdgesObj
-			 * @param {object} clusterNodeProperties
-			 * @param {object} clusterEdgeProperties
-			 * @private
-			 */
-
-		}, {
-			key: "_createClusterEdges",
-			value: function _createClusterEdges(childNodesObj, childEdgesObj, clusterNodeProperties, clusterEdgeProperties) {
-				var edge, childNodeId, childNode, toId, fromId, otherNodeId; // loop over all child nodes and their edges to find edges going out of the cluster
-				// these edges will be replaced by clusterEdges.
-
-				var childKeys = keys$4(childNodesObj);
-
-				var createEdges = [];
-
-				for (var i = 0; i < childKeys.length; i++) {
-					childNodeId = childKeys[i];
-					childNode = childNodesObj[childNodeId]; // construct new edges from the cluster to others
-
-					for (var j = 0; j < childNode.edges.length; j++) {
-						edge = childNode.edges[j]; // we only handle edges that are visible to the system, not the disabled ones from the clustering process.
-
-						if (this.clusteredEdges[edge.id] === undefined) {
-							// self-referencing edges will be added to the "hidden" list
-							if (edge.toId == edge.fromId) {
-								childEdgesObj[edge.id] = edge;
-							} else {
-								// set up the from and to.
-								if (edge.toId == childNodeId) {
-									// this is a double equals because ints and strings can be interchanged here.
-									toId = clusterNodeProperties.id;
-									fromId = edge.fromId;
-									otherNodeId = fromId;
-								} else {
-									toId = edge.toId;
-									fromId = clusterNodeProperties.id;
-									otherNodeId = toId;
-								}
-							} // Only edges from the cluster outwards are being replaced.
-
-
-							if (childNodesObj[otherNodeId] === undefined) {
-								createEdges.push({
-									edge: edge,
-									fromId: fromId,
-									toId: toId
-								});
-							}
-						}
-					}
-				} //
-				// Here we actually create the replacement edges.
-				//
-				// We could not do this in the loop above as the creation process
-				// would add an edge to the edges array we are iterating over.
-				//
-				// NOTE: a clustered edge can have multiple base edges!
-				//
-
-
-				var newEdges = [];
-				/**
-				 * Find a cluster edge which matches the given created edge.
-				 *
-				 * @param {vis.Edge} createdEdge
-				 * @returns {vis.Edge}
-				 */
-
-				var getNewEdge = function getNewEdge(createdEdge) {
-					for (var _j2 = 0; _j2 < newEdges.length; _j2++) {
-						var newEdge = newEdges[_j2]; // We replace both to and from edges with a single cluster edge
-
-						var matchToDirection = createdEdge.fromId === newEdge.fromId && createdEdge.toId === newEdge.toId;
-						var matchFromDirection = createdEdge.fromId === newEdge.toId && createdEdge.toId === newEdge.fromId;
-
-						if (matchToDirection || matchFromDirection) {
-							return newEdge;
-						}
-					}
-
-					return null;
-				};
-
-				for (var _j3 = 0; _j3 < createEdges.length; _j3++) {
-					var createdEdge = createEdges[_j3];
-					var _edge = createdEdge.edge;
-					var newEdge = getNewEdge(createdEdge);
-
-					if (newEdge === null) {
-						// Create a clustered edge for this connection
-						newEdge = this._createClusteredEdge(createdEdge.fromId, createdEdge.toId, _edge, clusterEdgeProperties);
-						newEdges.push(newEdge);
-					} else {
-						newEdge.clusteringEdgeReplacingIds.push(_edge.id);
-					} // also reference the new edge in the old edge
-
-
-					this.body.edges[_edge.id].edgeReplacedById = newEdge.id; // hide the replaced edge
-
-					this._backupEdgeOptions(_edge);
-
-					_edge.setOptions({
-						physics: false
-					});
-				}
-			}
-			/**
-			 * This function checks the options that can be supplied to the different cluster functions
-			 * for certain fields and inserts defaults if needed
-			 *
-			 * @param {object} options
-			 * @returns {*}
-			 * @private
-			 */
-
-		}, {
-			key: "_checkOptions",
-			value: function _checkOptions() {
-				var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-
-				if (options.clusterEdgeProperties === undefined) {
-					options.clusterEdgeProperties = {};
-				}
-
-				if (options.clusterNodeProperties === undefined) {
-					options.clusterNodeProperties = {};
-				}
-
-				return options;
-			}
-			/**
-			 *
-			 * @param {object}    childNodesObj         | object with node objects, id as keys, same as childNodes except it also contains a source node
-			 * @param {object}    childEdgesObj         | object with edge objects, id as keys
-			 * @param {Array}     options               | object with {clusterNodeProperties, clusterEdgeProperties, processProperties}
-			 * @param {boolean}   refreshData | when true, do not wrap up
-			 * @private
-			 */
-
-		}, {
-			key: "_cluster",
-			value: function _cluster(childNodesObj, childEdgesObj, options) {
-				var refreshData = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
-				// Remove nodes which are already clustered
-				var tmpNodesToRemove = [];
-
-				for (var nodeId in childNodesObj) {
-					if (Object.prototype.hasOwnProperty.call(childNodesObj, nodeId)) {
-						if (this.clusteredNodes[nodeId] !== undefined) {
-							tmpNodesToRemove.push(nodeId);
-						}
-					}
-				}
-
-				for (var n = 0; n < tmpNodesToRemove.length; ++n) {
-					delete childNodesObj[tmpNodesToRemove[n]];
-				} // kill condition: no nodes don't bother
-
-
-				if (keys$4(childNodesObj).length == 0) {
-					return;
-				} // allow clusters of 1 if options allow
-
-
-				if (keys$4(childNodesObj).length == 1 && options.clusterNodeProperties.allowSingleNodeCluster != true) {
-					return;
-				}
-
-				var clusterNodeProperties = deepExtend({}, options.clusterNodeProperties); // construct the clusterNodeProperties
-
-				if (options.processProperties !== undefined) {
-					// get the childNode options
-					var childNodesOptions = [];
-
-					for (var _nodeId in childNodesObj) {
-						if (Object.prototype.hasOwnProperty.call(childNodesObj, _nodeId)) {
-							var clonedOptions = NetworkUtil.cloneOptions(childNodesObj[_nodeId]);
-							childNodesOptions.push(clonedOptions);
-						}
-					} // get cluster properties based on childNodes
-
-
-					var childEdgesOptions = [];
-
-					for (var edgeId in childEdgesObj) {
-						if (Object.prototype.hasOwnProperty.call(childEdgesObj, edgeId)) {
-							// these cluster edges will be removed on creation of the cluster.
-							if (edgeId.substr(0, 12) !== "clusterEdge:") {
-								var _clonedOptions = NetworkUtil.cloneOptions(childEdgesObj[edgeId], "edge");
-
-								childEdgesOptions.push(_clonedOptions);
-							}
-						}
-					}
-
-					clusterNodeProperties = options.processProperties(clusterNodeProperties, childNodesOptions, childEdgesOptions);
-
-					if (!clusterNodeProperties) {
-						throw new Error("The processProperties function does not return properties!");
-					}
-				} // check if we have an unique id;
-
-
-				if (clusterNodeProperties.id === undefined) {
-					clusterNodeProperties.id = "cluster:" + v4();
-				}
-
-				var clusterId = clusterNodeProperties.id;
-
-				if (clusterNodeProperties.label === undefined) {
-					clusterNodeProperties.label = "cluster";
-				} // give the clusterNode a position if it does not have one.
-
-
-				var pos = undefined;
-
-				if (clusterNodeProperties.x === undefined) {
-					pos = this._getClusterPosition(childNodesObj);
-					clusterNodeProperties.x = pos.x;
-				}
-
-				if (clusterNodeProperties.y === undefined) {
-					if (pos === undefined) {
-						pos = this._getClusterPosition(childNodesObj);
-					}
-
-					clusterNodeProperties.y = pos.y;
-				} // force the ID to remain the same
-
-
-				clusterNodeProperties.id = clusterId; // create the cluster Node
-				// Note that allowSingleNodeCluster, if present, is stored in the options as well
-
-				var clusterNode = this.body.functions.createNode(clusterNodeProperties, Cluster);
-				clusterNode.containedNodes = childNodesObj;
-				clusterNode.containedEdges = childEdgesObj; // cache a copy from the cluster edge properties if we have to reconnect others later on
-
-				clusterNode.clusterEdgeProperties = options.clusterEdgeProperties; // finally put the cluster node into global
-
-				this.body.nodes[clusterNodeProperties.id] = clusterNode;
-
-				this._clusterEdges(childNodesObj, childEdgesObj, clusterNodeProperties, options.clusterEdgeProperties); // set ID to undefined so no duplicates arise
-
-
-				clusterNodeProperties.id = undefined; // wrap up
-
-				if (refreshData === true) {
-					this.body.emitter.emit("_dataChanged");
-				}
-			}
-			/**
-			 *
-			 * @param {Edge} edge
-			 * @private
-			 */
-
-		}, {
-			key: "_backupEdgeOptions",
-			value: function _backupEdgeOptions(edge) {
-				if (this.clusteredEdges[edge.id] === undefined) {
-					this.clusteredEdges[edge.id] = {
-						physics: edge.options.physics
-					};
-				}
-			}
-			/**
-			 *
-			 * @param {Edge} edge
-			 * @private
-			 */
-
-		}, {
-			key: "_restoreEdge",
-			value: function _restoreEdge(edge) {
-				var originalOptions = this.clusteredEdges[edge.id];
-
-				if (originalOptions !== undefined) {
-					edge.setOptions({
-						physics: originalOptions.physics
-					});
-					delete this.clusteredEdges[edge.id];
-				}
-			}
-			/**
-			 * Check if a node is a cluster.
-			 *
-			 * @param {Node.id} nodeId
-			 * @returns {*}
-			 */
-
-		}, {
-			key: "isCluster",
-			value: function isCluster(nodeId) {
-				if (this.body.nodes[nodeId] !== undefined) {
-					return this.body.nodes[nodeId].isCluster === true;
-				} else {
-					console.error("Node does not exist.");
-					return false;
-				}
-			}
-			/**
-			 * get the position of the cluster node based on what's inside
-			 *
-			 * @param {object} childNodesObj    | object with node objects, id as keys
-			 * @returns {{x: number, y: number}}
-			 * @private
-			 */
-
-		}, {
-			key: "_getClusterPosition",
-			value: function _getClusterPosition(childNodesObj) {
-				var childKeys = keys$4(childNodesObj);
-
-				var minX = childNodesObj[childKeys[0]].x;
-				var maxX = childNodesObj[childKeys[0]].x;
-				var minY = childNodesObj[childKeys[0]].y;
-				var maxY = childNodesObj[childKeys[0]].y;
-				var node;
-
-				for (var i = 1; i < childKeys.length; i++) {
-					node = childNodesObj[childKeys[i]];
-					minX = node.x < minX ? node.x : minX;
-					maxX = node.x > maxX ? node.x : maxX;
-					minY = node.y < minY ? node.y : minY;
-					maxY = node.y > maxY ? node.y : maxY;
-				}
-
-				return {
-					x: 0.5 * (minX + maxX),
-					y: 0.5 * (minY + maxY)
-				};
-			}
-			/**
-			 * Open a cluster by calling this function.
-			 *
-			 * @param {vis.Edge.id}  clusterNodeId | the ID of the cluster node
-			 * @param {object} options
-			 * @param {boolean} refreshData | wrap up afterwards if not true
-			 */
-
-		}, {
-			key: "openCluster",
-			value: function openCluster(clusterNodeId, options) {
-				var refreshData = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
-
-				// kill conditions
-				if (clusterNodeId === undefined) {
-					throw new Error("No clusterNodeId supplied to openCluster.");
-				}
-
-				var clusterNode = this.body.nodes[clusterNodeId];
-
-				if (clusterNode === undefined) {
-					throw new Error("The clusterNodeId supplied to openCluster does not exist.");
-				}
-
-				if (clusterNode.isCluster !== true || clusterNode.containedNodes === undefined || clusterNode.containedEdges === undefined) {
-					throw new Error("The node:" + clusterNodeId + " is not a valid cluster.");
-				} // Check if current cluster is clustered itself
-
-
-				var stack = this.findNode(clusterNodeId);
-				var parentIndex = indexOf(stack).call(stack, clusterNodeId) - 1;
-
-				if (parentIndex >= 0) {
-					// Current cluster is clustered; transfer contained nodes and edges to parent
-					var parentClusterNodeId = stack[parentIndex];
-					var parentClusterNode = this.body.nodes[parentClusterNodeId]; // clustering.clusteredNodes and clustering.clusteredEdges remain unchanged
-
-					parentClusterNode._openChildCluster(clusterNodeId); // All components of child cluster node have been transferred. It can die now.
-
-
-					delete this.body.nodes[clusterNodeId];
-
-					if (refreshData === true) {
-						this.body.emitter.emit("_dataChanged");
-					}
-
-					return;
-				} // main body
-
-
-				var containedNodes = clusterNode.containedNodes;
-				var containedEdges = clusterNode.containedEdges; // allow the user to position the nodes after release.
-
-				if (options !== undefined && options.releaseFunction !== undefined && typeof options.releaseFunction === "function") {
-					var positions = {};
-					var clusterPosition = {
-						x: clusterNode.x,
-						y: clusterNode.y
-					};
-
-					for (var nodeId in containedNodes) {
-						if (Object.prototype.hasOwnProperty.call(containedNodes, nodeId)) {
-							var containedNode = this.body.nodes[nodeId];
-							positions[nodeId] = {
-								x: containedNode.x,
-								y: containedNode.y
-							};
-						}
-					}
-
-					var newPositions = options.releaseFunction(clusterPosition, positions);
-
-					for (var _nodeId2 in containedNodes) {
-						if (Object.prototype.hasOwnProperty.call(containedNodes, _nodeId2)) {
-							var _containedNode = this.body.nodes[_nodeId2];
-
-							if (newPositions[_nodeId2] !== undefined) {
-								_containedNode.x = newPositions[_nodeId2].x === undefined ? clusterNode.x : newPositions[_nodeId2].x;
-								_containedNode.y = newPositions[_nodeId2].y === undefined ? clusterNode.y : newPositions[_nodeId2].y;
-							}
-						}
-					}
-				} else {
-					// copy the position from the cluster
-					forEach$1(containedNodes, function (containedNode) {
-						// inherit position
-						if (containedNode.options.fixed.x === false) {
-							containedNode.x = clusterNode.x;
-						}
-
-						if (containedNode.options.fixed.y === false) {
-							containedNode.y = clusterNode.y;
-						}
-					});
-				} // release nodes
-
-
-				for (var _nodeId3 in containedNodes) {
-					if (Object.prototype.hasOwnProperty.call(containedNodes, _nodeId3)) {
-						var _containedNode2 = this.body.nodes[_nodeId3]; // inherit speed
-
-						_containedNode2.vx = clusterNode.vx;
-						_containedNode2.vy = clusterNode.vy;
-
-						_containedNode2.setOptions({
-							physics: true
-						});
-
-						delete this.clusteredNodes[_nodeId3];
-					}
-				} // copy the clusterNode edges because we cannot iterate over an object that we add or remove from.
-
-
-				var edgesToBeDeleted = [];
-
-				for (var i = 0; i < clusterNode.edges.length; i++) {
-					edgesToBeDeleted.push(clusterNode.edges[i]);
-				} // actually handling the deleting.
-
-
-				for (var _i3 = 0; _i3 < edgesToBeDeleted.length; _i3++) {
-					var edge = edgesToBeDeleted[_i3];
-
-					var otherNodeId = this._getConnectedId(edge, clusterNodeId);
-
-					var otherNode = this.clusteredNodes[otherNodeId];
-
-					for (var j = 0; j < edge.clusteringEdgeReplacingIds.length; j++) {
-						var transferId = edge.clusteringEdgeReplacingIds[j];
-						var transferEdge = this.body.edges[transferId];
-						if (transferEdge === undefined) continue; // if the other node is in another cluster, we transfer ownership of this edge to the other cluster
-
-						if (otherNode !== undefined) {
-							// transfer ownership:
-							var otherCluster = this.body.nodes[otherNode.clusterId];
-							otherCluster.containedEdges[transferEdge.id] = transferEdge; // delete local reference
-
-							delete containedEdges[transferEdge.id]; // get to and from
-
-							var fromId = transferEdge.fromId;
-							var toId = transferEdge.toId;
-
-							if (transferEdge.toId == otherNodeId) {
-								toId = otherNode.clusterId;
-							} else {
-								fromId = otherNode.clusterId;
-							} // create new cluster edge from the otherCluster
-
-
-							this._createClusteredEdge(fromId, toId, transferEdge, otherCluster.clusterEdgeProperties, {
-								hidden: false,
-								physics: true
-							});
-						} else {
-							this._restoreEdge(transferEdge);
-						}
-					}
-
-					edge.remove();
-				} // handle the releasing of the edges
-
-
-				for (var edgeId in containedEdges) {
-					if (Object.prototype.hasOwnProperty.call(containedEdges, edgeId)) {
-						this._restoreEdge(containedEdges[edgeId]);
-					}
-				} // remove clusterNode
-
-
-				delete this.body.nodes[clusterNodeId];
-
-				if (refreshData === true) {
-					this.body.emitter.emit("_dataChanged");
-				}
-			}
-			/**
-			 *
-			 * @param {Cluster.id} clusterId
-			 * @returns {Array.<Node.id>}
-			 */
-
-		}, {
-			key: "getNodesInCluster",
-			value: function getNodesInCluster(clusterId) {
-				var nodesArray = [];
-
-				if (this.isCluster(clusterId) === true) {
-					var containedNodes = this.body.nodes[clusterId].containedNodes;
-
-					for (var nodeId in containedNodes) {
-						if (Object.prototype.hasOwnProperty.call(containedNodes, nodeId)) {
-							nodesArray.push(this.body.nodes[nodeId].id);
-						}
-					}
-				}
-
-				return nodesArray;
-			}
-			/**
-			 * Get the stack clusterId's that a certain node resides in. cluster A -> cluster B -> cluster C -> node
-			 *
-			 * If a node can't be found in the chain, return an empty array.
-			 *
-			 * @param {string|number} nodeId
-			 * @returns {Array}
-			 */
-
-		}, {
-			key: "findNode",
-			value: function findNode(nodeId) {
-				var stack = [];
-				var max = 100;
-				var counter = 0;
-				var node;
-
-				while (this.clusteredNodes[nodeId] !== undefined && counter < max) {
-					node = this.body.nodes[nodeId];
-					if (node === undefined) return [];
-					stack.push(node.id);
-					nodeId = this.clusteredNodes[nodeId].clusterId;
-					counter++;
-				}
-
-				node = this.body.nodes[nodeId];
-				if (node === undefined) return [];
-				stack.push(node.id);
-
-				reverse(stack).call(stack);
-
-				return stack;
-			}
-			/**
-			 * Using a clustered nodeId, update with the new options
-			 *
-			 * @param {Node.id} clusteredNodeId
-			 * @param {object} newOptions
-			 */
-
-		}, {
-			key: "updateClusteredNode",
-			value: function updateClusteredNode(clusteredNodeId, newOptions) {
-				if (clusteredNodeId === undefined) {
-					throw new Error("No clusteredNodeId supplied to updateClusteredNode.");
-				}
-
-				if (newOptions === undefined) {
-					throw new Error("No newOptions supplied to updateClusteredNode.");
-				}
-
-				if (this.body.nodes[clusteredNodeId] === undefined) {
-					throw new Error("The clusteredNodeId supplied to updateClusteredNode does not exist.");
-				}
-
-				this.body.nodes[clusteredNodeId].setOptions(newOptions);
-				this.body.emitter.emit("_dataChanged");
-			}
-			/**
-			 * Using a base edgeId, update all related clustered edges with the new options
-			 *
-			 * @param {vis.Edge.id} startEdgeId
-			 * @param {object} newOptions
-			 */
-
-		}, {
-			key: "updateEdge",
-			value: function updateEdge(startEdgeId, newOptions) {
-				if (startEdgeId === undefined) {
-					throw new Error("No startEdgeId supplied to updateEdge.");
-				}
-
-				if (newOptions === undefined) {
-					throw new Error("No newOptions supplied to updateEdge.");
-				}
-
-				if (this.body.edges[startEdgeId] === undefined) {
-					throw new Error("The startEdgeId supplied to updateEdge does not exist.");
-				}
-
-				var allEdgeIds = this.getClusteredEdges(startEdgeId);
-
-				for (var i = 0; i < allEdgeIds.length; i++) {
-					var edge = this.body.edges[allEdgeIds[i]];
-					edge.setOptions(newOptions);
-				}
-
-				this.body.emitter.emit("_dataChanged");
-			}
-			/**
-			 * Get a stack of clusterEdgeId's (+base edgeid) that a base edge is the same as. cluster edge C -> cluster edge B -> cluster edge A -> base edge(edgeId)
-			 *
-			 * @param {vis.Edge.id} edgeId
-			 * @returns {Array.<vis.Edge.id>}
-			 */
-
-		}, {
-			key: "getClusteredEdges",
-			value: function getClusteredEdges(edgeId) {
-				var stack = [];
-				var max = 100;
-				var counter = 0;
-
-				while (edgeId !== undefined && this.body.edges[edgeId] !== undefined && counter < max) {
-					stack.push(this.body.edges[edgeId].id);
-					edgeId = this.body.edges[edgeId].edgeReplacedById;
-					counter++;
-				}
-
-				reverse(stack).call(stack);
-
-				return stack;
-			}
-			/**
-			 * Get the base edge id of clusterEdgeId. cluster edge (clusteredEdgeId) -> cluster edge B -> cluster edge C -> base edge
-			 *
-			 * @param {vis.Edge.id} clusteredEdgeId
-			 * @returns {vis.Edge.id} baseEdgeId
-			 *
-			 * TODO: deprecate in 5.0.0. Method getBaseEdges() is the correct one to use.
-			 */
-
-		}, {
-			key: "getBaseEdge",
-			value: function getBaseEdge(clusteredEdgeId) {
-				// Just kludge this by returning the first base edge id found
-				return this.getBaseEdges(clusteredEdgeId)[0];
-			}
-			/**
-			 * Get all regular edges for this clustered edge id.
-			 *
-			 * @param {vis.Edge.id} clusteredEdgeId
-			 * @returns {Array.<vis.Edge.id>} all baseEdgeId's under this clustered edge
-			 */
-
-		}, {
-			key: "getBaseEdges",
-			value: function getBaseEdges(clusteredEdgeId) {
-				var IdsToHandle = [clusteredEdgeId];
-				var doneIds = [];
-				var foundIds = [];
-				var max = 100;
-				var counter = 0;
-
-				while (IdsToHandle.length > 0 && counter < max) {
-					var nextId = IdsToHandle.pop();
-					if (nextId === undefined) continue; // Paranoia here and onwards
-
-					var nextEdge = this.body.edges[nextId];
-					if (nextEdge === undefined) continue;
-					counter++;
-					var replacingIds = nextEdge.clusteringEdgeReplacingIds;
-
-					if (replacingIds === undefined) {
-						// nextId is a base id
-						foundIds.push(nextId);
-					} else {
-						// Another cluster edge, unravel this one as well
-						for (var i = 0; i < replacingIds.length; ++i) {
-							var replacingId = replacingIds[i]; // Don't add if already handled
-							// TODO: never triggers; find a test-case which does
-
-							if (indexOf(IdsToHandle).call(IdsToHandle, replacingIds) !== -1 || indexOf(doneIds).call(doneIds, replacingIds) !== -1) {
-								continue;
-							}
-
-							IdsToHandle.push(replacingId);
-						}
-					}
-
-					doneIds.push(nextId);
-				}
-
-				return foundIds;
-			}
-			/**
-			 * Get the Id the node is connected to
-			 *
-			 * @param {vis.Edge} edge
-			 * @param {Node.id} nodeId
-			 * @returns {*}
-			 * @private
-			 */
-
-		}, {
-			key: "_getConnectedId",
-			value: function _getConnectedId(edge, nodeId) {
-				if (edge.toId != nodeId) {
-					return edge.toId;
-				} else if (edge.fromId != nodeId) {
-					return edge.fromId;
-				} else {
-					return edge.fromId;
-				}
-			}
-			/**
-			 * We determine how many connections denote an important hub.
-			 * We take the mean + 2*std as the important hub size. (Assuming a normal distribution of data, ~2.2%)
-			 *
-			 * @returns {number}
-			 * @private
-			 */
-
-		}, {
-			key: "_getHubSize",
-			value: function _getHubSize() {
-				var average = 0;
-				var averageSquared = 0;
-				var hubCounter = 0;
-				var largestHub = 0;
-
-				for (var i = 0; i < this.body.nodeIndices.length; i++) {
-					var node = this.body.nodes[this.body.nodeIndices[i]];
-
-					if (node.edges.length > largestHub) {
-						largestHub = node.edges.length;
-					}
-
-					average += node.edges.length;
-					averageSquared += Math.pow(node.edges.length, 2);
-					hubCounter += 1;
-				}
-
-				average = average / hubCounter;
-				averageSquared = averageSquared / hubCounter;
-				var variance = averageSquared - Math.pow(average, 2);
-				var standardDeviation = Math.sqrt(variance);
-				var hubThreshold = Math.floor(average + 2 * standardDeviation); // always have at least one to cluster
-
-				if (hubThreshold > largestHub) {
-					hubThreshold = largestHub;
-				}
-
-				return hubThreshold;
-			}
-			/**
-			 * Create an edge for the cluster representation.
-			 *
-			 * @param {Node.id} fromId
-			 * @param {Node.id} toId
-			 * @param {vis.Edge} baseEdge
-			 * @param {object} clusterEdgeProperties
-			 * @param {object} extraOptions
-			 * @returns {Edge} newly created clustered edge
-			 * @private
-			 */
-
-		}, {
-			key: "_createClusteredEdge",
-			value: function _createClusteredEdge(fromId, toId, baseEdge, clusterEdgeProperties, extraOptions) {
-				// copy the options of the edge we will replace
-				var clonedOptions = NetworkUtil.cloneOptions(baseEdge, "edge"); // make sure the properties of clusterEdges are superimposed on it
-
-				deepExtend(clonedOptions, clusterEdgeProperties); // set up the edge
-
-				clonedOptions.from = fromId;
-				clonedOptions.to = toId;
-				clonedOptions.id = "clusterEdge:" + v4(); // apply the edge specific options to it if specified
-
-				if (extraOptions !== undefined) {
-					deepExtend(clonedOptions, extraOptions);
-				}
-
-				var newEdge = this.body.functions.createEdge(clonedOptions);
-				newEdge.clusteringEdgeReplacingIds = [baseEdge.id];
-				newEdge.connect(); // Register the new edge
-
-				this.body.edges[newEdge.id] = newEdge;
-				return newEdge;
-			}
-			/**
-			 * Add the passed child nodes and edges to the given cluster node.
-			 *
-			 * @param {object | Node} childNodes  hash of nodes or single node to add in cluster
-			 * @param {object | Edge} childEdges  hash of edges or single edge to take into account when clustering
-			 * @param {Node} clusterNode  cluster node to add nodes and edges to
-			 * @param {object} [clusterEdgeProperties]
-			 * @private
-			 */
-
-		}, {
-			key: "_clusterEdges",
-			value: function _clusterEdges(childNodes, childEdges, clusterNode, clusterEdgeProperties) {
-				if (childEdges instanceof Edge) {
-					var edge = childEdges;
-					var obj = {};
-					obj[edge.id] = edge;
-					childEdges = obj;
-				}
-
-				if (childNodes instanceof Node) {
-					var node = childNodes;
-					var _obj = {};
-					_obj[node.id] = node;
-					childNodes = _obj;
-				}
-
-				if (clusterNode === undefined || clusterNode === null) {
-					throw new Error("_clusterEdges: parameter clusterNode required");
-				}
-
-				if (clusterEdgeProperties === undefined) {
-					// Take the required properties from the cluster node
-					clusterEdgeProperties = clusterNode.clusterEdgeProperties;
-				} // create the new edges that will connect to the cluster.
-				// All self-referencing edges will be added to childEdges here.
-
-
-				this._createClusterEdges(childNodes, childEdges, clusterNode, clusterEdgeProperties); // disable the childEdges
-
-
-				for (var edgeId in childEdges) {
-					if (Object.prototype.hasOwnProperty.call(childEdges, edgeId)) {
-						if (this.body.edges[edgeId] !== undefined) {
-							var _edge2 = this.body.edges[edgeId]; // cache the options before changing
-
-							this._backupEdgeOptions(_edge2); // disable physics and hide the edge
-
-
-							_edge2.setOptions({
-								physics: false
-							});
-						}
-					}
-				} // disable the childNodes
-
-
-				for (var nodeId in childNodes) {
-					if (Object.prototype.hasOwnProperty.call(childNodes, nodeId)) {
-						this.clusteredNodes[nodeId] = {
-							clusterId: clusterNode.id,
-							node: this.body.nodes[nodeId]
-						};
-						this.body.nodes[nodeId].setOptions({
-							physics: false
-						});
-					}
-				}
-			}
-			/**
-			 * Determine in which cluster given nodeId resides.
-			 *
-			 * If not in cluster, return undefined.
-			 *
-			 * NOTE: If you know a cleaner way to do this, please enlighten me (wimrijnders).
-			 *
-			 * @param {Node.id} nodeId
-			 * @returns {Node|undefined} Node instance for cluster, if present
-			 * @private
-			 */
-
-		}, {
-			key: "_getClusterNodeForNode",
-			value: function _getClusterNodeForNode(nodeId) {
-				if (nodeId === undefined) return undefined;
-				var clusteredNode = this.clusteredNodes[nodeId]; // NOTE: If no cluster info found, it should actually be an error
-
-				if (clusteredNode === undefined) return undefined;
-				var clusterId = clusteredNode.clusterId;
-				if (clusterId === undefined) return undefined;
-				return this.body.nodes[clusterId];
-			}
-			/**
-			 * Internal helper function for conditionally removing items in array
-			 *
-			 * Done like this because Array.filter() is not fully supported by all IE's.
-			 *
-			 * @param {Array} arr
-			 * @param {Function} callback
-			 * @returns {Array}
-			 * @private
-			 */
-
-		}, {
-			key: "_filter",
-			value: function _filter(arr, callback) {
-				var ret = [];
-				forEach$1(arr, function (item) {
-					if (callback(item)) {
-						ret.push(item);
-					}
-				});
-				return ret;
-			}
-			/**
-			 * Scan all edges for changes in clustering and adjust this if necessary.
-			 *
-			 * Call this (internally) after there has been a change in node or edge data.
-			 *
-			 * Pre: States of this.body.nodes and this.body.edges consistent
-			 * Pre: this.clusteredNodes and this.clusteredEdge consistent with containedNodes and containedEdges
-			 *      of cluster nodes.
-			 */
-
-		}, {
-			key: "_updateState",
-			value: function _updateState() {
-				var _this4 = this;
-
-				var nodeId;
-				var deletedNodeIds = [];
-				var deletedEdgeIds = {};
-				/**
-				 * Utility function to iterate over clustering nodes only
-				 *
-				 * @param {Function} callback  function to call for each cluster node
-				 */
-
-				var eachClusterNode = function eachClusterNode(callback) {
-					forEach$1(_this4.body.nodes, function (node) {
-						if (node.isCluster === true) {
-							callback(node);
-						}
-					});
-				}; //
-				// Remove deleted regular nodes from clustering
-				//
-				// Determine the deleted nodes
-
-
-				for (nodeId in this.clusteredNodes) {
-					if (!Object.prototype.hasOwnProperty.call(this.clusteredNodes, nodeId)) continue;
-					var node = this.body.nodes[nodeId];
-
-					if (node === undefined) {
-						deletedNodeIds.push(nodeId);
-					}
-				} // Remove nodes from cluster nodes
-
-
-				eachClusterNode(function (clusterNode) {
-					for (var n = 0; n < deletedNodeIds.length; n++) {
-						delete clusterNode.containedNodes[deletedNodeIds[n]];
-					}
-				}); // Remove nodes from cluster list
-
-				for (var n = 0; n < deletedNodeIds.length; n++) {
-					delete this.clusteredNodes[deletedNodeIds[n]];
-				} //
-				// Remove deleted edges from clustering
-				//
-				// Add the deleted clustered edges to the list
-
-
-				forEach$1(this.clusteredEdges, function (edgeId) {
-					var edge = _this4.body.edges[edgeId];
-
-					if (edge === undefined || !edge.endPointsValid()) {
-						deletedEdgeIds[edgeId] = edgeId;
-					}
-				}); // Cluster nodes can also contain edges which are not clustered,
-				// i.e. nodes 1-2 within cluster with an edge in between.
-				// So the cluster nodes also need to be scanned for invalid edges
-
-				eachClusterNode(function (clusterNode) {
-					forEach$1(clusterNode.containedEdges, function (edge, edgeId) {
-						if (!edge.endPointsValid() && !deletedEdgeIds[edgeId]) {
-							deletedEdgeIds[edgeId] = edgeId;
-						}
-					});
-				}); // Also scan for cluster edges which need to be removed in the active list.
-				// Regular edges have been removed beforehand, so this only picks up the cluster edges.
-
-				forEach$1(this.body.edges, function (edge, edgeId) {
-					// Explicitly scan the contained edges for validity
-					var isValid = true;
-					var replacedIds = edge.clusteringEdgeReplacingIds;
-
-					if (replacedIds !== undefined) {
-						var numValid = 0;
-						forEach$1(replacedIds, function (containedEdgeId) {
-							var containedEdge = _this4.body.edges[containedEdgeId];
-
-							if (containedEdge !== undefined && containedEdge.endPointsValid()) {
-								numValid += 1;
-							}
-						});
-						isValid = numValid > 0;
-					}
-
-					if (!edge.endPointsValid() || !isValid) {
-						deletedEdgeIds[edgeId] = edgeId;
-					}
-				}); // Remove edges from cluster nodes
-
-				eachClusterNode(function (clusterNode) {
-					forEach$1(deletedEdgeIds, function (deletedEdgeId) {
-						delete clusterNode.containedEdges[deletedEdgeId];
-						forEach$1(clusterNode.edges, function (edge, m) {
-							if (edge.id === deletedEdgeId) {
-								clusterNode.edges[m] = null; // Don't want to directly delete here, because in the loop
-
-								return;
-							}
-
-							edge.clusteringEdgeReplacingIds = _this4._filter(edge.clusteringEdgeReplacingIds, function (id) {
-								return !deletedEdgeIds[id];
-							});
-						}); // Clean up the nulls
-
-						clusterNode.edges = _this4._filter(clusterNode.edges, function (item) {
-							return item !== null;
-						});
-					});
-				}); // Remove from cluster list
-
-				forEach$1(deletedEdgeIds, function (edgeId) {
-					delete _this4.clusteredEdges[edgeId];
-				}); // Remove cluster edges from active list (this.body.edges).
-				// deletedEdgeIds still contains id of regular edges, but these should all
-				// be gone when you reach here.
-
-				forEach$1(deletedEdgeIds, function (edgeId) {
-					delete _this4.body.edges[edgeId];
-				}); //
-				// Check changed cluster state of edges
-				//
-				// Iterating over keys here, because edges may be removed in the loop
-
-				var ids = keys$4(this.body.edges);
-
-				forEach$1(ids, function (edgeId) {
-					var edge = _this4.body.edges[edgeId];
-
-					var shouldBeClustered = _this4._isClusteredNode(edge.fromId) || _this4._isClusteredNode(edge.toId);
-
-					if (shouldBeClustered === _this4._isClusteredEdge(edge.id)) {
-						return; // all is well
-					}
-
-					if (shouldBeClustered) {
-						// add edge to clustering
-						var clusterFrom = _this4._getClusterNodeForNode(edge.fromId);
-
-						if (clusterFrom !== undefined) {
-							_this4._clusterEdges(_this4.body.nodes[edge.fromId], edge, clusterFrom);
-						}
-
-						var clusterTo = _this4._getClusterNodeForNode(edge.toId);
-
-						if (clusterTo !== undefined) {
-							_this4._clusterEdges(_this4.body.nodes[edge.toId], edge, clusterTo);
-						} // TODO: check that it works for both edges clustered
-						//       (This might be paranoia)
-
-					} else {
-						delete _this4._clusterEdges[edgeId];
-
-						_this4._restoreEdge(edge); // This should not be happening, the state should
-						// be properly updated at this point.
-						//
-						// If it *is* reached during normal operation, then we have to implement
-						// undo clustering for this edge here.
-						// throw new Error('remove edge from clustering not implemented!')
-
-					}
-				}); // Clusters may be nested to any level. Keep on opening until nothing to open
-
-				var changed = false;
-				var continueLoop = true;
-
-				var _loop2 = function _loop2() {
-					var clustersToOpen = []; // Determine the id's of clusters that need opening
-
-					eachClusterNode(function (clusterNode) {
-						var numNodes = keys$4(clusterNode.containedNodes).length;
-
-						var allowSingle = clusterNode.options.allowSingleNodeCluster === true;
-
-						if (allowSingle && numNodes < 1 || !allowSingle && numNodes < 2) {
-							clustersToOpen.push(clusterNode.id);
-						}
-					}); // Open them
-
-					for (var _n = 0; _n < clustersToOpen.length; ++_n) {
-						_this4.openCluster(clustersToOpen[_n], {}, false
-							/* Don't refresh, we're in an refresh/update already */
-						);
-					}
-
-					continueLoop = clustersToOpen.length > 0;
-					changed = changed || continueLoop;
-				};
-
-				while (continueLoop) {
-					_loop2();
-				}
-
-				if (changed) {
-					this._updateState(); // Redo this method (recursion possible! should be safe)
-
-				}
-			}
-			/**
-			 * Determine if node with given id is part of a cluster.
-			 *
-			 * @param {Node.id} nodeId
-			 * @returns {boolean} true if part of a cluster.
-			 */
-
-		}, {
-			key: "_isClusteredNode",
-			value: function _isClusteredNode(nodeId) {
-				return this.clusteredNodes[nodeId] !== undefined;
-			}
-			/**
-			 * Determine if edge with given id is not visible due to clustering.
-			 *
-			 * An edge is considered clustered if:
-			 * - it is directly replaced by a clustering edge
-			 * - any of its connecting nodes is in a cluster
-			 *
-			 * @param {vis.Edge.id} edgeId
-			 * @returns {boolean} true if part of a cluster.
-			 */
-
-		}, {
-			key: "_isClusteredEdge",
-			value: function _isClusteredEdge(edgeId) {
-				return this.clusteredEdges[edgeId] !== undefined;
-			}
-		}]);
-
-		return ClusterEngine;
-	}();
-
-	function _createForOfIteratorHelper$5(o, allowArrayLike) { var it = typeof symbol !== "undefined" && getIteratorMethod$1(o) || o["@@iterator"]; if (!it) { if (isArray$2(o) || (it = _unsupportedIterableToArray$5(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() { }; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
-
-	function _unsupportedIterableToArray$5(o, minLen) { var _context4; if (!o) return; if (typeof o === "string") return _arrayLikeToArray$5(o, minLen); var n = slice(_context4 = Object.prototype.toString.call(o)).call(_context4, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return from$3(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$5(o, minLen); }
-
-	function _arrayLikeToArray$5(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
-	/**
-	 * Initializes window.requestAnimationFrame() to a usable form.
-	 *
-	 * Specifically, set up this method for the case of running on node.js with jsdom enabled.
-	 *
-	 * NOTES:
-	 *
-	 * On node.js, when calling this directly outside of this class, `window` is not defined.
-	 *   This happens even if jsdom is used.
-	 * For node.js + jsdom, `window` is available at the moment the constructor is called.
-	 *   For this reason, the called is placed within the constructor.
-	 * Even then, `window.requestAnimationFrame()` is not defined, so it still needs to be added.
-	 * During unit testing, it happens that the window object is reset during execution, causing
-	 *   a runtime error due to missing `requestAnimationFrame()`. This needs to be compensated for,
-	 *   see `_requestNextFrame()`.
-	 * Since this is a global object, it may affect other modules besides `Network`. With normal
-	 *   usage, this does not cause any problems. During unit testing, errors may occur. These have
-	 *   been compensated for, see comment block in _requestNextFrame().
-	 *
-	 * @private
-	 */
-
-	function _initRequestAnimationFrame() {
-		var func;
-
-		if (window !== undefined) {
-			func = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;
-		}
-
-		if (func === undefined) {
-			// window or method not present, setting mock requestAnimationFrame
-			window.requestAnimationFrame = function (callback) {
-				//console.log("Called mock requestAnimationFrame");
-				callback();
-			};
-		} else {
-			window.requestAnimationFrame = func;
-		}
-	}
-	/**
-	 * The canvas renderer
-	 */
-
-
-	var CanvasRenderer = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {Canvas} canvas
-		 */
-		function CanvasRenderer(body, canvas) {
-			_classCallCheck(this, CanvasRenderer);
-
-			_initRequestAnimationFrame();
-
-			this.body = body;
-			this.canvas = canvas;
-			this.redrawRequested = false;
-			this.renderTimer = undefined;
-			this.requiresTimeout = true;
-			this.renderingActive = false;
-			this.renderRequests = 0;
-			this.allowRedraw = true;
-			this.dragging = false;
-			this.zooming = false;
-			this.options = {};
-			this.defaultOptions = {
-				hideEdgesOnDrag: false,
-				hideEdgesOnZoom: false,
-				hideNodesOnDrag: false
-			};
-
-			assign$2(this.options, this.defaultOptions);
-
-			this._determineBrowserMethod();
-
-			this.bindEventListeners();
-		}
-		/**
-		 * Binds event listeners
-		 */
-
-
-		_createClass(CanvasRenderer, [{
-			key: "bindEventListeners",
-			value: function bindEventListeners() {
-				var _this = this,
-					_context2;
-
-				this.body.emitter.on("dragStart", function () {
-					_this.dragging = true;
-				});
-				this.body.emitter.on("dragEnd", function () {
-					_this.dragging = false;
-				});
-				this.body.emitter.on("zoom", function () {
-					_this.zooming = true;
-					window.clearTimeout(_this.zoomTimeoutId);
-					_this.zoomTimeoutId = setTimeout$1(function () {
-						var _context;
-
-						_this.zooming = false;
-
-						bind$6(_context = _this._requestRedraw).call(_context, _this)();
-					}, 250);
-				});
-				this.body.emitter.on("_resizeNodes", function () {
-					_this._resizeNodes();
-				});
-				this.body.emitter.on("_redraw", function () {
-					if (_this.renderingActive === false) {
-						_this._redraw();
-					}
-				});
-				this.body.emitter.on("_blockRedraw", function () {
-					_this.allowRedraw = false;
-				});
-				this.body.emitter.on("_allowRedraw", function () {
-					_this.allowRedraw = true;
-					_this.redrawRequested = false;
-				});
-				this.body.emitter.on("_requestRedraw", bind$6(_context2 = this._requestRedraw).call(_context2, this));
-				this.body.emitter.on("_startRendering", function () {
-					_this.renderRequests += 1;
-					_this.renderingActive = true;
-
-					_this._startRendering();
-				});
-				this.body.emitter.on("_stopRendering", function () {
-					_this.renderRequests -= 1;
-					_this.renderingActive = _this.renderRequests > 0;
-					_this.renderTimer = undefined;
-				});
-				this.body.emitter.on("destroy", function () {
-					_this.renderRequests = 0;
-					_this.allowRedraw = false;
-					_this.renderingActive = false;
-
-					if (_this.requiresTimeout === true) {
-						clearTimeout(_this.renderTimer);
-					} else {
-						window.cancelAnimationFrame(_this.renderTimer);
-					}
-
-					_this.body.emitter.off();
-				});
-			}
-			/**
-			 *
-			 * @param {object} options
-			 */
-
-		}, {
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (options !== undefined) {
-					var fields = ["hideEdgesOnDrag", "hideEdgesOnZoom", "hideNodesOnDrag"];
-					selectiveDeepExtend(fields, this.options, options);
-				}
-			}
-			/**
-			 * Prepare the drawing of the next frame.
-			 *
-			 * Calls the callback when the next frame can or will be drawn.
-			 *
-			 * @param {Function} callback
-			 * @param {number} delay - timeout case only, wait this number of milliseconds
-			 * @returns {Function | undefined}
-			 * @private
-			 */
-
-		}, {
-			key: "_requestNextFrame",
-			value: function _requestNextFrame(callback, delay) {
-				// During unit testing, it happens that the mock window object is reset while
-				// the next frame is still pending. Then, either 'window' is not present, or
-				// 'requestAnimationFrame()' is not present because it is not defined on the
-				// mock window object.
-				//
-				// As a consequence, unrelated unit tests may appear to fail, even if the problem
-				// described happens in the current unit test.
-				//
-				// This is not something that will happen in normal operation, but we still need
-				// to take it into account.
-				//
-				if (typeof window === "undefined") return; // Doing `if (window === undefined)` does not work here!
-
-				var timer;
-				var myWindow = window; // Grab a reference to reduce the possibility that 'window' is reset
-				// while running this method.
-
-				if (this.requiresTimeout === true) {
-					// wait given number of milliseconds and perform the animation step function
-					timer = setTimeout$1(callback, delay);
-				} else {
-					if (myWindow.requestAnimationFrame) {
-						timer = myWindow.requestAnimationFrame(callback);
-					}
-				}
-
-				return timer;
-			}
-			/**
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_startRendering",
-			value: function _startRendering() {
-				if (this.renderingActive === true) {
-					if (this.renderTimer === undefined) {
-						var _context3;
-
-						this.renderTimer = this._requestNextFrame(bind$6(_context3 = this._renderStep).call(_context3, this), this.simulationInterval);
-					}
-				}
-			}
-			/**
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_renderStep",
-			value: function _renderStep() {
-				if (this.renderingActive === true) {
-					// reset the renderTimer so a new scheduled animation step can be set
-					this.renderTimer = undefined;
-
-					if (this.requiresTimeout === true) {
-						// this schedules a new simulation step
-						this._startRendering();
-					}
-
-					this._redraw();
-
-					if (this.requiresTimeout === false) {
-						// this schedules a new simulation step
-						this._startRendering();
-					}
-				}
-			}
-			/**
-			 * Redraw the network with the current data
-			 * chart will be resized too.
-			 */
-
-		}, {
-			key: "redraw",
-			value: function redraw() {
-				this.body.emitter.emit("setSize");
-
-				this._redraw();
-			}
-			/**
-			 * Redraw the network with the current data
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_requestRedraw",
-			value: function _requestRedraw() {
-				var _this2 = this;
-
-				if (this.redrawRequested !== true && this.renderingActive === false && this.allowRedraw === true) {
-					this.redrawRequested = true;
-
-					this._requestNextFrame(function () {
-						_this2._redraw(false);
-					}, 0);
-				}
-			}
-			/**
-			 * Redraw the network with the current data
-			 *
-			 * @param {boolean} [hidden=false] | Used to get the first estimate of the node sizes.
-			 *                                   Only the nodes are drawn after which they are quickly drawn over.
-			 * @private
-			 */
-
-		}, {
-			key: "_redraw",
-			value: function _redraw() {
-				var hidden = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-
-				if (this.allowRedraw === true) {
-					this.body.emitter.emit("initRedraw");
-					this.redrawRequested = false;
-					var drawLater = {
-						drawExternalLabels: null
-					}; // when the container div was hidden, this fixes it back up!
-
-					if (this.canvas.frame.canvas.width === 0 || this.canvas.frame.canvas.height === 0) {
-						this.canvas.setSize();
-					}
-
-					this.canvas.setTransform();
-					var ctx = this.canvas.getContext(); // clear the canvas
-
-					var w = this.canvas.frame.canvas.clientWidth;
-					var h = this.canvas.frame.canvas.clientHeight;
-					ctx.clearRect(0, 0, w, h); // if the div is hidden, we stop the redraw here for performance.
-
-					if (this.canvas.frame.clientWidth === 0) {
-						return;
-					} // set scaling and translation
-
-
-					ctx.save();
-					ctx.translate(this.body.view.translation.x, this.body.view.translation.y);
-					ctx.scale(this.body.view.scale, this.body.view.scale);
-					ctx.beginPath();
-					this.body.emitter.emit("beforeDrawing", ctx);
-					ctx.closePath();
-
-					if (hidden === false) {
-						if ((this.dragging === false || this.dragging === true && this.options.hideEdgesOnDrag === false) && (this.zooming === false || this.zooming === true && this.options.hideEdgesOnZoom === false)) {
-							this._drawEdges(ctx);
-						}
-					}
-
-					if (this.dragging === false || this.dragging === true && this.options.hideNodesOnDrag === false) {
-						var _this$_drawNodes = this._drawNodes(ctx, hidden),
-							drawExternalLabels = _this$_drawNodes.drawExternalLabels;
-
-						drawLater.drawExternalLabels = drawExternalLabels;
-					} // draw the arrows last so they will be at the top
-
-
-					if (hidden === false) {
-						if ((this.dragging === false || this.dragging === true && this.options.hideEdgesOnDrag === false) && (this.zooming === false || this.zooming === true && this.options.hideEdgesOnZoom === false)) {
-							this._drawArrows(ctx);
-						}
-					}
-
-					if (drawLater.drawExternalLabels != null) {
-						drawLater.drawExternalLabels();
-					}
-
-					if (hidden === false) {
-						this._drawSelectionBox(ctx);
-					}
-
-					ctx.beginPath();
-					this.body.emitter.emit("afterDrawing", ctx);
-					ctx.closePath(); // restore original scaling and translation
-
-					ctx.restore();
-
-					if (hidden === true) {
-						ctx.clearRect(0, 0, w, h);
-					}
-				}
-			}
-			/**
-			 * Redraw all nodes
-			 *
-			 * @param {CanvasRenderingContext2D}   ctx
-			 * @param {boolean} [alwaysShow]
-			 * @private
-			 */
-
-		}, {
-			key: "_resizeNodes",
-			value: function _resizeNodes() {
-				this.canvas.setTransform();
-				var ctx = this.canvas.getContext();
-				ctx.save();
-				ctx.translate(this.body.view.translation.x, this.body.view.translation.y);
-				ctx.scale(this.body.view.scale, this.body.view.scale);
-				var nodes = this.body.nodes;
-				var node; // resize all nodes
-
-				for (var nodeId in nodes) {
-					if (Object.prototype.hasOwnProperty.call(nodes, nodeId)) {
-						node = nodes[nodeId];
-						node.resize(ctx);
-						node.updateBoundingBox(ctx, node.selected);
-					}
-				} // restore original scaling and translation
-
-
-				ctx.restore();
-			}
-			/**
-			 * Redraw all nodes
-			 *
-			 * @param {CanvasRenderingContext2D} ctx  2D context of a HTML canvas
-			 * @param {boolean} [alwaysShow]
-			 * @private
-			 * @returns {object} Callbacks to draw later on higher layers.
-			 */
-
-		}, {
-			key: "_drawNodes",
-			value: function _drawNodes(ctx) {
-				var alwaysShow = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-				var nodes = this.body.nodes;
-				var nodeIndices = this.body.nodeIndices;
-				var node;
-				var selected = [];
-				var hovered = [];
-				var margin = 20;
-				var topLeft = this.canvas.DOMtoCanvas({
-					x: -margin,
-					y: -margin
-				});
-				var bottomRight = this.canvas.DOMtoCanvas({
-					x: this.canvas.frame.canvas.clientWidth + margin,
-					y: this.canvas.frame.canvas.clientHeight + margin
-				});
-				var viewableArea = {
-					top: topLeft.y,
-					left: topLeft.x,
-					bottom: bottomRight.y,
-					right: bottomRight.x
-				};
-				var _drawExternalLabels = []; // draw unselected nodes;
-
-				for (var _i = 0; _i < nodeIndices.length; _i++) {
-					node = nodes[nodeIndices[_i]]; // set selected and hovered nodes aside
-
-					if (node.hover) {
-						hovered.push(nodeIndices[_i]);
-					} else if (node.isSelected()) {
-						selected.push(nodeIndices[_i]);
-					} else {
-						if (alwaysShow === true) {
-							var drawLater = node.draw(ctx);
-
-							if (drawLater.drawExternalLabel != null) {
-								_drawExternalLabels.push(drawLater.drawExternalLabel);
-							}
-						} else if (node.isBoundingBoxOverlappingWith(viewableArea) === true) {
-							var _drawLater = node.draw(ctx);
-
-							if (_drawLater.drawExternalLabel != null) {
-								_drawExternalLabels.push(_drawLater.drawExternalLabel);
-							}
-						} else {
-							node.updateBoundingBox(ctx, node.selected);
-						}
-					}
-				}
-
-				var i;
-				var selectedLength = selected.length;
-				var hoveredLength = hovered.length; // draw the selected nodes on top
-
-				for (i = 0; i < selectedLength; i++) {
-					node = nodes[selected[i]];
-
-					var _drawLater2 = node.draw(ctx);
-
-					if (_drawLater2.drawExternalLabel != null) {
-						_drawExternalLabels.push(_drawLater2.drawExternalLabel);
-					}
-				} // draw hovered nodes above everything else: fixes https://github.com/visjs/vis-network/issues/226
-
-
-				for (i = 0; i < hoveredLength; i++) {
-					node = nodes[hovered[i]];
-
-					var _drawLater3 = node.draw(ctx);
-
-					if (_drawLater3.drawExternalLabel != null) {
-						_drawExternalLabels.push(_drawLater3.drawExternalLabel);
-					}
-				}
-
-				return {
-					drawExternalLabels: function drawExternalLabels() {
-						var _iterator = _createForOfIteratorHelper$5(_drawExternalLabels),
-							_step;
-
-						try {
-							for (_iterator.s(); !(_step = _iterator.n()).done;) {
-								var draw = _step.value;
-								draw();
-							}
-						} catch (err) {
-							_iterator.e(err);
-						} finally {
-							_iterator.f();
-						}
-					}
-				};
-			}
-			/**
-			 * Redraw all edges
-			 *
-			 * @param {CanvasRenderingContext2D} ctx  2D context of a HTML canvas
-			 * @private
-			 */
-
-		}, {
-			key: "_drawEdges",
-			value: function _drawEdges(ctx) {
-				var edges = this.body.edges;
-				var edgeIndices = this.body.edgeIndices;
-
-				for (var i = 0; i < edgeIndices.length; i++) {
-					var edge = edges[edgeIndices[i]];
-
-					if (edge.connected === true) {
-						edge.draw(ctx);
-					}
-				}
-			}
-			/**
-			 * Redraw all arrows
-			 *
-			 * @param {CanvasRenderingContext2D} ctx  2D context of a HTML canvas
-			 * @private
-			 */
-
-		}, {
-			key: "_drawArrows",
-			value: function _drawArrows(ctx) {
-				var edges = this.body.edges;
-				var edgeIndices = this.body.edgeIndices;
-
-				for (var i = 0; i < edgeIndices.length; i++) {
-					var edge = edges[edgeIndices[i]];
-
-					if (edge.connected === true) {
-						edge.drawArrows(ctx);
-					}
-				}
-			}
-			/**
-			 * Determine if the browser requires a setTimeout or a requestAnimationFrame. This was required because
-			 * some implementations (safari and IE9) did not support requestAnimationFrame
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_determineBrowserMethod",
-			value: function _determineBrowserMethod() {
-				if (typeof window !== "undefined") {
-					var browserType = navigator.userAgent.toLowerCase();
-					this.requiresTimeout = false;
-
-					if (indexOf(browserType).call(browserType, "msie 9.0") != -1) {
-						// IE 9
-						this.requiresTimeout = true;
-					} else if (indexOf(browserType).call(browserType, "safari") != -1) {
-						// safari
-						if (indexOf(browserType).call(browserType, "chrome") <= -1) {
-							this.requiresTimeout = true;
-						}
-					}
-				} else {
-					this.requiresTimeout = true;
-				}
-			}
-			/**
-			 * Redraw selection box
-			 *
-			 * @param {CanvasRenderingContext2D} ctx  2D context of a HTML canvas
-			 * @private
-			 */
-
-		}, {
-			key: "_drawSelectionBox",
-			value: function _drawSelectionBox(ctx) {
-				if (this.body.selectionBox.show) {
-					ctx.beginPath();
-					var width = this.body.selectionBox.position.end.x - this.body.selectionBox.position.start.x;
-					var height = this.body.selectionBox.position.end.y - this.body.selectionBox.position.start.y;
-					ctx.rect(this.body.selectionBox.position.start.x, this.body.selectionBox.position.start.y, width, height);
-					ctx.fillStyle = "rgba(151, 194, 252, 0.2)";
-					ctx.fillRect(this.body.selectionBox.position.start.x, this.body.selectionBox.position.start.y, width, height);
-					ctx.strokeStyle = "rgba(151, 194, 252, 1)";
-					ctx.stroke();
-				} else {
-					ctx.closePath();
-				}
-			}
-		}]);
-
-		return CanvasRenderer;
-	}();
-
-	var path$1 = path$y;
-	var setInterval$1 = path$1.setInterval;
-
-	var setInterval = setInterval$1;
-
-	/**
-	 * Register a touch event, taking place before a gesture
-	 *
-	 * @param {Hammer} hammer       A hammer instance
-	 * @param {Function} callback   Callback, called as callback(event)
-	 */
-	function onTouch(hammer, callback) {
-		callback.inputHandler = function (event) {
-			if (event.isFirst) {
-				callback(event);
-			}
-		};
-
-		hammer.on("hammer.input", callback.inputHandler);
-	}
-	/**
-	 * Register a release event, taking place after a gesture
-	 *
-	 * @param {Hammer} hammer       A hammer instance
-	 * @param {Function} callback   Callback, called as callback(event)
-	 * @returns {*}
-	 */
-
-	function onRelease(hammer, callback) {
-		callback.inputHandler = function (event) {
-			if (event.isFinal) {
-				callback(event);
-			}
-		};
-
-		return hammer.on("hammer.input", callback.inputHandler);
-	}
-
-	/**
-	 * Create the main frame for the Network.
-	 * This function is executed once when a Network object is created. The frame
-	 * contains a canvas, and this canvas contains all objects like the axis and
-	 * nodes.
-	 */
-
-	var Canvas = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 */
-		function Canvas(body) {
-			_classCallCheck(this, Canvas);
-
-			this.body = body;
-			this.pixelRatio = 1;
-			this.cameraState = {};
-			this.initialized = false;
-			this.canvasViewCenter = {};
-			this._cleanupCallbacks = [];
-			this.options = {};
-			this.defaultOptions = {
-				autoResize: true,
-				height: "100%",
-				width: "100%"
-			};
-
-			assign$2(this.options, this.defaultOptions);
-
-			this.bindEventListeners();
-		}
-		/**
-		 * Binds event listeners
-		 */
-
-
-		_createClass(Canvas, [{
-			key: "bindEventListeners",
-			value: function bindEventListeners() {
-				var _this = this,
-					_context;
-
-				// bind the events
-				this.body.emitter.once("resize", function (obj) {
-					if (obj.width !== 0) {
-						_this.body.view.translation.x = obj.width * 0.5;
-					}
-
-					if (obj.height !== 0) {
-						_this.body.view.translation.y = obj.height * 0.5;
-					}
-				});
-				this.body.emitter.on("setSize", bind$6(_context = this.setSize).call(_context, this));
-				this.body.emitter.on("destroy", function () {
-					_this.hammerFrame.destroy();
-
-					_this.hammer.destroy();
-
-					_this._cleanUp();
-				});
-			}
-			/**
-			 * @param {object} options
-			 */
-
-		}, {
-			key: "setOptions",
-			value: function setOptions(options) {
-				var _this2 = this;
-
-				if (options !== undefined) {
-					var fields = ["width", "height", "autoResize"];
-					selectiveDeepExtend(fields, this.options, options);
-				} // Automatically adapt to changing size of the container element.
-
-
-				this._cleanUp();
-
-				if (this.options.autoResize === true) {
-					var _context2;
-
-					if (window.ResizeObserver) {
-						// decent browsers, immediate reactions
-						var observer = new ResizeObserver(function () {
-							var changed = _this2.setSize();
-
-							if (changed === true) {
-								_this2.body.emitter.emit("_requestRedraw");
-							}
-						});
-						var frame = this.frame;
-						observer.observe(frame);
-
-						this._cleanupCallbacks.push(function () {
-							observer.unobserve(frame);
-						});
-					} else {
-						// IE11, continous polling
-						var resizeTimer = setInterval(function () {
-							var changed = _this2.setSize();
-
-							if (changed === true) {
-								_this2.body.emitter.emit("_requestRedraw");
-							}
-						}, 1000);
-
-						this._cleanupCallbacks.push(function () {
-							clearInterval(resizeTimer);
-						});
-					} // Automatically adapt to changing size of the browser.
-
-
-					var resizeFunction = bind$6(_context2 = this._onResize).call(_context2, this);
-
-					addEventListener(window, "resize", resizeFunction);
-
-					this._cleanupCallbacks.push(function () {
-						removeEventListener(window, "resize", resizeFunction);
-					});
-				}
-			}
-			/**
-			 * @private
-			 */
-
-		}, {
-			key: "_cleanUp",
-			value: function _cleanUp() {
-				var _context3, _context4, _context5;
-
-				forEach$2(_context3 = reverse(_context4 = splice$1(_context5 = this._cleanupCallbacks).call(_context5, 0)).call(_context4)).call(_context3, function (callback) {
-					try {
-						callback();
-					} catch (error) {
-						console.error(error);
-					}
-				});
-			}
-			/**
-			 * @private
-			 */
-
-		}, {
-			key: "_onResize",
-			value: function _onResize() {
-				this.setSize();
-				this.body.emitter.emit("_redraw");
-			}
-			/**
-			 * Get and store the cameraState
-			 *
-			 * @param {number} [pixelRatio=this.pixelRatio]
-			 * @private
-			 */
-
-		}, {
-			key: "_getCameraState",
-			value: function _getCameraState() {
-				var pixelRatio = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.pixelRatio;
-
-				if (this.initialized === true) {
-					this.cameraState.previousWidth = this.frame.canvas.width / pixelRatio;
-					this.cameraState.previousHeight = this.frame.canvas.height / pixelRatio;
-					this.cameraState.scale = this.body.view.scale;
-					this.cameraState.position = this.DOMtoCanvas({
-						x: 0.5 * this.frame.canvas.width / pixelRatio,
-						y: 0.5 * this.frame.canvas.height / pixelRatio
-					});
-				}
-			}
-			/**
-			 * Set the cameraState
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_setCameraState",
-			value: function _setCameraState() {
-				if (this.cameraState.scale !== undefined && this.frame.canvas.clientWidth !== 0 && this.frame.canvas.clientHeight !== 0 && this.pixelRatio !== 0 && this.cameraState.previousWidth > 0 && this.cameraState.previousHeight > 0) {
-					var widthRatio = this.frame.canvas.width / this.pixelRatio / this.cameraState.previousWidth;
-					var heightRatio = this.frame.canvas.height / this.pixelRatio / this.cameraState.previousHeight;
-					var newScale = this.cameraState.scale;
-
-					if (widthRatio != 1 && heightRatio != 1) {
-						newScale = this.cameraState.scale * 0.5 * (widthRatio + heightRatio);
-					} else if (widthRatio != 1) {
-						newScale = this.cameraState.scale * widthRatio;
-					} else if (heightRatio != 1) {
-						newScale = this.cameraState.scale * heightRatio;
-					}
-
-					this.body.view.scale = newScale; // this comes from the view module.
-
-					var currentViewCenter = this.DOMtoCanvas({
-						x: 0.5 * this.frame.canvas.clientWidth,
-						y: 0.5 * this.frame.canvas.clientHeight
-					});
-					var distanceFromCenter = {
-						// offset from view, distance view has to change by these x and y to center the node
-						x: currentViewCenter.x - this.cameraState.position.x,
-						y: currentViewCenter.y - this.cameraState.position.y
-					};
-					this.body.view.translation.x += distanceFromCenter.x * this.body.view.scale;
-					this.body.view.translation.y += distanceFromCenter.y * this.body.view.scale;
-				}
-			}
-			/**
-			 *
-			 * @param {number|string} value
-			 * @returns {string}
-			 * @private
-			 */
-
-		}, {
-			key: "_prepareValue",
-			value: function _prepareValue(value) {
-				if (typeof value === "number") {
-					return value + "px";
-				} else if (typeof value === "string") {
-					if (indexOf(value).call(value, "%") !== -1 || indexOf(value).call(value, "px") !== -1) {
-						return value;
-					} else if (indexOf(value).call(value, "%") === -1) {
-						return value + "px";
-					}
-				}
-
-				throw new Error("Could not use the value supplied for width or height:" + value);
-			}
-			/**
-			 * Create the HTML
-			 */
-
-		}, {
-			key: "_create",
-			value: function _create() {
-				// remove all elements from the container element.
-				while (this.body.container.hasChildNodes()) {
-					this.body.container.removeChild(this.body.container.firstChild);
-				}
-
-				this.frame = document.createElement("div");
-				this.frame.className = "vis-network";
-				this.frame.style.position = "relative";
-				this.frame.style.overflow = "hidden";
-				this.frame.tabIndex = 0; // tab index is required for keycharm to bind keystrokes to the div instead of the window
-				//////////////////////////////////////////////////////////////////
-
-				this.frame.canvas = document.createElement("canvas");
-				this.frame.canvas.style.position = "relative";
-				this.frame.appendChild(this.frame.canvas);
-
-				if (!this.frame.canvas.getContext) {
-					var noCanvas = document.createElement("DIV");
-					noCanvas.style.color = "red";
-					noCanvas.style.fontWeight = "bold";
-					noCanvas.style.padding = "10px";
-					noCanvas.innerText = "Error: your browser does not support HTML canvas";
-					this.frame.canvas.appendChild(noCanvas);
-				} else {
-					this._setPixelRatio();
-
-					this.setTransform();
-				} // add the frame to the container element
-
-
-				this.body.container.appendChild(this.frame);
-				this.body.view.scale = 1;
-				this.body.view.translation = {
-					x: 0.5 * this.frame.canvas.clientWidth,
-					y: 0.5 * this.frame.canvas.clientHeight
-				};
-
-				this._bindHammer();
-			}
-			/**
-			 * This function binds hammer, it can be repeated over and over due to the uniqueness check.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_bindHammer",
-			value: function _bindHammer() {
-				var _this3 = this;
-
-				if (this.hammer !== undefined) {
-					this.hammer.destroy();
-				}
-
-				this.drag = {};
-				this.pinch = {}; // init hammer
-
-				this.hammer = new Hammer(this.frame.canvas);
-				this.hammer.get("pinch").set({
-					enable: true
-				}); // enable to get better response, todo: test on mobile.
-
-				this.hammer.get("pan").set({
-					threshold: 5,
-					direction: Hammer.DIRECTION_ALL
-				});
-				onTouch(this.hammer, function (event) {
-					_this3.body.eventListeners.onTouch(event);
-				});
-				this.hammer.on("tap", function (event) {
-					_this3.body.eventListeners.onTap(event);
-				});
-				this.hammer.on("doubletap", function (event) {
-					_this3.body.eventListeners.onDoubleTap(event);
-				});
-				this.hammer.on("press", function (event) {
-					_this3.body.eventListeners.onHold(event);
-				});
-				this.hammer.on("panstart", function (event) {
-					_this3.body.eventListeners.onDragStart(event);
-				});
-				this.hammer.on("panmove", function (event) {
-					_this3.body.eventListeners.onDrag(event);
-				});
-				this.hammer.on("panend", function (event) {
-					_this3.body.eventListeners.onDragEnd(event);
-				});
-				this.hammer.on("pinch", function (event) {
-					_this3.body.eventListeners.onPinch(event);
-				}); // TODO: neatly cleanup these handlers when re-creating the Canvas, IF these are done with hammer, event.stopPropagation will not work?
-
-				this.frame.canvas.addEventListener("wheel", function (event) {
-					_this3.body.eventListeners.onMouseWheel(event);
-				});
-				this.frame.canvas.addEventListener("mousemove", function (event) {
-					_this3.body.eventListeners.onMouseMove(event);
-				});
-				this.frame.canvas.addEventListener("contextmenu", function (event) {
-					_this3.body.eventListeners.onContext(event);
-				});
-				this.hammerFrame = new Hammer(this.frame);
-				onRelease(this.hammerFrame, function (event) {
-					_this3.body.eventListeners.onRelease(event);
-				});
-			}
-			/**
-			 * Set a new size for the network
-			 *
-			 * @param {string} width   Width in pixels or percentage (for example '800px'
-			 *                         or '50%')
-			 * @param {string} height  Height in pixels or percentage  (for example '400px'
-			 *                         or '30%')
-			 * @returns {boolean}
-			 */
-
-		}, {
-			key: "setSize",
-			value: function setSize() {
-				var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.options.width;
-				var height = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.options.height;
-				width = this._prepareValue(width);
-				height = this._prepareValue(height);
-				var emitEvent = false;
-				var oldWidth = this.frame.canvas.width;
-				var oldHeight = this.frame.canvas.height; // update the pixel ratio
-				//
-				// NOTE: Comment in following is rather inconsistent; this is the ONLY place in the code
-				//       where it is assumed that the pixel ratio could change at runtime.
-				//       The only way I can think of this happening is a rotating screen or tablet; but then
-				//       there should be a mechanism for reloading the data (TODO: check if this is present).
-				//
-				//       If the assumption is true (i.e. pixel ratio can change at runtime), then *all* usage
-				//       of pixel ratio must be overhauled for this.
-				//
-				//       For the time being, I will humor the assumption here, and in the rest of the code assume it is
-				//       constant.
-
-				var previousRatio = this.pixelRatio; // we cache this because the camera state storage needs the old value
-
-				this._setPixelRatio();
-
-				if (width != this.options.width || height != this.options.height || this.frame.style.width != width || this.frame.style.height != height) {
-					this._getCameraState(previousRatio);
-
-					this.frame.style.width = width;
-					this.frame.style.height = height;
-					this.frame.canvas.style.width = "100%";
-					this.frame.canvas.style.height = "100%";
-					this.frame.canvas.width = Math.round(this.frame.canvas.clientWidth * this.pixelRatio);
-					this.frame.canvas.height = Math.round(this.frame.canvas.clientHeight * this.pixelRatio);
-					this.options.width = width;
-					this.options.height = height;
-					this.canvasViewCenter = {
-						x: 0.5 * this.frame.clientWidth,
-						y: 0.5 * this.frame.clientHeight
-					};
-					emitEvent = true;
-				} else {
-					// this would adapt the width of the canvas to the width from 100% if and only if
-					// there is a change.
-					var newWidth = Math.round(this.frame.canvas.clientWidth * this.pixelRatio);
-					var newHeight = Math.round(this.frame.canvas.clientHeight * this.pixelRatio); // store the camera if there is a change in size.
-
-					if (this.frame.canvas.width !== newWidth || this.frame.canvas.height !== newHeight) {
-						this._getCameraState(previousRatio);
-					}
-
-					if (this.frame.canvas.width !== newWidth) {
-						this.frame.canvas.width = newWidth;
-						emitEvent = true;
-					}
-
-					if (this.frame.canvas.height !== newHeight) {
-						this.frame.canvas.height = newHeight;
-						emitEvent = true;
-					}
-				}
-
-				if (emitEvent === true) {
-					this.body.emitter.emit("resize", {
-						width: Math.round(this.frame.canvas.width / this.pixelRatio),
-						height: Math.round(this.frame.canvas.height / this.pixelRatio),
-						oldWidth: Math.round(oldWidth / this.pixelRatio),
-						oldHeight: Math.round(oldHeight / this.pixelRatio)
-					}); // restore the camera on change.
-
-					this._setCameraState();
-				} // set initialized so the get and set camera will work from now on.
-
-
-				this.initialized = true;
-				return emitEvent;
-			}
-			/**
-			 *
-			 * @returns {CanvasRenderingContext2D}
-			 */
-
-		}, {
-			key: "getContext",
-			value: function getContext() {
-				return this.frame.canvas.getContext("2d");
-			}
-			/**
-			 * Determine the pixel ratio for various browsers.
-			 *
-			 * @returns {number}
-			 * @private
-			 */
-
-		}, {
-			key: "_determinePixelRatio",
-			value: function _determinePixelRatio() {
-				var ctx = this.getContext();
-
-				if (ctx === undefined) {
-					throw new Error("Could not get canvax context");
-				}
-
-				var numerator = 1;
-
-				if (typeof window !== "undefined") {
-					// (window !== undefined) doesn't work here!
-					// Protection during unit tests, where 'window' can be missing
-					numerator = window.devicePixelRatio || 1;
-				}
-
-				var denominator = ctx.webkitBackingStorePixelRatio || ctx.mozBackingStorePixelRatio || ctx.msBackingStorePixelRatio || ctx.oBackingStorePixelRatio || ctx.backingStorePixelRatio || 1;
-				return numerator / denominator;
-			}
-			/**
-			 * Lazy determination of pixel ratio.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_setPixelRatio",
-			value: function _setPixelRatio() {
-				this.pixelRatio = this._determinePixelRatio();
-			}
-			/**
-			 * Set the transform in the contained context, based on its pixelRatio
-			 */
-
-		}, {
-			key: "setTransform",
-			value: function setTransform() {
-				var ctx = this.getContext();
-
-				if (ctx === undefined) {
-					throw new Error("Could not get canvax context");
-				}
-
-				ctx.setTransform(this.pixelRatio, 0, 0, this.pixelRatio, 0, 0);
-			}
-			/**
-			 * Convert the X coordinate in DOM-space (coordinate point in browser relative to the container div) to
-			 * the X coordinate in canvas-space (the simulation sandbox, which the camera looks upon)
-			 *
-			 * @param {number} x
-			 * @returns {number}
-			 * @private
-			 */
-
-		}, {
-			key: "_XconvertDOMtoCanvas",
-			value: function _XconvertDOMtoCanvas(x) {
-				return (x - this.body.view.translation.x) / this.body.view.scale;
-			}
-			/**
-			 * Convert the X coordinate in canvas-space (the simulation sandbox, which the camera looks upon) to
-			 * the X coordinate in DOM-space (coordinate point in browser relative to the container div)
-			 *
-			 * @param {number} x
-			 * @returns {number}
-			 * @private
-			 */
-
-		}, {
-			key: "_XconvertCanvasToDOM",
-			value: function _XconvertCanvasToDOM(x) {
-				return x * this.body.view.scale + this.body.view.translation.x;
-			}
-			/**
-			 * Convert the Y coordinate in DOM-space (coordinate point in browser relative to the container div) to
-			 * the Y coordinate in canvas-space (the simulation sandbox, which the camera looks upon)
-			 *
-			 * @param {number} y
-			 * @returns {number}
-			 * @private
-			 */
-
-		}, {
-			key: "_YconvertDOMtoCanvas",
-			value: function _YconvertDOMtoCanvas(y) {
-				return (y - this.body.view.translation.y) / this.body.view.scale;
-			}
-			/**
-			 * Convert the Y coordinate in canvas-space (the simulation sandbox, which the camera looks upon) to
-			 * the Y coordinate in DOM-space (coordinate point in browser relative to the container div)
-			 *
-			 * @param {number} y
-			 * @returns {number}
-			 * @private
-			 */
-
-		}, {
-			key: "_YconvertCanvasToDOM",
-			value: function _YconvertCanvasToDOM(y) {
-				return y * this.body.view.scale + this.body.view.translation.y;
-			}
-			/**
-			 * @param {point} pos
-			 * @returns {point}
-			 */
-
-		}, {
-			key: "canvasToDOM",
-			value: function canvasToDOM(pos) {
-				return {
-					x: this._XconvertCanvasToDOM(pos.x),
-					y: this._YconvertCanvasToDOM(pos.y)
-				};
-			}
-			/**
-			 *
-			 * @param {point} pos
-			 * @returns {point}
-			 */
-
-		}, {
-			key: "DOMtoCanvas",
-			value: function DOMtoCanvas(pos) {
-				return {
-					x: this._XconvertDOMtoCanvas(pos.x),
-					y: this._YconvertDOMtoCanvas(pos.y)
-				};
-			}
-		}]);
-
-		return Canvas;
-	}();
-
-	/**
-	 * Validate the fit options, replace missing optional values by defaults etc.
-	 *
-	 * @param rawOptions - The raw options.
-	 * @param allNodeIds - All node ids that will be used if nodes are omitted in
-	 * the raw options.
-	 * @returns Options with everything filled in and validated.
-	 */
-	function normalizeFitOptions(rawOptions, allNodeIds) {
-		var options = assign$2({
-			nodes: allNodeIds,
-			minZoomLevel: Number.MIN_VALUE,
-			maxZoomLevel: 1
-		}, rawOptions !== null && rawOptions !== void 0 ? rawOptions : {});
-
-		if (!isArray$2(options.nodes)) {
-			throw new TypeError("Nodes has to be an array of ids.");
-		}
-
-		if (options.nodes.length === 0) {
-			options.nodes = allNodeIds;
-		}
-
-		if (!(typeof options.minZoomLevel === "number" && options.minZoomLevel > 0)) {
-			throw new TypeError("Min zoom level has to be a number higher than zero.");
-		}
-
-		if (!(typeof options.maxZoomLevel === "number" && options.minZoomLevel <= options.maxZoomLevel)) {
-			throw new TypeError("Max zoom level has to be a number higher than min zoom level.");
-		}
-
-		return options;
-	}
-
-	/**
-	 * The view
-	 */
-
-	var View = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {Canvas} canvas
-		 */
-		function View(body, canvas) {
-			var _context,
-				_this = this,
-				_context2;
-
-			_classCallCheck(this, View);
-
-			this.body = body;
-			this.canvas = canvas;
-			this.animationSpeed = 1 / this.renderRefreshRate;
-			this.animationEasingFunction = "easeInOutQuint";
-			this.easingTime = 0;
-			this.sourceScale = 0;
-			this.targetScale = 0;
-			this.sourceTranslation = 0;
-			this.targetTranslation = 0;
-			this.lockedOnNodeId = undefined;
-			this.lockedOnNodeOffset = undefined;
-			this.touchTime = 0;
-			this.viewFunction = undefined;
-			this.body.emitter.on("fit", bind$6(_context = this.fit).call(_context, this));
-			this.body.emitter.on("animationFinished", function () {
-				_this.body.emitter.emit("_stopRendering");
-			});
-			this.body.emitter.on("unlockNode", bind$6(_context2 = this.releaseNode).call(_context2, this));
-		}
-		/**
-		 *
-		 * @param {object} [options={}]
-		 */
-
-
-		_createClass(View, [{
-			key: "setOptions",
-			value: function setOptions() {
-				var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-				this.options = options;
-			}
-			/**
-			 * This function zooms out to fit all data on screen based on amount of nodes
-			 *
-			 * @param {object} [options={{nodes=Array}}]
-			 * @param options
-			 * @param {boolean} [initialZoom=false]  | zoom based on fitted formula or range, true = fitted, default = false;
-			 */
-
-		}, {
-			key: "fit",
-			value: function fit(options) {
-				var initialZoom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-				options = normalizeFitOptions(options, this.body.nodeIndices);
-				var canvasWidth = this.canvas.frame.canvas.clientWidth;
-				var canvasHeight = this.canvas.frame.canvas.clientHeight;
-				var range;
-				var zoomLevel;
-
-				if (canvasWidth === 0 || canvasHeight === 0) {
-					// There's no point in trying to fit into zero sized canvas. This could
-					// potentially even result in invalid values being computed. For example
-					// for network without nodes and zero sized canvas the zoom level would
-					// end up being computed as 0/0 which results in NaN. In any other case
-					// this would be 0/something which is again pointless to compute.
-					zoomLevel = 1;
-					range = NetworkUtil.getRange(this.body.nodes, options.nodes);
-				} else if (initialZoom === true) {
-					// check if more than half of the nodes have a predefined position. If so, we use the range, not the approximation.
-					var positionDefined = 0;
-
-					for (var nodeId in this.body.nodes) {
-						if (Object.prototype.hasOwnProperty.call(this.body.nodes, nodeId)) {
-							var node = this.body.nodes[nodeId];
-
-							if (node.predefinedPosition === true) {
-								positionDefined += 1;
-							}
-						}
-					}
-
-					if (positionDefined > 0.5 * this.body.nodeIndices.length) {
-						this.fit(options, false);
-						return;
-					}
-
-					range = NetworkUtil.getRange(this.body.nodes, options.nodes);
-					var numberOfNodes = this.body.nodeIndices.length;
-					zoomLevel = 12.662 / (numberOfNodes + 7.4147) + 0.0964822; // this is obtained from fitting a dataset from 5 points with scale levels that looked good.
-					// correct for larger canvasses.
-
-					var factor = Math.min(canvasWidth / 600, canvasHeight / 600);
-					zoomLevel *= factor;
-				} else {
-					this.body.emitter.emit("_resizeNodes");
-					range = NetworkUtil.getRange(this.body.nodes, options.nodes);
-					var xDistance = Math.abs(range.maxX - range.minX) * 1.1;
-					var yDistance = Math.abs(range.maxY - range.minY) * 1.1;
-					var xZoomLevel = canvasWidth / xDistance;
-					var yZoomLevel = canvasHeight / yDistance;
-					zoomLevel = xZoomLevel <= yZoomLevel ? xZoomLevel : yZoomLevel;
-				}
-
-				if (zoomLevel > options.maxZoomLevel) {
-					zoomLevel = options.maxZoomLevel;
-				} else if (zoomLevel < options.minZoomLevel) {
-					zoomLevel = options.minZoomLevel;
-				}
-
-				var center = NetworkUtil.findCenter(range);
-				var animationOptions = {
-					position: center,
-					scale: zoomLevel,
-					animation: options.animation
-				};
-				this.moveTo(animationOptions);
-			} // animation
-
-			/**
-			 * Center a node in view.
-			 *
-			 * @param {number} nodeId
-			 * @param {number} [options]
-			 */
-
-		}, {
-			key: "focus",
-			value: function focus(nodeId) {
-				var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-
-				if (this.body.nodes[nodeId] !== undefined) {
-					var nodePosition = {
-						x: this.body.nodes[nodeId].x,
-						y: this.body.nodes[nodeId].y
-					};
-					options.position = nodePosition;
-					options.lockedOnNode = nodeId;
-					this.moveTo(options);
-				} else {
-					console.error("Node: " + nodeId + " cannot be found.");
-				}
-			}
-			/**
-			 *
-			 * @param {object} options  |  options.offset   = {x:number, y:number}   // offset from the center in DOM pixels
-			 *                          |  options.scale    = number                 // scale to move to
-			 *                          |  options.position = {x:number, y:number}   // position to move to
-			 *                          |  options.animation = {duration:number, easingFunction:String} || Boolean   // position to move to
-			 */
-
-		}, {
-			key: "moveTo",
-			value: function moveTo(options) {
-				if (options === undefined) {
-					options = {};
-					return;
-				}
-
-				if (options.offset != null) {
-					if (options.offset.x != null) {
-						// Coerce and verify that x is valid.
-						options.offset.x = +options.offset.x;
-
-						if (!_isFinite(options.offset.x)) {
-							throw new TypeError('The option "offset.x" has to be a finite number.');
-						}
-					} else {
-						options.offset.x = 0;
-					}
-
-					if (options.offset.y != null) {
-						// Coerce and verify that y is valid.
-						options.offset.y = +options.offset.y;
-
-						if (!_isFinite(options.offset.y)) {
-							throw new TypeError('The option "offset.y" has to be a finite number.');
-						}
-					} else {
-						options.offset.x = 0;
-					}
-				} else {
-					options.offset = {
-						x: 0,
-						y: 0
-					};
-				}
-
-				if (options.position != null) {
-					if (options.position.x != null) {
-						// Coerce and verify that x is valid.
-						options.position.x = +options.position.x;
-
-						if (!_isFinite(options.position.x)) {
-							throw new TypeError('The option "position.x" has to be a finite number.');
-						}
-					} else {
-						options.position.x = 0;
-					}
-
-					if (options.position.y != null) {
-						// Coerce and verify that y is valid.
-						options.position.y = +options.position.y;
-
-						if (!_isFinite(options.position.y)) {
-							throw new TypeError('The option "position.y" has to be a finite number.');
-						}
-					} else {
-						options.position.x = 0;
-					}
-				} else {
-					options.position = this.getViewPosition();
-				}
-
-				if (options.scale != null) {
-					// Coerce and verify that the scale is valid.
-					options.scale = +options.scale;
-
-					if (!(options.scale > 0)) {
-						throw new TypeError('The option "scale" has to be a number greater than zero.');
-					}
-				} else {
-					options.scale = this.body.view.scale;
-				}
-
-				if (options.animation === undefined) {
-					options.animation = {
-						duration: 0
-					};
-				}
-
-				if (options.animation === false) {
-					options.animation = {
-						duration: 0
-					};
-				}
-
-				if (options.animation === true) {
-					options.animation = {};
-				}
-
-				if (options.animation.duration === undefined) {
-					options.animation.duration = 1000;
-				} // default duration
-
-
-				if (options.animation.easingFunction === undefined) {
-					options.animation.easingFunction = "easeInOutQuad";
-				} // default easing function
-
-
-				this.animateView(options);
-			}
-			/**
-			 *
-			 * @param {object} options  |  options.offset   = {x:number, y:number}   // offset from the center in DOM pixels
-			 *                          |  options.time     = number                 // animation time in milliseconds
-			 *                          |  options.scale    = number                 // scale to animate to
-			 *                          |  options.position = {x:number, y:number}   // position to animate to
-			 *                          |  options.easingFunction = String           // linear, easeInQuad, easeOutQuad, easeInOutQuad,
-			 *                                                                       // easeInCubic, easeOutCubic, easeInOutCubic,
-			 *                                                                       // easeInQuart, easeOutQuart, easeInOutQuart,
-			 *                                                                       // easeInQuint, easeOutQuint, easeInOutQuint
-			 */
-
-		}, {
-			key: "animateView",
-			value: function animateView(options) {
-				if (options === undefined) {
-					return;
-				}
-
-				this.animationEasingFunction = options.animation.easingFunction; // release if something focussed on the node
-
-				this.releaseNode();
-
-				if (options.locked === true) {
-					this.lockedOnNodeId = options.lockedOnNode;
-					this.lockedOnNodeOffset = options.offset;
-				} // forcefully complete the old animation if it was still running
-
-
-				if (this.easingTime != 0) {
-					this._transitionRedraw(true); // by setting easingtime to 1, we finish the animation.
-
-				}
-
-				this.sourceScale = this.body.view.scale;
-				this.sourceTranslation = this.body.view.translation;
-				this.targetScale = options.scale; // set the scale so the viewCenter is based on the correct zoom level. This is overridden in the transitionRedraw
-				// but at least then we'll have the target transition
-
-				this.body.view.scale = this.targetScale;
-				var viewCenter = this.canvas.DOMtoCanvas({
-					x: 0.5 * this.canvas.frame.canvas.clientWidth,
-					y: 0.5 * this.canvas.frame.canvas.clientHeight
-				});
-				var distanceFromCenter = {
-					// offset from view, distance view has to change by these x and y to center the node
-					x: viewCenter.x - options.position.x,
-					y: viewCenter.y - options.position.y
-				};
-				this.targetTranslation = {
-					x: this.sourceTranslation.x + distanceFromCenter.x * this.targetScale + options.offset.x,
-					y: this.sourceTranslation.y + distanceFromCenter.y * this.targetScale + options.offset.y
-				}; // if the time is set to 0, don't do an animation
-
-				if (options.animation.duration === 0) {
-					if (this.lockedOnNodeId != undefined) {
-						var _context3;
-
-						this.viewFunction = bind$6(_context3 = this._lockedRedraw).call(_context3, this);
-						this.body.emitter.on("initRedraw", this.viewFunction);
-					} else {
-						this.body.view.scale = this.targetScale;
-						this.body.view.translation = this.targetTranslation;
-						this.body.emitter.emit("_requestRedraw");
-					}
-				} else {
-					var _context4;
-
-					this.animationSpeed = 1 / (60 * options.animation.duration * 0.001) || 1 / 60; // 60 for 60 seconds, 0.001 for milli's
-
-					this.animationEasingFunction = options.animation.easingFunction;
-					this.viewFunction = bind$6(_context4 = this._transitionRedraw).call(_context4, this);
-					this.body.emitter.on("initRedraw", this.viewFunction);
-					this.body.emitter.emit("_startRendering");
-				}
-			}
-			/**
-			 * used to animate smoothly by hijacking the redraw function.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_lockedRedraw",
-			value: function _lockedRedraw() {
-				var nodePosition = {
-					x: this.body.nodes[this.lockedOnNodeId].x,
-					y: this.body.nodes[this.lockedOnNodeId].y
-				};
-				var viewCenter = this.canvas.DOMtoCanvas({
-					x: 0.5 * this.canvas.frame.canvas.clientWidth,
-					y: 0.5 * this.canvas.frame.canvas.clientHeight
-				});
-				var distanceFromCenter = {
-					// offset from view, distance view has to change by these x and y to center the node
-					x: viewCenter.x - nodePosition.x,
-					y: viewCenter.y - nodePosition.y
-				};
-				var sourceTranslation = this.body.view.translation;
-				var targetTranslation = {
-					x: sourceTranslation.x + distanceFromCenter.x * this.body.view.scale + this.lockedOnNodeOffset.x,
-					y: sourceTranslation.y + distanceFromCenter.y * this.body.view.scale + this.lockedOnNodeOffset.y
-				};
-				this.body.view.translation = targetTranslation;
-			}
-			/**
-			 * Resets state of a locked on Node
-			 */
-
-		}, {
-			key: "releaseNode",
-			value: function releaseNode() {
-				if (this.lockedOnNodeId !== undefined && this.viewFunction !== undefined) {
-					this.body.emitter.off("initRedraw", this.viewFunction);
-					this.lockedOnNodeId = undefined;
-					this.lockedOnNodeOffset = undefined;
-				}
-			}
-			/**
-			 * @param {boolean} [finished=false]
-			 * @private
-			 */
-
-		}, {
-			key: "_transitionRedraw",
-			value: function _transitionRedraw() {
-				var finished = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-				this.easingTime += this.animationSpeed;
-				this.easingTime = finished === true ? 1.0 : this.easingTime;
-				var progress = easingFunctions[this.animationEasingFunction](this.easingTime);
-				this.body.view.scale = this.sourceScale + (this.targetScale - this.sourceScale) * progress;
-				this.body.view.translation = {
-					x: this.sourceTranslation.x + (this.targetTranslation.x - this.sourceTranslation.x) * progress,
-					y: this.sourceTranslation.y + (this.targetTranslation.y - this.sourceTranslation.y) * progress
-				}; // cleanup
-
-				if (this.easingTime >= 1.0) {
-					this.body.emitter.off("initRedraw", this.viewFunction);
-					this.easingTime = 0;
-
-					if (this.lockedOnNodeId != undefined) {
-						var _context5;
-
-						this.viewFunction = bind$6(_context5 = this._lockedRedraw).call(_context5, this);
-						this.body.emitter.on("initRedraw", this.viewFunction);
-					}
-
-					this.body.emitter.emit("animationFinished");
-				}
-			}
-			/**
-			 *
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "getScale",
-			value: function getScale() {
-				return this.body.view.scale;
-			}
-			/**
-			 *
-			 * @returns {{x: number, y: number}}
-			 */
-
-		}, {
-			key: "getViewPosition",
-			value: function getViewPosition() {
-				return this.canvas.DOMtoCanvas({
-					x: 0.5 * this.canvas.frame.canvas.clientWidth,
-					y: 0.5 * this.canvas.frame.canvas.clientHeight
-				});
-			}
-		}]);
-
-		return View;
-	}();
-
-	/**
-	 * Created by Alex on 11/6/2014.
-	 */
-	function keycharm(options) {
-		var preventDefault = options && options.preventDefault || false;
-		var container = options && options.container || window;
-		var _exportFunctions = {};
-		var _bound = {
-			keydown: {},
-			keyup: {}
-		};
-		var _keys = {};
-		var i; // a - z
-
-		for (i = 97; i <= 122; i++) {
-			_keys[String.fromCharCode(i)] = {
-				code: 65 + (i - 97),
-				shift: false
-			};
-		} // A - Z
-
-
-		for (i = 65; i <= 90; i++) {
-			_keys[String.fromCharCode(i)] = {
-				code: i,
-				shift: true
-			};
-		} // 0 - 9
-
-
-		for (i = 0; i <= 9; i++) {
-			_keys['' + i] = {
-				code: 48 + i,
-				shift: false
-			};
-		} // F1 - F12
-
-
-		for (i = 1; i <= 12; i++) {
-			_keys['F' + i] = {
-				code: 111 + i,
-				shift: false
-			};
-		} // num0 - num9
-
-
-		for (i = 0; i <= 9; i++) {
-			_keys['num' + i] = {
-				code: 96 + i,
-				shift: false
-			};
-		} // numpad misc
-
-
-		_keys['num*'] = {
-			code: 106,
-			shift: false
-		};
-		_keys['num+'] = {
-			code: 107,
-			shift: false
-		};
-		_keys['num-'] = {
-			code: 109,
-			shift: false
-		};
-		_keys['num/'] = {
-			code: 111,
-			shift: false
-		};
-		_keys['num.'] = {
-			code: 110,
-			shift: false
-		}; // arrows
-
-		_keys['left'] = {
-			code: 37,
-			shift: false
-		};
-		_keys['up'] = {
-			code: 38,
-			shift: false
-		};
-		_keys['right'] = {
-			code: 39,
-			shift: false
-		};
-		_keys['down'] = {
-			code: 40,
-			shift: false
-		}; // extra keys
-
-		_keys['space'] = {
-			code: 32,
-			shift: false
-		};
-		_keys['enter'] = {
-			code: 13,
-			shift: false
-		};
-		_keys['shift'] = {
-			code: 16,
-			shift: undefined
-		};
-		_keys['esc'] = {
-			code: 27,
-			shift: false
-		};
-		_keys['backspace'] = {
-			code: 8,
-			shift: false
-		};
-		_keys['tab'] = {
-			code: 9,
-			shift: false
-		};
-		_keys['ctrl'] = {
-			code: 17,
-			shift: false
-		};
-		_keys['alt'] = {
-			code: 18,
-			shift: false
-		};
-		_keys['delete'] = {
-			code: 46,
-			shift: false
-		};
-		_keys['pageup'] = {
-			code: 33,
-			shift: false
-		};
-		_keys['pagedown'] = {
-			code: 34,
-			shift: false
-		}; // symbols
-
-		_keys['='] = {
-			code: 187,
-			shift: false
-		};
-		_keys['-'] = {
-			code: 189,
-			shift: false
-		};
-		_keys[']'] = {
-			code: 221,
-			shift: false
-		};
-		_keys['['] = {
-			code: 219,
-			shift: false
-		};
-
-		var down = function (event) {
-			handleEvent(event, 'keydown');
-		};
-
-		var up = function (event) {
-			handleEvent(event, 'keyup');
-		}; // handle the actualy bound key with the event
-
-
-		var handleEvent = function (event, type) {
-			if (_bound[type][event.keyCode] !== undefined) {
-				var bound = _bound[type][event.keyCode];
-
-				for (var i = 0; i < bound.length; i++) {
-					if (bound[i].shift === undefined) {
-						bound[i].fn(event);
-					} else if (bound[i].shift == true && event.shiftKey == true) {
-						bound[i].fn(event);
-					} else if (bound[i].shift == false && event.shiftKey == false) {
-						bound[i].fn(event);
-					}
-				}
-
-				if (preventDefault == true) {
-					event.preventDefault();
-				}
-			}
-		}; // bind a key to a callback
-
-
-		_exportFunctions.bind = function (key, callback, type) {
-			if (type === undefined) {
-				type = 'keydown';
-			}
-
-			if (_keys[key] === undefined) {
-				throw new Error("unsupported key: " + key);
-			}
-
-			if (_bound[type][_keys[key].code] === undefined) {
-				_bound[type][_keys[key].code] = [];
-			}
-
-			_bound[type][_keys[key].code].push({
-				fn: callback,
-				shift: _keys[key].shift
-			});
-		}; // bind all keys to a call back (demo purposes)
-
-
-		_exportFunctions.bindAll = function (callback, type) {
-			if (type === undefined) {
-				type = 'keydown';
-			}
-
-			for (var key in _keys) {
-				if (_keys.hasOwnProperty(key)) {
-					_exportFunctions.bind(key, callback, type);
-				}
-			}
-		}; // get the key label from an event
-
-
-		_exportFunctions.getKey = function (event) {
-			for (var key in _keys) {
-				if (_keys.hasOwnProperty(key)) {
-					if (event.shiftKey == true && _keys[key].shift == true && event.keyCode == _keys[key].code) {
-						return key;
-					} else if (event.shiftKey == false && _keys[key].shift == false && event.keyCode == _keys[key].code) {
-						return key;
-					} else if (event.keyCode == _keys[key].code && key == 'shift') {
-						return key;
-					}
-				}
-			}
-
-			return "unknown key, currently not supported";
-		}; // unbind either a specific callback from a key or all of them (by leaving callback undefined)
-
-
-		_exportFunctions.unbind = function (key, callback, type) {
-			if (type === undefined) {
-				type = 'keydown';
-			}
-
-			if (_keys[key] === undefined) {
-				throw new Error("unsupported key: " + key);
-			}
-
-			if (callback !== undefined) {
-				var newBindings = [];
-				var bound = _bound[type][_keys[key].code];
-
-				if (bound !== undefined) {
-					for (var i = 0; i < bound.length; i++) {
-						if (!(bound[i].fn == callback && bound[i].shift == _keys[key].shift)) {
-							newBindings.push(_bound[type][_keys[key].code][i]);
-						}
-					}
-				}
-
-				_bound[type][_keys[key].code] = newBindings;
-			} else {
-				_bound[type][_keys[key].code] = [];
-			}
-		}; // reset all bound variables.
-
-
-		_exportFunctions.reset = function () {
-			_bound = {
-				keydown: {},
-				keyup: {}
-			};
-		}; // unbind all listeners and reset all variables.
-
-
-		_exportFunctions.destroy = function () {
-			_bound = {
-				keydown: {},
-				keyup: {}
-			};
-			container.removeEventListener('keydown', down, true);
-			container.removeEventListener('keyup', up, true);
-		}; // create listeners.
-
-
-		container.addEventListener('keydown', down, true);
-		container.addEventListener('keyup', up, true); // return the public functions.
-
-		return _exportFunctions;
-	}
-
-	var keycharm$1 = /*#__PURE__*/Object.freeze({
-		__proto__: null,
-		'default': keycharm
-	});
-
-	/**
-	 * Navigation Handler
-	 */
-
-	var NavigationHandler = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {Canvas} canvas
-		 */
-		function NavigationHandler(body, canvas) {
-			var _this = this;
-
-			_classCallCheck(this, NavigationHandler);
-
-			this.body = body;
-			this.canvas = canvas;
-			this.iconsCreated = false;
-			this.navigationHammers = [];
-			this.boundFunctions = {};
-			this.touchTime = 0;
-			this.activated = false;
-			this.body.emitter.on("activate", function () {
-				_this.activated = true;
-
-				_this.configureKeyboardBindings();
-			});
-			this.body.emitter.on("deactivate", function () {
-				_this.activated = false;
-
-				_this.configureKeyboardBindings();
-			});
-			this.body.emitter.on("destroy", function () {
-				if (_this.keycharm !== undefined) {
-					_this.keycharm.destroy();
-				}
-			});
-			this.options = {};
-		}
-		/**
-		 *
-		 * @param {object} options
-		 */
-
-
-		_createClass(NavigationHandler, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (options !== undefined) {
-					this.options = options;
-					this.create();
-				}
-			}
-			/**
-			 * Creates or refreshes navigation and sets key bindings
-			 */
-
-		}, {
-			key: "create",
-			value: function create() {
-				if (this.options.navigationButtons === true) {
-					if (this.iconsCreated === false) {
-						this.loadNavigationElements();
-					}
-				} else if (this.iconsCreated === true) {
-					this.cleanNavigation();
-				}
-
-				this.configureKeyboardBindings();
-			}
-			/**
-			 * Cleans up previous navigation items
-			 */
-
-		}, {
-			key: "cleanNavigation",
-			value: function cleanNavigation() {
-				// clean hammer bindings
-				if (this.navigationHammers.length != 0) {
-					for (var i = 0; i < this.navigationHammers.length; i++) {
-						this.navigationHammers[i].destroy();
-					}
-
-					this.navigationHammers = [];
-				} // clean up previous navigation items
-
-
-				if (this.navigationDOM && this.navigationDOM["wrapper"] && this.navigationDOM["wrapper"].parentNode) {
-					this.navigationDOM["wrapper"].parentNode.removeChild(this.navigationDOM["wrapper"]);
-				}
-
-				this.iconsCreated = false;
-			}
-			/**
-			 * Creation of the navigation controls nodes. They are drawn over the rest of the nodes and are not affected by scale and translation
-			 * they have a triggerFunction which is called on click. If the position of the navigation controls is dependent
-			 * on this.frame.canvas.clientWidth or this.frame.canvas.clientHeight, we flag horizontalAlignLeft and verticalAlignTop false.
-			 * This means that the location will be corrected by the _relocateNavigation function on a size change of the canvas.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "loadNavigationElements",
-			value: function loadNavigationElements() {
-				var _this2 = this;
-
-				this.cleanNavigation();
-				this.navigationDOM = {};
-				var navigationDivs = ["up", "down", "left", "right", "zoomIn", "zoomOut", "zoomExtends"];
-				var navigationDivActions = ["_moveUp", "_moveDown", "_moveLeft", "_moveRight", "_zoomIn", "_zoomOut", "_fit"];
-				this.navigationDOM["wrapper"] = document.createElement("div");
-				this.navigationDOM["wrapper"].className = "vis-navigation";
-				this.canvas.frame.appendChild(this.navigationDOM["wrapper"]);
-
-				for (var i = 0; i < navigationDivs.length; i++) {
-					this.navigationDOM[navigationDivs[i]] = document.createElement("div");
-					this.navigationDOM[navigationDivs[i]].className = "vis-button vis-" + navigationDivs[i];
-					this.navigationDOM["wrapper"].appendChild(this.navigationDOM[navigationDivs[i]]);
-					var hammer = new Hammer(this.navigationDOM[navigationDivs[i]]);
-
-					if (navigationDivActions[i] === "_fit") {
-						var _context;
-
-						onTouch(hammer, bind$6(_context = this._fit).call(_context, this));
-					} else {
-						var _context2;
-
-						onTouch(hammer, bind$6(_context2 = this.bindToRedraw).call(_context2, this, navigationDivActions[i]));
-					}
-
-					this.navigationHammers.push(hammer);
-				} // use a hammer for the release so we do not require the one used in the rest of the network
-				// the one the rest uses can be overloaded by the manipulation system.
-
-
-				var hammerFrame = new Hammer(this.canvas.frame);
-				onRelease(hammerFrame, function () {
-					_this2._stopMovement();
-				});
-				this.navigationHammers.push(hammerFrame);
-				this.iconsCreated = true;
-			}
-			/**
-			 *
-			 * @param {string} action
-			 */
-
-		}, {
-			key: "bindToRedraw",
-			value: function bindToRedraw(action) {
-				if (this.boundFunctions[action] === undefined) {
-					var _context3;
-
-					this.boundFunctions[action] = bind$6(_context3 = this[action]).call(_context3, this);
-					this.body.emitter.on("initRedraw", this.boundFunctions[action]);
-					this.body.emitter.emit("_startRendering");
-				}
-			}
-			/**
-			 *
-			 * @param {string} action
-			 */
-
-		}, {
-			key: "unbindFromRedraw",
-			value: function unbindFromRedraw(action) {
-				if (this.boundFunctions[action] !== undefined) {
-					this.body.emitter.off("initRedraw", this.boundFunctions[action]);
-					this.body.emitter.emit("_stopRendering");
-					delete this.boundFunctions[action];
-				}
-			}
-			/**
-			 * this stops all movement induced by the navigation buttons
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_fit",
-			value: function _fit() {
-				if (new Date().valueOf() - this.touchTime > 700) {
-					// TODO: fix ugly hack to avoid hammer's double fireing of event (because we use release?)
-					this.body.emitter.emit("fit", {
-						duration: 700
-					});
-					this.touchTime = new Date().valueOf();
-				}
-			}
-			/**
-			 * this stops all movement induced by the navigation buttons
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_stopMovement",
-			value: function _stopMovement() {
-				for (var boundAction in this.boundFunctions) {
-					if (Object.prototype.hasOwnProperty.call(this.boundFunctions, boundAction)) {
-						this.body.emitter.off("initRedraw", this.boundFunctions[boundAction]);
-						this.body.emitter.emit("_stopRendering");
-					}
-				}
-
-				this.boundFunctions = {};
-			}
-			/**
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_moveUp",
-			value: function _moveUp() {
-				this.body.view.translation.y += this.options.keyboard.speed.y;
-			}
-			/**
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_moveDown",
-			value: function _moveDown() {
-				this.body.view.translation.y -= this.options.keyboard.speed.y;
-			}
-			/**
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_moveLeft",
-			value: function _moveLeft() {
-				this.body.view.translation.x += this.options.keyboard.speed.x;
-			}
-			/**
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_moveRight",
-			value: function _moveRight() {
-				this.body.view.translation.x -= this.options.keyboard.speed.x;
-			}
-			/**
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_zoomIn",
-			value: function _zoomIn() {
-				var scaleOld = this.body.view.scale;
-				var scale = this.body.view.scale * (1 + this.options.keyboard.speed.zoom);
-				var translation = this.body.view.translation;
-				var scaleFrac = scale / scaleOld;
-				var tx = (1 - scaleFrac) * this.canvas.canvasViewCenter.x + translation.x * scaleFrac;
-				var ty = (1 - scaleFrac) * this.canvas.canvasViewCenter.y + translation.y * scaleFrac;
-				this.body.view.scale = scale;
-				this.body.view.translation = {
-					x: tx,
-					y: ty
-				};
-				this.body.emitter.emit("zoom", {
-					direction: "+",
-					scale: this.body.view.scale,
-					pointer: null
-				});
-			}
-			/**
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_zoomOut",
-			value: function _zoomOut() {
-				var scaleOld = this.body.view.scale;
-				var scale = this.body.view.scale / (1 + this.options.keyboard.speed.zoom);
-				var translation = this.body.view.translation;
-				var scaleFrac = scale / scaleOld;
-				var tx = (1 - scaleFrac) * this.canvas.canvasViewCenter.x + translation.x * scaleFrac;
-				var ty = (1 - scaleFrac) * this.canvas.canvasViewCenter.y + translation.y * scaleFrac;
-				this.body.view.scale = scale;
-				this.body.view.translation = {
-					x: tx,
-					y: ty
-				};
-				this.body.emitter.emit("zoom", {
-					direction: "-",
-					scale: this.body.view.scale,
-					pointer: null
-				});
-			}
-			/**
-			 * bind all keys using keycharm.
-			 */
-
-		}, {
-			key: "configureKeyboardBindings",
-			value: function configureKeyboardBindings() {
-				var _this3 = this;
-
-				if (this.keycharm !== undefined) {
-					this.keycharm.destroy();
-				}
-
-				if (this.options.keyboard.enabled === true) {
-					if (this.options.keyboard.bindToWindow === true) {
-						this.keycharm = keycharm({
-							container: window,
-							preventDefault: true
-						});
-					} else {
-						this.keycharm = keycharm({
-							container: this.canvas.frame,
-							preventDefault: true
-						});
-					}
-
-					this.keycharm.reset();
-
-					if (this.activated === true) {
-						var _context4, _context5, _context6, _context7, _context8, _context9, _context10, _context11, _context12, _context13, _context14, _context15, _context16, _context17, _context18, _context19, _context20, _context21, _context22, _context23, _context24, _context25, _context26, _context27;
-
-						bind$6(_context4 = this.keycharm).call(_context4, "up", function () {
-							_this3.bindToRedraw("_moveUp");
-						}, "keydown");
-
-						bind$6(_context5 = this.keycharm).call(_context5, "down", function () {
-							_this3.bindToRedraw("_moveDown");
-						}, "keydown");
-
-						bind$6(_context6 = this.keycharm).call(_context6, "left", function () {
-							_this3.bindToRedraw("_moveLeft");
-						}, "keydown");
-
-						bind$6(_context7 = this.keycharm).call(_context7, "right", function () {
-							_this3.bindToRedraw("_moveRight");
-						}, "keydown");
-
-						bind$6(_context8 = this.keycharm).call(_context8, "=", function () {
-							_this3.bindToRedraw("_zoomIn");
-						}, "keydown");
-
-						bind$6(_context9 = this.keycharm).call(_context9, "num+", function () {
-							_this3.bindToRedraw("_zoomIn");
-						}, "keydown");
-
-						bind$6(_context10 = this.keycharm).call(_context10, "num-", function () {
-							_this3.bindToRedraw("_zoomOut");
-						}, "keydown");
-
-						bind$6(_context11 = this.keycharm).call(_context11, "-", function () {
-							_this3.bindToRedraw("_zoomOut");
-						}, "keydown");
-
-						bind$6(_context12 = this.keycharm).call(_context12, "[", function () {
-							_this3.bindToRedraw("_zoomOut");
-						}, "keydown");
-
-						bind$6(_context13 = this.keycharm).call(_context13, "]", function () {
-							_this3.bindToRedraw("_zoomIn");
-						}, "keydown");
-
-						bind$6(_context14 = this.keycharm).call(_context14, "pageup", function () {
-							_this3.bindToRedraw("_zoomIn");
-						}, "keydown");
-
-						bind$6(_context15 = this.keycharm).call(_context15, "pagedown", function () {
-							_this3.bindToRedraw("_zoomOut");
-						}, "keydown");
-
-						bind$6(_context16 = this.keycharm).call(_context16, "up", function () {
-							_this3.unbindFromRedraw("_moveUp");
-						}, "keyup");
-
-						bind$6(_context17 = this.keycharm).call(_context17, "down", function () {
-							_this3.unbindFromRedraw("_moveDown");
-						}, "keyup");
-
-						bind$6(_context18 = this.keycharm).call(_context18, "left", function () {
-							_this3.unbindFromRedraw("_moveLeft");
-						}, "keyup");
-
-						bind$6(_context19 = this.keycharm).call(_context19, "right", function () {
-							_this3.unbindFromRedraw("_moveRight");
-						}, "keyup");
-
-						bind$6(_context20 = this.keycharm).call(_context20, "=", function () {
-							_this3.unbindFromRedraw("_zoomIn");
-						}, "keyup");
-
-						bind$6(_context21 = this.keycharm).call(_context21, "num+", function () {
-							_this3.unbindFromRedraw("_zoomIn");
-						}, "keyup");
-
-						bind$6(_context22 = this.keycharm).call(_context22, "num-", function () {
-							_this3.unbindFromRedraw("_zoomOut");
-						}, "keyup");
-
-						bind$6(_context23 = this.keycharm).call(_context23, "-", function () {
-							_this3.unbindFromRedraw("_zoomOut");
-						}, "keyup");
-
-						bind$6(_context24 = this.keycharm).call(_context24, "[", function () {
-							_this3.unbindFromRedraw("_zoomOut");
-						}, "keyup");
-
-						bind$6(_context25 = this.keycharm).call(_context25, "]", function () {
-							_this3.unbindFromRedraw("_zoomIn");
-						}, "keyup");
-
-						bind$6(_context26 = this.keycharm).call(_context26, "pageup", function () {
-							_this3.unbindFromRedraw("_zoomIn");
-						}, "keyup");
-
-						bind$6(_context27 = this.keycharm).call(_context27, "pagedown", function () {
-							_this3.unbindFromRedraw("_zoomOut");
-						}, "keyup");
-					}
-				}
-			}
-		}]);
-
-		return NavigationHandler;
-	}();
-
-	function _createForOfIteratorHelper$4(o, allowArrayLike) { var it = typeof symbol !== "undefined" && getIteratorMethod$1(o) || o["@@iterator"]; if (!it) { if (isArray$2(o) || (it = _unsupportedIterableToArray$4(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() { }; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
-
-	function _unsupportedIterableToArray$4(o, minLen) { var _context15; if (!o) return; if (typeof o === "string") return _arrayLikeToArray$4(o, minLen); var n = slice(_context15 = Object.prototype.toString.call(o)).call(_context15, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return from$3(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$4(o, minLen); }
-
-	function _arrayLikeToArray$4(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
-	/**
-	 * Handler for interactions
-	 */
-
-	var InteractionHandler = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {Canvas} canvas
-		 * @param {SelectionHandler} selectionHandler
-		 */
-		function InteractionHandler(body, canvas, selectionHandler) {
-			var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9, _context10, _context11, _context12, _context13;
-
-			_classCallCheck(this, InteractionHandler);
-
-			this.body = body;
-			this.canvas = canvas;
-			this.selectionHandler = selectionHandler;
-			this.navigationHandler = new NavigationHandler(body, canvas); // bind the events from hammer to functions in this object
-
-			this.body.eventListeners.onTap = bind$6(_context = this.onTap).call(_context, this);
-			this.body.eventListeners.onTouch = bind$6(_context2 = this.onTouch).call(_context2, this);
-			this.body.eventListeners.onDoubleTap = bind$6(_context3 = this.onDoubleTap).call(_context3, this);
-			this.body.eventListeners.onHold = bind$6(_context4 = this.onHold).call(_context4, this);
-			this.body.eventListeners.onDragStart = bind$6(_context5 = this.onDragStart).call(_context5, this);
-			this.body.eventListeners.onDrag = bind$6(_context6 = this.onDrag).call(_context6, this);
-			this.body.eventListeners.onDragEnd = bind$6(_context7 = this.onDragEnd).call(_context7, this);
-			this.body.eventListeners.onMouseWheel = bind$6(_context8 = this.onMouseWheel).call(_context8, this);
-			this.body.eventListeners.onPinch = bind$6(_context9 = this.onPinch).call(_context9, this);
-			this.body.eventListeners.onMouseMove = bind$6(_context10 = this.onMouseMove).call(_context10, this);
-			this.body.eventListeners.onRelease = bind$6(_context11 = this.onRelease).call(_context11, this);
-			this.body.eventListeners.onContext = bind$6(_context12 = this.onContext).call(_context12, this);
-			this.touchTime = 0;
-			this.drag = {};
-			this.pinch = {};
-			this.popup = undefined;
-			this.popupObj = undefined;
-			this.popupTimer = undefined;
-			this.body.functions.getPointer = bind$6(_context13 = this.getPointer).call(_context13, this);
-			this.options = {};
-			this.defaultOptions = {
-				dragNodes: true,
-				dragView: true,
-				hover: false,
-				keyboard: {
-					enabled: false,
-					speed: {
-						x: 10,
-						y: 10,
-						zoom: 0.02
-					},
-					bindToWindow: true,
-					autoFocus: true
-				},
-				navigationButtons: false,
-				tooltipDelay: 300,
-				zoomView: true,
-				zoomSpeed: 1
-			};
-
-			assign$2(this.options, this.defaultOptions);
-
-			this.bindEventListeners();
-		}
-		/**
-		 * Binds event listeners
-		 */
-
-
-		_createClass(InteractionHandler, [{
-			key: "bindEventListeners",
-			value: function bindEventListeners() {
-				var _this = this;
-
-				this.body.emitter.on("destroy", function () {
-					clearTimeout(_this.popupTimer);
-					delete _this.body.functions.getPointer;
-				});
-			}
-			/**
-			 *
-			 * @param {object} options
-			 */
-
-		}, {
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (options !== undefined) {
-					// extend all but the values in fields
-					var fields = ["hideEdgesOnDrag", "hideEdgesOnZoom", "hideNodesOnDrag", "keyboard", "multiselect", "selectable", "selectConnectedEdges"];
-					selectiveNotDeepExtend(fields, this.options, options); // merge the keyboard options in.
-
-					mergeOptions(this.options, options, "keyboard");
-
-					if (options.tooltip) {
-						assign$2(this.options.tooltip, options.tooltip);
-
-						if (options.tooltip.color) {
-							this.options.tooltip.color = parseColor(options.tooltip.color);
-						}
-					}
-				}
-
-				this.navigationHandler.setOptions(this.options);
-			}
-			/**
-			 * Get the pointer location from a touch location
-			 *
-			 * @param {{x: number, y: number}} touch
-			 * @returns {{x: number, y: number}} pointer
-			 * @private
-			 */
-
-		}, {
-			key: "getPointer",
-			value: function getPointer(touch) {
-				return {
-					x: touch.x - getAbsoluteLeft(this.canvas.frame.canvas),
-					y: touch.y - getAbsoluteTop(this.canvas.frame.canvas)
-				};
-			}
-			/**
-			 * On start of a touch gesture, store the pointer
-			 *
-			 * @param {Event}  event   The event
-			 * @private
-			 */
-
-		}, {
-			key: "onTouch",
-			value: function onTouch(event) {
-				if (new Date().valueOf() - this.touchTime > 50) {
-					this.drag.pointer = this.getPointer(event.center);
-					this.drag.pinched = false;
-					this.pinch.scale = this.body.view.scale; // to avoid double fireing of this event because we have two hammer instances. (on canvas and on frame)
-
-					this.touchTime = new Date().valueOf();
-				}
-			}
-			/**
-			 * handle tap/click event: select/unselect a node
-			 *
-			 * @param {Event} event
-			 * @private
-			 */
-
-		}, {
-			key: "onTap",
-			value: function onTap(event) {
-				var pointer = this.getPointer(event.center);
-				var multiselect = this.selectionHandler.options.multiselect && (event.changedPointers[0].ctrlKey || event.changedPointers[0].metaKey);
-				this.checkSelectionChanges(pointer, multiselect);
-				this.selectionHandler.commitAndEmit(pointer, event);
-				this.selectionHandler.generateClickEvent("click", event, pointer);
-			}
-			/**
-			 * handle doubletap event
-			 *
-			 * @param {Event} event
-			 * @private
-			 */
-
-		}, {
-			key: "onDoubleTap",
-			value: function onDoubleTap(event) {
-				var pointer = this.getPointer(event.center);
-				this.selectionHandler.generateClickEvent("doubleClick", event, pointer);
-			}
-			/**
-			 * handle long tap event: multi select nodes
-			 *
-			 * @param {Event} event
-			 * @private
-			 */
-
-		}, {
-			key: "onHold",
-			value: function onHold(event) {
-				var pointer = this.getPointer(event.center);
-				var multiselect = this.selectionHandler.options.multiselect;
-				this.checkSelectionChanges(pointer, multiselect);
-				this.selectionHandler.commitAndEmit(pointer, event);
-				this.selectionHandler.generateClickEvent("click", event, pointer);
-				this.selectionHandler.generateClickEvent("hold", event, pointer);
-			}
-			/**
-			 * handle the release of the screen
-			 *
-			 * @param {Event} event
-			 * @private
-			 */
-
-		}, {
-			key: "onRelease",
-			value: function onRelease(event) {
-				if (new Date().valueOf() - this.touchTime > 10) {
-					var pointer = this.getPointer(event.center);
-					this.selectionHandler.generateClickEvent("release", event, pointer); // to avoid double fireing of this event because we have two hammer instances. (on canvas and on frame)
-
-					this.touchTime = new Date().valueOf();
-				}
-			}
-			/**
-			 *
-			 * @param {Event} event
-			 */
-
-		}, {
-			key: "onContext",
-			value: function onContext(event) {
-				var pointer = this.getPointer({
-					x: event.clientX,
-					y: event.clientY
-				});
-				this.selectionHandler.generateClickEvent("oncontext", event, pointer);
-			}
-			/**
-			 * Select and deselect nodes depending current selection change.
-			 *
-			 * @param {{x: number, y: number}} pointer
-			 * @param {boolean} [add=false]
-			 */
-
-		}, {
-			key: "checkSelectionChanges",
-			value: function checkSelectionChanges(pointer) {
-				var add = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-
-				if (add === true) {
-					this.selectionHandler.selectAdditionalOnPoint(pointer);
-				} else {
-					this.selectionHandler.selectOnPoint(pointer);
-				}
-			}
-			/**
-			 * Remove all node and edge id's from the first set that are present in the second one.
-			 *
-			 * @param {{nodes: Array.<Node>, edges: Array.<vis.Edge>}} firstSet
-			 * @param {{nodes: Array.<Node>, edges: Array.<vis.Edge>}} secondSet
-			 * @returns {{nodes: Array.<Node>, edges: Array.<vis.Edge>}}
-			 * @private
-			 */
-
-		}, {
-			key: "_determineDifference",
-			value: function _determineDifference(firstSet, secondSet) {
-				var arrayDiff = function arrayDiff(firstArr, secondArr) {
-					var result = [];
-
-					for (var i = 0; i < firstArr.length; i++) {
-						var value = firstArr[i];
-
-						if (indexOf(secondArr).call(secondArr, value) === -1) {
-							result.push(value);
-						}
-					}
-
-					return result;
-				};
-
-				return {
-					nodes: arrayDiff(firstSet.nodes, secondSet.nodes),
-					edges: arrayDiff(firstSet.edges, secondSet.edges)
-				};
-			}
-			/**
-			 * This function is called by onDragStart.
-			 * It is separated out because we can then overload it for the datamanipulation system.
-			 *
-			 * @param {Event} event
-			 * @private
-			 */
-
-		}, {
-			key: "onDragStart",
-			value: function onDragStart(event) {
-				// if already dragging, do not start
-				// this can happen on touch screens with multiple fingers
-				if (this.drag.dragging) {
-					return;
-				} //in case the touch event was triggered on an external div, do the initial touch now.
-
-
-				if (this.drag.pointer === undefined) {
-					this.onTouch(event);
-				} // note: drag.pointer is set in onTouch to get the initial touch location
-
-
-				var node = this.selectionHandler.getNodeAt(this.drag.pointer);
-				this.drag.dragging = true;
-				this.drag.selection = [];
-				this.drag.translation = assign$2({}, this.body.view.translation); // copy the object
-
-				this.drag.nodeId = undefined;
-
-				if (event.srcEvent.shiftKey) {
-					this.body.selectionBox.show = true;
-					var pointer = this.getPointer(event.center);
-					this.body.selectionBox.position.start = {
-						x: this.canvas._XconvertDOMtoCanvas(pointer.x),
-						y: this.canvas._YconvertDOMtoCanvas(pointer.y)
-					};
-					this.body.selectionBox.position.end = {
-						x: this.canvas._XconvertDOMtoCanvas(pointer.x),
-						y: this.canvas._YconvertDOMtoCanvas(pointer.y)
-					};
-				}
-
-				if (node !== undefined && this.options.dragNodes === true) {
-					this.drag.nodeId = node.id; // select the clicked node if not yet selected
-
-					if (node.isSelected() === false) {
-						this.selectionHandler.setSelection({
-							nodes: [node.id]
-						});
-					} // after select to contain the node
-
-
-					this.selectionHandler.generateClickEvent("dragStart", event, this.drag.pointer); // create an array with the selected nodes and their original location and status
-
-					var _iterator = _createForOfIteratorHelper$4(this.selectionHandler.getSelectedNodes()),
-						_step;
-
-					try {
-						for (_iterator.s(); !(_step = _iterator.n()).done;) {
-							var _node = _step.value;
-							var s = {
-								id: _node.id,
-								node: _node,
-								// store original x, y, xFixed and yFixed, make the node temporarily Fixed
-								x: _node.x,
-								y: _node.y,
-								xFixed: _node.options.fixed.x,
-								yFixed: _node.options.fixed.y
-							};
-							_node.options.fixed.x = true;
-							_node.options.fixed.y = true;
-							this.drag.selection.push(s);
-						}
-					} catch (err) {
-						_iterator.e(err);
-					} finally {
-						_iterator.f();
-					}
-				} else {
-					// fallback if no node is selected and thus the view is dragged.
-					this.selectionHandler.generateClickEvent("dragStart", event, this.drag.pointer, undefined, true);
-				}
-			}
-			/**
-			 * handle drag event
-			 *
-			 * @param {Event} event
-			 * @private
-			 */
-
-		}, {
-			key: "onDrag",
-			value: function onDrag(event) {
-				var _this2 = this;
-
-				if (this.drag.pinched === true) {
-					return;
-				} // remove the focus on node if it is focussed on by the focusOnNode
-
-
-				this.body.emitter.emit("unlockNode");
-				var pointer = this.getPointer(event.center);
-				var selection = this.drag.selection;
-
-				if (selection && selection.length && this.options.dragNodes === true) {
-					this.selectionHandler.generateClickEvent("dragging", event, pointer); // calculate delta's and new location
-
-					var deltaX = pointer.x - this.drag.pointer.x;
-					var deltaY = pointer.y - this.drag.pointer.y; // update position of all selected nodes
-
-					forEach$2(selection).call(selection, function (selection) {
-						var node = selection.node; // only move the node if it was not fixed initially
-
-						if (selection.xFixed === false) {
-							node.x = _this2.canvas._XconvertDOMtoCanvas(_this2.canvas._XconvertCanvasToDOM(selection.x) + deltaX);
-						} // only move the node if it was not fixed initially
-
-
-						if (selection.yFixed === false) {
-							node.y = _this2.canvas._YconvertDOMtoCanvas(_this2.canvas._YconvertCanvasToDOM(selection.y) + deltaY);
-						}
-					}); // start the simulation of the physics
-
-
-					this.body.emitter.emit("startSimulation");
-				} else {
-					// create selection box
-					if (event.srcEvent.shiftKey) {
-						this.selectionHandler.generateClickEvent("dragging", event, pointer, undefined, true); // if the drag was not started properly because the click started outside the network div, start it now.
-
-						if (this.drag.pointer === undefined) {
-							this.onDragStart(event);
-							return;
-						}
-
-						this.body.selectionBox.position.end = {
-							x: this.canvas._XconvertDOMtoCanvas(pointer.x),
-							y: this.canvas._YconvertDOMtoCanvas(pointer.y)
-						};
-						this.body.emitter.emit("_requestRedraw");
-					} // move the network
-
-
-					if (this.options.dragView === true && !event.srcEvent.shiftKey) {
-						this.selectionHandler.generateClickEvent("dragging", event, pointer, undefined, true); // if the drag was not started properly because the click started outside the network div, start it now.
-
-						if (this.drag.pointer === undefined) {
-							this.onDragStart(event);
-							return;
-						}
-
-						var diffX = pointer.x - this.drag.pointer.x;
-						var diffY = pointer.y - this.drag.pointer.y;
-						this.body.view.translation = {
-							x: this.drag.translation.x + diffX,
-							y: this.drag.translation.y + diffY
-						};
-						this.body.emitter.emit("_requestRedraw");
-					}
-				}
-			}
-			/**
-			 * handle drag start event
-			 *
-			 * @param {Event} event
-			 * @private
-			 */
-
-		}, {
-			key: "onDragEnd",
-			value: function onDragEnd(event) {
-				var _this3 = this;
-
-				this.drag.dragging = false;
-
-				if (this.body.selectionBox.show) {
-					var _context14;
-
-					this.body.selectionBox.show = false;
-					var selectionBoxPosition = this.body.selectionBox.position;
-					var selectionBoxPositionMinMax = {
-						minX: Math.min(selectionBoxPosition.start.x, selectionBoxPosition.end.x),
-						minY: Math.min(selectionBoxPosition.start.y, selectionBoxPosition.end.y),
-						maxX: Math.max(selectionBoxPosition.start.x, selectionBoxPosition.end.x),
-						maxY: Math.max(selectionBoxPosition.start.y, selectionBoxPosition.end.y)
-					};
-
-					var toBeSelectedNodes = filter(_context14 = this.body.nodeIndices).call(_context14, function (nodeId) {
-						var node = _this3.body.nodes[nodeId];
-						return node.x >= selectionBoxPositionMinMax.minX && node.x <= selectionBoxPositionMinMax.maxX && node.y >= selectionBoxPositionMinMax.minY && node.y <= selectionBoxPositionMinMax.maxY;
-					});
-
-					forEach$2(toBeSelectedNodes).call(toBeSelectedNodes, function (nodeId) {
-						return _this3.selectionHandler.selectObject(_this3.body.nodes[nodeId]);
-					});
-
-					var pointer = this.getPointer(event.center);
-					this.selectionHandler.commitAndEmit(pointer, event);
-					this.selectionHandler.generateClickEvent("dragEnd", event, this.getPointer(event.center), undefined, true);
-					this.body.emitter.emit("_requestRedraw");
-				} else {
-					var selection = this.drag.selection;
-
-					if (selection && selection.length) {
-						forEach$2(selection).call(selection, function (s) {
-							// restore original xFixed and yFixed
-							s.node.options.fixed.x = s.xFixed;
-							s.node.options.fixed.y = s.yFixed;
-						});
-
-						this.selectionHandler.generateClickEvent("dragEnd", event, this.getPointer(event.center));
-						this.body.emitter.emit("startSimulation");
-					} else {
-						this.selectionHandler.generateClickEvent("dragEnd", event, this.getPointer(event.center), undefined, true);
-						this.body.emitter.emit("_requestRedraw");
-					}
-				}
-			}
-			/**
-			 * Handle pinch event
-			 *
-			 * @param {Event}  event   The event
-			 * @private
-			 */
-
-		}, {
-			key: "onPinch",
-			value: function onPinch(event) {
-				var pointer = this.getPointer(event.center);
-				this.drag.pinched = true;
-
-				if (this.pinch["scale"] === undefined) {
-					this.pinch.scale = 1;
-				} // TODO: enabled moving while pinching?
-
-
-				var scale = this.pinch.scale * event.scale;
-				this.zoom(scale, pointer);
-			}
-			/**
-			 * Zoom the network in or out
-			 *
-			 * @param {number} scale a number around 1, and between 0.01 and 10
-			 * @param {{x: number, y: number}} pointer    Position on screen
-			 * @private
-			 */
-
-		}, {
-			key: "zoom",
-			value: function zoom(scale, pointer) {
-				if (this.options.zoomView === true) {
-					var scaleOld = this.body.view.scale;
-
-					if (scale < 0.00001) {
-						scale = 0.00001;
-					}
-
-					if (scale > 10) {
-						scale = 10;
-					}
-
-					var preScaleDragPointer = undefined;
-
-					if (this.drag !== undefined) {
-						if (this.drag.dragging === true) {
-							preScaleDragPointer = this.canvas.DOMtoCanvas(this.drag.pointer);
-						}
-					} // + this.canvas.frame.canvas.clientHeight / 2
-
-
-					var translation = this.body.view.translation;
-					var scaleFrac = scale / scaleOld;
-					var tx = (1 - scaleFrac) * pointer.x + translation.x * scaleFrac;
-					var ty = (1 - scaleFrac) * pointer.y + translation.y * scaleFrac;
-					this.body.view.scale = scale;
-					this.body.view.translation = {
-						x: tx,
-						y: ty
-					};
-
-					if (preScaleDragPointer != undefined) {
-						var postScaleDragPointer = this.canvas.canvasToDOM(preScaleDragPointer);
-						this.drag.pointer.x = postScaleDragPointer.x;
-						this.drag.pointer.y = postScaleDragPointer.y;
-					}
-
-					this.body.emitter.emit("_requestRedraw");
-
-					if (scaleOld < scale) {
-						this.body.emitter.emit("zoom", {
-							direction: "+",
-							scale: this.body.view.scale,
-							pointer: pointer
-						});
-					} else {
-						this.body.emitter.emit("zoom", {
-							direction: "-",
-							scale: this.body.view.scale,
-							pointer: pointer
-						});
-					}
-				}
-			}
-			/**
-			 * Event handler for mouse wheel event, used to zoom the timeline
-			 * See http://adomas.org/javascript-mouse-wheel/
-			 *     https://github.com/EightMedia/hammer.js/issues/256
-			 *
-			 * @param {MouseEvent}  event
-			 * @private
-			 */
-
-		}, {
-			key: "onMouseWheel",
-			value: function onMouseWheel(event) {
-				if (this.options.zoomView === true) {
-					// If delta is nonzero, handle it.
-					// Basically, delta is now positive if wheel was scrolled up,
-					// and negative, if wheel was scrolled down.
-					if (event.deltaY !== 0) {
-						// calculate the new scale
-						var scale = this.body.view.scale;
-						scale *= 1 + (event.deltaY < 0 ? 1 : -1) * (this.options.zoomSpeed * 0.1); // calculate the pointer location
-
-						var pointer = this.getPointer({
-							x: event.clientX,
-							y: event.clientY
-						}); // apply the new scale
-
-						this.zoom(scale, pointer);
-					} // Prevent default actions caused by mouse wheel.
-
-
-					event.preventDefault();
-				}
-			}
-			/**
-			 * Mouse move handler for checking whether the title moves over a node with a title.
-			 *
-			 * @param  {Event} event
-			 * @private
-			 */
-
-		}, {
-			key: "onMouseMove",
-			value: function onMouseMove(event) {
-				var _this4 = this;
-
-				var pointer = this.getPointer({
-					x: event.clientX,
-					y: event.clientY
-				});
-				var popupVisible = false; // check if the previously selected node is still selected
-
-				if (this.popup !== undefined) {
-					if (this.popup.hidden === false) {
-						this._checkHidePopup(pointer);
-					} // if the popup was not hidden above
-
-
-					if (this.popup.hidden === false) {
-						popupVisible = true;
-						this.popup.setPosition(pointer.x + 3, pointer.y - 5);
-						this.popup.show();
-					}
-				} // if we bind the keyboard to the div, we have to highlight it to use it. This highlights it on mouse over.
-
-
-				if (this.options.keyboard.autoFocus && this.options.keyboard.bindToWindow === false && this.options.keyboard.enabled === true) {
-					this.canvas.frame.focus();
-				} // start a timeout that will check if the mouse is positioned above an element
-
-
-				if (popupVisible === false) {
-					if (this.popupTimer !== undefined) {
-						clearInterval(this.popupTimer); // stop any running calculationTimer
-
-						this.popupTimer = undefined;
-					}
-
-					if (!this.drag.dragging) {
-						this.popupTimer = setTimeout$1(function () {
-							return _this4._checkShowPopup(pointer);
-						}, this.options.tooltipDelay);
-					}
-				} // adding hover highlights
-
-
-				if (this.options.hover === true) {
-					this.selectionHandler.hoverObject(event, pointer);
-				}
-			}
-			/**
-			 * Check if there is an element on the given position in the network
-			 * (a node or edge). If so, and if this element has a title,
-			 * show a popup window with its title.
-			 *
-			 * @param {{x:number, y:number}} pointer
-			 * @private
-			 */
-
-		}, {
-			key: "_checkShowPopup",
-			value: function _checkShowPopup(pointer) {
-				var x = this.canvas._XconvertDOMtoCanvas(pointer.x);
-
-				var y = this.canvas._YconvertDOMtoCanvas(pointer.y);
-
-				var pointerObj = {
-					left: x,
-					top: y,
-					right: x,
-					bottom: y
-				};
-				var previousPopupObjId = this.popupObj === undefined ? undefined : this.popupObj.id;
-				var nodeUnderCursor = false;
-				var popupType = "node"; // check if a node is under the cursor.
-
-				if (this.popupObj === undefined) {
-					// search the nodes for overlap, select the top one in case of multiple nodes
-					var nodeIndices = this.body.nodeIndices;
-					var nodes = this.body.nodes;
-					var node;
-					var overlappingNodes = [];
-
-					for (var i = 0; i < nodeIndices.length; i++) {
-						node = nodes[nodeIndices[i]];
-
-						if (node.isOverlappingWith(pointerObj) === true) {
-							nodeUnderCursor = true;
-
-							if (node.getTitle() !== undefined) {
-								overlappingNodes.push(nodeIndices[i]);
-							}
-						}
-					}
-
-					if (overlappingNodes.length > 0) {
-						// if there are overlapping nodes, select the last one, this is the one which is drawn on top of the others
-						this.popupObj = nodes[overlappingNodes[overlappingNodes.length - 1]]; // if you hover over a node, the title of the edge is not supposed to be shown.
-
-						nodeUnderCursor = true;
-					}
-				}
-
-				if (this.popupObj === undefined && nodeUnderCursor === false) {
-					// search the edges for overlap
-					var edgeIndices = this.body.edgeIndices;
-					var edges = this.body.edges;
-					var edge;
-					var overlappingEdges = [];
-
-					for (var _i = 0; _i < edgeIndices.length; _i++) {
-						edge = edges[edgeIndices[_i]];
-
-						if (edge.isOverlappingWith(pointerObj) === true) {
-							if (edge.connected === true && edge.getTitle() !== undefined) {
-								overlappingEdges.push(edgeIndices[_i]);
-							}
-						}
-					}
-
-					if (overlappingEdges.length > 0) {
-						this.popupObj = edges[overlappingEdges[overlappingEdges.length - 1]];
-						popupType = "edge";
-					}
-				}
-
-				if (this.popupObj !== undefined) {
-					// show popup message window
-					if (this.popupObj.id !== previousPopupObjId) {
-						if (this.popup === undefined) {
-							this.popup = new Popup(this.canvas.frame);
-						}
-
-						this.popup.popupTargetType = popupType;
-						this.popup.popupTargetId = this.popupObj.id; // adjust a small offset such that the mouse cursor is located in the
-						// bottom left location of the popup, and you can easily move over the
-						// popup area
-
-						this.popup.setPosition(pointer.x + 3, pointer.y - 5);
-						this.popup.setText(this.popupObj.getTitle());
-						this.popup.show();
-						this.body.emitter.emit("showPopup", this.popupObj.id);
-					}
-				} else {
-					if (this.popup !== undefined) {
-						this.popup.hide();
-						this.body.emitter.emit("hidePopup");
-					}
-				}
-			}
-			/**
-			 * Check if the popup must be hidden, which is the case when the mouse is no
-			 * longer hovering on the object
-			 *
-			 * @param {{x:number, y:number}} pointer
-			 * @private
-			 */
-
-		}, {
-			key: "_checkHidePopup",
-			value: function _checkHidePopup(pointer) {
-				var pointerObj = this.selectionHandler._pointerToPositionObject(pointer);
-
-				var stillOnObj = false;
-
-				if (this.popup.popupTargetType === "node") {
-					if (this.body.nodes[this.popup.popupTargetId] !== undefined) {
-						stillOnObj = this.body.nodes[this.popup.popupTargetId].isOverlappingWith(pointerObj); // if the mouse is still one the node, we have to check if it is not also on one that is drawn on top of it.
-						// we initially only check stillOnObj because this is much faster.
-
-						if (stillOnObj === true) {
-							var overNode = this.selectionHandler.getNodeAt(pointer);
-							stillOnObj = overNode === undefined ? false : overNode.id === this.popup.popupTargetId;
-						}
-					}
-				} else {
-					if (this.selectionHandler.getNodeAt(pointer) === undefined) {
-						if (this.body.edges[this.popup.popupTargetId] !== undefined) {
-							stillOnObj = this.body.edges[this.popup.popupTargetId].isOverlappingWith(pointerObj);
-						}
-					}
-				}
-
-				if (stillOnObj === false) {
-					this.popupObj = undefined;
-					this.popup.hide();
-					this.body.emitter.emit("hidePopup");
-				}
-			}
-		}]);
-
-		return InteractionHandler;
-	}();
-
-	var uncurryThis$1 = functionUncurryThis;
-	var redefineAll$1 = redefineAll$3;
-	var getWeakData = internalMetadata.exports.getWeakData;
-	var anObject = anObject$d;
-	var isObject$1 = isObject$j;
-	var anInstance = anInstance$3;
-	var iterate = iterate$3;
-	var ArrayIterationModule = arrayIteration;
-	var hasOwn = hasOwnProperty_1;
-	var InternalStateModule = internalState;
-	var setInternalState = InternalStateModule.set;
-	var internalStateGetterFor = InternalStateModule.getterFor;
-	var find = ArrayIterationModule.find;
-	var findIndex = ArrayIterationModule.findIndex;
-	var splice = uncurryThis$1([].splice);
-	var id = 0; // fallback for uncaught frozen keys
-
-	var uncaughtFrozenStore = function (store) {
-		return store.frozen || (store.frozen = new UncaughtFrozenStore());
-	};
-
-	var UncaughtFrozenStore = function () {
-		this.entries = [];
-	};
-
-	var findUncaughtFrozen = function (store, key) {
-		return find(store.entries, function (it) {
-			return it[0] === key;
-		});
-	};
-
-	UncaughtFrozenStore.prototype = {
-		get: function (key) {
-			var entry = findUncaughtFrozen(this, key);
-			if (entry) return entry[1];
-		},
-		has: function (key) {
-			return !!findUncaughtFrozen(this, key);
-		},
-		set: function (key, value) {
-			var entry = findUncaughtFrozen(this, key);
-			if (entry) entry[1] = value; else this.entries.push([key, value]);
-		},
-		'delete': function (key) {
-			var index = findIndex(this.entries, function (it) {
-				return it[0] === key;
-			});
-			if (~index) splice(this.entries, index, 1);
-			return !!~index;
-		}
-	};
-	var collectionWeak$1 = {
-		getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
-			var Constructor = wrapper(function (that, iterable) {
-				anInstance(that, Prototype);
-				setInternalState(that, {
-					type: CONSTRUCTOR_NAME,
-					id: id++,
-					frozen: undefined
-				});
-				if (iterable != undefined) iterate(iterable, that[ADDER], {
-					that: that,
-					AS_ENTRIES: IS_MAP
-				});
-			});
-			var Prototype = Constructor.prototype;
-			var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
-
-			var define = function (that, key, value) {
-				var state = getInternalState(that);
-				var data = getWeakData(anObject(key), true);
-				if (data === true) uncaughtFrozenStore(state).set(key, value); else data[state.id] = value;
-				return that;
-			};
-
-			redefineAll$1(Prototype, {
-				// `{ WeakMap, WeakSet }.prototype.delete(key)` methods
-				// https://tc39.es/ecma262/#sec-weakmap.prototype.delete
-				// https://tc39.es/ecma262/#sec-weakset.prototype.delete
-				'delete': function (key) {
-					var state = getInternalState(this);
-					if (!isObject$1(key)) return false;
-					var data = getWeakData(key);
-					if (data === true) return uncaughtFrozenStore(state)['delete'](key);
-					return data && hasOwn(data, state.id) && delete data[state.id];
-				},
-				// `{ WeakMap, WeakSet }.prototype.has(key)` methods
-				// https://tc39.es/ecma262/#sec-weakmap.prototype.has
-				// https://tc39.es/ecma262/#sec-weakset.prototype.has
-				has: function has(key) {
-					var state = getInternalState(this);
-					if (!isObject$1(key)) return false;
-					var data = getWeakData(key);
-					if (data === true) return uncaughtFrozenStore(state).has(key);
-					return data && hasOwn(data, state.id);
-				}
-			});
-			redefineAll$1(Prototype, IS_MAP ? {
-				// `WeakMap.prototype.get(key)` method
-				// https://tc39.es/ecma262/#sec-weakmap.prototype.get
-				get: function get(key) {
-					var state = getInternalState(this);
-
-					if (isObject$1(key)) {
-						var data = getWeakData(key);
-						if (data === true) return uncaughtFrozenStore(state).get(key);
-						return data ? data[state.id] : undefined;
-					}
-				},
-				// `WeakMap.prototype.set(key, value)` method
-				// https://tc39.es/ecma262/#sec-weakmap.prototype.set
-				set: function set(key, value) {
-					return define(this, key, value);
-				}
-			} : {
-				// `WeakSet.prototype.add(value)` method
-				// https://tc39.es/ecma262/#sec-weakset.prototype.add
-				add: function add(value) {
-					return define(this, value, true);
-				}
-			});
-			return Constructor;
-		}
-	};
-
-	var global$1 = global$P;
-	var uncurryThis = functionUncurryThis;
-	var redefineAll = redefineAll$3;
-	var InternalMetadataModule = internalMetadata.exports;
-	var collection = collection$3;
-	var collectionWeak = collectionWeak$1;
-	var isObject = isObject$j;
-	var isExtensible = objectIsExtensible;
-	var enforceInternalState = internalState.enforce;
-	var NATIVE_WEAK_MAP = nativeWeakMap;
-	var IS_IE11 = !global$1.ActiveXObject && 'ActiveXObject' in global$1;
-	var InternalWeakMap;
-
-	var wrapper = function (init) {
-		return function WeakMap() {
-			return init(this, arguments.length ? arguments[0] : undefined);
-		};
-	}; // `WeakMap` constructor
-	// https://tc39.es/ecma262/#sec-weakmap-constructor
-
-
-	var $WeakMap = collection('WeakMap', wrapper, collectionWeak); // IE11 WeakMap frozen keys fix
-	// We can't use feature detection because it crash some old IE builds
-	// https://github.com/zloirock/core-js/issues/485
-
-	if (NATIVE_WEAK_MAP && IS_IE11) {
-		InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);
-		InternalMetadataModule.enable();
-		var WeakMapPrototype = $WeakMap.prototype;
-		var nativeDelete = uncurryThis(WeakMapPrototype['delete']);
-		var nativeHas = uncurryThis(WeakMapPrototype.has);
-		var nativeGet = uncurryThis(WeakMapPrototype.get);
-		var nativeSet = uncurryThis(WeakMapPrototype.set);
-		redefineAll(WeakMapPrototype, {
-			'delete': function (key) {
-				if (isObject(key) && !isExtensible(key)) {
-					var state = enforceInternalState(this);
-					if (!state.frozen) state.frozen = new InternalWeakMap();
-					return nativeDelete(this, key) || state.frozen['delete'](key);
-				}
-
-				return nativeDelete(this, key);
-			},
-			has: function has(key) {
-				if (isObject(key) && !isExtensible(key)) {
-					var state = enforceInternalState(this);
-					if (!state.frozen) state.frozen = new InternalWeakMap();
-					return nativeHas(this, key) || state.frozen.has(key);
-				}
-
-				return nativeHas(this, key);
-			},
-			get: function get(key) {
-				if (isObject(key) && !isExtensible(key)) {
-					var state = enforceInternalState(this);
-					if (!state.frozen) state.frozen = new InternalWeakMap();
-					return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);
-				}
-
-				return nativeGet(this, key);
-			},
-			set: function set(key, value) {
-				if (isObject(key) && !isExtensible(key)) {
-					var state = enforceInternalState(this);
-					if (!state.frozen) state.frozen = new InternalWeakMap();
-					nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);
-				} else nativeSet(this, key, value);
-
-				return this;
-			}
-		});
-	}
-
-	var path = path$y;
-	var weakMap$2 = path.WeakMap;
-
-	var parent$1 = weakMap$2;
-	var weakMap$1 = parent$1;
-
-	var weakMap = weakMap$1;
-
-	/*! *****************************************************************************
-	Copyright (c) Microsoft Corporation.
-
-	Permission to use, copy, modify, and/or distribute this software for any
-	purpose with or without fee is hereby granted.
-
-	THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-	REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-	AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-	INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-	LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-	OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-	PERFORMANCE OF THIS SOFTWARE.
-	***************************************************************************** */
-	function __classPrivateFieldGet(receiver, state, kind, f) {
-		if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
-		if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
-		return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
-	}
-	function __classPrivateFieldSet(receiver, state, value, kind, f) {
-		if (kind === "m") throw new TypeError("Private method is not writable");
-		if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
-		if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
-		return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
-	}
-
-	function _createForOfIteratorHelper$3(o, allowArrayLike) { var it = typeof symbol !== "undefined" && getIteratorMethod$1(o) || o["@@iterator"]; if (!it) { if (isArray$2(o) || (it = _unsupportedIterableToArray$3(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() { }; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
-
-	function _unsupportedIterableToArray$3(o, minLen) { var _context2; if (!o) return; if (typeof o === "string") return _arrayLikeToArray$3(o, minLen); var n = slice(_context2 = Object.prototype.toString.call(o)).call(_context2, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return from$3(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$3(o, minLen); }
-
-	function _arrayLikeToArray$3(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
-
-	var _SingleTypeSelectionAccumulator_previousSelection, _SingleTypeSelectionAccumulator_selection, _SelectionAccumulator_nodes, _SelectionAccumulator_edges, _SelectionAccumulator_commitHandler;
-	/**
-	 * @param prev
-	 * @param next
-	 */
-
-	function diffSets(prev, next) {
-		var diff = new set();
-
-		var _iterator = _createForOfIteratorHelper$3(next),
-			_step;
-
-		try {
-			for (_iterator.s(); !(_step = _iterator.n()).done;) {
-				var item = _step.value;
-
-				if (!prev.has(item)) {
-					diff.add(item);
-				}
-			}
-		} catch (err) {
-			_iterator.e(err);
-		} finally {
-			_iterator.f();
-		}
-
-		return diff;
-	}
-
-	var SingleTypeSelectionAccumulator = /*#__PURE__*/function () {
-		function SingleTypeSelectionAccumulator() {
-			_classCallCheck(this, SingleTypeSelectionAccumulator);
-
-			_SingleTypeSelectionAccumulator_previousSelection.set(this, new set());
-
-			_SingleTypeSelectionAccumulator_selection.set(this, new set());
-		}
-
-		_createClass(SingleTypeSelectionAccumulator, [{
-			key: "size",
-			get: function get() {
-				return __classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_selection, "f").size;
-			}
-		}, {
-			key: "add",
-			value: function add() {
-				for (var _len = arguments.length, items = new Array(_len), _key = 0; _key < _len; _key++) {
-					items[_key] = arguments[_key];
-				}
-
-				for (var _i = 0, _items = items; _i < _items.length; _i++) {
-					var item = _items[_i];
-
-					__classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_selection, "f").add(item);
-				}
-			}
-		}, {
-			key: "delete",
-			value: function _delete() {
-				for (var _len2 = arguments.length, items = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
-					items[_key2] = arguments[_key2];
-				}
-
-				for (var _i2 = 0, _items2 = items; _i2 < _items2.length; _i2++) {
-					var item = _items2[_i2];
-
-					__classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_selection, "f").delete(item);
-				}
-			}
-		}, {
-			key: "clear",
-			value: function clear() {
-				__classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_selection, "f").clear();
-			}
-		}, {
-			key: "getSelection",
-			value: function getSelection() {
-				return _toConsumableArray(__classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_selection, "f"));
-			}
-		}, {
-			key: "getChanges",
-			value: function getChanges() {
-				return {
-					added: _toConsumableArray(diffSets(__classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_previousSelection, "f"), __classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_selection, "f"))),
-					deleted: _toConsumableArray(diffSets(__classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_selection, "f"), __classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_previousSelection, "f"))),
-					previous: _toConsumableArray(new set(__classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_previousSelection, "f"))),
-					current: _toConsumableArray(new set(__classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_selection, "f")))
-				};
-			}
-		}, {
-			key: "commit",
-			value: function commit() {
-				var changes = this.getChanges();
-
-				__classPrivateFieldSet(this, _SingleTypeSelectionAccumulator_previousSelection, __classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_selection, "f"), "f");
-
-				__classPrivateFieldSet(this, _SingleTypeSelectionAccumulator_selection, new set(__classPrivateFieldGet(this, _SingleTypeSelectionAccumulator_previousSelection, "f")), "f");
-
-				var _iterator2 = _createForOfIteratorHelper$3(changes.added),
-					_step2;
-
-				try {
-					for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
-						var item = _step2.value;
-						item.select();
-					}
-				} catch (err) {
-					_iterator2.e(err);
-				} finally {
-					_iterator2.f();
-				}
-
-				var _iterator3 = _createForOfIteratorHelper$3(changes.deleted),
-					_step3;
-
-				try {
-					for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
-						var _item = _step3.value;
-
-						_item.unselect();
-					}
-				} catch (err) {
-					_iterator3.e(err);
-				} finally {
-					_iterator3.f();
-				}
-
-				return changes;
-			}
-		}]);
-
-		return SingleTypeSelectionAccumulator;
-	}();
-
-	_SingleTypeSelectionAccumulator_previousSelection = new weakMap(), _SingleTypeSelectionAccumulator_selection = new weakMap();
-	var SelectionAccumulator = /*#__PURE__*/function () {
-		function SelectionAccumulator() {
-			var commitHandler = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function () { };
-
-			_classCallCheck(this, SelectionAccumulator);
-
-			_SelectionAccumulator_nodes.set(this, new SingleTypeSelectionAccumulator());
-
-			_SelectionAccumulator_edges.set(this, new SingleTypeSelectionAccumulator());
-
-			_SelectionAccumulator_commitHandler.set(this, void 0);
-
-			__classPrivateFieldSet(this, _SelectionAccumulator_commitHandler, commitHandler, "f");
-		}
-
-		_createClass(SelectionAccumulator, [{
-			key: "sizeNodes",
-			get: function get() {
-				return __classPrivateFieldGet(this, _SelectionAccumulator_nodes, "f").size;
-			}
-		}, {
-			key: "sizeEdges",
-			get: function get() {
-				return __classPrivateFieldGet(this, _SelectionAccumulator_edges, "f").size;
-			}
-		}, {
-			key: "getNodes",
-			value: function getNodes() {
-				return __classPrivateFieldGet(this, _SelectionAccumulator_nodes, "f").getSelection();
-			}
-		}, {
-			key: "getEdges",
-			value: function getEdges() {
-				return __classPrivateFieldGet(this, _SelectionAccumulator_edges, "f").getSelection();
-			}
-		}, {
-			key: "addNodes",
-			value: function addNodes() {
-				var _classPrivateFieldGe;
-
-				(_classPrivateFieldGe = __classPrivateFieldGet(this, _SelectionAccumulator_nodes, "f")).add.apply(_classPrivateFieldGe, arguments);
-			}
-		}, {
-			key: "addEdges",
-			value: function addEdges() {
-				var _classPrivateFieldGe2;
-
-				(_classPrivateFieldGe2 = __classPrivateFieldGet(this, _SelectionAccumulator_edges, "f")).add.apply(_classPrivateFieldGe2, arguments);
-			}
-		}, {
-			key: "deleteNodes",
-			value: function deleteNodes(node) {
-				__classPrivateFieldGet(this, _SelectionAccumulator_nodes, "f").delete(node);
-			}
-		}, {
-			key: "deleteEdges",
-			value: function deleteEdges(edge) {
-				__classPrivateFieldGet(this, _SelectionAccumulator_edges, "f").delete(edge);
-			}
-		}, {
-			key: "clear",
-			value: function clear() {
-				__classPrivateFieldGet(this, _SelectionAccumulator_nodes, "f").clear();
-
-				__classPrivateFieldGet(this, _SelectionAccumulator_edges, "f").clear();
-			}
-		}, {
-			key: "commit",
-			value: function commit() {
-				var _classPrivateFieldGe3, _context;
-
-				var summary = {
-					nodes: __classPrivateFieldGet(this, _SelectionAccumulator_nodes, "f").commit(),
-					edges: __classPrivateFieldGet(this, _SelectionAccumulator_edges, "f").commit()
-				};
-
-				for (var _len3 = arguments.length, rest = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
-					rest[_key3] = arguments[_key3];
-				}
-
-				(_classPrivateFieldGe3 = __classPrivateFieldGet(this, _SelectionAccumulator_commitHandler, "f")).call.apply(_classPrivateFieldGe3, concat(_context = [this, summary]).call(_context, rest));
-
-				return summary;
-			}
-		}]);
-
-		return SelectionAccumulator;
-	}();
-	_SelectionAccumulator_nodes = new weakMap(), _SelectionAccumulator_edges = new weakMap(), _SelectionAccumulator_commitHandler = new weakMap();
-
-	function _createForOfIteratorHelper$2(o, allowArrayLike) { var it = typeof symbol !== "undefined" && getIteratorMethod$1(o) || o["@@iterator"]; if (!it) { if (isArray$2(o) || (it = _unsupportedIterableToArray$2(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() { }; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
-
-	function _unsupportedIterableToArray$2(o, minLen) { var _context3; if (!o) return; if (typeof o === "string") return _arrayLikeToArray$2(o, minLen); var n = slice(_context3 = Object.prototype.toString.call(o)).call(_context3, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return from$3(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen); }
-
-	function _arrayLikeToArray$2(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
-	/**
-	 * The handler for selections
-	 */
-
-	var SelectionHandler = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {Canvas} canvas
-		 */
-		function SelectionHandler(body, canvas) {
-			var _this = this;
-
-			_classCallCheck(this, SelectionHandler);
-
-			this.body = body;
-			this.canvas = canvas; // TODO: Consider firing an event on any change to the selection, not
-			// only those caused by clicks and taps. It would be easy to implement
-			// now and (at least to me) it seems like something that could be
-			// quite useful.
-
-			this._selectionAccumulator = new SelectionAccumulator();
-			this.hoverObj = {
-				nodes: {},
-				edges: {}
-			};
-			this.options = {};
-			this.defaultOptions = {
-				multiselect: false,
-				selectable: true,
-				selectConnectedEdges: true,
-				hoverConnectedEdges: true
-			};
-
-			assign$2(this.options, this.defaultOptions);
-
-			this.body.emitter.on("_dataChanged", function () {
-				_this.updateSelection();
-			});
-		}
-		/**
-		 *
-		 * @param {object} [options]
-		 */
-
-
-		_createClass(SelectionHandler, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (options !== undefined) {
-					var fields = ["multiselect", "hoverConnectedEdges", "selectable", "selectConnectedEdges"];
-					selectiveDeepExtend(fields, this.options, options);
-				}
-			}
-			/**
-			 * handles the selection part of the tap;
-			 *
-			 * @param {{x: number, y: number}} pointer
-			 * @returns {boolean}
-			 */
-
-		}, {
-			key: "selectOnPoint",
-			value: function selectOnPoint(pointer) {
-				var selected = false;
-
-				if (this.options.selectable === true) {
-					var obj = this.getNodeAt(pointer) || this.getEdgeAt(pointer); // unselect after getting the objects in order to restore width and height.
-
-					this.unselectAll();
-
-					if (obj !== undefined) {
-						selected = this.selectObject(obj);
-					}
-
-					this.body.emitter.emit("_requestRedraw");
-				}
-
-				return selected;
-			}
-			/**
-			 *
-			 * @param {{x: number, y: number}} pointer
-			 * @returns {boolean}
-			 */
-
-		}, {
-			key: "selectAdditionalOnPoint",
-			value: function selectAdditionalOnPoint(pointer) {
-				var selectionChanged = false;
-
-				if (this.options.selectable === true) {
-					var obj = this.getNodeAt(pointer) || this.getEdgeAt(pointer);
-
-					if (obj !== undefined) {
-						selectionChanged = true;
-
-						if (obj.isSelected() === true) {
-							this.deselectObject(obj);
-						} else {
-							this.selectObject(obj);
-						}
-
-						this.body.emitter.emit("_requestRedraw");
-					}
-				}
-
-				return selectionChanged;
-			}
-			/**
-			 * Create an object containing the standard fields for an event.
-			 *
-			 * @param {Event} event
-			 * @param {{x: number, y: number}} pointer Object with the x and y screen coordinates of the mouse
-			 * @returns {{}}
-			 * @private
-			 */
-
-		}, {
-			key: "_initBaseEvent",
-			value: function _initBaseEvent(event, pointer) {
-				var properties = {};
-				properties["pointer"] = {
-					DOM: {
-						x: pointer.x,
-						y: pointer.y
-					},
-					canvas: this.canvas.DOMtoCanvas(pointer)
-				};
-				properties["event"] = event;
-				return properties;
-			}
-			/**
-			 * Generate an event which the user can catch.
-			 *
-			 * This adds some extra data to the event with respect to cursor position and
-			 * selected nodes and edges.
-			 *
-			 * @param {string} eventType                          Name of event to send
-			 * @param {Event}  event
-			 * @param {{x: number, y: number}} pointer            Object with the x and y screen coordinates of the mouse
-			 * @param {object | undefined} oldSelection             If present, selection state before event occured
-			 * @param {boolean|undefined} [emptySelection=false]  Indicate if selection data should be passed
-			 */
-
-		}, {
-			key: "generateClickEvent",
-			value: function generateClickEvent(eventType, event, pointer, oldSelection) {
-				var emptySelection = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
-
-				var properties = this._initBaseEvent(event, pointer);
-
-				if (emptySelection === true) {
-					properties.nodes = [];
-					properties.edges = [];
-				} else {
-					var tmp = this.getSelection();
-					properties.nodes = tmp.nodes;
-					properties.edges = tmp.edges;
-				}
-
-				if (oldSelection !== undefined) {
-					properties["previousSelection"] = oldSelection;
-				}
-
-				if (eventType == "click") {
-					// For the time being, restrict this functionality to
-					// just the click event.
-					properties.items = this.getClickedItems(pointer);
-				}
-
-				if (event.controlEdge !== undefined) {
-					properties.controlEdge = event.controlEdge;
-				}
-
-				this.body.emitter.emit(eventType, properties);
-			}
-			/**
-			 *
-			 * @param {object} obj
-			 * @param {boolean} [highlightEdges=this.options.selectConnectedEdges]
-			 * @returns {boolean}
-			 */
-
-		}, {
-			key: "selectObject",
-			value: function selectObject(obj) {
-				var highlightEdges = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.options.selectConnectedEdges;
-
-				if (obj !== undefined) {
-					if (obj instanceof Node) {
-						if (highlightEdges === true) {
-							var _this$_selectionAccum;
-
-							(_this$_selectionAccum = this._selectionAccumulator).addEdges.apply(_this$_selectionAccum, _toConsumableArray(obj.edges));
-						}
-
-						this._selectionAccumulator.addNodes(obj);
-					} else {
-						this._selectionAccumulator.addEdges(obj);
-					}
-
-					return true;
-				}
-
-				return false;
-			}
-			/**
-			 *
-			 * @param {object} obj
-			 */
-
-		}, {
-			key: "deselectObject",
-			value: function deselectObject(obj) {
-				if (obj.isSelected() === true) {
-					obj.selected = false;
-
-					this._removeFromSelection(obj);
-				}
-			}
-			/**
-			 * retrieve all nodes overlapping with given object
-			 *
-			 * @param {object} object  An object with parameters left, top, right, bottom
-			 * @returns {number[]}   An array with id's of the overlapping nodes
-			 * @private
-			 */
-
-		}, {
-			key: "_getAllNodesOverlappingWith",
-			value: function _getAllNodesOverlappingWith(object) {
-				var overlappingNodes = [];
-				var nodes = this.body.nodes;
-
-				for (var i = 0; i < this.body.nodeIndices.length; i++) {
-					var nodeId = this.body.nodeIndices[i];
-
-					if (nodes[nodeId].isOverlappingWith(object)) {
-						overlappingNodes.push(nodeId);
-					}
-				}
-
-				return overlappingNodes;
-			}
-			/**
-			 * Return a position object in canvasspace from a single point in screenspace
-			 *
-			 * @param {{x: number, y: number}} pointer
-			 * @returns {{left: number, top: number, right: number, bottom: number}}
-			 * @private
-			 */
-
-		}, {
-			key: "_pointerToPositionObject",
-			value: function _pointerToPositionObject(pointer) {
-				var canvasPos = this.canvas.DOMtoCanvas(pointer);
-				return {
-					left: canvasPos.x - 1,
-					top: canvasPos.y + 1,
-					right: canvasPos.x + 1,
-					bottom: canvasPos.y - 1
-				};
-			}
-			/**
-			 * Get the top node at the passed point (like a click)
-			 *
-			 * @param {{x: number, y: number}} pointer
-			 * @param {boolean} [returnNode=true]
-			 * @returns {Node | undefined} node
-			 */
-
-		}, {
-			key: "getNodeAt",
-			value: function getNodeAt(pointer) {
-				var returnNode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-
-				// we first check if this is an navigation controls element
-				var positionObject = this._pointerToPositionObject(pointer);
-
-				var overlappingNodes = this._getAllNodesOverlappingWith(positionObject); // if there are overlapping nodes, select the last one, this is the
-				// one which is drawn on top of the others
-
-
-				if (overlappingNodes.length > 0) {
-					if (returnNode === true) {
-						return this.body.nodes[overlappingNodes[overlappingNodes.length - 1]];
-					} else {
-						return overlappingNodes[overlappingNodes.length - 1];
-					}
-				} else {
-					return undefined;
-				}
-			}
-			/**
-			 * retrieve all edges overlapping with given object, selector is around center
-			 *
-			 * @param {object} object  An object with parameters left, top, right, bottom
-			 * @param {number[]} overlappingEdges An array with id's of the overlapping nodes
-			 * @private
-			 */
-
-		}, {
-			key: "_getEdgesOverlappingWith",
-			value: function _getEdgesOverlappingWith(object, overlappingEdges) {
-				var edges = this.body.edges;
-
-				for (var i = 0; i < this.body.edgeIndices.length; i++) {
-					var edgeId = this.body.edgeIndices[i];
-
-					if (edges[edgeId].isOverlappingWith(object)) {
-						overlappingEdges.push(edgeId);
-					}
-				}
-			}
-			/**
-			 * retrieve all nodes overlapping with given object
-			 *
-			 * @param {object} object  An object with parameters left, top, right, bottom
-			 * @returns {number[]}   An array with id's of the overlapping nodes
-			 * @private
-			 */
-
-		}, {
-			key: "_getAllEdgesOverlappingWith",
-			value: function _getAllEdgesOverlappingWith(object) {
-				var overlappingEdges = [];
-
-				this._getEdgesOverlappingWith(object, overlappingEdges);
-
-				return overlappingEdges;
-			}
-			/**
-			 * Get the edges nearest to the passed point (like a click)
-			 *
-			 * @param {{x: number, y: number}} pointer
-			 * @param {boolean} [returnEdge=true]
-			 * @returns {Edge | undefined} node
-			 */
-
-		}, {
-			key: "getEdgeAt",
-			value: function getEdgeAt(pointer) {
-				var returnEdge = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-				// Iterate over edges, pick closest within 10
-				var canvasPos = this.canvas.DOMtoCanvas(pointer);
-				var mindist = 10;
-				var overlappingEdge = null;
-				var edges = this.body.edges;
-
-				for (var i = 0; i < this.body.edgeIndices.length; i++) {
-					var edgeId = this.body.edgeIndices[i];
-					var edge = edges[edgeId];
-
-					if (edge.connected) {
-						var xFrom = edge.from.x;
-						var yFrom = edge.from.y;
-						var xTo = edge.to.x;
-						var yTo = edge.to.y;
-						var dist = edge.edgeType.getDistanceToEdge(xFrom, yFrom, xTo, yTo, canvasPos.x, canvasPos.y);
-
-						if (dist < mindist) {
-							overlappingEdge = edgeId;
-							mindist = dist;
-						}
-					}
-				}
-
-				if (overlappingEdge !== null) {
-					if (returnEdge === true) {
-						return this.body.edges[overlappingEdge];
-					} else {
-						return overlappingEdge;
-					}
-				} else {
-					return undefined;
-				}
-			}
-			/**
-			 * Add object to the selection array.
-			 *
-			 * @param {object} obj
-			 * @private
-			 */
-
-		}, {
-			key: "_addToHover",
-			value: function _addToHover(obj) {
-				if (obj instanceof Node) {
-					this.hoverObj.nodes[obj.id] = obj;
-				} else {
-					this.hoverObj.edges[obj.id] = obj;
-				}
-			}
-			/**
-			 * Remove a single option from selection.
-			 *
-			 * @param {object} obj
-			 * @private
-			 */
-
-		}, {
-			key: "_removeFromSelection",
-			value: function _removeFromSelection(obj) {
-				if (obj instanceof Node) {
-					var _this$_selectionAccum2;
-
-					this._selectionAccumulator.deleteNodes(obj);
-
-					(_this$_selectionAccum2 = this._selectionAccumulator).deleteEdges.apply(_this$_selectionAccum2, _toConsumableArray(obj.edges));
-				} else {
-					this._selectionAccumulator.deleteEdges(obj);
-				}
-			}
-			/**
-			 * Unselect all nodes and edges.
-			 */
-
-		}, {
-			key: "unselectAll",
-			value: function unselectAll() {
-				this._selectionAccumulator.clear();
-			}
-			/**
-			 * return the number of selected nodes
-			 *
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "getSelectedNodeCount",
-			value: function getSelectedNodeCount() {
-				return this._selectionAccumulator.sizeNodes;
-			}
-			/**
-			 * return the number of selected edges
-			 *
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "getSelectedEdgeCount",
-			value: function getSelectedEdgeCount() {
-				return this._selectionAccumulator.sizeEdges;
-			}
-			/**
-			 * select the edges connected to the node that is being selected
-			 *
-			 * @param {Node} node
-			 * @private
-			 */
-
-		}, {
-			key: "_hoverConnectedEdges",
-			value: function _hoverConnectedEdges(node) {
-				for (var i = 0; i < node.edges.length; i++) {
-					var edge = node.edges[i];
-					edge.hover = true;
-
-					this._addToHover(edge);
-				}
-			}
-			/**
-			 * Remove the highlight from a node or edge, in response to mouse movement
-			 *
-			 * @param {Event}  event
-			 * @param {{x: number, y: number}} pointer object with the x and y screen coordinates of the mouse
-			 * @param {Node|vis.Edge} object
-			 * @private
-			 */
-
-		}, {
-			key: "emitBlurEvent",
-			value: function emitBlurEvent(event, pointer, object) {
-				var properties = this._initBaseEvent(event, pointer);
-
-				if (object.hover === true) {
-					object.hover = false;
-
-					if (object instanceof Node) {
-						properties.node = object.id;
-						this.body.emitter.emit("blurNode", properties);
-					} else {
-						properties.edge = object.id;
-						this.body.emitter.emit("blurEdge", properties);
-					}
-				}
-			}
-			/**
-			 * Create the highlight for a node or edge, in response to mouse movement
-			 *
-			 * @param {Event}  event
-			 * @param {{x: number, y: number}} pointer object with the x and y screen coordinates of the mouse
-			 * @param {Node|vis.Edge} object
-			 * @returns {boolean} hoverChanged
-			 * @private
-			 */
-
-		}, {
-			key: "emitHoverEvent",
-			value: function emitHoverEvent(event, pointer, object) {
-				var properties = this._initBaseEvent(event, pointer);
-
-				var hoverChanged = false;
-
-				if (object.hover === false) {
-					object.hover = true;
-
-					this._addToHover(object);
-
-					hoverChanged = true;
-
-					if (object instanceof Node) {
-						properties.node = object.id;
-						this.body.emitter.emit("hoverNode", properties);
-					} else {
-						properties.edge = object.id;
-						this.body.emitter.emit("hoverEdge", properties);
-					}
-				}
-
-				return hoverChanged;
-			}
-			/**
-			 * Perform actions in response to a mouse movement.
-			 *
-			 * @param {Event}  event
-			 * @param {{x: number, y: number}} pointer | object with the x and y screen coordinates of the mouse
-			 */
-
-		}, {
-			key: "hoverObject",
-			value: function hoverObject(event, pointer) {
-				var object = this.getNodeAt(pointer);
-
-				if (object === undefined) {
-					object = this.getEdgeAt(pointer);
-				}
-
-				var hoverChanged = false; // remove all node hover highlights
-
-				for (var nodeId in this.hoverObj.nodes) {
-					if (Object.prototype.hasOwnProperty.call(this.hoverObj.nodes, nodeId)) {
-						if (object === undefined || object instanceof Node && object.id != nodeId || object instanceof Edge) {
-							this.emitBlurEvent(event, pointer, this.hoverObj.nodes[nodeId]);
-							delete this.hoverObj.nodes[nodeId];
-							hoverChanged = true;
-						}
-					}
-				} // removing all edge hover highlights
-
-
-				for (var edgeId in this.hoverObj.edges) {
-					if (Object.prototype.hasOwnProperty.call(this.hoverObj.edges, edgeId)) {
-						// if the hover has been changed here it means that the node has been hovered over or off
-						// we then do not use the emitBlurEvent method here.
-						if (hoverChanged === true) {
-							this.hoverObj.edges[edgeId].hover = false;
-							delete this.hoverObj.edges[edgeId];
-						} // if the blur remains the same and the object is undefined (mouse off) or another
-						// edge has been hovered, or another node has been hovered we blur the edge.
-						else if (object === undefined || object instanceof Edge && object.id != edgeId || object instanceof Node && !object.hover) {
-							this.emitBlurEvent(event, pointer, this.hoverObj.edges[edgeId]);
-							delete this.hoverObj.edges[edgeId];
-							hoverChanged = true;
-						}
-					}
-				}
-
-				if (object !== undefined) {
-					var hoveredEdgesCount = keys$4(this.hoverObj.edges).length;
-
-					var hoveredNodesCount = keys$4(this.hoverObj.nodes).length;
-
-					var newOnlyHoveredEdge = object instanceof Edge && hoveredEdgesCount === 0 && hoveredNodesCount === 0;
-					var newOnlyHoveredNode = object instanceof Node && hoveredEdgesCount === 0 && hoveredNodesCount === 0;
-
-					if (hoverChanged || newOnlyHoveredEdge || newOnlyHoveredNode) {
-						hoverChanged = this.emitHoverEvent(event, pointer, object);
-					}
-
-					if (object instanceof Node && this.options.hoverConnectedEdges === true) {
-						this._hoverConnectedEdges(object);
-					}
-				}
-
-				if (hoverChanged === true) {
-					this.body.emitter.emit("_requestRedraw");
-				}
-			}
-			/**
-			 * Commit the selection changes but don't emit any events.
-			 */
-
-		}, {
-			key: "commitWithoutEmitting",
-			value: function commitWithoutEmitting() {
-				this._selectionAccumulator.commit();
-			}
-			/**
-			 * Select and deselect nodes depending current selection change.
-			 *
-			 * For changing nodes, select/deselect events are fired.
-			 *
-			 * NOTE: For a given edge, if one connecting node is deselected and with the
-			 * same click the other node is selected, no events for the edge will fire. It
-			 * was selected and it will remain selected.
-			 *
-			 * @param {{x: number, y: number}} pointer - The x and y coordinates of the
-			 * click, tap, dragend… that triggered this.
-			 * @param {UIEvent} event - The event that triggered this.
-			 */
-
-		}, {
-			key: "commitAndEmit",
-			value: function commitAndEmit(pointer, event) {
-				var selected = false;
-
-				var selectionChanges = this._selectionAccumulator.commit();
-
-				var previousSelection = {
-					nodes: selectionChanges.nodes.previous,
-					edges: selectionChanges.edges.previous
-				};
-
-				if (selectionChanges.edges.deleted.length > 0) {
-					this.generateClickEvent("deselectEdge", event, pointer, previousSelection);
-					selected = true;
-				}
-
-				if (selectionChanges.nodes.deleted.length > 0) {
-					this.generateClickEvent("deselectNode", event, pointer, previousSelection);
-					selected = true;
-				}
-
-				if (selectionChanges.nodes.added.length > 0) {
-					this.generateClickEvent("selectNode", event, pointer);
-					selected = true;
-				}
-
-				if (selectionChanges.edges.added.length > 0) {
-					this.generateClickEvent("selectEdge", event, pointer);
-					selected = true;
-				} // fire the select event if anything has been selected or deselected
-
-
-				if (selected === true) {
-					// select or unselect
-					this.generateClickEvent("select", event, pointer);
-				}
-			}
-			/**
-			 * Retrieve the currently selected node and edge ids.
-			 *
-			 * @returns {{nodes: Array.<string>, edges: Array.<string>}} Arrays with the
-			 * ids of the selected nodes and edges.
-			 */
-
-		}, {
-			key: "getSelection",
-			value: function getSelection() {
-				return {
-					nodes: this.getSelectedNodeIds(),
-					edges: this.getSelectedEdgeIds()
-				};
-			}
-			/**
-			 * Retrieve the currently selected nodes.
-			 *
-			 * @returns {Array} An array with selected nodes.
-			 */
-
-		}, {
-			key: "getSelectedNodes",
-			value: function getSelectedNodes() {
-				return this._selectionAccumulator.getNodes();
-			}
-			/**
-			 * Retrieve the currently selected edges.
-			 *
-			 * @returns {Array} An array with selected edges.
-			 */
-
-		}, {
-			key: "getSelectedEdges",
-			value: function getSelectedEdges() {
-				return this._selectionAccumulator.getEdges();
-			}
-			/**
-			 * Retrieve the currently selected node ids.
-			 *
-			 * @returns {Array} An array with the ids of the selected nodes.
-			 */
-
-		}, {
-			key: "getSelectedNodeIds",
-			value: function getSelectedNodeIds() {
-				var _context;
-
-				return map$3(_context = this._selectionAccumulator.getNodes()).call(_context, function (node) {
-					return node.id;
-				});
-			}
-			/**
-			 * Retrieve the currently selected edge ids.
-			 *
-			 * @returns {Array} An array with the ids of the selected edges.
-			 */
-
-		}, {
-			key: "getSelectedEdgeIds",
-			value: function getSelectedEdgeIds() {
-				var _context2;
-
-				return map$3(_context2 = this._selectionAccumulator.getEdges()).call(_context2, function (edge) {
-					return edge.id;
-				});
-			}
-			/**
-			 * Updates the current selection
-			 *
-			 * @param {{nodes: Array.<string>, edges: Array.<string>}} selection
-			 * @param {object} options                                 Options
-			 */
-
-		}, {
-			key: "setSelection",
-			value: function setSelection(selection) {
-				var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-
-				if (!selection || !selection.nodes && !selection.edges) {
-					throw new TypeError("Selection must be an object with nodes and/or edges properties");
-				} // first unselect any selected node, if option is true or undefined
-
-
-				if (options.unselectAll || options.unselectAll === undefined) {
-					this.unselectAll();
-				}
-
-				if (selection.nodes) {
-					var _iterator = _createForOfIteratorHelper$2(selection.nodes),
-						_step;
-
-					try {
-						for (_iterator.s(); !(_step = _iterator.n()).done;) {
-							var id = _step.value;
-							var node = this.body.nodes[id];
-
-							if (!node) {
-								throw new RangeError('Node with id "' + id + '" not found');
-							} // don't select edges with it
-
-
-							this.selectObject(node, options.highlightEdges);
-						}
-					} catch (err) {
-						_iterator.e(err);
-					} finally {
-						_iterator.f();
-					}
-				}
-
-				if (selection.edges) {
-					var _iterator2 = _createForOfIteratorHelper$2(selection.edges),
-						_step2;
-
-					try {
-						for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
-							var _id = _step2.value;
-							var edge = this.body.edges[_id];
-
-							if (!edge) {
-								throw new RangeError('Edge with id "' + _id + '" not found');
-							}
-
-							this.selectObject(edge);
-						}
-					} catch (err) {
-						_iterator2.e(err);
-					} finally {
-						_iterator2.f();
-					}
-				}
-
-				this.body.emitter.emit("_requestRedraw");
-
-				this._selectionAccumulator.commit();
-			}
-			/**
-			 * select zero or more nodes with the option to highlight edges
-			 *
-			 * @param {number[] | string[]} selection     An array with the ids of the
-			 *                                            selected nodes.
-			 * @param {boolean} [highlightEdges]
-			 */
-
-		}, {
-			key: "selectNodes",
-			value: function selectNodes(selection) {
-				var highlightEdges = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-				if (!selection || selection.length === undefined) throw "Selection must be an array with ids";
-				this.setSelection({
-					nodes: selection
-				}, {
-					highlightEdges: highlightEdges
-				});
-			}
-			/**
-			 * select zero or more edges
-			 *
-			 * @param {number[] | string[]} selection     An array with the ids of the
-			 *                                            selected nodes.
-			 */
-
-		}, {
-			key: "selectEdges",
-			value: function selectEdges(selection) {
-				if (!selection || selection.length === undefined) throw "Selection must be an array with ids";
-				this.setSelection({
-					edges: selection
-				});
-			}
-			/**
-			 * Validate the selection: remove ids of nodes which no longer exist
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "updateSelection",
-			value: function updateSelection() {
-				for (var node in this._selectionAccumulator.getNodes()) {
-					if (!Object.prototype.hasOwnProperty.call(this.body.nodes, node.id)) {
-						this._selectionAccumulator.deleteNodes(node);
-					}
-				}
-
-				for (var edge in this._selectionAccumulator.getEdges()) {
-					if (!Object.prototype.hasOwnProperty.call(this.body.edges, edge.id)) {
-						this._selectionAccumulator.deleteEdges(edge);
-					}
-				}
-			}
-			/**
-			 * Determine all the visual elements clicked which are on the given point.
-			 *
-			 * All elements are returned; this includes nodes, edges and their labels.
-			 * The order returned is from highest to lowest, i.e. element 0 of the return
-			 * value is the topmost item clicked on.
-			 *
-			 * The return value consists of an array of the following possible elements:
-			 *
-			 * - `{nodeId:number}`             - node with given id clicked on
-			 * - `{nodeId:number, labelId:0}`  - label of node with given id clicked on
-			 * - `{edgeId:number}`             - edge with given id clicked on
-			 * - `{edge:number, labelId:0}`    - label of edge with given id clicked on
-			 *
-			 * ## NOTES
-			 *
-			 * - Currently, there is only one label associated with a node or an edge,
-			 *   but this is expected to change somewhere in the future.
-			 * - Since there is no z-indexing yet, it is not really possible to set the nodes and
-			 *   edges in the correct order. For the time being, nodes come first.
-			 *
-			 * @param {point} pointer  mouse position in screen coordinates
-			 * @returns {Array.<nodeClickItem|nodeLabelClickItem|edgeClickItem|edgeLabelClickItem>}
-			 * @private
-			 */
-
-		}, {
-			key: "getClickedItems",
-			value: function getClickedItems(pointer) {
-				var point = this.canvas.DOMtoCanvas(pointer);
-				var items = []; // Note reverse order; we want the topmost clicked items to be first in the array
-				// Also note that selected nodes are disregarded here; these normally display on top
-
-				var nodeIndices = this.body.nodeIndices;
-				var nodes = this.body.nodes;
-
-				for (var i = nodeIndices.length - 1; i >= 0; i--) {
-					var node = nodes[nodeIndices[i]];
-					var ret = node.getItemsOnPoint(point);
-					items.push.apply(items, ret); // Append the return value to the running list.
-				}
-
-				var edgeIndices = this.body.edgeIndices;
-				var edges = this.body.edges;
-
-				for (var _i = edgeIndices.length - 1; _i >= 0; _i--) {
-					var edge = edges[edgeIndices[_i]];
-
-					var _ret = edge.getItemsOnPoint(point);
-
-					items.push.apply(items, _ret); // Append the return value to the running list.
-				}
-
-				return items;
-			}
-		}]);
-
-		return SelectionHandler;
-	}();
-
-	var timsort$1 = {};
-
-	/****
-	 * The MIT License
-	 *
-	 * Copyright (c) 2015 Marco Ziccardi
-	 *
-	 * Permission is hereby granted, free of charge, to any person obtaining a copy
-	 * of this software and associated documentation files (the "Software"), to deal
-	 * in the Software without restriction, including without limitation the rights
-	 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-	 * copies of the Software, and to permit persons to whom the Software is
-	 * furnished to do so, subject to the following conditions:
-	 *
-	 * The above copyright notice and this permission notice shall be included in
-	 * all copies or substantial portions of the Software.
-	 *
-	 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-	 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-	 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-	 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-	 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-	 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-	 * THE SOFTWARE.
-	 *
-	 ****/
-
-	(function (exports) {
-		(function (global, factory) {
-			{
-				factory(exports);
-			}
-		})(commonjsGlobal, function (exports) {
-
-			exports.__esModule = true;
-			exports.sort = sort;
-
-			function _classCallCheck(instance, Constructor) {
-				if (!(instance instanceof Constructor)) {
-					throw new TypeError('Cannot call a class as a function');
-				}
-			}
-
-			var DEFAULT_MIN_MERGE = 32;
-			var DEFAULT_MIN_GALLOPING = 7;
-			var DEFAULT_TMP_STORAGE_LENGTH = 256;
-			var POWERS_OF_TEN = [1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9];
-
-			function log10(x) {
-				if (x < 1e5) {
-					if (x < 1e2) {
-						return x < 1e1 ? 0 : 1;
-					}
-
-					if (x < 1e4) {
-						return x < 1e3 ? 2 : 3;
-					}
-
-					return 4;
-				}
-
-				if (x < 1e7) {
-					return x < 1e6 ? 5 : 6;
-				}
-
-				if (x < 1e9) {
-					return x < 1e8 ? 7 : 8;
-				}
-
-				return 9;
-			}
-
-			function alphabeticalCompare(a, b) {
-				if (a === b) {
-					return 0;
-				}
-
-				if (~~a === a && ~~b === b) {
-					if (a === 0 || b === 0) {
-						return a < b ? -1 : 1;
-					}
-
-					if (a < 0 || b < 0) {
-						if (b >= 0) {
-							return -1;
-						}
-
-						if (a >= 0) {
-							return 1;
-						}
-
-						a = -a;
-						b = -b;
-					}
-
-					var al = log10(a);
-					var bl = log10(b);
-					var t = 0;
-
-					if (al < bl) {
-						a *= POWERS_OF_TEN[bl - al - 1];
-						b /= 10;
-						t = -1;
-					} else if (al > bl) {
-						b *= POWERS_OF_TEN[al - bl - 1];
-						a /= 10;
-						t = 1;
-					}
-
-					if (a === b) {
-						return t;
-					}
-
-					return a < b ? -1 : 1;
-				}
-
-				var aStr = String(a);
-				var bStr = String(b);
-
-				if (aStr === bStr) {
-					return 0;
-				}
-
-				return aStr < bStr ? -1 : 1;
-			}
-
-			function minRunLength(n) {
-				var r = 0;
-
-				while (n >= DEFAULT_MIN_MERGE) {
-					r |= n & 1;
-					n >>= 1;
-				}
-
-				return n + r;
-			}
-
-			function makeAscendingRun(array, lo, hi, compare) {
-				var runHi = lo + 1;
-
-				if (runHi === hi) {
-					return 1;
-				}
-
-				if (compare(array[runHi++], array[lo]) < 0) {
-					while (runHi < hi && compare(array[runHi], array[runHi - 1]) < 0) {
-						runHi++;
-					}
-
-					reverseRun(array, lo, runHi);
-				} else {
-					while (runHi < hi && compare(array[runHi], array[runHi - 1]) >= 0) {
-						runHi++;
-					}
-				}
-
-				return runHi - lo;
-			}
-
-			function reverseRun(array, lo, hi) {
-				hi--;
-
-				while (lo < hi) {
-					var t = array[lo];
-					array[lo++] = array[hi];
-					array[hi--] = t;
-				}
-			}
-
-			function binaryInsertionSort(array, lo, hi, start, compare) {
-				if (start === lo) {
-					start++;
-				}
-
-				for (; start < hi; start++) {
-					var pivot = array[start];
-					var left = lo;
-					var right = start;
-
-					while (left < right) {
-						var mid = left + right >>> 1;
-
-						if (compare(pivot, array[mid]) < 0) {
-							right = mid;
-						} else {
-							left = mid + 1;
-						}
-					}
-
-					var n = start - left;
-
-					switch (n) {
-						case 3:
-							array[left + 3] = array[left + 2];
-
-						case 2:
-							array[left + 2] = array[left + 1];
-
-						case 1:
-							array[left + 1] = array[left];
-							break;
-
-						default:
-							while (n > 0) {
-								array[left + n] = array[left + n - 1];
-								n--;
-							}
-
-					}
-
-					array[left] = pivot;
-				}
-			}
-
-			function gallopLeft(value, array, start, length, hint, compare) {
-				var lastOffset = 0;
-				var maxOffset = 0;
-				var offset = 1;
-
-				if (compare(value, array[start + hint]) > 0) {
-					maxOffset = length - hint;
-
-					while (offset < maxOffset && compare(value, array[start + hint + offset]) > 0) {
-						lastOffset = offset;
-						offset = (offset << 1) + 1;
-
-						if (offset <= 0) {
-							offset = maxOffset;
-						}
-					}
-
-					if (offset > maxOffset) {
-						offset = maxOffset;
-					}
-
-					lastOffset += hint;
-					offset += hint;
-				} else {
-					maxOffset = hint + 1;
-
-					while (offset < maxOffset && compare(value, array[start + hint - offset]) <= 0) {
-						lastOffset = offset;
-						offset = (offset << 1) + 1;
-
-						if (offset <= 0) {
-							offset = maxOffset;
-						}
-					}
-
-					if (offset > maxOffset) {
-						offset = maxOffset;
-					}
-
-					var tmp = lastOffset;
-					lastOffset = hint - offset;
-					offset = hint - tmp;
-				}
-
-				lastOffset++;
-
-				while (lastOffset < offset) {
-					var m = lastOffset + (offset - lastOffset >>> 1);
-
-					if (compare(value, array[start + m]) > 0) {
-						lastOffset = m + 1;
-					} else {
-						offset = m;
-					}
-				}
-
-				return offset;
-			}
-
-			function gallopRight(value, array, start, length, hint, compare) {
-				var lastOffset = 0;
-				var maxOffset = 0;
-				var offset = 1;
-
-				if (compare(value, array[start + hint]) < 0) {
-					maxOffset = hint + 1;
-
-					while (offset < maxOffset && compare(value, array[start + hint - offset]) < 0) {
-						lastOffset = offset;
-						offset = (offset << 1) + 1;
-
-						if (offset <= 0) {
-							offset = maxOffset;
-						}
-					}
-
-					if (offset > maxOffset) {
-						offset = maxOffset;
-					}
-
-					var tmp = lastOffset;
-					lastOffset = hint - offset;
-					offset = hint - tmp;
-				} else {
-					maxOffset = length - hint;
-
-					while (offset < maxOffset && compare(value, array[start + hint + offset]) >= 0) {
-						lastOffset = offset;
-						offset = (offset << 1) + 1;
-
-						if (offset <= 0) {
-							offset = maxOffset;
-						}
-					}
-
-					if (offset > maxOffset) {
-						offset = maxOffset;
-					}
-
-					lastOffset += hint;
-					offset += hint;
-				}
-
-				lastOffset++;
-
-				while (lastOffset < offset) {
-					var m = lastOffset + (offset - lastOffset >>> 1);
-
-					if (compare(value, array[start + m]) < 0) {
-						offset = m;
-					} else {
-						lastOffset = m + 1;
-					}
-				}
-
-				return offset;
-			}
-
-			var TimSort = function () {
-				function TimSort(array, compare) {
-					_classCallCheck(this, TimSort);
-
-					this.array = null;
-					this.compare = null;
-					this.minGallop = DEFAULT_MIN_GALLOPING;
-					this.length = 0;
-					this.tmpStorageLength = DEFAULT_TMP_STORAGE_LENGTH;
-					this.stackLength = 0;
-					this.runStart = null;
-					this.runLength = null;
-					this.stackSize = 0;
-					this.array = array;
-					this.compare = compare;
-					this.length = array.length;
-
-					if (this.length < 2 * DEFAULT_TMP_STORAGE_LENGTH) {
-						this.tmpStorageLength = this.length >>> 1;
-					}
-
-					this.tmp = new Array(this.tmpStorageLength);
-					this.stackLength = this.length < 120 ? 5 : this.length < 1542 ? 10 : this.length < 119151 ? 19 : 40;
-					this.runStart = new Array(this.stackLength);
-					this.runLength = new Array(this.stackLength);
-				}
-
-				TimSort.prototype.pushRun = function pushRun(runStart, runLength) {
-					this.runStart[this.stackSize] = runStart;
-					this.runLength[this.stackSize] = runLength;
-					this.stackSize += 1;
-				};
-
-				TimSort.prototype.mergeRuns = function mergeRuns() {
-					while (this.stackSize > 1) {
-						var n = this.stackSize - 2;
-
-						if (n >= 1 && this.runLength[n - 1] <= this.runLength[n] + this.runLength[n + 1] || n >= 2 && this.runLength[n - 2] <= this.runLength[n] + this.runLength[n - 1]) {
-							if (this.runLength[n - 1] < this.runLength[n + 1]) {
-								n--;
-							}
-						} else if (this.runLength[n] > this.runLength[n + 1]) {
-							break;
-						}
-
-						this.mergeAt(n);
-					}
-				};
-
-				TimSort.prototype.forceMergeRuns = function forceMergeRuns() {
-					while (this.stackSize > 1) {
-						var n = this.stackSize - 2;
-
-						if (n > 0 && this.runLength[n - 1] < this.runLength[n + 1]) {
-							n--;
-						}
-
-						this.mergeAt(n);
-					}
-				};
-
-				TimSort.prototype.mergeAt = function mergeAt(i) {
-					var compare = this.compare;
-					var array = this.array;
-					var start1 = this.runStart[i];
-					var length1 = this.runLength[i];
-					var start2 = this.runStart[i + 1];
-					var length2 = this.runLength[i + 1];
-					this.runLength[i] = length1 + length2;
-
-					if (i === this.stackSize - 3) {
-						this.runStart[i + 1] = this.runStart[i + 2];
-						this.runLength[i + 1] = this.runLength[i + 2];
-					}
-
-					this.stackSize--;
-					var k = gallopRight(array[start2], array, start1, length1, 0, compare);
-					start1 += k;
-					length1 -= k;
-
-					if (length1 === 0) {
-						return;
-					}
-
-					length2 = gallopLeft(array[start1 + length1 - 1], array, start2, length2, length2 - 1, compare);
-
-					if (length2 === 0) {
-						return;
-					}
-
-					if (length1 <= length2) {
-						this.mergeLow(start1, length1, start2, length2);
-					} else {
-						this.mergeHigh(start1, length1, start2, length2);
-					}
-				};
-
-				TimSort.prototype.mergeLow = function mergeLow(start1, length1, start2, length2) {
-					var compare = this.compare;
-					var array = this.array;
-					var tmp = this.tmp;
-					var i = 0;
-
-					for (i = 0; i < length1; i++) {
-						tmp[i] = array[start1 + i];
-					}
-
-					var cursor1 = 0;
-					var cursor2 = start2;
-					var dest = start1;
-					array[dest++] = array[cursor2++];
-
-					if (--length2 === 0) {
-						for (i = 0; i < length1; i++) {
-							array[dest + i] = tmp[cursor1 + i];
-						}
-
-						return;
-					}
-
-					if (length1 === 1) {
-						for (i = 0; i < length2; i++) {
-							array[dest + i] = array[cursor2 + i];
-						}
-
-						array[dest + length2] = tmp[cursor1];
-						return;
-					}
-
-					var minGallop = this.minGallop;
-
-					while (true) {
-						var count1 = 0;
-						var count2 = 0;
-						var exit = false;
-
-						do {
-							if (compare(array[cursor2], tmp[cursor1]) < 0) {
-								array[dest++] = array[cursor2++];
-								count2++;
-								count1 = 0;
-
-								if (--length2 === 0) {
-									exit = true;
-									break;
-								}
-							} else {
-								array[dest++] = tmp[cursor1++];
-								count1++;
-								count2 = 0;
-
-								if (--length1 === 1) {
-									exit = true;
-									break;
-								}
-							}
-						} while ((count1 | count2) < minGallop);
-
-						if (exit) {
-							break;
-						}
-
-						do {
-							count1 = gallopRight(array[cursor2], tmp, cursor1, length1, 0, compare);
-
-							if (count1 !== 0) {
-								for (i = 0; i < count1; i++) {
-									array[dest + i] = tmp[cursor1 + i];
-								}
-
-								dest += count1;
-								cursor1 += count1;
-								length1 -= count1;
-
-								if (length1 <= 1) {
-									exit = true;
-									break;
-								}
-							}
-
-							array[dest++] = array[cursor2++];
-
-							if (--length2 === 0) {
-								exit = true;
-								break;
-							}
-
-							count2 = gallopLeft(tmp[cursor1], array, cursor2, length2, 0, compare);
-
-							if (count2 !== 0) {
-								for (i = 0; i < count2; i++) {
-									array[dest + i] = array[cursor2 + i];
-								}
-
-								dest += count2;
-								cursor2 += count2;
-								length2 -= count2;
-
-								if (length2 === 0) {
-									exit = true;
-									break;
-								}
-							}
-
-							array[dest++] = tmp[cursor1++];
-
-							if (--length1 === 1) {
-								exit = true;
-								break;
-							}
-
-							minGallop--;
-						} while (count1 >= DEFAULT_MIN_GALLOPING || count2 >= DEFAULT_MIN_GALLOPING);
-
-						if (exit) {
-							break;
-						}
-
-						if (minGallop < 0) {
-							minGallop = 0;
-						}
-
-						minGallop += 2;
-					}
-
-					this.minGallop = minGallop;
-
-					if (minGallop < 1) {
-						this.minGallop = 1;
-					}
-
-					if (length1 === 1) {
-						for (i = 0; i < length2; i++) {
-							array[dest + i] = array[cursor2 + i];
-						}
-
-						array[dest + length2] = tmp[cursor1];
-					} else if (length1 === 0) {
-						throw new Error('mergeLow preconditions were not respected');
-					} else {
-						for (i = 0; i < length1; i++) {
-							array[dest + i] = tmp[cursor1 + i];
-						}
-					}
-				};
-
-				TimSort.prototype.mergeHigh = function mergeHigh(start1, length1, start2, length2) {
-					var compare = this.compare;
-					var array = this.array;
-					var tmp = this.tmp;
-					var i = 0;
-
-					for (i = 0; i < length2; i++) {
-						tmp[i] = array[start2 + i];
-					}
-
-					var cursor1 = start1 + length1 - 1;
-					var cursor2 = length2 - 1;
-					var dest = start2 + length2 - 1;
-					var customCursor = 0;
-					var customDest = 0;
-					array[dest--] = array[cursor1--];
-
-					if (--length1 === 0) {
-						customCursor = dest - (length2 - 1);
-
-						for (i = 0; i < length2; i++) {
-							array[customCursor + i] = tmp[i];
-						}
-
-						return;
-					}
-
-					if (length2 === 1) {
-						dest -= length1;
-						cursor1 -= length1;
-						customDest = dest + 1;
-						customCursor = cursor1 + 1;
-
-						for (i = length1 - 1; i >= 0; i--) {
-							array[customDest + i] = array[customCursor + i];
-						}
-
-						array[dest] = tmp[cursor2];
-						return;
-					}
-
-					var minGallop = this.minGallop;
-
-					while (true) {
-						var count1 = 0;
-						var count2 = 0;
-						var exit = false;
-
-						do {
-							if (compare(tmp[cursor2], array[cursor1]) < 0) {
-								array[dest--] = array[cursor1--];
-								count1++;
-								count2 = 0;
-
-								if (--length1 === 0) {
-									exit = true;
-									break;
-								}
-							} else {
-								array[dest--] = tmp[cursor2--];
-								count2++;
-								count1 = 0;
-
-								if (--length2 === 1) {
-									exit = true;
-									break;
-								}
-							}
-						} while ((count1 | count2) < minGallop);
-
-						if (exit) {
-							break;
-						}
-
-						do {
-							count1 = length1 - gallopRight(tmp[cursor2], array, start1, length1, length1 - 1, compare);
-
-							if (count1 !== 0) {
-								dest -= count1;
-								cursor1 -= count1;
-								length1 -= count1;
-								customDest = dest + 1;
-								customCursor = cursor1 + 1;
-
-								for (i = count1 - 1; i >= 0; i--) {
-									array[customDest + i] = array[customCursor + i];
-								}
-
-								if (length1 === 0) {
-									exit = true;
-									break;
-								}
-							}
-
-							array[dest--] = tmp[cursor2--];
-
-							if (--length2 === 1) {
-								exit = true;
-								break;
-							}
-
-							count2 = length2 - gallopLeft(array[cursor1], tmp, 0, length2, length2 - 1, compare);
-
-							if (count2 !== 0) {
-								dest -= count2;
-								cursor2 -= count2;
-								length2 -= count2;
-								customDest = dest + 1;
-								customCursor = cursor2 + 1;
-
-								for (i = 0; i < count2; i++) {
-									array[customDest + i] = tmp[customCursor + i];
-								}
-
-								if (length2 <= 1) {
-									exit = true;
-									break;
-								}
-							}
-
-							array[dest--] = array[cursor1--];
-
-							if (--length1 === 0) {
-								exit = true;
-								break;
-							}
-
-							minGallop--;
-						} while (count1 >= DEFAULT_MIN_GALLOPING || count2 >= DEFAULT_MIN_GALLOPING);
-
-						if (exit) {
-							break;
-						}
-
-						if (minGallop < 0) {
-							minGallop = 0;
-						}
-
-						minGallop += 2;
-					}
-
-					this.minGallop = minGallop;
-
-					if (minGallop < 1) {
-						this.minGallop = 1;
-					}
-
-					if (length2 === 1) {
-						dest -= length1;
-						cursor1 -= length1;
-						customDest = dest + 1;
-						customCursor = cursor1 + 1;
-
-						for (i = length1 - 1; i >= 0; i--) {
-							array[customDest + i] = array[customCursor + i];
-						}
-
-						array[dest] = tmp[cursor2];
-					} else if (length2 === 0) {
-						throw new Error('mergeHigh preconditions were not respected');
-					} else {
-						customCursor = dest - (length2 - 1);
-
-						for (i = 0; i < length2; i++) {
-							array[customCursor + i] = tmp[i];
-						}
-					}
-				};
-
-				return TimSort;
-			}();
-
-			function sort(array, compare, lo, hi) {
-				if (!Array.isArray(array)) {
-					throw new TypeError('Can only sort arrays');
-				}
-
-				if (!compare) {
-					compare = alphabeticalCompare;
-				} else if (typeof compare !== 'function') {
-					hi = lo;
-					lo = compare;
-					compare = alphabeticalCompare;
-				}
-
-				if (!lo) {
-					lo = 0;
-				}
-
-				if (!hi) {
-					hi = array.length;
-				}
-
-				var remaining = hi - lo;
-
-				if (remaining < 2) {
-					return;
-				}
-
-				var runLength = 0;
-
-				if (remaining < DEFAULT_MIN_MERGE) {
-					runLength = makeAscendingRun(array, lo, hi, compare);
-					binaryInsertionSort(array, lo, hi, lo + runLength, compare);
-					return;
-				}
-
-				var ts = new TimSort(array, compare);
-				var minRun = minRunLength(remaining);
-
-				do {
-					runLength = makeAscendingRun(array, lo, hi, compare);
-
-					if (runLength < minRun) {
-						var force = remaining;
-
-						if (force > minRun) {
-							force = minRun;
-						}
-
-						binaryInsertionSort(array, lo, lo + force, lo + runLength, compare);
-						runLength = force;
-					}
-
-					ts.pushRun(lo, runLength);
-					ts.mergeRuns();
-					remaining -= runLength;
-					lo += runLength;
-				} while (remaining !== 0);
-
-				ts.forceMergeRuns();
-			}
-		});
-	})(timsort$1);
-
-	var timsort = timsort$1;
-
-	function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
-
-	function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () { })); return true; } catch (e) { return false; } }
-	/**
-	 * Interface definition for direction strategy classes.
-	 *
-	 * This class describes the interface for the Strategy
-	 * pattern classes used to differentiate horizontal and vertical
-	 * direction of hierarchical results.
-	 *
-	 * For a given direction, one coordinate will be 'fixed', meaning that it is
-	 * determined by level.
-	 * The other coordinate is 'unfixed', meaning that the nodes on a given level
-	 * can still move along that coordinate. So:
-	 *
-	 * - `vertical` layout: `x` unfixed, `y` fixed per level
-	 * - `horizontal` layout: `x` fixed per level, `y` unfixed
-	 *
-	 * The local methods are stubs and should be regarded as abstract.
-	 * Derived classes **must** implement all the methods themselves.
-	 *
-	 * @private
-	 */
-
-	var DirectionInterface = /*#__PURE__*/function () {
-		function DirectionInterface() {
-			_classCallCheck(this, DirectionInterface);
-		}
-
-		_createClass(DirectionInterface, [{
-			key: "abstract",
-			value:
-				/**
-				 * @ignore
-				 */
-				function abstract() {
-					throw new Error("Can't instantiate abstract class!");
-				}
-			/**
-			 * This is a dummy call which is used to suppress the jsdoc errors of type:
-			 *
-			 *   "'param' is assigned a value but never used"
-			 *
-			 * @ignore
-			 */
-
-		}, {
-			key: "fake_use",
-			value: function fake_use() {// Do nothing special
-			}
-			/**
-			 * Type to use to translate dynamic curves to, in the case of hierarchical layout.
-			 * Dynamic curves do not work for these.
-			 *
-			 * The value should be perpendicular to the actual direction of the layout.
-			 *
-			 * @returns {string} Direction, either 'vertical' or 'horizontal'
-			 */
-
-		}, {
-			key: "curveType",
-			value: function curveType() {
-				return this.abstract();
-			}
-			/**
-			 * Return the value of the coordinate that is not fixed for this direction.
-			 *
-			 * @param {Node} node The node to read
-			 * @returns {number} Value of the unfixed coordinate
-			 */
-
-		}, {
-			key: "getPosition",
-			value: function getPosition(node) {
-				this.fake_use(node);
-				return this.abstract();
-			}
-			/**
-			 * Set the value of the coordinate that is not fixed for this direction.
-			 *
-			 * @param {Node} node The node to adjust
-			 * @param {number} position
-			 * @param {number} [level] if specified, the hierarchy level that this node should be fixed to
-			 */
-
-		}, {
-			key: "setPosition",
-			value: function setPosition(node, position) {
-				var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
-				this.fake_use(node, position, level);
-				this.abstract();
-			}
-			/**
-			 * Get the width of a tree.
-			 *
-			 * A `tree` here is a subset of nodes within the network which are not connected to other nodes,
-			 * only among themselves. In essence, it is a sub-network.
-			 *
-			 * @param {number} index The index number of a tree
-			 * @returns {number} the width of a tree in the view coordinates
-			 */
-
-		}, {
-			key: "getTreeSize",
-			value: function getTreeSize(index) {
-				this.fake_use(index);
-				return this.abstract();
-			}
-			/**
-			 * Sort array of nodes on the unfixed coordinates.
-			 *
-			 * Note:** chrome has non-stable sorting implementation, which
-			 * has a tendency to change the order of the array items,
-			 * even if the custom sort function returns 0.
-			 *
-			 * For this reason, an external sort implementation is used,
-			 * which has the added benefit of being faster than the standard
-			 * platforms implementation. This has been verified on `node.js`,
-			 * `firefox` and `chrome` (all linux).
-			 *
-			 * @param {Array.<Node>} nodeArray array of nodes to sort
-			 */
-
-		}, {
-			key: "sort",
-			value: function sort(nodeArray) {
-				this.fake_use(nodeArray);
-				this.abstract();
-			}
-			/**
-			 * Assign the fixed coordinate of the node to the given level
-			 *
-			 * @param {Node} node The node to adjust
-			 * @param {number} level The level to fix to
-			 */
-
-		}, {
-			key: "fix",
-			value: function fix(node, level) {
-				this.fake_use(node, level);
-				this.abstract();
-			}
-			/**
-			 * Add an offset to the unfixed coordinate of the given node.
-			 *
-			 * @param {NodeId} nodeId Id of the node to adjust
-			 * @param {number} diff Offset to add to the unfixed coordinate
-			 */
-
-		}, {
-			key: "shift",
-			value: function shift(nodeId, diff) {
-				this.fake_use(nodeId, diff);
-				this.abstract();
-			}
-		}]);
-
-		return DirectionInterface;
-	}();
-	/**
-	 * Vertical Strategy
-	 *
-	 * Coordinate `y` is fixed on levels, coordinate `x` is unfixed.
-	 *
-	 * @augments DirectionInterface
-	 * @private
-	 */
-
-
-	var VerticalStrategy = /*#__PURE__*/function (_DirectionInterface) {
-		_inherits(VerticalStrategy, _DirectionInterface);
-
-		var _super = _createSuper(VerticalStrategy);
-
-		/**
-		 * Constructor
-		 *
-		 * @param {object} layout reference to the parent LayoutEngine instance.
-		 */
-		function VerticalStrategy(layout) {
-			var _this;
-
-			_classCallCheck(this, VerticalStrategy);
-
-			_this = _super.call(this);
-			_this.layout = layout;
-			return _this;
-		}
-		/** @inheritDoc */
-
-
-		_createClass(VerticalStrategy, [{
-			key: "curveType",
-			value: function curveType() {
-				return "horizontal";
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getPosition",
-			value: function getPosition(node) {
-				return node.x;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "setPosition",
-			value: function setPosition(node, position) {
-				var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
-
-				if (level !== undefined) {
-					this.layout.hierarchical.addToOrdering(node, level);
-				}
-
-				node.x = position;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getTreeSize",
-			value: function getTreeSize(index) {
-				var res = this.layout.hierarchical.getTreeSize(this.layout.body.nodes, index);
-				return {
-					min: res.min_x,
-					max: res.max_x
-				};
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "sort",
-			value: function sort(nodeArray) {
-				timsort.sort(nodeArray, function (a, b) {
-					return a.x - b.x;
-				});
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "fix",
-			value: function fix(node, level) {
-				node.y = this.layout.options.hierarchical.levelSeparation * level;
-				node.options.fixed.y = true;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "shift",
-			value: function shift(nodeId, diff) {
-				this.layout.body.nodes[nodeId].x += diff;
-			}
-		}]);
-
-		return VerticalStrategy;
-	}(DirectionInterface);
-	/**
-	 * Horizontal Strategy
-	 *
-	 * Coordinate `x` is fixed on levels, coordinate `y` is unfixed.
-	 *
-	 * @augments DirectionInterface
-	 * @private
-	 */
-
-
-	var HorizontalStrategy = /*#__PURE__*/function (_DirectionInterface2) {
-		_inherits(HorizontalStrategy, _DirectionInterface2);
-
-		var _super2 = _createSuper(HorizontalStrategy);
-
-		/**
-		 * Constructor
-		 *
-		 * @param {object} layout reference to the parent LayoutEngine instance.
-		 */
-		function HorizontalStrategy(layout) {
-			var _this2;
-
-			_classCallCheck(this, HorizontalStrategy);
-
-			_this2 = _super2.call(this);
-			_this2.layout = layout;
-			return _this2;
-		}
-		/** @inheritDoc */
-
-
-		_createClass(HorizontalStrategy, [{
-			key: "curveType",
-			value: function curveType() {
-				return "vertical";
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getPosition",
-			value: function getPosition(node) {
-				return node.y;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "setPosition",
-			value: function setPosition(node, position) {
-				var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
-
-				if (level !== undefined) {
-					this.layout.hierarchical.addToOrdering(node, level);
-				}
-
-				node.y = position;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "getTreeSize",
-			value: function getTreeSize(index) {
-				var res = this.layout.hierarchical.getTreeSize(this.layout.body.nodes, index);
-				return {
-					min: res.min_y,
-					max: res.max_y
-				};
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "sort",
-			value: function sort(nodeArray) {
-				timsort.sort(nodeArray, function (a, b) {
-					return a.y - b.y;
-				});
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "fix",
-			value: function fix(node, level) {
-				node.x = this.layout.options.hierarchical.levelSeparation * level;
-				node.options.fixed.x = true;
-			}
-			/** @inheritDoc */
-
-		}, {
-			key: "shift",
-			value: function shift(nodeId, diff) {
-				this.layout.body.nodes[nodeId].y += diff;
-			}
-		}]);
-
-		return HorizontalStrategy;
-	}(DirectionInterface);
-
-	var $ = _export;
-	var $every = arrayIteration.every;
-	var arrayMethodIsStrict = arrayMethodIsStrict$6;
-	var STRICT_METHOD = arrayMethodIsStrict('every'); // `Array.prototype.every` method
-	// https://tc39.es/ecma262/#sec-array.prototype.every
-
-	$({
-		target: 'Array',
-		proto: true,
-		forced: !STRICT_METHOD
-	}, {
-		every: function every(callbackfn
-			/* , thisArg */
-		) {
-			return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
-		}
-	});
-
-	var entryVirtual = entryVirtual$l;
-	var every$3 = entryVirtual('Array').every;
-
-	var isPrototypeOf = objectIsPrototypeOf;
-	var method = every$3;
-	var ArrayPrototype = Array.prototype;
-
-	var every$2 = function (it) {
-		var own = it.every;
-		return it === ArrayPrototype || isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.every ? method : own;
-	};
-
-	var parent = every$2;
-	var every$1 = parent;
-
-	var every = every$1;
-
-	function _createForOfIteratorHelper$1(o, allowArrayLike) { var it = typeof symbol !== "undefined" && getIteratorMethod$1(o) || o["@@iterator"]; if (!it) { if (isArray$2(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() { }; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
-
-	function _unsupportedIterableToArray$1(o, minLen) { var _context9; if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = slice(_context9 = Object.prototype.toString.call(o)).call(_context9, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return from$3(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); }
-
-	function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
-
-	/**
-	 * Try to assign levels to nodes according to their positions in the cyclic “hierarchy”.
-	 *
-	 * @param nodes - Visible nodes of the graph.
-	 * @param levels - If present levels will be added to it, if not a new object will be created.
-	 * @returns Populated node levels.
-	 */
-	function fillLevelsByDirectionCyclic(nodes, levels) {
-		var edges = new set();
-
-		forEach$2(nodes).call(nodes, function (node) {
-			var _context;
-
-			forEach$2(_context = node.edges).call(_context, function (edge) {
-				if (edge.connected) {
-					edges.add(edge);
-				}
-			});
-		});
-
-		forEach$2(edges).call(edges, function (edge) {
-			var fromId = edge.from.id;
-			var toId = edge.to.id;
-
-			if (levels[fromId] == null) {
-				levels[fromId] = 0;
-			}
-
-			if (levels[toId] == null || levels[fromId] >= levels[toId]) {
-				levels[toId] = levels[fromId] + 1;
-			}
-		});
-
-		return levels;
-	}
-	/**
-	 * Assign levels to nodes according to their positions in the hierarchy. Leaves will be lined up at the bottom and all other nodes as close to their children as possible.
-	 *
-	 * @param nodes - Visible nodes of the graph.
-	 * @returns Populated node levels.
-	 */
-
-
-	function fillLevelsByDirectionLeaves(nodes) {
-		return fillLevelsByDirection( // Pick only leaves (nodes without children).
-			function (node) {
-				var _context2, _context3;
-
-				return every(_context2 = filter(_context3 = node.edges // Take only visible nodes into account.
-				).call(_context3, function (edge) {
-					return nodes.has(edge.toId);
-				}) // Check that all edges lead to this node (leaf).
-				).call(_context2, function (edge) {
-					return edge.to === node;
-				});
-			}, // Use the lowest level.
-			function (newLevel, oldLevel) {
-				return oldLevel > newLevel;
-			}, // Go against the direction of the edges.
-			"from", nodes);
-	}
-	/**
-	 * Assign levels to nodes according to their positions in the hierarchy. Roots will be lined up at the top and all nodes as close to their parents as possible.
-	 *
-	 * @param nodes - Visible nodes of the graph.
-	 * @returns Populated node levels.
-	 */
-
-	function fillLevelsByDirectionRoots(nodes) {
-		return fillLevelsByDirection( // Pick only roots (nodes without parents).
-			function (node) {
-				var _context4, _context5;
-
-				return every(_context4 = filter(_context5 = node.edges // Take only visible nodes into account.
-				).call(_context5, function (edge) {
-					return nodes.has(edge.toId);
-				}) // Check that all edges lead from this node (root).
-				).call(_context4, function (edge) {
-					return edge.from === node;
-				});
-			}, // Use the highest level.
-			function (newLevel, oldLevel) {
-				return oldLevel < newLevel;
-			}, // Go in the direction of the edges.
-			"to", nodes);
-	}
-	/**
-	 * Assign levels to nodes according to their positions in the hierarchy.
-	 *
-	 * @param isEntryNode - Checks and return true if the graph should be traversed from this node.
-	 * @param shouldLevelBeReplaced - Checks and returns true if the level of given node should be updated to the new value.
-	 * @param direction - Wheter the graph should be traversed in the direction of the edges `"to"` or in the other way `"from"`.
-	 * @param nodes - Visible nodes of the graph.
-	 * @returns Populated node levels.
-	 */
-
-	function fillLevelsByDirection(isEntryNode, shouldLevelBeReplaced, direction, nodes) {
-		var _context6;
-
-		var levels = create$5(null); // If acyclic, the graph can be walked through with (most likely way) fewer
-		// steps than the number bellow. The exact value isn't too important as long
-		// as it's quick to compute (doesn't impact acyclic graphs too much), is
-		// higher than the number of steps actually needed (doesn't cut off before
-		// acyclic graph is walked through) and prevents infinite loops (cuts off for
-		// cyclic graphs).
-
-
-		var limit = reduce(_context6 = _toConsumableArray(values(nodes).call(nodes))).call(_context6, function (acc, node) {
-			return acc + 1 + node.edges.length;
-		}, 0);
-
-		var edgeIdProp = direction + "Id";
-		var newLevelDiff = direction === "to" ? 1 : -1;
-
-		var _iterator = _createForOfIteratorHelper$1(nodes),
-			_step;
-
-		try {
-			var _loop = function _loop() {
-				var _step$value = _slicedToArray(_step.value, 2),
-					entryNodeId = _step$value[0],
-					entryNode = _step$value[1];
-
-				if ( // Skip if the node is not visible.
-					!nodes.has(entryNodeId) || // Skip if the node is not an entry node.
-					!isEntryNode(entryNode)) {
-					return "continue";
-				} // Line up all the entry nodes on level 0.
-
-
-				levels[entryNodeId] = 0;
-				var stack = [entryNode];
-				var done = 0;
-				var node = void 0;
-
-				var _loop2 = function _loop2() {
-					var _context7, _context8;
-
-					if (!nodes.has(entryNodeId)) {
-						// Skip if the node is not visible.
-						return "continue";
-					}
-
-					var newLevel = levels[node.id] + newLevelDiff;
-
-					forEach$2(_context7 = filter(_context8 = node.edges).call(_context8, function (edge) {
-						return (// Ignore disconnected edges.
-							edge.connected && // Ignore circular edges.
-							edge.to !== edge.from && // Ignore edges leading to the node that's currently being processed.
-							edge[direction] !== node && // Ignore edges connecting to an invisible node.
-							nodes.has(edge.toId) && // Ignore edges connecting from an invisible node.
-							nodes.has(edge.fromId)
-						);
-					})).call(_context7, function (edge) {
-						var targetNodeId = edge[edgeIdProp];
-						var oldLevel = levels[targetNodeId];
-
-						if (oldLevel == null || shouldLevelBeReplaced(newLevel, oldLevel)) {
-							levels[targetNodeId] = newLevel;
-							stack.push(edge[direction]);
-						}
-					});
-
-					if (done > limit) {
-						// This would run forever on a cyclic graph.
-						return {
-							v: {
-								v: fillLevelsByDirectionCyclic(nodes, levels)
-							}
-						};
-					} else {
-						++done;
-					}
-				};
-
-				while (node = stack.pop()) {
-					var _ret2 = _loop2();
-
-					if (_ret2 === "continue") continue;
-					if (_typeof(_ret2) === "object") return _ret2.v;
-				}
-			};
-
-			for (_iterator.s(); !(_step = _iterator.n()).done;) {
-				var _ret = _loop();
-
-				if (_ret === "continue") continue;
-				if (_typeof(_ret) === "object") return _ret.v;
-			}
-		} catch (err) {
-			_iterator.e(err);
-		} finally {
-			_iterator.f();
-		}
-
-		return levels;
-	}
-
-	/**
-	 * There's a mix-up with terms in the code. Following are the formal definitions:
-	 *
-	 *   tree   - a strict hierarchical network, i.e. every node has at most one parent
-	 *   forest - a collection of trees. These distinct trees are thus not connected.
-	 *
-	 * So:
-	 * - in a network that is not a tree, there exist nodes with multiple parents.
-	 * - a network consisting of unconnected sub-networks, of which at least one
-	 *   is not a tree, is not a forest.
-	 *
-	 * In the code, the definitions are:
-	 *
-	 *   tree   - any disconnected sub-network, strict hierarchical or not.
-	 *   forest - a bunch of these sub-networks
-	 *
-	 * The difference between tree and not-tree is important in the code, notably within
-	 * to the block-shifting algorithm. The algorithm assumes formal trees and fails
-	 * for not-trees, often in a spectacular manner (search for 'exploding network' in the issues).
-	 *
-	 * In order to distinguish the definitions in the following code, the adjective 'formal' is
-	 * used. If 'formal' is absent, you must assume the non-formal definition.
-	 *
-	 * ----------------------------------------------------------------------------------
-	 * NOTES
-	 * =====
-	 *
-	 * A hierarchical layout is a different thing from a hierarchical network.
-	 * The layout is a way to arrange the nodes in the view; this can be done
-	 * on non-hierarchical networks as well. The converse is also possible.
-	 */
-	/**
-	 * Container for derived data on current network, relating to hierarchy.
-	 *
-	 * @private
-	 */
-
-	var HierarchicalStatus = /*#__PURE__*/function () {
-		/**
-		 * @ignore
-		 */
-		function HierarchicalStatus() {
-			_classCallCheck(this, HierarchicalStatus);
-
-			this.childrenReference = {}; // child id's per node id
-
-			this.parentReference = {}; // parent id's per node id
-
-			this.trees = {}; // tree id per node id; i.e. to which tree does given node id belong
-
-			this.distributionOrdering = {}; // The nodes per level, in the display order
-
-			this.levels = {}; // hierarchy level per node id
-
-			this.distributionIndex = {}; // The position of the node in the level sorting order, per node id.
-
-			this.isTree = false; // True if current network is a formal tree
-
-			this.treeIndex = -1; // Highest tree id in current network.
-		}
-		/**
-		 * Add the relation between given nodes to the current state.
-		 *
-		 * @param {Node.id} parentNodeId
-		 * @param {Node.id} childNodeId
-		 */
-
-
-		_createClass(HierarchicalStatus, [{
-			key: "addRelation",
-			value: function addRelation(parentNodeId, childNodeId) {
-				if (this.childrenReference[parentNodeId] === undefined) {
-					this.childrenReference[parentNodeId] = [];
-				}
-
-				this.childrenReference[parentNodeId].push(childNodeId);
-
-				if (this.parentReference[childNodeId] === undefined) {
-					this.parentReference[childNodeId] = [];
-				}
-
-				this.parentReference[childNodeId].push(parentNodeId);
-			}
-			/**
-			 * Check if the current state is for a formal tree or formal forest.
-			 *
-			 * This is the case if every node has at most one parent.
-			 *
-			 * Pre: parentReference init'ed properly for current network
-			 */
-
-		}, {
-			key: "checkIfTree",
-			value: function checkIfTree() {
-				for (var i in this.parentReference) {
-					if (this.parentReference[i].length > 1) {
-						this.isTree = false;
-						return;
-					}
-				}
-
-				this.isTree = true;
-			}
-			/**
-			 * Return the number of separate trees in the current network.
-			 *
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "numTrees",
-			value: function numTrees() {
-				return this.treeIndex + 1; // This assumes the indexes are assigned consecitively
-			}
-			/**
-			 * Assign a tree id to a node
-			 *
-			 * @param {Node} node
-			 * @param {string|number} treeId
-			 */
-
-		}, {
-			key: "setTreeIndex",
-			value: function setTreeIndex(node, treeId) {
-				if (treeId === undefined) return; // Don't bother
-
-				if (this.trees[node.id] === undefined) {
-					this.trees[node.id] = treeId;
-					this.treeIndex = Math.max(treeId, this.treeIndex);
-				}
-			}
-			/**
-			 * Ensure level for given id is defined.
-			 *
-			 * Sets level to zero for given node id if not already present
-			 *
-			 * @param {Node.id} nodeId
-			 */
-
-		}, {
-			key: "ensureLevel",
-			value: function ensureLevel(nodeId) {
-				if (this.levels[nodeId] === undefined) {
-					this.levels[nodeId] = 0;
-				}
-			}
-			/**
-			 * get the maximum level of a branch.
-			 *
-			 * TODO: Never entered; find a test case to test this!
-			 *
-			 * @param {Node.id} nodeId
-			 * @returns {number}
-			 */
-
-		}, {
-			key: "getMaxLevel",
-			value: function getMaxLevel(nodeId) {
-				var _this = this;
-
-				var accumulator = {};
-
-				var _getMaxLevel = function _getMaxLevel(nodeId) {
-					if (accumulator[nodeId] !== undefined) {
-						return accumulator[nodeId];
-					}
-
-					var level = _this.levels[nodeId];
-
-					if (_this.childrenReference[nodeId]) {
-						var children = _this.childrenReference[nodeId];
-
-						if (children.length > 0) {
-							for (var i = 0; i < children.length; i++) {
-								level = Math.max(level, _getMaxLevel(children[i]));
-							}
-						}
-					}
-
-					accumulator[nodeId] = level;
-					return level;
-				};
-
-				return _getMaxLevel(nodeId);
-			}
-			/**
-			 *
-			 * @param {Node} nodeA
-			 * @param {Node} nodeB
-			 */
-
-		}, {
-			key: "levelDownstream",
-			value: function levelDownstream(nodeA, nodeB) {
-				if (this.levels[nodeB.id] === undefined) {
-					// set initial level
-					if (this.levels[nodeA.id] === undefined) {
-						this.levels[nodeA.id] = 0;
-					} // set level
-
-
-					this.levels[nodeB.id] = this.levels[nodeA.id] + 1;
-				}
-			}
-			/**
-			 * Small util method to set the minimum levels of the nodes to zero.
-			 *
-			 * @param {Array.<Node>} nodes
-			 */
-
-		}, {
-			key: "setMinLevelToZero",
-			value: function setMinLevelToZero(nodes) {
-				var minLevel = 1e9; // get the minimum level
-
-				for (var nodeId in nodes) {
-					if (Object.prototype.hasOwnProperty.call(nodes, nodeId)) {
-						if (this.levels[nodeId] !== undefined) {
-							minLevel = Math.min(this.levels[nodeId], minLevel);
-						}
-					}
-				} // subtract the minimum from the set so we have a range starting from 0
-
-
-				for (var _nodeId in nodes) {
-					if (Object.prototype.hasOwnProperty.call(nodes, _nodeId)) {
-						if (this.levels[_nodeId] !== undefined) {
-							this.levels[_nodeId] -= minLevel;
-						}
-					}
-				}
-			}
-			/**
-			 * Get the min and max xy-coordinates of a given tree
-			 *
-			 * @param {Array.<Node>} nodes
-			 * @param {number} index
-			 * @returns {{min_x: number, max_x: number, min_y: number, max_y: number}}
-			 */
-
-		}, {
-			key: "getTreeSize",
-			value: function getTreeSize(nodes, index) {
-				var min_x = 1e9;
-				var max_x = -1e9;
-				var min_y = 1e9;
-				var max_y = -1e9;
-
-				for (var nodeId in this.trees) {
-					if (Object.prototype.hasOwnProperty.call(this.trees, nodeId)) {
-						if (this.trees[nodeId] === index) {
-							var node = nodes[nodeId];
-							min_x = Math.min(node.x, min_x);
-							max_x = Math.max(node.x, max_x);
-							min_y = Math.min(node.y, min_y);
-							max_y = Math.max(node.y, max_y);
-						}
-					}
-				}
-
-				return {
-					min_x: min_x,
-					max_x: max_x,
-					min_y: min_y,
-					max_y: max_y
-				};
-			}
-			/**
-			 * Check if two nodes have the same parent(s)
-			 *
-			 * @param {Node} node1
-			 * @param {Node} node2
-			 * @returns {boolean} true if the two nodes have a same ancestor node, false otherwise
-			 */
-
-		}, {
-			key: "hasSameParent",
-			value: function hasSameParent(node1, node2) {
-				var parents1 = this.parentReference[node1.id];
-				var parents2 = this.parentReference[node2.id];
-
-				if (parents1 === undefined || parents2 === undefined) {
-					return false;
-				}
-
-				for (var i = 0; i < parents1.length; i++) {
-					for (var j = 0; j < parents2.length; j++) {
-						if (parents1[i] == parents2[j]) {
-							return true;
-						}
-					}
-				}
-
-				return false;
-			}
-			/**
-			 * Check if two nodes are in the same tree.
-			 *
-			 * @param {Node} node1
-			 * @param {Node} node2
-			 * @returns {boolean} true if this is so, false otherwise
-			 */
-
-		}, {
-			key: "inSameSubNetwork",
-			value: function inSameSubNetwork(node1, node2) {
-				return this.trees[node1.id] === this.trees[node2.id];
-			}
-			/**
-			 * Get a list of the distinct levels in the current network
-			 *
-			 * @returns {Array}
-			 */
-
-		}, {
-			key: "getLevels",
-			value: function getLevels() {
-				return keys$4(this.distributionOrdering);
-			}
-			/**
-			 * Add a node to the ordering per level
-			 *
-			 * @param {Node} node
-			 * @param {number} level
-			 */
-
-		}, {
-			key: "addToOrdering",
-			value: function addToOrdering(node, level) {
-				if (this.distributionOrdering[level] === undefined) {
-					this.distributionOrdering[level] = [];
-				}
-
-				var isPresent = false;
-				var curLevel = this.distributionOrdering[level];
-
-				for (var n in curLevel) {
-					//if (curLevel[n].id === node.id) {
-					if (curLevel[n] === node) {
-						isPresent = true;
-						break;
-					}
-				}
-
-				if (!isPresent) {
-					this.distributionOrdering[level].push(node);
-					this.distributionIndex[node.id] = this.distributionOrdering[level].length - 1;
-				}
-			}
-		}]);
-
-		return HierarchicalStatus;
-	}();
-	/**
-	 * The Layout Engine
-	 */
-
-
-	var LayoutEngine = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 */
-		function LayoutEngine(body) {
-			_classCallCheck(this, LayoutEngine);
-
-			this.body = body; // Make sure there always is some RNG because the setOptions method won't
-			// set it unless there's a seed for it.
-
-			this._resetRNG(Math.random() + ":" + now$1());
-
-			this.setPhysics = false;
-			this.options = {};
-			this.optionsBackup = {
-				physics: {}
-			};
-			this.defaultOptions = {
-				randomSeed: undefined,
-				improvedLayout: true,
-				clusterThreshold: 150,
-				hierarchical: {
-					enabled: false,
-					levelSeparation: 150,
-					nodeSpacing: 100,
-					treeSpacing: 200,
-					blockShifting: true,
-					edgeMinimization: true,
-					parentCentralization: true,
-					direction: "UD",
-					// UD, DU, LR, RL
-					sortMethod: "hubsize" // hubsize, directed
-
-				}
-			};
-
-			assign$2(this.options, this.defaultOptions);
-
-			this.bindEventListeners();
-		}
-		/**
-		 * Binds event listeners
-		 */
-
-
-		_createClass(LayoutEngine, [{
-			key: "bindEventListeners",
-			value: function bindEventListeners() {
-				var _this2 = this;
-
-				this.body.emitter.on("_dataChanged", function () {
-					_this2.setupHierarchicalLayout();
-				});
-				this.body.emitter.on("_dataLoaded", function () {
-					_this2.layoutNetwork();
-				});
-				this.body.emitter.on("_resetHierarchicalLayout", function () {
-					_this2.setupHierarchicalLayout();
-				});
-				this.body.emitter.on("_adjustEdgesForHierarchicalLayout", function () {
-					if (_this2.options.hierarchical.enabled !== true) {
-						return;
-					} // get the type of static smooth curve in case it is required
-
-
-					var type = _this2.direction.curveType(); // force all edges into static smooth curves.
-
-
-					_this2.body.emitter.emit("_forceDisableDynamicCurves", type, false);
-				});
-			}
-			/**
-			 *
-			 * @param {object} options
-			 * @param {object} allOptions
-			 * @returns {object}
-			 */
-
-		}, {
-			key: "setOptions",
-			value: function setOptions(options, allOptions) {
-				if (options !== undefined) {
-					var hierarchical = this.options.hierarchical;
-					var prevHierarchicalState = hierarchical.enabled;
-					selectiveDeepExtend(["randomSeed", "improvedLayout", "clusterThreshold"], this.options, options);
-					mergeOptions(this.options, options, "hierarchical");
-
-					if (options.randomSeed !== undefined) {
-						this._resetRNG(options.randomSeed);
-					}
-
-					if (hierarchical.enabled === true) {
-						if (prevHierarchicalState === true) {
-							// refresh the overridden options for nodes and edges.
-							this.body.emitter.emit("refresh", true);
-						} // make sure the level separation is the right way up
-
-
-						if (hierarchical.direction === "RL" || hierarchical.direction === "DU") {
-							if (hierarchical.levelSeparation > 0) {
-								hierarchical.levelSeparation *= -1;
-							}
-						} else {
-							if (hierarchical.levelSeparation < 0) {
-								hierarchical.levelSeparation *= -1;
-							}
-						}
-
-						this.setDirectionStrategy();
-						this.body.emitter.emit("_resetHierarchicalLayout"); // because the hierarchical system needs it's own physics and smooth curve settings,
-						// we adapt the other options if needed.
-
-						return this.adaptAllOptionsForHierarchicalLayout(allOptions);
-					} else {
-						if (prevHierarchicalState === true) {
-							// refresh the overridden options for nodes and edges.
-							this.body.emitter.emit("refresh");
-							return deepExtend(allOptions, this.optionsBackup);
-						}
-					}
-				}
-
-				return allOptions;
-			}
-			/**
-			 * Reset the random number generator with given seed.
-			 *
-			 * @param {any} seed - The seed that will be forwarded the the RNG.
-			 */
-
-		}, {
-			key: "_resetRNG",
-			value: function _resetRNG(seed) {
-				this.initialRandomSeed = seed;
-				this._rng = Alea(this.initialRandomSeed);
-			}
-			/**
-			 *
-			 * @param {object} allOptions
-			 * @returns {object}
-			 */
-
-		}, {
-			key: "adaptAllOptionsForHierarchicalLayout",
-			value: function adaptAllOptionsForHierarchicalLayout(allOptions) {
-				if (this.options.hierarchical.enabled === true) {
-					var backupPhysics = this.optionsBackup.physics; // set the physics
-
-					if (allOptions.physics === undefined || allOptions.physics === true) {
-						allOptions.physics = {
-							enabled: backupPhysics.enabled === undefined ? true : backupPhysics.enabled,
-							solver: "hierarchicalRepulsion"
-						};
-						backupPhysics.enabled = backupPhysics.enabled === undefined ? true : backupPhysics.enabled;
-						backupPhysics.solver = backupPhysics.solver || "barnesHut";
-					} else if (_typeof(allOptions.physics) === "object") {
-						backupPhysics.enabled = allOptions.physics.enabled === undefined ? true : allOptions.physics.enabled;
-						backupPhysics.solver = allOptions.physics.solver || "barnesHut";
-						allOptions.physics.solver = "hierarchicalRepulsion";
-					} else if (allOptions.physics !== false) {
-						backupPhysics.solver = "barnesHut";
-						allOptions.physics = {
-							solver: "hierarchicalRepulsion"
-						};
-					} // get the type of static smooth curve in case it is required
-
-
-					var type = this.direction.curveType(); // disable smooth curves if nothing is defined. If smooth curves have been turned on,
-					// turn them into static smooth curves.
-
-					if (allOptions.edges === undefined) {
-						this.optionsBackup.edges = {
-							smooth: {
-								enabled: true,
-								type: "dynamic"
-							}
-						};
-						allOptions.edges = {
-							smooth: false
-						};
-					} else if (allOptions.edges.smooth === undefined) {
-						this.optionsBackup.edges = {
-							smooth: {
-								enabled: true,
-								type: "dynamic"
-							}
-						};
-						allOptions.edges.smooth = false;
-					} else {
-						if (typeof allOptions.edges.smooth === "boolean") {
-							this.optionsBackup.edges = {
-								smooth: allOptions.edges.smooth
-							};
-							allOptions.edges.smooth = {
-								enabled: allOptions.edges.smooth,
-								type: type
-							};
-						} else {
-							var smooth = allOptions.edges.smooth; // allow custom types except for dynamic
-
-							if (smooth.type !== undefined && smooth.type !== "dynamic") {
-								type = smooth.type;
-							} // TODO: this is options merging; see if the standard routines can be used here.
-
-
-							this.optionsBackup.edges = {
-								smooth: {
-									enabled: smooth.enabled === undefined ? true : smooth.enabled,
-									type: smooth.type === undefined ? "dynamic" : smooth.type,
-									roundness: smooth.roundness === undefined ? 0.5 : smooth.roundness,
-									forceDirection: smooth.forceDirection === undefined ? false : smooth.forceDirection
-								}
-							}; // NOTE: Copying an object to self; this is basically setting defaults for undefined variables
-
-							allOptions.edges.smooth = {
-								enabled: smooth.enabled === undefined ? true : smooth.enabled,
-								type: type,
-								roundness: smooth.roundness === undefined ? 0.5 : smooth.roundness,
-								forceDirection: smooth.forceDirection === undefined ? false : smooth.forceDirection
-							};
-						}
-					} // Force all edges into static smooth curves.
-					// Only applies to edges that do not use the global options for smooth.
-
-
-					this.body.emitter.emit("_forceDisableDynamicCurves", type);
-				}
-
-				return allOptions;
-			}
-			/**
-			 *
-			 * @param {Array.<Node>} nodesArray
-			 */
-
-		}, {
-			key: "positionInitially",
-			value: function positionInitially(nodesArray) {
-				if (this.options.hierarchical.enabled !== true) {
-					this._resetRNG(this.initialRandomSeed);
-
-					var radius = nodesArray.length + 50;
-
-					for (var i = 0; i < nodesArray.length; i++) {
-						var node = nodesArray[i];
-
-						var angle = 2 * Math.PI * this._rng();
-
-						if (node.x === undefined) {
-							node.x = radius * Math.cos(angle);
-						}
-
-						if (node.y === undefined) {
-							node.y = radius * Math.sin(angle);
-						}
-					}
-				}
-			}
-			/**
-			 * Use Kamada Kawai to position nodes. This is quite a heavy algorithm so if there are a lot of nodes we
-			 * cluster them first to reduce the amount.
-			 */
-
-		}, {
-			key: "layoutNetwork",
-			value: function layoutNetwork() {
-				if (this.options.hierarchical.enabled !== true && this.options.improvedLayout === true) {
-					var indices = this.body.nodeIndices; // first check if we should Kamada Kawai to layout. The threshold is if less than half of the visible
-					// nodes have predefined positions we use this.
-
-					var positionDefined = 0;
-
-					for (var i = 0; i < indices.length; i++) {
-						var node = this.body.nodes[indices[i]];
-
-						if (node.predefinedPosition === true) {
-							positionDefined += 1;
-						}
-					} // if less than half of the nodes have a predefined position we continue
-
-
-					if (positionDefined < 0.5 * indices.length) {
-						var MAX_LEVELS = 10;
-						var level = 0;
-						var clusterThreshold = this.options.clusterThreshold; //
-						// Define the options for the hidden cluster nodes
-						// These options don't propagate outside the clustering phase.
-						//
-						// Some options are explicitly disabled, because they may be set in group or default node options.
-						// The clusters are never displayed, so most explicit settings here serve as performance optimizations.
-						//
-						// The explicit setting of 'shape' is to avoid `shape: 'image'`; images are not passed to the hidden
-						// cluster nodes, leading to an exception on creation.
-						//
-						// All settings here are performance related, except when noted otherwise.
-						//
-
-						var clusterOptions = {
-							clusterNodeProperties: {
-								shape: "ellipse",
-								// Bugfix: avoid type 'image', no images supplied
-								label: "",
-								// avoid label handling
-								group: "",
-								// avoid group handling
-								font: {
-									multi: false
-								} // avoid font propagation
-
-							},
-							clusterEdgeProperties: {
-								label: "",
-								// avoid label handling
-								font: {
-									multi: false
-								},
-								// avoid font propagation
-								smooth: {
-									enabled: false // avoid drawing penalty for complex edges
-
-								}
-							}
-						}; // if there are a lot of nodes, we cluster before we run the algorithm.
-						// NOTE: this part fails to find clusters for large scale-free networks, which should
-						//       be easily clusterable.
-						// TODO: examine why this is so
-
-						if (indices.length > clusterThreshold) {
-							var startLength = indices.length;
-
-							while (indices.length > clusterThreshold && level <= MAX_LEVELS) {
-								//console.time("clustering")
-								level += 1;
-								var before = indices.length; // if there are many nodes we do a hubsize cluster
-
-								if (level % 3 === 0) {
-									this.body.modules.clustering.clusterBridges(clusterOptions);
-								} else {
-									this.body.modules.clustering.clusterOutliers(clusterOptions);
-								}
-
-								var after = indices.length;
-
-								if (before == after && level % 3 !== 0) {
-									this._declusterAll();
-
-									this.body.emitter.emit("_layoutFailed");
-									console.info("This network could not be positioned by this version of the improved layout algorithm." + " Please disable improvedLayout for better performance.");
-									return;
-								} //console.timeEnd("clustering")
-								//console.log(before,level,after);
-
-							} // increase the size of the edges
-
-
-							this.body.modules.kamadaKawai.setOptions({
-								springLength: Math.max(150, 2 * startLength)
-							});
-						}
-
-						if (level > MAX_LEVELS) {
-							console.info("The clustering didn't succeed within the amount of interations allowed," + " progressing with partial result.");
-						} // position the system for these nodes and edges
-
-
-						this.body.modules.kamadaKawai.solve(indices, this.body.edgeIndices, true); // shift to center point
-
-						this._shiftToCenter(); // perturb the nodes a little bit to force the physics to kick in
-
-
-						var offset = 70;
-
-						for (var _i = 0; _i < indices.length; _i++) {
-							// Only perturb the nodes that aren't fixed
-							var _node = this.body.nodes[indices[_i]];
-
-							if (_node.predefinedPosition === false) {
-								_node.x += (0.5 - this._rng()) * offset;
-								_node.y += (0.5 - this._rng()) * offset;
-							}
-						} // uncluster all clusters
-
-
-						this._declusterAll(); // reposition all bezier nodes.
-
-
-						this.body.emitter.emit("_repositionBezierNodes");
-					}
-				}
-			}
-			/**
-			 * Move all the nodes towards to the center so gravitational pull wil not move the nodes away from view
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_shiftToCenter",
-			value: function _shiftToCenter() {
-				var range = NetworkUtil.getRangeCore(this.body.nodes, this.body.nodeIndices);
-				var center = NetworkUtil.findCenter(range);
-
-				for (var i = 0; i < this.body.nodeIndices.length; i++) {
-					var node = this.body.nodes[this.body.nodeIndices[i]];
-					node.x -= center.x;
-					node.y -= center.y;
-				}
-			}
-			/**
-			 * Expands all clusters
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_declusterAll",
-			value: function _declusterAll() {
-				var clustersPresent = true;
-
-				while (clustersPresent === true) {
-					clustersPresent = false;
-
-					for (var i = 0; i < this.body.nodeIndices.length; i++) {
-						if (this.body.nodes[this.body.nodeIndices[i]].isCluster === true) {
-							clustersPresent = true;
-							this.body.modules.clustering.openCluster(this.body.nodeIndices[i], {}, false);
-						}
-					}
-
-					if (clustersPresent === true) {
-						this.body.emitter.emit("_dataChanged");
-					}
-				}
-			}
-			/**
-			 *
-			 * @returns {number|*}
-			 */
-
-		}, {
-			key: "getSeed",
-			value: function getSeed() {
-				return this.initialRandomSeed;
-			}
-			/**
-			 * This is the main function to layout the nodes in a hierarchical way.
-			 * It checks if the node details are supplied correctly
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "setupHierarchicalLayout",
-			value: function setupHierarchicalLayout() {
-				if (this.options.hierarchical.enabled === true && this.body.nodeIndices.length > 0) {
-					// get the size of the largest hubs and check if the user has defined a level for a node.
-					var node, nodeId;
-					var definedLevel = false;
-					var undefinedLevel = false;
-					this.lastNodeOnLevel = {};
-					this.hierarchical = new HierarchicalStatus();
-
-					for (nodeId in this.body.nodes) {
-						if (Object.prototype.hasOwnProperty.call(this.body.nodes, nodeId)) {
-							node = this.body.nodes[nodeId];
-
-							if (node.options.level !== undefined) {
-								definedLevel = true;
-								this.hierarchical.levels[nodeId] = node.options.level;
-							} else {
-								undefinedLevel = true;
-							}
-						}
-					} // if the user defined some levels but not all, alert and run without hierarchical layout
-
-
-					if (undefinedLevel === true && definedLevel === true) {
-						throw new Error("To use the hierarchical layout, nodes require either no predefined levels" + " or levels have to be defined for all nodes.");
-					} else {
-						// define levels if undefined by the users. Based on hubsize.
-						if (undefinedLevel === true) {
-							var sortMethod = this.options.hierarchical.sortMethod;
-
-							if (sortMethod === "hubsize") {
-								this._determineLevelsByHubsize();
-							} else if (sortMethod === "directed") {
-								this._determineLevelsDirected();
-							} else if (sortMethod === "custom") {
-								this._determineLevelsCustomCallback();
-							}
-						} // fallback for cases where there are nodes but no edges
-
-
-						for (var _nodeId2 in this.body.nodes) {
-							if (Object.prototype.hasOwnProperty.call(this.body.nodes, _nodeId2)) {
-								this.hierarchical.ensureLevel(_nodeId2);
-							}
-						} // check the distribution of the nodes per level.
-
-
-						var distribution = this._getDistribution(); // get the parent children relations.
-
-
-						this._generateMap(); // place the nodes on the canvas.
-
-
-						this._placeNodesByHierarchy(distribution); // condense the whitespace.
-
-
-						this._condenseHierarchy(); // shift to center so gravity does not have to do much
-
-
-						this._shiftToCenter();
-					}
-				}
-			}
-			/**
-			 * @private
-			 */
-
-		}, {
-			key: "_condenseHierarchy",
-			value: function _condenseHierarchy() {
-				var _this3 = this;
-
-				// Global var in this scope to define when the movement has stopped.
-				var stillShifting = false;
-				var branches = {}; // first we have some methods to help shifting trees around.
-				// the main method to shift the trees
-
-				var shiftTrees = function shiftTrees() {
-					var treeSizes = getTreeSizes();
-					var shiftBy = 0;
-
-					for (var i = 0; i < treeSizes.length - 1; i++) {
-						var diff = treeSizes[i].max - treeSizes[i + 1].min;
-						shiftBy += diff + _this3.options.hierarchical.treeSpacing;
-						shiftTree(i + 1, shiftBy);
-					}
-				}; // shift a single tree by an offset
-
-
-				var shiftTree = function shiftTree(index, offset) {
-					var trees = _this3.hierarchical.trees;
-
-					for (var nodeId in trees) {
-						if (Object.prototype.hasOwnProperty.call(trees, nodeId)) {
-							if (trees[nodeId] === index) {
-								_this3.direction.shift(nodeId, offset);
-							}
-						}
-					}
-				}; // get the width of all trees
-
-
-				var getTreeSizes = function getTreeSizes() {
-					var treeWidths = [];
-
-					for (var i = 0; i < _this3.hierarchical.numTrees(); i++) {
-						treeWidths.push(_this3.direction.getTreeSize(i));
-					}
-
-					return treeWidths;
-				}; // get a map of all nodes in this branch
-
-
-				var getBranchNodes = function getBranchNodes(source, map) {
-					if (map[source.id]) {
-						return;
-					}
-
-					map[source.id] = true;
-
-					if (_this3.hierarchical.childrenReference[source.id]) {
-						var children = _this3.hierarchical.childrenReference[source.id];
-
-						if (children.length > 0) {
-							for (var i = 0; i < children.length; i++) {
-								getBranchNodes(_this3.body.nodes[children[i]], map);
-							}
-						}
-					}
-				}; // get a min max width as well as the maximum movement space it has on either sides
-				// we use min max terminology because width and height can interchange depending on the direction of the layout
-
-
-				var getBranchBoundary = function getBranchBoundary(branchMap) {
-					var maxLevel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1e9;
-					var minSpace = 1e9;
-					var maxSpace = 1e9;
-					var min = 1e9;
-					var max = -1e9;
-
-					for (var branchNode in branchMap) {
-						if (Object.prototype.hasOwnProperty.call(branchMap, branchNode)) {
-							var node = _this3.body.nodes[branchNode];
-							var level = _this3.hierarchical.levels[node.id];
-
-							var position = _this3.direction.getPosition(node); // get the space around the node.
-
-
-							var _this3$_getSpaceAroun = _this3._getSpaceAroundNode(node, branchMap),
-								_this3$_getSpaceAroun2 = _slicedToArray(_this3$_getSpaceAroun, 2),
-								minSpaceNode = _this3$_getSpaceAroun2[0],
-								maxSpaceNode = _this3$_getSpaceAroun2[1];
-
-							minSpace = Math.min(minSpaceNode, minSpace);
-							maxSpace = Math.min(maxSpaceNode, maxSpace); // the width is only relevant for the levels two nodes have in common. This is why we filter on this.
-
-							if (level <= maxLevel) {
-								min = Math.min(position, min);
-								max = Math.max(position, max);
-							}
-						}
-					}
-
-					return [min, max, minSpace, maxSpace];
-				}; // check what the maximum level is these nodes have in common.
-
-
-				var getCollisionLevel = function getCollisionLevel(node1, node2) {
-					var maxLevel1 = _this3.hierarchical.getMaxLevel(node1.id);
-
-					var maxLevel2 = _this3.hierarchical.getMaxLevel(node2.id);
-
-					return Math.min(maxLevel1, maxLevel2);
-				};
-				/**
-				 * Condense elements. These can be nodes or branches depending on the callback.
-				 *
-				 * @param {Function} callback
-				 * @param {Array.<number>} levels
-				 * @param {*} centerParents
-				 */
-
-
-				var shiftElementsCloser = function shiftElementsCloser(callback, levels, centerParents) {
-					var hier = _this3.hierarchical;
-
-					for (var i = 0; i < levels.length; i++) {
-						var level = levels[i];
-						var levelNodes = hier.distributionOrdering[level];
-
-						if (levelNodes.length > 1) {
-							for (var j = 0; j < levelNodes.length - 1; j++) {
-								var node1 = levelNodes[j];
-								var node2 = levelNodes[j + 1]; // NOTE: logic maintained as it was; if nodes have same ancestor,
-								//       then of course they are in the same sub-network.
-
-								if (hier.hasSameParent(node1, node2) && hier.inSameSubNetwork(node1, node2)) {
-									callback(node1, node2, centerParents);
-								}
-							}
-						}
-					}
-				}; // callback for shifting branches
-
-
-				var branchShiftCallback = function branchShiftCallback(node1, node2) {
-					var centerParent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-
-					//window.CALLBACKS.push(() => {
-					var pos1 = _this3.direction.getPosition(node1);
-
-					var pos2 = _this3.direction.getPosition(node2);
-
-					var diffAbs = Math.abs(pos2 - pos1);
-					var nodeSpacing = _this3.options.hierarchical.nodeSpacing; //console.log("NOW CHECKING:", node1.id, node2.id, diffAbs);
-
-					if (diffAbs > nodeSpacing) {
-						var branchNodes1 = {};
-						var branchNodes2 = {};
-						getBranchNodes(node1, branchNodes1);
-						getBranchNodes(node2, branchNodes2); // check the largest distance between the branches
-
-						var maxLevel = getCollisionLevel(node1, node2);
-						var branchNodeBoundary1 = getBranchBoundary(branchNodes1, maxLevel);
-						var branchNodeBoundary2 = getBranchBoundary(branchNodes2, maxLevel);
-						var max1 = branchNodeBoundary1[1];
-						var min2 = branchNodeBoundary2[0];
-						var minSpace2 = branchNodeBoundary2[2]; //console.log(node1.id, getBranchBoundary(branchNodes1, maxLevel), node2.id,
-						//            getBranchBoundary(branchNodes2, maxLevel), maxLevel);
-
-						var diffBranch = Math.abs(max1 - min2);
-
-						if (diffBranch > nodeSpacing) {
-							var offset = max1 - min2 + nodeSpacing;
-
-							if (offset < -minSpace2 + nodeSpacing) {
-								offset = -minSpace2 + nodeSpacing; //console.log("RESETTING OFFSET", max1 - min2 + this.options.hierarchical.nodeSpacing, -minSpace2, offset);
-							}
-
-							if (offset < 0) {
-								//console.log("SHIFTING", node2.id, offset);
-								_this3._shiftBlock(node2.id, offset);
-
-								stillShifting = true;
-								if (centerParent === true) _this3._centerParent(node2);
-							}
-						}
-					} //this.body.emitter.emit("_redraw");})
-
-				};
-
-				var minimizeEdgeLength = function minimizeEdgeLength(iterations, node) {
-					//window.CALLBACKS.push(() => {
-					//  console.log("ts",node.id);
-					var nodeId = node.id;
-					var allEdges = node.edges;
-					var nodeLevel = _this3.hierarchical.levels[node.id]; // gather constants
-
-					var C2 = _this3.options.hierarchical.levelSeparation * _this3.options.hierarchical.levelSeparation;
-					var referenceNodes = {};
-					var aboveEdges = [];
-
-					for (var i = 0; i < allEdges.length; i++) {
-						var edge = allEdges[i];
-
-						if (edge.toId != edge.fromId) {
-							var otherNode = edge.toId == nodeId ? edge.from : edge.to;
-							referenceNodes[allEdges[i].id] = otherNode;
-
-							if (_this3.hierarchical.levels[otherNode.id] < nodeLevel) {
-								aboveEdges.push(edge);
-							}
-						}
-					} // differentiated sum of lengths based on only moving one node over one axis
-
-
-					var getFx = function getFx(point, edges) {
-						var sum = 0;
-
-						for (var _i2 = 0; _i2 < edges.length; _i2++) {
-							if (referenceNodes[edges[_i2].id] !== undefined) {
-								var a = _this3.direction.getPosition(referenceNodes[edges[_i2].id]) - point;
-								sum += a / Math.sqrt(a * a + C2);
-							}
-						}
-
-						return sum;
-					}; // doubly differentiated sum of lengths based on only moving one node over one axis
-
-
-					var getDFx = function getDFx(point, edges) {
-						var sum = 0;
-
-						for (var _i3 = 0; _i3 < edges.length; _i3++) {
-							if (referenceNodes[edges[_i3].id] !== undefined) {
-								var a = _this3.direction.getPosition(referenceNodes[edges[_i3].id]) - point;
-								sum -= C2 * Math.pow(a * a + C2, -1.5);
-							}
-						}
-
-						return sum;
-					};
-
-					var getGuess = function getGuess(iterations, edges) {
-						var guess = _this3.direction.getPosition(node); // Newton's method for optimization
-
-
-						var guessMap = {};
-
-						for (var _i4 = 0; _i4 < iterations; _i4++) {
-							var fx = getFx(guess, edges);
-							var dfx = getDFx(guess, edges); // we limit the movement to avoid instability.
-
-							var limit = 40;
-							var ratio = Math.max(-limit, Math.min(limit, Math.round(fx / dfx)));
-							guess = guess - ratio; // reduce duplicates
-
-							if (guessMap[guess] !== undefined) {
-								break;
-							}
-
-							guessMap[guess] = _i4;
-						}
-
-						return guess;
-					};
-
-					var moveBranch = function moveBranch(guess) {
-						// position node if there is space
-						var nodePosition = _this3.direction.getPosition(node); // check movable area of the branch
-
-
-						if (branches[node.id] === undefined) {
-							var branchNodes = {};
-							getBranchNodes(node, branchNodes);
-							branches[node.id] = branchNodes;
-						}
-
-						var branchBoundary = getBranchBoundary(branches[node.id]);
-						var minSpaceBranch = branchBoundary[2];
-						var maxSpaceBranch = branchBoundary[3];
-						var diff = guess - nodePosition; // check if we are allowed to move the node:
-
-						var branchOffset = 0;
-
-						if (diff > 0) {
-							branchOffset = Math.min(diff, maxSpaceBranch - _this3.options.hierarchical.nodeSpacing);
-						} else if (diff < 0) {
-							branchOffset = -Math.min(-diff, minSpaceBranch - _this3.options.hierarchical.nodeSpacing);
-						}
-
-						if (branchOffset != 0) {
-							//console.log("moving branch:",branchOffset, maxSpaceBranch, minSpaceBranch)
-							_this3._shiftBlock(node.id, branchOffset); //this.body.emitter.emit("_redraw");
-
-
-							stillShifting = true;
-						}
-					};
-
-					var moveNode = function moveNode(guess) {
-						var nodePosition = _this3.direction.getPosition(node); // position node if there is space
-
-
-						var _this3$_getSpaceAroun3 = _this3._getSpaceAroundNode(node),
-							_this3$_getSpaceAroun4 = _slicedToArray(_this3$_getSpaceAroun3, 2),
-							minSpace = _this3$_getSpaceAroun4[0],
-							maxSpace = _this3$_getSpaceAroun4[1];
-
-						var diff = guess - nodePosition; // check if we are allowed to move the node:
-
-						var newPosition = nodePosition;
-
-						if (diff > 0) {
-							newPosition = Math.min(nodePosition + (maxSpace - _this3.options.hierarchical.nodeSpacing), guess);
-						} else if (diff < 0) {
-							newPosition = Math.max(nodePosition - (minSpace - _this3.options.hierarchical.nodeSpacing), guess);
-						}
-
-						if (newPosition !== nodePosition) {
-							//console.log("moving Node:",diff, minSpace, maxSpace);
-							_this3.direction.setPosition(node, newPosition); //this.body.emitter.emit("_redraw");
-
-
-							stillShifting = true;
-						}
-					};
-
-					var guess = getGuess(iterations, aboveEdges);
-					moveBranch(guess);
-					guess = getGuess(iterations, allEdges);
-					moveNode(guess); //})
-				}; // method to remove whitespace between branches. Because we do bottom up, we can center the parents.
-
-
-				var minimizeEdgeLengthBottomUp = function minimizeEdgeLengthBottomUp(iterations) {
-					var levels = _this3.hierarchical.getLevels();
-
-					levels = reverse(levels).call(levels);
-
-					for (var i = 0; i < iterations; i++) {
-						stillShifting = false;
-
-						for (var j = 0; j < levels.length; j++) {
-							var level = levels[j];
-							var levelNodes = _this3.hierarchical.distributionOrdering[level];
-
-							for (var k = 0; k < levelNodes.length; k++) {
-								minimizeEdgeLength(1000, levelNodes[k]);
-							}
-						}
-
-						if (stillShifting !== true) {
-							//console.log("FINISHED minimizeEdgeLengthBottomUp IN " + i);
-							break;
-						}
-					}
-				}; // method to remove whitespace between branches. Because we do bottom up, we can center the parents.
-
-
-				var shiftBranchesCloserBottomUp = function shiftBranchesCloserBottomUp(iterations) {
-					var levels = _this3.hierarchical.getLevels();
-
-					levels = reverse(levels).call(levels);
-
-					for (var i = 0; i < iterations; i++) {
-						stillShifting = false;
-						shiftElementsCloser(branchShiftCallback, levels, true);
-
-						if (stillShifting !== true) {
-							//console.log("FINISHED shiftBranchesCloserBottomUp IN " + (i+1));
-							break;
-						}
-					}
-				}; // center all parents
-
-
-				var centerAllParents = function centerAllParents() {
-					for (var nodeId in _this3.body.nodes) {
-						if (Object.prototype.hasOwnProperty.call(_this3.body.nodes, nodeId)) _this3._centerParent(_this3.body.nodes[nodeId]);
-					}
-				}; // center all parents
-
-
-				var centerAllParentsBottomUp = function centerAllParentsBottomUp() {
-					var levels = _this3.hierarchical.getLevels();
-
-					levels = reverse(levels).call(levels);
-
-					for (var i = 0; i < levels.length; i++) {
-						var level = levels[i];
-						var levelNodes = _this3.hierarchical.distributionOrdering[level];
-
-						for (var j = 0; j < levelNodes.length; j++) {
-							_this3._centerParent(levelNodes[j]);
-						}
-					}
-				}; // the actual work is done here.
-
-
-				if (this.options.hierarchical.blockShifting === true) {
-					shiftBranchesCloserBottomUp(5);
-					centerAllParents();
-				} // minimize edge length
-
-
-				if (this.options.hierarchical.edgeMinimization === true) {
-					minimizeEdgeLengthBottomUp(20);
-				}
-
-				if (this.options.hierarchical.parentCentralization === true) {
-					centerAllParentsBottomUp();
-				}
-
-				shiftTrees();
-			}
-			/**
-			 * This gives the space around the node. IF a map is supplied, it will only check against nodes NOT in the map.
-			 * This is used to only get the distances to nodes outside of a branch.
-			 *
-			 * @param {Node} node
-			 * @param {{Node.id: vis.Node}} map
-			 * @returns {number[]}
-			 * @private
-			 */
-
-		}, {
-			key: "_getSpaceAroundNode",
-			value: function _getSpaceAroundNode(node, map) {
-				var useMap = true;
-
-				if (map === undefined) {
-					useMap = false;
-				}
-
-				var level = this.hierarchical.levels[node.id];
-
-				if (level !== undefined) {
-					var index = this.hierarchical.distributionIndex[node.id];
-					var position = this.direction.getPosition(node);
-					var ordering = this.hierarchical.distributionOrdering[level];
-					var minSpace = 1e9;
-					var maxSpace = 1e9;
-
-					if (index !== 0) {
-						var prevNode = ordering[index - 1];
-
-						if (useMap === true && map[prevNode.id] === undefined || useMap === false) {
-							var prevPos = this.direction.getPosition(prevNode);
-							minSpace = position - prevPos;
-						}
-					}
-
-					if (index != ordering.length - 1) {
-						var nextNode = ordering[index + 1];
-
-						if (useMap === true && map[nextNode.id] === undefined || useMap === false) {
-							var nextPos = this.direction.getPosition(nextNode);
-							maxSpace = Math.min(maxSpace, nextPos - position);
-						}
-					}
-
-					return [minSpace, maxSpace];
-				} else {
-					return [0, 0];
-				}
-			}
-			/**
-			 * We use this method to center a parent node and check if it does not cross other nodes when it does.
-			 *
-			 * @param {Node} node
-			 * @private
-			 */
-
-		}, {
-			key: "_centerParent",
-			value: function _centerParent(node) {
-				if (this.hierarchical.parentReference[node.id]) {
-					var parents = this.hierarchical.parentReference[node.id];
-
-					for (var i = 0; i < parents.length; i++) {
-						var parentId = parents[i];
-						var parentNode = this.body.nodes[parentId];
-						var children = this.hierarchical.childrenReference[parentId];
-
-						if (children !== undefined) {
-							// get the range of the children
-							var newPosition = this._getCenterPosition(children);
-
-							var position = this.direction.getPosition(parentNode);
-
-							var _this$_getSpaceAround = this._getSpaceAroundNode(parentNode),
-								_this$_getSpaceAround2 = _slicedToArray(_this$_getSpaceAround, 2),
-								minSpace = _this$_getSpaceAround2[0],
-								maxSpace = _this$_getSpaceAround2[1];
-
-							var diff = position - newPosition;
-
-							if (diff < 0 && Math.abs(diff) < maxSpace - this.options.hierarchical.nodeSpacing || diff > 0 && Math.abs(diff) < minSpace - this.options.hierarchical.nodeSpacing) {
-								this.direction.setPosition(parentNode, newPosition);
-							}
-						}
-					}
-				}
-			}
-			/**
-			 * This function places the nodes on the canvas based on the hierarchial distribution.
-			 *
-			 * @param {object} distribution | obtained by the function this._getDistribution()
-			 * @private
-			 */
-
-		}, {
-			key: "_placeNodesByHierarchy",
-			value: function _placeNodesByHierarchy(distribution) {
-				this.positionedNodes = {}; // start placing all the level 0 nodes first. Then recursively position their branches.
-
-				for (var level in distribution) {
-					if (Object.prototype.hasOwnProperty.call(distribution, level)) {
-						var _context;
-
-						// sort nodes in level by position:
-						var nodeArray = keys$4(distribution[level]);
-
-						nodeArray = this._indexArrayToNodes(nodeArray);
-
-						sort(_context = this.direction).call(_context, nodeArray);
-
-						var handledNodeCount = 0;
-
-						for (var i = 0; i < nodeArray.length; i++) {
-							var node = nodeArray[i];
-
-							if (this.positionedNodes[node.id] === undefined) {
-								var spacing = this.options.hierarchical.nodeSpacing;
-								var pos = spacing * handledNodeCount; // We get the X or Y values we need and store them in pos and previousPos.
-								// The get and set make sure we get X or Y
-
-								if (handledNodeCount > 0) {
-									pos = this.direction.getPosition(nodeArray[i - 1]) + spacing;
-								}
-
-								this.direction.setPosition(node, pos, level);
-
-								this._validatePositionAndContinue(node, level, pos);
-
-								handledNodeCount++;
-							}
-						}
-					}
-				}
-			}
-			/**
-			 * This is a recursively called function to enumerate the branches from the largest hubs and place the nodes
-			 * on a X position that ensures there will be no overlap.
-			 *
-			 * @param {Node.id} parentId
-			 * @param {number} parentLevel
-			 * @private
-			 */
-
-		}, {
-			key: "_placeBranchNodes",
-			value: function _placeBranchNodes(parentId, parentLevel) {
-				var _context2;
-
-				var childRef = this.hierarchical.childrenReference[parentId]; // if this is not a parent, cancel the placing. This can happen with multiple parents to one child.
-
-				if (childRef === undefined) {
-					return;
-				} // get a list of childNodes
-
-
-				var childNodes = [];
-
-				for (var i = 0; i < childRef.length; i++) {
-					childNodes.push(this.body.nodes[childRef[i]]);
-				} // use the positions to order the nodes.
-
-
-				sort(_context2 = this.direction).call(_context2, childNodes); // position the childNodes
-
-
-				for (var _i5 = 0; _i5 < childNodes.length; _i5++) {
-					var childNode = childNodes[_i5];
-					var childNodeLevel = this.hierarchical.levels[childNode.id]; // check if the child node is below the parent node and if it has already been positioned.
-
-					if (childNodeLevel > parentLevel && this.positionedNodes[childNode.id] === undefined) {
-						// get the amount of space required for this node. If parent the width is based on the amount of children.
-						var spacing = this.options.hierarchical.nodeSpacing;
-						var pos = void 0; // we get the X or Y values we need and store them in pos and previousPos.
-						// The get and set make sure we get X or Y
-
-						if (_i5 === 0) {
-							pos = this.direction.getPosition(this.body.nodes[parentId]);
-						} else {
-							pos = this.direction.getPosition(childNodes[_i5 - 1]) + spacing;
-						}
-
-						this.direction.setPosition(childNode, pos, childNodeLevel);
-
-						this._validatePositionAndContinue(childNode, childNodeLevel, pos);
-					} else {
-						return;
-					}
-				} // center the parent nodes.
-
-
-				var center = this._getCenterPosition(childNodes);
-
-				this.direction.setPosition(this.body.nodes[parentId], center, parentLevel);
-			}
-			/**
-			 * This method checks for overlap and if required shifts the branch. It also keeps records of positioned nodes.
-			 * Finally it will call _placeBranchNodes to place the branch nodes.
-			 *
-			 * @param {Node} node
-			 * @param {number} level
-			 * @param {number} pos
-			 * @private
-			 */
-
-		}, {
-			key: "_validatePositionAndContinue",
-			value: function _validatePositionAndContinue(node, level, pos) {
-				// This method only works for formal trees and formal forests
-				// Early exit if this is not the case
-				if (!this.hierarchical.isTree) return; // if overlap has been detected, we shift the branch
-
-				if (this.lastNodeOnLevel[level] !== undefined) {
-					var previousPos = this.direction.getPosition(this.body.nodes[this.lastNodeOnLevel[level]]);
-
-					if (pos - previousPos < this.options.hierarchical.nodeSpacing) {
-						var diff = previousPos + this.options.hierarchical.nodeSpacing - pos;
-
-						var sharedParent = this._findCommonParent(this.lastNodeOnLevel[level], node.id);
-
-						this._shiftBlock(sharedParent.withChild, diff);
-					}
-				}
-
-				this.lastNodeOnLevel[level] = node.id; // store change in position.
-
-				this.positionedNodes[node.id] = true;
-
-				this._placeBranchNodes(node.id, level);
-			}
-			/**
-			 * Receives an array with node indices and returns an array with the actual node references.
-			 * Used for sorting based on node properties.
-			 *
-			 * @param {Array.<Node.id>} idArray
-			 * @returns {Array.<Node>}
-			 */
-
-		}, {
-			key: "_indexArrayToNodes",
-			value: function _indexArrayToNodes(idArray) {
-				var array = [];
-
-				for (var i = 0; i < idArray.length; i++) {
-					array.push(this.body.nodes[idArray[i]]);
-				}
-
-				return array;
-			}
-			/**
-			 * This function get the distribution of levels based on hubsize
-			 *
-			 * @returns {object}
-			 * @private
-			 */
-
-		}, {
-			key: "_getDistribution",
-			value: function _getDistribution() {
-				var distribution = {};
-				var nodeId, node; // we fix Y because the hierarchy is vertical,
-				// we fix X so we do not give a node an x position for a second time.
-				// the fix of X is removed after the x value has been set.
-
-				for (nodeId in this.body.nodes) {
-					if (Object.prototype.hasOwnProperty.call(this.body.nodes, nodeId)) {
-						node = this.body.nodes[nodeId];
-						var level = this.hierarchical.levels[nodeId] === undefined ? 0 : this.hierarchical.levels[nodeId];
-						this.direction.fix(node, level);
-
-						if (distribution[level] === undefined) {
-							distribution[level] = {};
-						}
-
-						distribution[level][nodeId] = node;
-					}
-				}
-
-				return distribution;
-			}
-			/**
-			 * Return the active (i.e. visible) edges for this node
-			 *
-			 * @param {Node} node
-			 * @returns {Array.<vis.Edge>} Array of edge instances
-			 * @private
-			 */
-
-		}, {
-			key: "_getActiveEdges",
-			value: function _getActiveEdges(node) {
-				var _this4 = this;
-
-				var result = [];
-				forEach$1(node.edges, function (edge) {
-					var _context3;
-
-					if (indexOf(_context3 = _this4.body.edgeIndices).call(_context3, edge.id) !== -1) {
-						result.push(edge);
-					}
-				});
-				return result;
-			}
-			/**
-			 * Get the hubsizes for all active nodes.
-			 *
-			 * @returns {number}
-			 * @private
-			 */
-
-		}, {
-			key: "_getHubSizes",
-			value: function _getHubSizes() {
-				var _this5 = this;
-
-				var hubSizes = {};
-				var nodeIds = this.body.nodeIndices;
-				forEach$1(nodeIds, function (nodeId) {
-					var node = _this5.body.nodes[nodeId];
-
-					var hubSize = _this5._getActiveEdges(node).length;
-
-					hubSizes[hubSize] = true;
-				}); // Make an array of the size sorted descending
-
-				var result = [];
-				forEach$1(hubSizes, function (size) {
-					result.push(Number(size));
-				});
-
-				sort(timsort).call(timsort, result, function (a, b) {
-					return b - a;
-				});
-
-				return result;
-			}
-			/**
-			 * this function allocates nodes in levels based on the recursive branching from the largest hubs.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_determineLevelsByHubsize",
-			value: function _determineLevelsByHubsize() {
-				var _this6 = this;
-
-				var levelDownstream = function levelDownstream(nodeA, nodeB) {
-					_this6.hierarchical.levelDownstream(nodeA, nodeB);
-				};
-
-				var hubSizes = this._getHubSizes();
-
-				var _loop = function _loop(i) {
-					var hubSize = hubSizes[i];
-					if (hubSize === 0) return "break";
-					forEach$1(_this6.body.nodeIndices, function (nodeId) {
-						var node = _this6.body.nodes[nodeId];
-
-						if (hubSize === _this6._getActiveEdges(node).length) {
-							_this6._crawlNetwork(levelDownstream, nodeId);
-						}
-					});
-				};
-
-				for (var i = 0; i < hubSizes.length; ++i) {
-					var _ret = _loop(i);
-
-					if (_ret === "break") break;
-				}
-			}
-			/**
-			 * TODO: release feature
-			 * TODO: Determine if this feature is needed at all
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_determineLevelsCustomCallback",
-			value: function _determineLevelsCustomCallback() {
-				var _this7 = this;
-
-				var minLevel = 100000; // TODO: this should come from options.
-				// eslint-disable-next-line no-unused-vars -- This should eventually be implemented with these parameters used.
-
-				var customCallback = function customCallback(nodeA, nodeB, edge) { }; // TODO: perhaps move to HierarchicalStatus.
-				//       But I currently don't see the point, this method is not used.
-
-
-				var levelByDirection = function levelByDirection(nodeA, nodeB, edge) {
-					var levelA = _this7.hierarchical.levels[nodeA.id]; // set initial level
-
-					if (levelA === undefined) {
-						levelA = _this7.hierarchical.levels[nodeA.id] = minLevel;
-					}
-
-					var diff = customCallback(NetworkUtil.cloneOptions(nodeA, "node"), NetworkUtil.cloneOptions(nodeB, "node"), NetworkUtil.cloneOptions(edge, "edge"));
-					_this7.hierarchical.levels[nodeB.id] = levelA + diff;
-				};
-
-				this._crawlNetwork(levelByDirection);
-
-				this.hierarchical.setMinLevelToZero(this.body.nodes);
-			}
-			/**
-			 * Allocate nodes in levels based on the direction of the edges.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_determineLevelsDirected",
-			value: function _determineLevelsDirected() {
-				var _context4,
-					_this8 = this;
-
-				var nodes = reduce(_context4 = this.body.nodeIndices).call(_context4, function (acc, id) {
-					acc.set(id, _this8.body.nodes[id]);
-					return acc;
-				}, new map());
-
-				if (this.options.hierarchical.shakeTowards === "roots") {
-					this.hierarchical.levels = fillLevelsByDirectionRoots(nodes);
-				} else {
-					this.hierarchical.levels = fillLevelsByDirectionLeaves(nodes);
-				}
-
-				this.hierarchical.setMinLevelToZero(this.body.nodes);
-			}
-			/**
-			 * Update the bookkeeping of parent and child.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_generateMap",
-			value: function _generateMap() {
-				var _this9 = this;
-
-				var fillInRelations = function fillInRelations(parentNode, childNode) {
-					if (_this9.hierarchical.levels[childNode.id] > _this9.hierarchical.levels[parentNode.id]) {
-						_this9.hierarchical.addRelation(parentNode.id, childNode.id);
-					}
-				};
-
-				this._crawlNetwork(fillInRelations);
-
-				this.hierarchical.checkIfTree();
-			}
-			/**
-			 * Crawl over the entire network and use a callback on each node couple that is connected to each other.
-			 *
-			 * @param {Function} [callback=function(){}]          | will receive nodeA, nodeB and the connecting edge. A and B are distinct.
-			 * @param {Node.id} startingNodeId
-			 * @private
-			 */
-
-		}, {
-			key: "_crawlNetwork",
-			value: function _crawlNetwork() {
-				var _this10 = this;
-
-				var callback = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function () { };
-				var startingNodeId = arguments.length > 1 ? arguments[1] : undefined;
-				var progress = {};
-
-				var crawler = function crawler(node, tree) {
-					if (progress[node.id] === undefined) {
-						_this10.hierarchical.setTreeIndex(node, tree);
-
-						progress[node.id] = true;
-						var childNode;
-
-						var edges = _this10._getActiveEdges(node);
-
-						for (var i = 0; i < edges.length; i++) {
-							var edge = edges[i];
-
-							if (edge.connected === true) {
-								if (edge.toId == node.id) {
-									// Not '===' because id's can be string and numeric
-									childNode = edge.from;
-								} else {
-									childNode = edge.to;
-								}
-
-								if (node.id != childNode.id) {
-									// Not '!==' because id's can be string and numeric
-									callback(node, childNode, edge);
-									crawler(childNode, tree);
-								}
-							}
-						}
-					}
-				};
-
-				if (startingNodeId === undefined) {
-					// Crawl over all nodes
-					var treeIndex = 0; // Serves to pass a unique id for the current distinct tree
-
-					for (var i = 0; i < this.body.nodeIndices.length; i++) {
-						var nodeId = this.body.nodeIndices[i];
-
-						if (progress[nodeId] === undefined) {
-							var node = this.body.nodes[nodeId];
-							crawler(node, treeIndex);
-							treeIndex += 1;
-						}
-					}
-				} else {
-					// Crawl from the given starting node
-					var _node2 = this.body.nodes[startingNodeId];
-
-					if (_node2 === undefined) {
-						console.error("Node not found:", startingNodeId);
-						return;
-					}
-
-					crawler(_node2);
-				}
-			}
-			/**
-			 * Shift a branch a certain distance
-			 *
-			 * @param {Node.id} parentId
-			 * @param {number} diff
-			 * @private
-			 */
-
-		}, {
-			key: "_shiftBlock",
-			value: function _shiftBlock(parentId, diff) {
-				var _this11 = this;
-
-				var progress = {};
-
-				var shifter = function shifter(parentId) {
-					if (progress[parentId]) {
-						return;
-					}
-
-					progress[parentId] = true;
-
-					_this11.direction.shift(parentId, diff);
-
-					var childRef = _this11.hierarchical.childrenReference[parentId];
-
-					if (childRef !== undefined) {
-						for (var i = 0; i < childRef.length; i++) {
-							shifter(childRef[i]);
-						}
-					}
-				};
-
-				shifter(parentId);
-			}
-			/**
-			 * Find a common parent between branches.
-			 *
-			 * @param {Node.id} childA
-			 * @param {Node.id} childB
-			 * @returns {{foundParent, withChild}}
-			 * @private
-			 */
-
-		}, {
-			key: "_findCommonParent",
-			value: function _findCommonParent(childA, childB) {
-				var _this12 = this;
-
-				var parents = {};
-
-				var iterateParents = function iterateParents(parents, child) {
-					var parentRef = _this12.hierarchical.parentReference[child];
-
-					if (parentRef !== undefined) {
-						for (var i = 0; i < parentRef.length; i++) {
-							var parent = parentRef[i];
-							parents[parent] = true;
-							iterateParents(parents, parent);
-						}
-					}
-				};
-
-				var findParent = function findParent(parents, child) {
-					var parentRef = _this12.hierarchical.parentReference[child];
-
-					if (parentRef !== undefined) {
-						for (var i = 0; i < parentRef.length; i++) {
-							var parent = parentRef[i];
-
-							if (parents[parent] !== undefined) {
-								return {
-									foundParent: parent,
-									withChild: child
-								};
-							}
-
-							var branch = findParent(parents, parent);
-
-							if (branch.foundParent !== null) {
-								return branch;
-							}
-						}
-					}
-
-					return {
-						foundParent: null,
-						withChild: child
-					};
-				};
-
-				iterateParents(parents, childA);
-				return findParent(parents, childB);
-			}
-			/**
-			 * Set the strategy pattern for handling the coordinates given the current direction.
-			 *
-			 * The individual instances contain all the operations and data specific to a layout direction.
-			 *
-			 * @param {Node} node
-			 * @param {{x: number, y: number}} position
-			 * @param {number} level
-			 * @param {boolean} [doNotUpdate=false]
-			 * @private
-			 */
-
-		}, {
-			key: "setDirectionStrategy",
-			value: function setDirectionStrategy() {
-				var isVertical = this.options.hierarchical.direction === "UD" || this.options.hierarchical.direction === "DU";
-
-				if (isVertical) {
-					this.direction = new VerticalStrategy(this);
-				} else {
-					this.direction = new HorizontalStrategy(this);
-				}
-			}
-			/**
-			 * Determine the center position of a branch from the passed list of child nodes
-			 *
-			 * This takes into account the positions of all the child nodes.
-			 *
-			 * @param {Array.<Node|vis.Node.id>} childNodes  Array of either child nodes or node id's
-			 * @returns {number}
-			 * @private
-			 */
-
-		}, {
-			key: "_getCenterPosition",
-			value: function _getCenterPosition(childNodes) {
-				var minPos = 1e9;
-				var maxPos = -1e9;
-
-				for (var i = 0; i < childNodes.length; i++) {
-					var childNode = void 0;
-
-					if (childNodes[i].id !== undefined) {
-						childNode = childNodes[i];
-					} else {
-						var childNodeId = childNodes[i];
-						childNode = this.body.nodes[childNodeId];
-					}
-
-					var position = this.direction.getPosition(childNode);
-					minPos = Math.min(minPos, position);
-					maxPos = Math.max(maxPos, position);
-				}
-
-				return 0.5 * (minPos + maxPos);
-			}
-		}]);
-
-		return LayoutEngine;
-	}();
-
-	function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof symbol !== "undefined" && getIteratorMethod$1(o) || o["@@iterator"]; if (!it) { if (isArray$2(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() { }; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
-
-	function _unsupportedIterableToArray(o, minLen) { var _context32; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = slice(_context32 = Object.prototype.toString.call(o)).call(_context32, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return from$3(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
-
-	function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
-	/**
-	 * Clears the toolbar div element of children
-	 *
-	 * @private
-	 */
-
-	var ManipulationSystem = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {Canvas} canvas
-		 * @param {SelectionHandler} selectionHandler
-		 * @param {InteractionHandler} interactionHandler
-		 */
-		function ManipulationSystem(body, canvas, selectionHandler, interactionHandler) {
-			var _this = this,
-				_context,
-				_context2;
-
-			_classCallCheck(this, ManipulationSystem);
-
-			this.body = body;
-			this.canvas = canvas;
-			this.selectionHandler = selectionHandler;
-			this.interactionHandler = interactionHandler;
-			this.editMode = false;
-			this.manipulationDiv = undefined;
-			this.editModeDiv = undefined;
-			this.closeDiv = undefined;
-			this._domEventListenerCleanupQueue = [];
-			this.temporaryUIFunctions = {};
-			this.temporaryEventFunctions = [];
-			this.touchTime = 0;
-			this.temporaryIds = {
-				nodes: [],
-				edges: []
-			};
-			this.guiEnabled = false;
-			this.inMode = false;
-			this.selectedControlNode = undefined;
-			this.options = {};
-			this.defaultOptions = {
-				enabled: false,
-				initiallyActive: false,
-				addNode: true,
-				addEdge: true,
-				editNode: undefined,
-				editEdge: true,
-				deleteNode: true,
-				deleteEdge: true,
-				controlNodeStyle: {
-					shape: "dot",
-					size: 6,
-					color: {
-						background: "#ff0000",
-						border: "#3c3c3c",
-						highlight: {
-							background: "#07f968",
-							border: "#3c3c3c"
-						}
-					},
-					borderWidth: 2,
-					borderWidthSelected: 2
-				}
-			};
-
-			assign$2(this.options, this.defaultOptions);
-
-			this.body.emitter.on("destroy", function () {
-				_this._clean();
-			});
-			this.body.emitter.on("_dataChanged", bind$6(_context = this._restore).call(_context, this));
-			this.body.emitter.on("_resetData", bind$6(_context2 = this._restore).call(_context2, this));
-		}
-		/**
-		 * If something changes in the data during editing, switch back to the initial datamanipulation state and close all edit modes.
-		 *
-		 * @private
-		 */
-
-
-		_createClass(ManipulationSystem, [{
-			key: "_restore",
-			value: function _restore() {
-				if (this.inMode !== false) {
-					if (this.options.initiallyActive === true) {
-						this.enableEditMode();
-					} else {
-						this.disableEditMode();
-					}
-				}
-			}
-			/**
-			 * Set the Options
-			 *
-			 * @param {object} options
-			 * @param {object} allOptions
-			 * @param {object} globalOptions
-			 */
-
-		}, {
-			key: "setOptions",
-			value: function setOptions(options, allOptions, globalOptions) {
-				if (allOptions !== undefined) {
-					if (allOptions.locale !== undefined) {
-						this.options.locale = allOptions.locale;
-					} else {
-						this.options.locale = globalOptions.locale;
-					}
-
-					if (allOptions.locales !== undefined) {
-						this.options.locales = allOptions.locales;
-					} else {
-						this.options.locales = globalOptions.locales;
-					}
-				}
-
-				if (options !== undefined) {
-					if (typeof options === "boolean") {
-						this.options.enabled = options;
-					} else {
-						this.options.enabled = true;
-						deepExtend(this.options, options);
-					}
-
-					if (this.options.initiallyActive === true) {
-						this.editMode = true;
-					}
-
-					this._setup();
-				}
-			}
-			/**
-			 * Enable or disable edit-mode. Draws the DOM required and cleans up after itself.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "toggleEditMode",
-			value: function toggleEditMode() {
-				if (this.editMode === true) {
-					this.disableEditMode();
-				} else {
-					this.enableEditMode();
-				}
-			}
-			/**
-			 * Enables Edit Mode
-			 */
-
-		}, {
-			key: "enableEditMode",
-			value: function enableEditMode() {
-				this.editMode = true;
-
-				this._clean();
-
-				if (this.guiEnabled === true) {
-					this.manipulationDiv.style.display = "block";
-					this.closeDiv.style.display = "block";
-					this.editModeDiv.style.display = "none";
-					this.showManipulatorToolbar();
-				}
-			}
-			/**
-			 * Disables Edit Mode
-			 */
-
-		}, {
-			key: "disableEditMode",
-			value: function disableEditMode() {
-				this.editMode = false;
-
-				this._clean();
-
-				if (this.guiEnabled === true) {
-					this.manipulationDiv.style.display = "none";
-					this.closeDiv.style.display = "none";
-					this.editModeDiv.style.display = "block";
-
-					this._createEditButton();
-				}
-			}
-			/**
-			 * Creates the main toolbar. Removes functions bound to the select event. Binds all the buttons of the toolbar.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "showManipulatorToolbar",
-			value: function showManipulatorToolbar() {
-				// restore the state of any bound functions or events, remove control nodes, restore physics
-				this._clean(); // reset global variables
-
-
-				this.manipulationDOM = {}; // if the gui is enabled, draw all elements.
-
-				if (this.guiEnabled === true) {
-					var _context3, _context4;
-
-					// a _restore will hide these menus
-					this.editMode = true;
-					this.manipulationDiv.style.display = "block";
-					this.closeDiv.style.display = "block";
-					var selectedNodeCount = this.selectionHandler.getSelectedNodeCount();
-					var selectedEdgeCount = this.selectionHandler.getSelectedEdgeCount();
-					var selectedTotalCount = selectedNodeCount + selectedEdgeCount;
-					var locale = this.options.locales[this.options.locale];
-					var needSeperator = false;
-
-					if (this.options.addNode !== false) {
-						this._createAddNodeButton(locale);
-
-						needSeperator = true;
-					}
-
-					if (this.options.addEdge !== false) {
-						if (needSeperator === true) {
-							this._createSeperator(1);
-						} else {
-							needSeperator = true;
-						}
-
-						this._createAddEdgeButton(locale);
-					}
-
-					if (selectedNodeCount === 1 && typeof this.options.editNode === "function") {
-						if (needSeperator === true) {
-							this._createSeperator(2);
-						} else {
-							needSeperator = true;
-						}
-
-						this._createEditNodeButton(locale);
-					} else if (selectedEdgeCount === 1 && selectedNodeCount === 0 && this.options.editEdge !== false) {
-						if (needSeperator === true) {
-							this._createSeperator(3);
-						} else {
-							needSeperator = true;
-						}
-
-						this._createEditEdgeButton(locale);
-					} // remove buttons
-
-
-					if (selectedTotalCount !== 0) {
-						if (selectedNodeCount > 0 && this.options.deleteNode !== false) {
-							if (needSeperator === true) {
-								this._createSeperator(4);
-							}
-
-							this._createDeleteButton(locale);
-						} else if (selectedNodeCount === 0 && this.options.deleteEdge !== false) {
-							if (needSeperator === true) {
-								this._createSeperator(4);
-							}
-
-							this._createDeleteButton(locale);
-						}
-					} // bind the close button
-
-
-					this._bindElementEvents(this.closeDiv, bind$6(_context3 = this.toggleEditMode).call(_context3, this)); // refresh this bar based on what has been selected
-
-
-					this._temporaryBindEvent("select", bind$6(_context4 = this.showManipulatorToolbar).call(_context4, this));
-				} // redraw to show any possible changes
-
-
-				this.body.emitter.emit("_redraw");
-			}
-			/**
-			 * Create the toolbar for adding Nodes
-			 */
-
-		}, {
-			key: "addNodeMode",
-			value: function addNodeMode() {
-				var _context6;
-
-				// when using the gui, enable edit mode if it wasnt already.
-				if (this.editMode !== true) {
-					this.enableEditMode();
-				} // restore the state of any bound functions or events, remove control nodes, restore physics
-
-
-				this._clean();
-
-				this.inMode = "addNode";
-
-				if (this.guiEnabled === true) {
-					var _context5;
-
-					var locale = this.options.locales[this.options.locale];
-					this.manipulationDOM = {};
-
-					this._createBackButton(locale);
-
-					this._createSeperator();
-
-					this._createDescription(locale["addDescription"] || this.options.locales["en"]["addDescription"]); // bind the close button
-
-
-					this._bindElementEvents(this.closeDiv, bind$6(_context5 = this.toggleEditMode).call(_context5, this));
-				}
-
-				this._temporaryBindEvent("click", bind$6(_context6 = this._performAddNode).call(_context6, this));
-			}
-			/**
-			 * call the bound function to handle the editing of the node. The node has to be selected.
-			 */
-
-		}, {
-			key: "editNode",
-			value: function editNode() {
-				var _this2 = this;
-
-				// when using the gui, enable edit mode if it wasnt already.
-				if (this.editMode !== true) {
-					this.enableEditMode();
-				} // restore the state of any bound functions or events, remove control nodes, restore physics
-
-
-				this._clean();
-
-				var node = this.selectionHandler.getSelectedNodes()[0];
-
-				if (node !== undefined) {
-					this.inMode = "editNode";
-
-					if (typeof this.options.editNode === "function") {
-						if (node.isCluster !== true) {
-							var data = deepExtend({}, node.options, false);
-							data.x = node.x;
-							data.y = node.y;
-
-							if (this.options.editNode.length === 2) {
-								this.options.editNode(data, function (finalizedData) {
-									if (finalizedData !== null && finalizedData !== undefined && _this2.inMode === "editNode") {
-										// if for whatever reason the mode has changes (due to dataset change) disregard the callback) {
-										_this2.body.data.nodes.getDataSet().update(finalizedData);
-									}
-
-									_this2.showManipulatorToolbar();
-								});
-							} else {
-								throw new Error("The function for edit does not support two arguments (data, callback)");
-							}
-						} else {
-							alert(this.options.locales[this.options.locale]["editClusterError"] || this.options.locales["en"]["editClusterError"]);
-						}
-					} else {
-						throw new Error("No function has been configured to handle the editing of nodes.");
-					}
-				} else {
-					this.showManipulatorToolbar();
-				}
-			}
-			/**
-			 * create the toolbar to connect nodes
-			 */
-
-		}, {
-			key: "addEdgeMode",
-			value: function addEdgeMode() {
-				var _context8, _context9, _context10, _context11, _context12;
-
-				// when using the gui, enable edit mode if it wasnt already.
-				if (this.editMode !== true) {
-					this.enableEditMode();
-				} // restore the state of any bound functions or events, remove control nodes, restore physics
-
-
-				this._clean();
-
-				this.inMode = "addEdge";
-
-				if (this.guiEnabled === true) {
-					var _context7;
-
-					var locale = this.options.locales[this.options.locale];
-					this.manipulationDOM = {};
-
-					this._createBackButton(locale);
-
-					this._createSeperator();
-
-					this._createDescription(locale["edgeDescription"] || this.options.locales["en"]["edgeDescription"]); // bind the close button
-
-
-					this._bindElementEvents(this.closeDiv, bind$6(_context7 = this.toggleEditMode).call(_context7, this));
-				} // temporarily overload functions
-
-
-				this._temporaryBindUI("onTouch", bind$6(_context8 = this._handleConnect).call(_context8, this));
-
-				this._temporaryBindUI("onDragEnd", bind$6(_context9 = this._finishConnect).call(_context9, this));
-
-				this._temporaryBindUI("onDrag", bind$6(_context10 = this._dragControlNode).call(_context10, this));
-
-				this._temporaryBindUI("onRelease", bind$6(_context11 = this._finishConnect).call(_context11, this));
-
-				this._temporaryBindUI("onDragStart", bind$6(_context12 = this._dragStartEdge).call(_context12, this));
-
-				this._temporaryBindUI("onHold", function () { });
-			}
-			/**
-			 * create the toolbar to edit edges
-			 */
-
-		}, {
-			key: "editEdgeMode",
-			value: function editEdgeMode() {
-				// when using the gui, enable edit mode if it wasn't already.
-				if (this.editMode !== true) {
-					this.enableEditMode();
-				} // restore the state of any bound functions or events, remove control nodes, restore physics
-
-
-				this._clean();
-
-				this.inMode = "editEdge";
-
-				if (_typeof(this.options.editEdge) === "object" && typeof this.options.editEdge.editWithoutDrag === "function") {
-					this.edgeBeingEditedId = this.selectionHandler.getSelectedEdgeIds()[0];
-
-					if (this.edgeBeingEditedId !== undefined) {
-						var edge = this.body.edges[this.edgeBeingEditedId];
-
-						this._performEditEdge(edge.from.id, edge.to.id);
-
-						return;
-					}
-				}
-
-				if (this.guiEnabled === true) {
-					var _context13;
-
-					var locale = this.options.locales[this.options.locale];
-					this.manipulationDOM = {};
-
-					this._createBackButton(locale);
-
-					this._createSeperator();
-
-					this._createDescription(locale["editEdgeDescription"] || this.options.locales["en"]["editEdgeDescription"]); // bind the close button
-
-
-					this._bindElementEvents(this.closeDiv, bind$6(_context13 = this.toggleEditMode).call(_context13, this));
-				}
-
-				this.edgeBeingEditedId = this.selectionHandler.getSelectedEdgeIds()[0];
-
-				if (this.edgeBeingEditedId !== undefined) {
-					var _context14, _context15, _context16, _context17;
-
-					var _edge = this.body.edges[this.edgeBeingEditedId]; // create control nodes
-
-					var controlNodeFrom = this._getNewTargetNode(_edge.from.x, _edge.from.y);
-
-					var controlNodeTo = this._getNewTargetNode(_edge.to.x, _edge.to.y);
-
-					this.temporaryIds.nodes.push(controlNodeFrom.id);
-					this.temporaryIds.nodes.push(controlNodeTo.id);
-					this.body.nodes[controlNodeFrom.id] = controlNodeFrom;
-					this.body.nodeIndices.push(controlNodeFrom.id);
-					this.body.nodes[controlNodeTo.id] = controlNodeTo;
-					this.body.nodeIndices.push(controlNodeTo.id); // temporarily overload UI functions, cleaned up automatically because of _temporaryBindUI
-
-					this._temporaryBindUI("onTouch", bind$6(_context14 = this._controlNodeTouch).call(_context14, this)); // used to get the position
-
-
-					this._temporaryBindUI("onTap", function () { }); // disabled
-
-
-					this._temporaryBindUI("onHold", function () { }); // disabled
-
-
-					this._temporaryBindUI("onDragStart", bind$6(_context15 = this._controlNodeDragStart).call(_context15, this)); // used to select control node
-
-
-					this._temporaryBindUI("onDrag", bind$6(_context16 = this._controlNodeDrag).call(_context16, this)); // used to drag control node
-
-
-					this._temporaryBindUI("onDragEnd", bind$6(_context17 = this._controlNodeDragEnd).call(_context17, this)); // used to connect or revert control nodes
-
-
-					this._temporaryBindUI("onMouseMove", function () { }); // disabled
-					// create function to position control nodes correctly on movement
-					// automatically cleaned up because we use the temporary bind
-
-
-					this._temporaryBindEvent("beforeDrawing", function (ctx) {
-						var positions = _edge.edgeType.findBorderPositions(ctx);
-
-						if (controlNodeFrom.selected === false) {
-							controlNodeFrom.x = positions.from.x;
-							controlNodeFrom.y = positions.from.y;
-						}
-
-						if (controlNodeTo.selected === false) {
-							controlNodeTo.x = positions.to.x;
-							controlNodeTo.y = positions.to.y;
-						}
-					});
-
-					this.body.emitter.emit("_redraw");
-				} else {
-					this.showManipulatorToolbar();
-				}
-			}
-			/**
-			 * delete everything in the selection
-			 */
-
-		}, {
-			key: "deleteSelected",
-			value: function deleteSelected() {
-				var _this3 = this;
-
-				// when using the gui, enable edit mode if it wasnt already.
-				if (this.editMode !== true) {
-					this.enableEditMode();
-				} // restore the state of any bound functions or events, remove control nodes, restore physics
-
-
-				this._clean();
-
-				this.inMode = "delete";
-				var selectedNodes = this.selectionHandler.getSelectedNodeIds();
-				var selectedEdges = this.selectionHandler.getSelectedEdgeIds();
-				var deleteFunction = undefined;
-
-				if (selectedNodes.length > 0) {
-					for (var i = 0; i < selectedNodes.length; i++) {
-						if (this.body.nodes[selectedNodes[i]].isCluster === true) {
-							alert(this.options.locales[this.options.locale]["deleteClusterError"] || this.options.locales["en"]["deleteClusterError"]);
-							return;
-						}
-					}
-
-					if (typeof this.options.deleteNode === "function") {
-						deleteFunction = this.options.deleteNode;
-					}
-				} else if (selectedEdges.length > 0) {
-					if (typeof this.options.deleteEdge === "function") {
-						deleteFunction = this.options.deleteEdge;
-					}
-				}
-
-				if (typeof deleteFunction === "function") {
-					var data = {
-						nodes: selectedNodes,
-						edges: selectedEdges
-					};
-
-					if (deleteFunction.length === 2) {
-						deleteFunction(data, function (finalizedData) {
-							if (finalizedData !== null && finalizedData !== undefined && _this3.inMode === "delete") {
-								// if for whatever reason the mode has changes (due to dataset change) disregard the callback) {
-								_this3.body.data.edges.getDataSet().remove(finalizedData.edges);
-
-								_this3.body.data.nodes.getDataSet().remove(finalizedData.nodes);
-
-								_this3.body.emitter.emit("startSimulation");
-
-								_this3.showManipulatorToolbar();
-							} else {
-								_this3.body.emitter.emit("startSimulation");
-
-								_this3.showManipulatorToolbar();
-							}
-						});
-					} else {
-						throw new Error("The function for delete does not support two arguments (data, callback)");
-					}
-				} else {
-					this.body.data.edges.getDataSet().remove(selectedEdges);
-					this.body.data.nodes.getDataSet().remove(selectedNodes);
-					this.body.emitter.emit("startSimulation");
-					this.showManipulatorToolbar();
-				}
-			} //********************************************** PRIVATE ***************************************//
-
-			/**
-			 * draw or remove the DOM
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_setup",
-			value: function _setup() {
-				if (this.options.enabled === true) {
-					// Enable the GUI
-					this.guiEnabled = true;
-
-					this._createWrappers();
-
-					if (this.editMode === false) {
-						this._createEditButton();
-					} else {
-						this.showManipulatorToolbar();
-					}
-				} else {
-					this._removeManipulationDOM(); // disable the gui
-
-
-					this.guiEnabled = false;
-				}
-			}
-			/**
-			 * create the div overlays that contain the DOM
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_createWrappers",
-			value: function _createWrappers() {
-				// load the manipulator HTML elements. All styling done in css.
-				if (this.manipulationDiv === undefined) {
-					this.manipulationDiv = document.createElement("div");
-					this.manipulationDiv.className = "vis-manipulation";
-
-					if (this.editMode === true) {
-						this.manipulationDiv.style.display = "block";
-					} else {
-						this.manipulationDiv.style.display = "none";
-					}
-
-					this.canvas.frame.appendChild(this.manipulationDiv);
-				} // container for the edit button.
-
-
-				if (this.editModeDiv === undefined) {
-					this.editModeDiv = document.createElement("div");
-					this.editModeDiv.className = "vis-edit-mode";
-
-					if (this.editMode === true) {
-						this.editModeDiv.style.display = "none";
-					} else {
-						this.editModeDiv.style.display = "block";
-					}
-
-					this.canvas.frame.appendChild(this.editModeDiv);
-				} // container for the close div button
-
-
-				if (this.closeDiv === undefined) {
-					var _this$options$locales, _this$options$locales2;
-
-					this.closeDiv = document.createElement("button");
-					this.closeDiv.className = "vis-close";
-					this.closeDiv.setAttribute("aria-label", (_this$options$locales = (_this$options$locales2 = this.options.locales[this.options.locale]) === null || _this$options$locales2 === void 0 ? void 0 : _this$options$locales2["close"]) !== null && _this$options$locales !== void 0 ? _this$options$locales : this.options.locales["en"]["close"]);
-					this.closeDiv.style.display = this.manipulationDiv.style.display;
-					this.canvas.frame.appendChild(this.closeDiv);
-				}
-			}
-			/**
-			 * generate a new target node. Used for creating new edges and editing edges
-			 *
-			 * @param {number} x
-			 * @param {number} y
-			 * @returns {Node}
-			 * @private
-			 */
-
-		}, {
-			key: "_getNewTargetNode",
-			value: function _getNewTargetNode(x, y) {
-				var controlNodeStyle = deepExtend({}, this.options.controlNodeStyle);
-				controlNodeStyle.id = "targetNode" + v4();
-				controlNodeStyle.hidden = false;
-				controlNodeStyle.physics = false;
-				controlNodeStyle.x = x;
-				controlNodeStyle.y = y; // we have to define the bounding box in order for the nodes to be drawn immediately
-
-				var node = this.body.functions.createNode(controlNodeStyle);
-				node.shape.boundingBox = {
-					left: x,
-					right: x,
-					top: y,
-					bottom: y
-				};
-				return node;
-			}
-			/**
-			 * Create the edit button
-			 */
-
-		}, {
-			key: "_createEditButton",
-			value: function _createEditButton() {
-				var _context18;
-
-				// restore everything to it's original state (if applicable)
-				this._clean(); // reset the manipulationDOM
-
-
-				this.manipulationDOM = {}; // empty the editModeDiv
-
-				recursiveDOMDelete(this.editModeDiv); // create the contents for the editMode button
-
-				var locale = this.options.locales[this.options.locale];
-
-				var button = this._createButton("editMode", "vis-edit vis-edit-mode", locale["edit"] || this.options.locales["en"]["edit"]);
-
-				this.editModeDiv.appendChild(button); // bind a hammer listener to the button, calling the function toggleEditMode.
-
-				this._bindElementEvents(button, bind$6(_context18 = this.toggleEditMode).call(_context18, this));
-			}
-			/**
-			 * this function cleans up after everything this module does. Temporary elements, functions and events are removed, physics restored, hammers removed.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_clean",
-			value: function _clean() {
-				// not in mode
-				this.inMode = false; // _clean the divs
-
-				if (this.guiEnabled === true) {
-					recursiveDOMDelete(this.editModeDiv);
-					recursiveDOMDelete(this.manipulationDiv); // removes all the bindings and overloads
-
-					this._cleanupDOMEventListeners();
-				} // remove temporary nodes and edges
-
-
-				this._cleanupTemporaryNodesAndEdges(); // restore overloaded UI functions
-
-
-				this._unbindTemporaryUIs(); // remove the temporaryEventFunctions
-
-
-				this._unbindTemporaryEvents(); // restore the physics if required
-
-
-				this.body.emitter.emit("restorePhysics");
-			}
-			/**
-			 * Each dom element has it's own hammer. They are stored in this.manipulationHammers. This cleans them up.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_cleanupDOMEventListeners",
-			value: function _cleanupDOMEventListeners() {
-				var _context19;
-
-				// _clean DOM event listener bindings
-				var _iterator = _createForOfIteratorHelper(splice$1(_context19 = this._domEventListenerCleanupQueue).call(_context19, 0)),
-					_step;
-
-				try {
-					for (_iterator.s(); !(_step = _iterator.n()).done;) {
-						var callback = _step.value;
-						callback();
-					}
-				} catch (err) {
-					_iterator.e(err);
-				} finally {
-					_iterator.f();
-				}
-			}
-			/**
-			 * Remove all DOM elements created by this module.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_removeManipulationDOM",
-			value: function _removeManipulationDOM() {
-				// removes all the bindings and overloads
-				this._clean(); // empty the manipulation divs
-
-
-				recursiveDOMDelete(this.manipulationDiv);
-				recursiveDOMDelete(this.editModeDiv);
-				recursiveDOMDelete(this.closeDiv); // remove the manipulation divs
-
-				if (this.manipulationDiv) {
-					this.canvas.frame.removeChild(this.manipulationDiv);
-				}
-
-				if (this.editModeDiv) {
-					this.canvas.frame.removeChild(this.editModeDiv);
-				}
-
-				if (this.closeDiv) {
-					this.canvas.frame.removeChild(this.closeDiv);
-				} // set the references to undefined
-
-
-				this.manipulationDiv = undefined;
-				this.editModeDiv = undefined;
-				this.closeDiv = undefined;
-			}
-			/**
-			 * create a seperator line. the index is to differentiate in the manipulation dom
-			 *
-			 * @param {number} [index=1]
-			 * @private
-			 */
-
-		}, {
-			key: "_createSeperator",
-			value: function _createSeperator() {
-				var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
-				this.manipulationDOM["seperatorLineDiv" + index] = document.createElement("div");
-				this.manipulationDOM["seperatorLineDiv" + index].className = "vis-separator-line";
-				this.manipulationDiv.appendChild(this.manipulationDOM["seperatorLineDiv" + index]);
-			} // ----------------------    DOM functions for buttons    --------------------------//
-
-			/**
-			 *
-			 * @param {Locale} locale
-			 * @private
-			 */
-
-		}, {
-			key: "_createAddNodeButton",
-			value: function _createAddNodeButton(locale) {
-				var _context20;
-
-				var button = this._createButton("addNode", "vis-add", locale["addNode"] || this.options.locales["en"]["addNode"]);
-
-				this.manipulationDiv.appendChild(button);
-
-				this._bindElementEvents(button, bind$6(_context20 = this.addNodeMode).call(_context20, this));
-			}
-			/**
-			 *
-			 * @param {Locale} locale
-			 * @private
-			 */
-
-		}, {
-			key: "_createAddEdgeButton",
-			value: function _createAddEdgeButton(locale) {
-				var _context21;
-
-				var button = this._createButton("addEdge", "vis-connect", locale["addEdge"] || this.options.locales["en"]["addEdge"]);
-
-				this.manipulationDiv.appendChild(button);
-
-				this._bindElementEvents(button, bind$6(_context21 = this.addEdgeMode).call(_context21, this));
-			}
-			/**
-			 *
-			 * @param {Locale} locale
-			 * @private
-			 */
-
-		}, {
-			key: "_createEditNodeButton",
-			value: function _createEditNodeButton(locale) {
-				var _context22;
-
-				var button = this._createButton("editNode", "vis-edit", locale["editNode"] || this.options.locales["en"]["editNode"]);
-
-				this.manipulationDiv.appendChild(button);
-
-				this._bindElementEvents(button, bind$6(_context22 = this.editNode).call(_context22, this));
-			}
-			/**
-			 *
-			 * @param {Locale} locale
-			 * @private
-			 */
-
-		}, {
-			key: "_createEditEdgeButton",
-			value: function _createEditEdgeButton(locale) {
-				var _context23;
-
-				var button = this._createButton("editEdge", "vis-edit", locale["editEdge"] || this.options.locales["en"]["editEdge"]);
-
-				this.manipulationDiv.appendChild(button);
-
-				this._bindElementEvents(button, bind$6(_context23 = this.editEdgeMode).call(_context23, this));
-			}
-			/**
-			 *
-			 * @param {Locale} locale
-			 * @private
-			 */
-
-		}, {
-			key: "_createDeleteButton",
-			value: function _createDeleteButton(locale) {
-				var _context24;
-
-				var deleteBtnClass;
-
-				if (this.options.rtl) {
-					deleteBtnClass = "vis-delete-rtl";
-				} else {
-					deleteBtnClass = "vis-delete";
-				}
-
-				var button = this._createButton("delete", deleteBtnClass, locale["del"] || this.options.locales["en"]["del"]);
-
-				this.manipulationDiv.appendChild(button);
-
-				this._bindElementEvents(button, bind$6(_context24 = this.deleteSelected).call(_context24, this));
-			}
-			/**
-			 *
-			 * @param {Locale} locale
-			 * @private
-			 */
-
-		}, {
-			key: "_createBackButton",
-			value: function _createBackButton(locale) {
-				var _context25;
-
-				var button = this._createButton("back", "vis-back", locale["back"] || this.options.locales["en"]["back"]);
-
-				this.manipulationDiv.appendChild(button);
-
-				this._bindElementEvents(button, bind$6(_context25 = this.showManipulatorToolbar).call(_context25, this));
-			}
-			/**
-			 *
-			 * @param {number|string} id
-			 * @param {string} className
-			 * @param {label} label
-			 * @param {string} labelClassName
-			 * @returns {HTMLElement}
-			 * @private
-			 */
-
-		}, {
-			key: "_createButton",
-			value: function _createButton(id, className, label) {
-				var labelClassName = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "vis-label";
-				this.manipulationDOM[id + "Div"] = document.createElement("button");
-				this.manipulationDOM[id + "Div"].className = "vis-button " + className;
-				this.manipulationDOM[id + "Label"] = document.createElement("div");
-				this.manipulationDOM[id + "Label"].className = labelClassName;
-				this.manipulationDOM[id + "Label"].innerText = label;
-				this.manipulationDOM[id + "Div"].appendChild(this.manipulationDOM[id + "Label"]);
-				return this.manipulationDOM[id + "Div"];
-			}
-			/**
-			 *
-			 * @param {Label} label
-			 * @private
-			 */
-
-		}, {
-			key: "_createDescription",
-			value: function _createDescription(label) {
-				this.manipulationDOM["descriptionLabel"] = document.createElement("div");
-				this.manipulationDOM["descriptionLabel"].className = "vis-none";
-				this.manipulationDOM["descriptionLabel"].innerText = label;
-				this.manipulationDiv.appendChild(this.manipulationDOM["descriptionLabel"]);
-			} // -------------------------- End of DOM functions for buttons ------------------------------//
-
-			/**
-			 * this binds an event until cleanup by the clean functions.
-			 *
-			 * @param {Event}  event   The event
-			 * @param {Function} newFunction
-			 * @private
-			 */
-
-		}, {
-			key: "_temporaryBindEvent",
-			value: function _temporaryBindEvent(event, newFunction) {
-				this.temporaryEventFunctions.push({
-					event: event,
-					boundFunction: newFunction
-				});
-				this.body.emitter.on(event, newFunction);
-			}
-			/**
-			 * this overrides an UI function until cleanup by the clean function
-			 *
-			 * @param {string} UIfunctionName
-			 * @param {Function} newFunction
-			 * @private
-			 */
-
-		}, {
-			key: "_temporaryBindUI",
-			value: function _temporaryBindUI(UIfunctionName, newFunction) {
-				if (this.body.eventListeners[UIfunctionName] !== undefined) {
-					this.temporaryUIFunctions[UIfunctionName] = this.body.eventListeners[UIfunctionName];
-					this.body.eventListeners[UIfunctionName] = newFunction;
-				} else {
-					throw new Error("This UI function does not exist. Typo? You tried: " + UIfunctionName + " possible are: " + stringify$1(keys$4(this.body.eventListeners)));
-				}
-			}
-			/**
-			 * Restore the overridden UI functions to their original state.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_unbindTemporaryUIs",
-			value: function _unbindTemporaryUIs() {
-				for (var functionName in this.temporaryUIFunctions) {
-					if (Object.prototype.hasOwnProperty.call(this.temporaryUIFunctions, functionName)) {
-						this.body.eventListeners[functionName] = this.temporaryUIFunctions[functionName];
-						delete this.temporaryUIFunctions[functionName];
-					}
-				}
-
-				this.temporaryUIFunctions = {};
-			}
-			/**
-			 * Unbind the events created by _temporaryBindEvent
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_unbindTemporaryEvents",
-			value: function _unbindTemporaryEvents() {
-				for (var i = 0; i < this.temporaryEventFunctions.length; i++) {
-					var eventName = this.temporaryEventFunctions[i].event;
-					var boundFunction = this.temporaryEventFunctions[i].boundFunction;
-					this.body.emitter.off(eventName, boundFunction);
-				}
-
-				this.temporaryEventFunctions = [];
-			}
-			/**
-			 * Bind an hammer instance to a DOM element.
-			 *
-			 * @param {Element} domElement
-			 * @param {Function} boundFunction
-			 */
-
-		}, {
-			key: "_bindElementEvents",
-			value: function _bindElementEvents(domElement, boundFunction) {
-				// Bind touch events.
-				var hammer = new Hammer(domElement, {});
-				onTouch(hammer, boundFunction);
-
-				this._domEventListenerCleanupQueue.push(function () {
-					hammer.destroy();
-				}); // Bind keyboard events.
-
-
-				var keyupListener = function keyupListener(_ref) {
-					var keyCode = _ref.keyCode,
-						key = _ref.key;
-
-					if (key === "Enter" || key === " " || keyCode === 13 || keyCode === 32) {
-						boundFunction();
-					}
-				};
-
-				domElement.addEventListener("keyup", keyupListener, false);
-
-				this._domEventListenerCleanupQueue.push(function () {
-					domElement.removeEventListener("keyup", keyupListener, false);
-				});
-			}
-			/**
-			 * Neatly clean up temporary edges and nodes
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_cleanupTemporaryNodesAndEdges",
-			value: function _cleanupTemporaryNodesAndEdges() {
-				// _clean temporary edges
-				for (var i = 0; i < this.temporaryIds.edges.length; i++) {
-					var _context26;
-
-					this.body.edges[this.temporaryIds.edges[i]].disconnect();
-					delete this.body.edges[this.temporaryIds.edges[i]];
-
-					var indexTempEdge = indexOf(_context26 = this.body.edgeIndices).call(_context26, this.temporaryIds.edges[i]);
-
-					if (indexTempEdge !== -1) {
-						var _context27;
-
-						splice$1(_context27 = this.body.edgeIndices).call(_context27, indexTempEdge, 1);
-					}
-				} // _clean temporary nodes
-
-
-				for (var _i = 0; _i < this.temporaryIds.nodes.length; _i++) {
-					var _context28;
-
-					delete this.body.nodes[this.temporaryIds.nodes[_i]];
-
-					var indexTempNode = indexOf(_context28 = this.body.nodeIndices).call(_context28, this.temporaryIds.nodes[_i]);
-
-					if (indexTempNode !== -1) {
-						var _context29;
-
-						splice$1(_context29 = this.body.nodeIndices).call(_context29, indexTempNode, 1);
-					}
-				}
-
-				this.temporaryIds = {
-					nodes: [],
-					edges: []
-				};
-			} // ------------------------------------------ EDIT EDGE FUNCTIONS -----------------------------------------//
-
-			/**
-			 * the touch is used to get the position of the initial click
-			 *
-			 * @param {Event}  event   The event
-			 * @private
-			 */
-
-		}, {
-			key: "_controlNodeTouch",
-			value: function _controlNodeTouch(event) {
-				this.selectionHandler.unselectAll();
-				this.lastTouch = this.body.functions.getPointer(event.center);
-				this.lastTouch.translation = assign$2({}, this.body.view.translation); // copy the object
-			}
-			/**
-			 * the drag start is used to mark one of the control nodes as selected.
-			 *
-			 * @private
-			 */
-
-		}, {
-			key: "_controlNodeDragStart",
-			value: function _controlNodeDragStart() {
-				var pointer = this.lastTouch;
-
-				var pointerObj = this.selectionHandler._pointerToPositionObject(pointer);
-
-				var from = this.body.nodes[this.temporaryIds.nodes[0]];
-				var to = this.body.nodes[this.temporaryIds.nodes[1]];
-				var edge = this.body.edges[this.edgeBeingEditedId];
-				this.selectedControlNode = undefined;
-				var fromSelect = from.isOverlappingWith(pointerObj);
-				var toSelect = to.isOverlappingWith(pointerObj);
-
-				if (fromSelect === true) {
-					this.selectedControlNode = from;
-					edge.edgeType.from = from;
-				} else if (toSelect === true) {
-					this.selectedControlNode = to;
-					edge.edgeType.to = to;
-				} // we use the selection to find the node that is being dragged. We explicitly select it here.
-
-
-				if (this.selectedControlNode !== undefined) {
-					this.selectionHandler.selectObject(this.selectedControlNode);
-				}
-
-				this.body.emitter.emit("_redraw");
-			}
-			/**
-			 * dragging the control nodes or the canvas
-			 *
-			 * @param {Event}  event   The event
-			 * @private
-			 */
-
-		}, {
-			key: "_controlNodeDrag",
-			value: function _controlNodeDrag(event) {
-				this.body.emitter.emit("disablePhysics");
-				var pointer = this.body.functions.getPointer(event.center);
-				var pos = this.canvas.DOMtoCanvas(pointer);
-
-				if (this.selectedControlNode !== undefined) {
-					this.selectedControlNode.x = pos.x;
-					this.selectedControlNode.y = pos.y;
-				} else {
-					this.interactionHandler.onDrag(event);
-				}
-
-				this.body.emitter.emit("_redraw");
-			}
-			/**
-			 * connecting or restoring the control nodes.
-			 *
-			 * @param {Event}  event   The event
-			 * @private
-			 */
-
-		}, {
-			key: "_controlNodeDragEnd",
-			value: function _controlNodeDragEnd(event) {
-				var pointer = this.body.functions.getPointer(event.center);
-
-				var pointerObj = this.selectionHandler._pointerToPositionObject(pointer);
-
-				var edge = this.body.edges[this.edgeBeingEditedId]; // if the node that was dragged is not a control node, return
-
-				if (this.selectedControlNode === undefined) {
-					return;
-				} // we use the selection to find the node that is being dragged. We explicitly DEselect the control node here.
-
-
-				this.selectionHandler.unselectAll();
-
-				var overlappingNodeIds = this.selectionHandler._getAllNodesOverlappingWith(pointerObj);
-
-				var node = undefined;
-
-				for (var i = overlappingNodeIds.length - 1; i >= 0; i--) {
-					if (overlappingNodeIds[i] !== this.selectedControlNode.id) {
-						node = this.body.nodes[overlappingNodeIds[i]];
-						break;
-					}
-				} // perform the connection
-
-
-				if (node !== undefined && this.selectedControlNode !== undefined) {
-					if (node.isCluster === true) {
-						alert(this.options.locales[this.options.locale]["createEdgeError"] || this.options.locales["en"]["createEdgeError"]);
-					} else {
-						var from = this.body.nodes[this.temporaryIds.nodes[0]];
-
-						if (this.selectedControlNode.id === from.id) {
-							this._performEditEdge(node.id, edge.to.id);
-						} else {
-							this._performEditEdge(edge.from.id, node.id);
-						}
-					}
-				} else {
-					edge.updateEdgeType();
-					this.body.emitter.emit("restorePhysics");
-				}
-
-				this.body.emitter.emit("_redraw");
-			} // ------------------------------------ END OF EDIT EDGE FUNCTIONS -----------------------------------------//
-			// ------------------------------------------- ADD EDGE FUNCTIONS -----------------------------------------//
-
-			/**
-			 * the function bound to the selection event. It checks if you want to connect a cluster and changes the description
-			 * to walk the user through the process.
-			 *
-			 * @param {Event} event
-			 * @private
-			 */
-
-		}, {
-			key: "_handleConnect",
-			value: function _handleConnect(event) {
-				// check to avoid double fireing of this function.
-				if (new Date().valueOf() - this.touchTime > 100) {
-					this.lastTouch = this.body.functions.getPointer(event.center);
-					this.lastTouch.translation = assign$2({}, this.body.view.translation); // copy the object
-
-					this.interactionHandler.drag.pointer = this.lastTouch; // Drag pointer is not updated when adding edges
-
-					this.interactionHandler.drag.translation = this.lastTouch.translation;
-					var pointer = this.lastTouch;
-					var node = this.selectionHandler.getNodeAt(pointer);
-
-					if (node !== undefined) {
-						if (node.isCluster === true) {
-							alert(this.options.locales[this.options.locale]["createEdgeError"] || this.options.locales["en"]["createEdgeError"]);
-						} else {
-							// create a node the temporary line can look at
-							var targetNode = this._getNewTargetNode(node.x, node.y);
-
-							this.body.nodes[targetNode.id] = targetNode;
-							this.body.nodeIndices.push(targetNode.id); // create a temporary edge
-
-							var connectionEdge = this.body.functions.createEdge({
-								id: "connectionEdge" + v4(),
-								from: node.id,
-								to: targetNode.id,
-								physics: false,
-								smooth: {
-									enabled: true,
-									type: "continuous",
-									roundness: 0.5
-								}
-							});
-							this.body.edges[connectionEdge.id] = connectionEdge;
-							this.body.edgeIndices.push(connectionEdge.id);
-							this.temporaryIds.nodes.push(targetNode.id);
-							this.temporaryIds.edges.push(connectionEdge.id);
-						}
-					}
-
-					this.touchTime = new Date().valueOf();
-				}
-			}
-			/**
-			 *
-			 * @param {Event} event
-			 * @private
-			 */
-
-		}, {
-			key: "_dragControlNode",
-			value: function _dragControlNode(event) {
-				var pointer = this.body.functions.getPointer(event.center);
-
-				var pointerObj = this.selectionHandler._pointerToPositionObject(pointer); // remember the edge id
-
-
-				var connectFromId = undefined;
-
-				if (this.temporaryIds.edges[0] !== undefined) {
-					connectFromId = this.body.edges[this.temporaryIds.edges[0]].fromId;
-				} // get the overlapping node but NOT the temporary node;
-
-
-				var overlappingNodeIds = this.selectionHandler._getAllNodesOverlappingWith(pointerObj);
-
-				var node = undefined;
-
-				for (var i = overlappingNodeIds.length - 1; i >= 0; i--) {
-					var _context30;
-
-					// if the node id is NOT a temporary node, accept the node.
-					if (indexOf(_context30 = this.temporaryIds.nodes).call(_context30, overlappingNodeIds[i]) === -1) {
-						node = this.body.nodes[overlappingNodeIds[i]];
-						break;
-					}
-				}
-
-				event.controlEdge = {
-					from: connectFromId,
-					to: node ? node.id : undefined
-				};
-				this.selectionHandler.generateClickEvent("controlNodeDragging", event, pointer);
-
-				if (this.temporaryIds.nodes[0] !== undefined) {
-					var targetNode = this.body.nodes[this.temporaryIds.nodes[0]]; // there is only one temp node in the add edge mode.
-
-					targetNode.x = this.canvas._XconvertDOMtoCanvas(pointer.x);
-					targetNode.y = this.canvas._YconvertDOMtoCanvas(pointer.y);
-					this.body.emitter.emit("_redraw");
-				} else {
-					this.interactionHandler.onDrag(event);
-				}
-			}
-			/**
-			 * Connect the new edge to the target if one exists, otherwise remove temp line
-			 *
-			 * @param {Event}  event   The event
-			 * @private
-			 */
-
-		}, {
-			key: "_finishConnect",
-			value: function _finishConnect(event) {
-				var pointer = this.body.functions.getPointer(event.center);
-
-				var pointerObj = this.selectionHandler._pointerToPositionObject(pointer); // remember the edge id
-
-
-				var connectFromId = undefined;
-
-				if (this.temporaryIds.edges[0] !== undefined) {
-					connectFromId = this.body.edges[this.temporaryIds.edges[0]].fromId;
-				} // get the overlapping node but NOT the temporary node;
-
-
-				var overlappingNodeIds = this.selectionHandler._getAllNodesOverlappingWith(pointerObj);
-
-				var node = undefined;
-
-				for (var i = overlappingNodeIds.length - 1; i >= 0; i--) {
-					var _context31;
-
-					// if the node id is NOT a temporary node, accept the node.
-					if (indexOf(_context31 = this.temporaryIds.nodes).call(_context31, overlappingNodeIds[i]) === -1) {
-						node = this.body.nodes[overlappingNodeIds[i]];
-						break;
-					}
-				} // clean temporary nodes and edges.
-
-
-				this._cleanupTemporaryNodesAndEdges(); // perform the connection
-
-
-				if (node !== undefined) {
-					if (node.isCluster === true) {
-						alert(this.options.locales[this.options.locale]["createEdgeError"] || this.options.locales["en"]["createEdgeError"]);
-					} else {
-						if (this.body.nodes[connectFromId] !== undefined && this.body.nodes[node.id] !== undefined) {
-							this._performAddEdge(connectFromId, node.id);
-						}
-					}
-				}
-
-				event.controlEdge = {
-					from: connectFromId,
-					to: node ? node.id : undefined
-				};
-				this.selectionHandler.generateClickEvent("controlNodeDragEnd", event, pointer); // No need to do _generateclickevent('dragEnd') here, the regular dragEnd event fires.
-
-				this.body.emitter.emit("_redraw");
-			}
-			/**
-			 *
-			 * @param {Event} event
-			 * @private
-			 */
-
-		}, {
-			key: "_dragStartEdge",
-			value: function _dragStartEdge(event) {
-				var pointer = this.lastTouch;
-				this.selectionHandler.generateClickEvent("dragStart", event, pointer, undefined, true);
-			} // --------------------------------------- END OF ADD EDGE FUNCTIONS -------------------------------------//
-			// ------------------------------ Performing all the actual data manipulation ------------------------//
-
-			/**
-			 * Adds a node on the specified location
-			 *
-			 * @param {object} clickData
-			 * @private
-			 */
-
-		}, {
-			key: "_performAddNode",
-			value: function _performAddNode(clickData) {
-				var _this4 = this;
-
-				var defaultData = {
-					id: v4(),
-					x: clickData.pointer.canvas.x,
-					y: clickData.pointer.canvas.y,
-					label: "new"
-				};
-
-				if (typeof this.options.addNode === "function") {
-					if (this.options.addNode.length === 2) {
-						this.options.addNode(defaultData, function (finalizedData) {
-							if (finalizedData !== null && finalizedData !== undefined && _this4.inMode === "addNode") {
-								// if for whatever reason the mode has changes (due to dataset change) disregard the callback
-								_this4.body.data.nodes.getDataSet().add(finalizedData);
-							}
-
-							_this4.showManipulatorToolbar();
-						});
-					} else {
-						this.showManipulatorToolbar();
-						throw new Error("The function for add does not support two arguments (data,callback)");
-					}
-				} else {
-					this.body.data.nodes.getDataSet().add(defaultData);
-					this.showManipulatorToolbar();
-				}
-			}
-			/**
-			 * connect two nodes with a new edge.
-			 *
-			 * @param {Node.id} sourceNodeId
-			 * @param {Node.id} targetNodeId
-			 * @private
-			 */
-
-		}, {
-			key: "_performAddEdge",
-			value: function _performAddEdge(sourceNodeId, targetNodeId) {
-				var _this5 = this;
-
-				var defaultData = {
-					from: sourceNodeId,
-					to: targetNodeId
-				};
-
-				if (typeof this.options.addEdge === "function") {
-					if (this.options.addEdge.length === 2) {
-						this.options.addEdge(defaultData, function (finalizedData) {
-							if (finalizedData !== null && finalizedData !== undefined && _this5.inMode === "addEdge") {
-								// if for whatever reason the mode has changes (due to dataset change) disregard the callback
-								_this5.body.data.edges.getDataSet().add(finalizedData);
-
-								_this5.selectionHandler.unselectAll();
-
-								_this5.showManipulatorToolbar();
-							}
-						});
-					} else {
-						throw new Error("The function for connect does not support two arguments (data,callback)");
-					}
-				} else {
-					this.body.data.edges.getDataSet().add(defaultData);
-					this.selectionHandler.unselectAll();
-					this.showManipulatorToolbar();
-				}
-			}
-			/**
-			 * connect two nodes with a new edge.
-			 *
-			 * @param {Node.id} sourceNodeId
-			 * @param {Node.id} targetNodeId
-			 * @private
-			 */
-
-		}, {
-			key: "_performEditEdge",
-			value: function _performEditEdge(sourceNodeId, targetNodeId) {
-				var _this6 = this;
-
-				var defaultData = {
-					id: this.edgeBeingEditedId,
-					from: sourceNodeId,
-					to: targetNodeId,
-					label: this.body.data.edges.get(this.edgeBeingEditedId).label
-				};
-				var eeFunct = this.options.editEdge;
-
-				if (_typeof(eeFunct) === "object") {
-					eeFunct = eeFunct.editWithoutDrag;
-				}
-
-				if (typeof eeFunct === "function") {
-					if (eeFunct.length === 2) {
-						eeFunct(defaultData, function (finalizedData) {
-							if (finalizedData === null || finalizedData === undefined || _this6.inMode !== "editEdge") {
-								// if for whatever reason the mode has changes (due to dataset change) disregard the callback) {
-								_this6.body.edges[defaultData.id].updateEdgeType();
-
-								_this6.body.emitter.emit("_redraw");
-
-								_this6.showManipulatorToolbar();
-							} else {
-								_this6.body.data.edges.getDataSet().update(finalizedData);
-
-								_this6.selectionHandler.unselectAll();
-
-								_this6.showManipulatorToolbar();
-							}
-						});
-					} else {
-						throw new Error("The function for edit does not support two arguments (data, callback)");
-					}
-				} else {
-					this.body.data.edges.getDataSet().update(defaultData);
-					this.selectionHandler.unselectAll();
-					this.showManipulatorToolbar();
-				}
-			}
-		}]);
-
-		return ManipulationSystem;
-	}();
-
-	/**
-	 * This object contains all possible options. It will check if the types are correct, if required if the option is one
-	 * of the allowed values.
-	 *
-	 * __any__ means that the name of the property does not matter.
-	 * __type__ is a required field for all objects and contains the allowed types of all objects
-	 */
-	var string = "string";
-	var bool = "boolean";
-	var number = "number";
-	var array = "array";
-	var object = "object"; // should only be in a __type__ property
-
-	var dom = "dom";
-	var any = "any"; // List of endpoints
-
-	var endPoints = ["arrow", "bar", "box", "circle", "crow", "curve", "diamond", "image", "inv_curve", "inv_triangle", "triangle", "vee"];
-	/* eslint-disable @typescript-eslint/naming-convention -- The __*__ format is used to prevent collisions with actual option names. */
-
-	var nodeOptions = {
-		borderWidth: {
-			number: number
-		},
-		borderWidthSelected: {
-			number: number,
-			undefined: "undefined"
-		},
-		brokenImage: {
-			string: string,
-			undefined: "undefined"
-		},
-		chosen: {
-			label: {
-				boolean: bool,
-				function: "function"
-			},
-			node: {
-				boolean: bool,
-				function: "function"
-			},
-			__type__: {
-				object: object,
-				boolean: bool
-			}
-		},
-		color: {
-			border: {
-				string: string
-			},
-			background: {
-				string: string
-			},
-			highlight: {
-				border: {
-					string: string
-				},
-				background: {
-					string: string
-				},
-				__type__: {
-					object: object,
-					string: string
-				}
-			},
-			hover: {
-				border: {
-					string: string
-				},
-				background: {
-					string: string
-				},
-				__type__: {
-					object: object,
-					string: string
-				}
-			},
-			__type__: {
-				object: object,
-				string: string
-			}
-		},
-		opacity: {
-			number: number,
-			undefined: "undefined"
-		},
-		fixed: {
-			x: {
-				boolean: bool
-			},
-			y: {
-				boolean: bool
-			},
-			__type__: {
-				object: object,
-				boolean: bool
-			}
-		},
-		font: {
-			align: {
-				string: string
-			},
-			color: {
-				string: string
-			},
-			size: {
-				number: number
-			},
-			face: {
-				string: string
-			},
-			background: {
-				string: string
-			},
-			strokeWidth: {
-				number: number
-			},
-			strokeColor: {
-				string: string
-			},
-			vadjust: {
-				number: number
-			},
-			multi: {
-				boolean: bool,
-				string: string
-			},
-			bold: {
-				color: {
-					string: string
-				},
-				size: {
-					number: number
-				},
-				face: {
-					string: string
-				},
-				mod: {
-					string: string
-				},
-				vadjust: {
-					number: number
-				},
-				__type__: {
-					object: object,
-					string: string
-				}
-			},
-			boldital: {
-				color: {
-					string: string
-				},
-				size: {
-					number: number
-				},
-				face: {
-					string: string
-				},
-				mod: {
-					string: string
-				},
-				vadjust: {
-					number: number
-				},
-				__type__: {
-					object: object,
-					string: string
-				}
-			},
-			ital: {
-				color: {
-					string: string
-				},
-				size: {
-					number: number
-				},
-				face: {
-					string: string
-				},
-				mod: {
-					string: string
-				},
-				vadjust: {
-					number: number
-				},
-				__type__: {
-					object: object,
-					string: string
-				}
-			},
-			mono: {
-				color: {
-					string: string
-				},
-				size: {
-					number: number
-				},
-				face: {
-					string: string
-				},
-				mod: {
-					string: string
-				},
-				vadjust: {
-					number: number
-				},
-				__type__: {
-					object: object,
-					string: string
-				}
-			},
-			__type__: {
-				object: object,
-				string: string
-			}
-		},
-		group: {
-			string: string,
-			number: number,
-			undefined: "undefined"
-		},
-		heightConstraint: {
-			minimum: {
-				number: number
-			},
-			valign: {
-				string: string
-			},
-			__type__: {
-				object: object,
-				boolean: bool,
-				number: number
-			}
-		},
-		hidden: {
-			boolean: bool
-		},
-		icon: {
-			face: {
-				string: string
-			},
-			code: {
-				string: string
-			},
-			size: {
-				number: number
-			},
-			color: {
-				string: string
-			},
-			weight: {
-				string: string,
-				number: number
-			},
-			__type__: {
-				object: object
-			}
-		},
-		id: {
-			string: string,
-			number: number
-		},
-		image: {
-			selected: {
-				string: string,
-				undefined: "undefined"
-			},
-			unselected: {
-				string: string,
-				undefined: "undefined"
-			},
-			__type__: {
-				object: object,
-				string: string
-			}
-		},
-		imagePadding: {
-			top: {
-				number: number
-			},
-			right: {
-				number: number
-			},
-			bottom: {
-				number: number
-			},
-			left: {
-				number: number
-			},
-			__type__: {
-				object: object,
-				number: number
-			}
-		},
-		label: {
-			string: string,
-			undefined: "undefined"
-		},
-		labelHighlightBold: {
-			boolean: bool
-		},
-		level: {
-			number: number,
-			undefined: "undefined"
-		},
-		margin: {
-			top: {
-				number: number
-			},
-			right: {
-				number: number
-			},
-			bottom: {
-				number: number
-			},
-			left: {
-				number: number
-			},
-			__type__: {
-				object: object,
-				number: number
-			}
-		},
-		mass: {
-			number: number
-		},
-		physics: {
-			boolean: bool
-		},
-		scaling: {
-			min: {
-				number: number
-			},
-			max: {
-				number: number
-			},
-			label: {
-				enabled: {
-					boolean: bool
-				},
-				min: {
-					number: number
-				},
-				max: {
-					number: number
-				},
-				maxVisible: {
-					number: number
-				},
-				drawThreshold: {
-					number: number
-				},
-				__type__: {
-					object: object,
-					boolean: bool
-				}
-			},
-			customScalingFunction: {
-				function: "function"
-			},
-			__type__: {
-				object: object
-			}
-		},
-		shadow: {
-			enabled: {
-				boolean: bool
-			},
-			color: {
-				string: string
-			},
-			size: {
-				number: number
-			},
-			x: {
-				number: number
-			},
-			y: {
-				number: number
-			},
-			__type__: {
-				object: object,
-				boolean: bool
-			}
-		},
-		shape: {
-			string: ["custom", "ellipse", "circle", "database", "box", "text", "image", "circularImage", "diamond", "dot", "star", "triangle", "triangleDown", "square", "icon", "hexagon"]
-		},
-		ctxRenderer: {
-			function: "function"
-		},
-		shapeProperties: {
-			borderDashes: {
-				boolean: bool,
-				array: array
-			},
-			borderRadius: {
-				number: number
-			},
-			interpolation: {
-				boolean: bool
-			},
-			useImageSize: {
-				boolean: bool
-			},
-			useBorderWithImage: {
-				boolean: bool
-			},
-			coordinateOrigin: {
-				string: ["center", "top-left"]
-			},
-			__type__: {
-				object: object
-			}
-		},
-		size: {
-			number: number
-		},
-		title: {
-			string: string,
-			dom: dom,
-			undefined: "undefined"
-		},
-		value: {
-			number: number,
-			undefined: "undefined"
-		},
-		widthConstraint: {
-			minimum: {
-				number: number
-			},
-			maximum: {
-				number: number
-			},
-			__type__: {
-				object: object,
-				boolean: bool,
-				number: number
-			}
-		},
-		x: {
-			number: number
-		},
-		y: {
-			number: number
-		},
-		__type__: {
-			object: object
-		}
-	};
-	var allOptions = {
-		configure: {
-			enabled: {
-				boolean: bool
-			},
-			filter: {
-				boolean: bool,
-				string: string,
-				array: array,
-				function: "function"
-			},
-			container: {
-				dom: dom
-			},
-			showButton: {
-				boolean: bool
-			},
-			__type__: {
-				object: object,
-				boolean: bool,
-				string: string,
-				array: array,
-				function: "function"
-			}
-		},
-		edges: {
-			arrows: {
-				to: {
-					enabled: {
-						boolean: bool
-					},
-					scaleFactor: {
-						number: number
-					},
-					type: {
-						string: endPoints
-					},
-					imageHeight: {
-						number: number
-					},
-					imageWidth: {
-						number: number
-					},
-					src: {
-						string: string
-					},
-					__type__: {
-						object: object,
-						boolean: bool
-					}
-				},
-				middle: {
-					enabled: {
-						boolean: bool
-					},
-					scaleFactor: {
-						number: number
-					},
-					type: {
-						string: endPoints
-					},
-					imageWidth: {
-						number: number
-					},
-					imageHeight: {
-						number: number
-					},
-					src: {
-						string: string
-					},
-					__type__: {
-						object: object,
-						boolean: bool
-					}
-				},
-				from: {
-					enabled: {
-						boolean: bool
-					},
-					scaleFactor: {
-						number: number
-					},
-					type: {
-						string: endPoints
-					},
-					imageWidth: {
-						number: number
-					},
-					imageHeight: {
-						number: number
-					},
-					src: {
-						string: string
-					},
-					__type__: {
-						object: object,
-						boolean: bool
-					}
-				},
-				__type__: {
-					string: ["from", "to", "middle"],
-					object: object
-				}
-			},
-			endPointOffset: {
-				from: {
-					number: number
-				},
-				to: {
-					number: number
-				},
-				__type__: {
-					object: object,
-					number: number
-				}
-			},
-			arrowStrikethrough: {
-				boolean: bool
-			},
-			background: {
-				enabled: {
-					boolean: bool
-				},
-				color: {
-					string: string
-				},
-				size: {
-					number: number
-				},
-				dashes: {
-					boolean: bool,
-					array: array
-				},
-				__type__: {
-					object: object,
-					boolean: bool
-				}
-			},
-			chosen: {
-				label: {
-					boolean: bool,
-					function: "function"
-				},
-				edge: {
-					boolean: bool,
-					function: "function"
-				},
-				__type__: {
-					object: object,
-					boolean: bool
-				}
-			},
-			color: {
-				color: {
-					string: string
-				},
-				highlight: {
-					string: string
-				},
-				hover: {
-					string: string
-				},
-				inherit: {
-					string: ["from", "to", "both"],
-					boolean: bool
-				},
-				opacity: {
-					number: number
-				},
-				__type__: {
-					object: object,
-					string: string
-				}
-			},
-			dashes: {
-				boolean: bool,
-				array: array
-			},
-			font: {
-				color: {
-					string: string
-				},
-				size: {
-					number: number
-				},
-				face: {
-					string: string
-				},
-				background: {
-					string: string
-				},
-				strokeWidth: {
-					number: number
-				},
-				strokeColor: {
-					string: string
-				},
-				align: {
-					string: ["horizontal", "top", "middle", "bottom"]
-				},
-				vadjust: {
-					number: number
-				},
-				multi: {
-					boolean: bool,
-					string: string
-				},
-				bold: {
-					color: {
-						string: string
-					},
-					size: {
-						number: number
-					},
-					face: {
-						string: string
-					},
-					mod: {
-						string: string
-					},
-					vadjust: {
-						number: number
-					},
-					__type__: {
-						object: object,
-						string: string
-					}
-				},
-				boldital: {
-					color: {
-						string: string
-					},
-					size: {
-						number: number
-					},
-					face: {
-						string: string
-					},
-					mod: {
-						string: string
-					},
-					vadjust: {
-						number: number
-					},
-					__type__: {
-						object: object,
-						string: string
-					}
-				},
-				ital: {
-					color: {
-						string: string
-					},
-					size: {
-						number: number
-					},
-					face: {
-						string: string
-					},
-					mod: {
-						string: string
-					},
-					vadjust: {
-						number: number
-					},
-					__type__: {
-						object: object,
-						string: string
-					}
-				},
-				mono: {
-					color: {
-						string: string
-					},
-					size: {
-						number: number
-					},
-					face: {
-						string: string
-					},
-					mod: {
-						string: string
-					},
-					vadjust: {
-						number: number
-					},
-					__type__: {
-						object: object,
-						string: string
-					}
-				},
-				__type__: {
-					object: object,
-					string: string
-				}
-			},
-			hidden: {
-				boolean: bool
-			},
-			hoverWidth: {
-				function: "function",
-				number: number
-			},
-			label: {
-				string: string,
-				undefined: "undefined"
-			},
-			labelHighlightBold: {
-				boolean: bool
-			},
-			length: {
-				number: number,
-				undefined: "undefined"
-			},
-			physics: {
-				boolean: bool
-			},
-			scaling: {
-				min: {
-					number: number
-				},
-				max: {
-					number: number
-				},
-				label: {
-					enabled: {
-						boolean: bool
-					},
-					min: {
-						number: number
-					},
-					max: {
-						number: number
-					},
-					maxVisible: {
-						number: number
-					},
-					drawThreshold: {
-						number: number
-					},
-					__type__: {
-						object: object,
-						boolean: bool
-					}
-				},
-				customScalingFunction: {
-					function: "function"
-				},
-				__type__: {
-					object: object
-				}
-			},
-			selectionWidth: {
-				function: "function",
-				number: number
-			},
-			selfReferenceSize: {
-				number: number
-			},
-			selfReference: {
-				size: {
-					number: number
-				},
-				angle: {
-					number: number
-				},
-				renderBehindTheNode: {
-					boolean: bool
-				},
-				__type__: {
-					object: object
-				}
-			},
-			shadow: {
-				enabled: {
-					boolean: bool
-				},
-				color: {
-					string: string
-				},
-				size: {
-					number: number
-				},
-				x: {
-					number: number
-				},
-				y: {
-					number: number
-				},
-				__type__: {
-					object: object,
-					boolean: bool
-				}
-			},
-			smooth: {
-				enabled: {
-					boolean: bool
-				},
-				type: {
-					string: ["dynamic", "continuous", "discrete", "diagonalCross", "straightCross", "horizontal", "vertical", "curvedCW", "curvedCCW", "cubicBezier"]
-				},
-				roundness: {
-					number: number
-				},
-				forceDirection: {
-					string: ["horizontal", "vertical", "none"],
-					boolean: bool
-				},
-				__type__: {
-					object: object,
-					boolean: bool
-				}
-			},
-			title: {
-				string: string,
-				undefined: "undefined"
-			},
-			width: {
-				number: number
-			},
-			widthConstraint: {
-				maximum: {
-					number: number
-				},
-				__type__: {
-					object: object,
-					boolean: bool,
-					number: number
-				}
-			},
-			value: {
-				number: number,
-				undefined: "undefined"
-			},
-			__type__: {
-				object: object
-			}
-		},
-		groups: {
-			useDefaultGroups: {
-				boolean: bool
-			},
-			__any__: nodeOptions,
-			__type__: {
-				object: object
-			}
-		},
-		interaction: {
-			dragNodes: {
-				boolean: bool
-			},
-			dragView: {
-				boolean: bool
-			},
-			hideEdgesOnDrag: {
-				boolean: bool
-			},
-			hideEdgesOnZoom: {
-				boolean: bool
-			},
-			hideNodesOnDrag: {
-				boolean: bool
-			},
-			hover: {
-				boolean: bool
-			},
-			keyboard: {
-				enabled: {
-					boolean: bool
-				},
-				speed: {
-					x: {
-						number: number
-					},
-					y: {
-						number: number
-					},
-					zoom: {
-						number: number
-					},
-					__type__: {
-						object: object
-					}
-				},
-				bindToWindow: {
-					boolean: bool
-				},
-				autoFocus: {
-					boolean: bool
-				},
-				__type__: {
-					object: object,
-					boolean: bool
-				}
-			},
-			multiselect: {
-				boolean: bool
-			},
-			navigationButtons: {
-				boolean: bool
-			},
-			selectable: {
-				boolean: bool
-			},
-			selectConnectedEdges: {
-				boolean: bool
-			},
-			hoverConnectedEdges: {
-				boolean: bool
-			},
-			tooltipDelay: {
-				number: number
-			},
-			zoomView: {
-				boolean: bool
-			},
-			zoomSpeed: {
-				number: number
-			},
-			__type__: {
-				object: object
-			}
-		},
-		layout: {
-			randomSeed: {
-				undefined: "undefined",
-				number: number,
-				string: string
-			},
-			improvedLayout: {
-				boolean: bool
-			},
-			clusterThreshold: {
-				number: number
-			},
-			hierarchical: {
-				enabled: {
-					boolean: bool
-				},
-				levelSeparation: {
-					number: number
-				},
-				nodeSpacing: {
-					number: number
-				},
-				treeSpacing: {
-					number: number
-				},
-				blockShifting: {
-					boolean: bool
-				},
-				edgeMinimization: {
-					boolean: bool
-				},
-				parentCentralization: {
-					boolean: bool
-				},
-				direction: {
-					string: ["UD", "DU", "LR", "RL"]
-				},
-				sortMethod: {
-					string: ["hubsize", "directed"]
-				},
-				shakeTowards: {
-					string: ["leaves", "roots"]
-				},
-				__type__: {
-					object: object,
-					boolean: bool
-				}
-			},
-			__type__: {
-				object: object
-			}
-		},
-		manipulation: {
-			enabled: {
-				boolean: bool
-			},
-			initiallyActive: {
-				boolean: bool
-			},
-			addNode: {
-				boolean: bool,
-				function: "function"
-			},
-			addEdge: {
-				boolean: bool,
-				function: "function"
-			},
-			editNode: {
-				function: "function"
-			},
-			editEdge: {
-				editWithoutDrag: {
-					function: "function"
-				},
-				__type__: {
-					object: object,
-					boolean: bool,
-					function: "function"
-				}
-			},
-			deleteNode: {
-				boolean: bool,
-				function: "function"
-			},
-			deleteEdge: {
-				boolean: bool,
-				function: "function"
-			},
-			controlNodeStyle: nodeOptions,
-			__type__: {
-				object: object,
-				boolean: bool
-			}
-		},
-		nodes: nodeOptions,
-		physics: {
-			enabled: {
-				boolean: bool
-			},
-			barnesHut: {
-				theta: {
-					number: number
-				},
-				gravitationalConstant: {
-					number: number
-				},
-				centralGravity: {
-					number: number
-				},
-				springLength: {
-					number: number
-				},
-				springConstant: {
-					number: number
-				},
-				damping: {
-					number: number
-				},
-				avoidOverlap: {
-					number: number
-				},
-				__type__: {
-					object: object
-				}
-			},
-			forceAtlas2Based: {
-				theta: {
-					number: number
-				},
-				gravitationalConstant: {
-					number: number
-				},
-				centralGravity: {
-					number: number
-				},
-				springLength: {
-					number: number
-				},
-				springConstant: {
-					number: number
-				},
-				damping: {
-					number: number
-				},
-				avoidOverlap: {
-					number: number
-				},
-				__type__: {
-					object: object
-				}
-			},
-			repulsion: {
-				centralGravity: {
-					number: number
-				},
-				springLength: {
-					number: number
-				},
-				springConstant: {
-					number: number
-				},
-				nodeDistance: {
-					number: number
-				},
-				damping: {
-					number: number
-				},
-				__type__: {
-					object: object
-				}
-			},
-			hierarchicalRepulsion: {
-				centralGravity: {
-					number: number
-				},
-				springLength: {
-					number: number
-				},
-				springConstant: {
-					number: number
-				},
-				nodeDistance: {
-					number: number
-				},
-				damping: {
-					number: number
-				},
-				avoidOverlap: {
-					number: number
-				},
-				__type__: {
-					object: object
-				}
-			},
-			maxVelocity: {
-				number: number
-			},
-			minVelocity: {
-				number: number
-			},
-			solver: {
-				string: ["barnesHut", "repulsion", "hierarchicalRepulsion", "forceAtlas2Based"]
-			},
-			stabilization: {
-				enabled: {
-					boolean: bool
-				},
-				iterations: {
-					number: number
-				},
-				updateInterval: {
-					number: number
-				},
-				onlyDynamicEdges: {
-					boolean: bool
-				},
-				fit: {
-					boolean: bool
-				},
-				__type__: {
-					object: object,
-					boolean: bool
-				}
-			},
-			timestep: {
-				number: number
-			},
-			adaptiveTimestep: {
-				boolean: bool
-			},
-			wind: {
-				x: {
-					number: number
-				},
-				y: {
-					number: number
-				},
-				__type__: {
-					object: object
-				}
-			},
-			__type__: {
-				object: object,
-				boolean: bool
-			}
-		},
-		//globals :
-		autoResize: {
-			boolean: bool
-		},
-		clickToUse: {
-			boolean: bool
-		},
-		locale: {
-			string: string
-		},
-		locales: {
-			__any__: {
-				any: any
-			},
-			__type__: {
-				object: object
-			}
-		},
-		height: {
-			string: string
-		},
-		width: {
-			string: string
-		},
-		__type__: {
-			object: object
-		}
-	};
-	/* eslint-enable @typescript-eslint/naming-convention */
-
-	/**
-	 * This provides ranges, initial values, steps and dropdown menu choices for the
-	 * configuration.
-	 *
-	 * @remarks
-	 * Checkbox: `boolean`
-	 *   The value supllied will be used as the initial value.
-	 *
-	 * Text field: `string`
-	 *   The passed text will be used as the initial value. Any text will be
-	 *   accepted afterwards.
-	 *
-	 * Number range: `[number, number, number, number]`
-	 *   The meanings are `[initial value, min, max, step]`.
-	 *
-	 * Dropdown: `[Exclude<string, "color">, ...(string | number | boolean)[]]`
-	 *   Translations for people with poor understanding of TypeScript: the first
-	 *   value always has to be a string but never `"color"`, the rest can be any
-	 *   combination of strings, numbers and booleans.
-	 *
-	 * Color picker: `["color", string]`
-	 *   The first value says this will be a color picker not a dropdown menu. The
-	 *   next value is the initial color.
-	 */
-
-	var configureOptions = {
-		nodes: {
-			borderWidth: [1, 0, 10, 1],
-			borderWidthSelected: [2, 0, 10, 1],
-			color: {
-				border: ["color", "#2B7CE9"],
-				background: ["color", "#97C2FC"],
-				highlight: {
-					border: ["color", "#2B7CE9"],
-					background: ["color", "#D2E5FF"]
-				},
-				hover: {
-					border: ["color", "#2B7CE9"],
-					background: ["color", "#D2E5FF"]
-				}
-			},
-			opacity: [0, 0, 1, 0.1],
-			fixed: {
-				x: false,
-				y: false
-			},
-			font: {
-				color: ["color", "#343434"],
-				size: [14, 0, 100, 1],
-				face: ["arial", "verdana", "tahoma"],
-				background: ["color", "none"],
-				strokeWidth: [0, 0, 50, 1],
-				strokeColor: ["color", "#ffffff"]
-			},
-			//group: 'string',
-			hidden: false,
-			labelHighlightBold: true,
-			//icon: {
-			//  face: 'string',  //'FontAwesome',
-			//  code: 'string',  //'\uf007',
-			//  size: [50, 0, 200, 1],  //50,
-			//  color: ['color','#2B7CE9']   //'#aa00ff'
-			//},
-			//image: 'string', // --> URL
-			physics: true,
-			scaling: {
-				min: [10, 0, 200, 1],
-				max: [30, 0, 200, 1],
-				label: {
-					enabled: false,
-					min: [14, 0, 200, 1],
-					max: [30, 0, 200, 1],
-					maxVisible: [30, 0, 200, 1],
-					drawThreshold: [5, 0, 20, 1]
-				}
-			},
-			shadow: {
-				enabled: false,
-				color: "rgba(0,0,0,0.5)",
-				size: [10, 0, 20, 1],
-				x: [5, -30, 30, 1],
-				y: [5, -30, 30, 1]
-			},
-			shape: ["ellipse", "box", "circle", "database", "diamond", "dot", "square", "star", "text", "triangle", "triangleDown", "hexagon"],
-			shapeProperties: {
-				borderDashes: false,
-				borderRadius: [6, 0, 20, 1],
-				interpolation: true,
-				useImageSize: false
-			},
-			size: [25, 0, 200, 1]
-		},
-		edges: {
-			arrows: {
-				to: {
-					enabled: false,
-					scaleFactor: [1, 0, 3, 0.05],
-					type: "arrow"
-				},
-				middle: {
-					enabled: false,
-					scaleFactor: [1, 0, 3, 0.05],
-					type: "arrow"
-				},
-				from: {
-					enabled: false,
-					scaleFactor: [1, 0, 3, 0.05],
-					type: "arrow"
-				}
-			},
-			endPointOffset: {
-				from: [0, -10, 10, 1],
-				to: [0, -10, 10, 1]
-			},
-			arrowStrikethrough: true,
-			color: {
-				color: ["color", "#848484"],
-				highlight: ["color", "#848484"],
-				hover: ["color", "#848484"],
-				inherit: ["from", "to", "both", true, false],
-				opacity: [1, 0, 1, 0.05]
-			},
-			dashes: false,
-			font: {
-				color: ["color", "#343434"],
-				size: [14, 0, 100, 1],
-				face: ["arial", "verdana", "tahoma"],
-				background: ["color", "none"],
-				strokeWidth: [2, 0, 50, 1],
-				strokeColor: ["color", "#ffffff"],
-				align: ["horizontal", "top", "middle", "bottom"]
-			},
-			hidden: false,
-			hoverWidth: [1.5, 0, 5, 0.1],
-			labelHighlightBold: true,
-			physics: true,
-			scaling: {
-				min: [1, 0, 100, 1],
-				max: [15, 0, 100, 1],
-				label: {
-					enabled: true,
-					min: [14, 0, 200, 1],
-					max: [30, 0, 200, 1],
-					maxVisible: [30, 0, 200, 1],
-					drawThreshold: [5, 0, 20, 1]
-				}
-			},
-			selectionWidth: [1.5, 0, 5, 0.1],
-			selfReferenceSize: [20, 0, 200, 1],
-			selfReference: {
-				size: [20, 0, 200, 1],
-				angle: [Math.PI / 2, -6 * Math.PI, 6 * Math.PI, Math.PI / 8],
-				renderBehindTheNode: true
-			},
-			shadow: {
-				enabled: false,
-				color: "rgba(0,0,0,0.5)",
-				size: [10, 0, 20, 1],
-				x: [5, -30, 30, 1],
-				y: [5, -30, 30, 1]
-			},
-			smooth: {
-				enabled: true,
-				type: ["dynamic", "continuous", "discrete", "diagonalCross", "straightCross", "horizontal", "vertical", "curvedCW", "curvedCCW", "cubicBezier"],
-				forceDirection: ["horizontal", "vertical", "none"],
-				roundness: [0.5, 0, 1, 0.05]
-			},
-			width: [1, 0, 30, 1]
-		},
-		layout: {
-			//randomSeed: [0, 0, 500, 1],
-			//improvedLayout: true,
-			hierarchical: {
-				enabled: false,
-				levelSeparation: [150, 20, 500, 5],
-				nodeSpacing: [100, 20, 500, 5],
-				treeSpacing: [200, 20, 500, 5],
-				blockShifting: true,
-				edgeMinimization: true,
-				parentCentralization: true,
-				direction: ["UD", "DU", "LR", "RL"],
-				sortMethod: ["hubsize", "directed"],
-				shakeTowards: ["leaves", "roots"] // leaves, roots
-
-			}
-		},
-		interaction: {
-			dragNodes: true,
-			dragView: true,
-			hideEdgesOnDrag: false,
-			hideEdgesOnZoom: false,
-			hideNodesOnDrag: false,
-			hover: false,
-			keyboard: {
-				enabled: false,
-				speed: {
-					x: [10, 0, 40, 1],
-					y: [10, 0, 40, 1],
-					zoom: [0.02, 0, 0.1, 0.005]
-				},
-				bindToWindow: true,
-				autoFocus: true
-			},
-			multiselect: false,
-			navigationButtons: false,
-			selectable: true,
-			selectConnectedEdges: true,
-			hoverConnectedEdges: true,
-			tooltipDelay: [300, 0, 1000, 25],
-			zoomView: true,
-			zoomSpeed: [1, 0.1, 2, 0.1]
-		},
-		manipulation: {
-			enabled: false,
-			initiallyActive: false
-		},
-		physics: {
-			enabled: true,
-			barnesHut: {
-				theta: [0.5, 0.1, 1, 0.05],
-				gravitationalConstant: [-2000, -30000, 0, 50],
-				centralGravity: [0.3, 0, 10, 0.05],
-				springLength: [95, 0, 500, 5],
-				springConstant: [0.04, 0, 1.2, 0.005],
-				damping: [0.09, 0, 1, 0.01],
-				avoidOverlap: [0, 0, 1, 0.01]
-			},
-			forceAtlas2Based: {
-				theta: [0.5, 0.1, 1, 0.05],
-				gravitationalConstant: [-50, -500, 0, 1],
-				centralGravity: [0.01, 0, 1, 0.005],
-				springLength: [95, 0, 500, 5],
-				springConstant: [0.08, 0, 1.2, 0.005],
-				damping: [0.4, 0, 1, 0.01],
-				avoidOverlap: [0, 0, 1, 0.01]
-			},
-			repulsion: {
-				centralGravity: [0.2, 0, 10, 0.05],
-				springLength: [200, 0, 500, 5],
-				springConstant: [0.05, 0, 1.2, 0.005],
-				nodeDistance: [100, 0, 500, 5],
-				damping: [0.09, 0, 1, 0.01]
-			},
-			hierarchicalRepulsion: {
-				centralGravity: [0.2, 0, 10, 0.05],
-				springLength: [100, 0, 500, 5],
-				springConstant: [0.01, 0, 1.2, 0.005],
-				nodeDistance: [120, 0, 500, 5],
-				damping: [0.09, 0, 1, 0.01],
-				avoidOverlap: [0, 0, 1, 0.01]
-			},
-			maxVelocity: [50, 0, 150, 1],
-			minVelocity: [0.1, 0.01, 0.5, 0.01],
-			solver: ["barnesHut", "forceAtlas2Based", "repulsion", "hierarchicalRepulsion"],
-			timestep: [0.5, 0.01, 1, 0.01],
-			wind: {
-				x: [0, -10, 10, 0.1],
-				y: [0, -10, 10, 0.1]
-			} //adaptiveTimestep: true
-
-		}
-	};
-	var configuratorHideOption = function configuratorHideOption(parentPath, optionName, options) {
-		var _context;
-
-		if (includes(parentPath).call(parentPath, "physics") && includes(_context = configureOptions.physics.solver).call(_context, optionName) && options.physics.solver !== optionName && optionName !== "wind") {
-			return true;
-		}
-
-		return false;
-	};
-
-	var allOptions$1 = /*#__PURE__*/Object.freeze({
-		__proto__: null,
-		configuratorHideOption: configuratorHideOption,
-		allOptions: allOptions,
-		configureOptions: configureOptions
-	});
-
-	/**
-	 *  The Floyd–Warshall algorithm is an algorithm for finding shortest paths in
-	 *  a weighted graph with positive or negative edge weights (but with no negative
-	 *  cycles). - https://en.wikipedia.org/wiki/Floyd–Warshall_algorithm
-	 */
-	var FloydWarshall = /*#__PURE__*/function () {
-		/**
-		 * @ignore
-		 */
-		function FloydWarshall() {
-			_classCallCheck(this, FloydWarshall);
-		}
-		/**
-		 *
-		 * @param {object} body
-		 * @param {Array.<Node>} nodesArray
-		 * @param {Array.<Edge>} edgesArray
-		 * @returns {{}}
-		 */
-
-
-		_createClass(FloydWarshall, [{
-			key: "getDistances",
-			value: function getDistances(body, nodesArray, edgesArray) {
-				var D_matrix = {};
-				var edges = body.edges; // prepare matrix with large numbers
-
-				for (var i = 0; i < nodesArray.length; i++) {
-					var node = nodesArray[i];
-					var cell = {};
-					D_matrix[node] = cell;
-
-					for (var j = 0; j < nodesArray.length; j++) {
-						cell[nodesArray[j]] = i == j ? 0 : 1e9;
-					}
-				} // put the weights for the edges in. This assumes unidirectionality.
-
-
-				for (var _i = 0; _i < edgesArray.length; _i++) {
-					var edge = edges[edgesArray[_i]]; // edge has to be connected if it counts to the distances. If it is connected to inner clusters it will crash so we also check if it is in the D_matrix
-
-					if (edge.connected === true && D_matrix[edge.fromId] !== undefined && D_matrix[edge.toId] !== undefined) {
-						D_matrix[edge.fromId][edge.toId] = 1;
-						D_matrix[edge.toId][edge.fromId] = 1;
-					}
-				}
-
-				var nodeCount = nodesArray.length; // Adapted FloydWarshall based on unidirectionality to greatly reduce complexity.
-
-				for (var k = 0; k < nodeCount; k++) {
-					var knode = nodesArray[k];
-					var kcolm = D_matrix[knode];
-
-					for (var _i2 = 0; _i2 < nodeCount - 1; _i2++) {
-						var inode = nodesArray[_i2];
-						var icolm = D_matrix[inode];
-
-						for (var _j = _i2 + 1; _j < nodeCount; _j++) {
-							var jnode = nodesArray[_j];
-							var jcolm = D_matrix[jnode];
-							var val = Math.min(icolm[jnode], icolm[knode] + kcolm[jnode]);
-							icolm[jnode] = val;
-							jcolm[inode] = val;
-						}
-					}
-				}
-
-				return D_matrix;
-			}
-		}]);
-
-		return FloydWarshall;
-	}();
-
-	/**
-	 * KamadaKawai positions the nodes initially based on
-	 *
-	 * "AN ALGORITHM FOR DRAWING GENERAL UNDIRECTED GRAPHS"
-	 * -- Tomihisa KAMADA and Satoru KAWAI in 1989
-	 *
-	 * Possible optimizations in the distance calculation can be implemented.
-	 */
-
-	var KamadaKawai = /*#__PURE__*/function () {
-		/**
-		 * @param {object} body
-		 * @param {number} edgeLength
-		 * @param {number} edgeStrength
-		 */
-		function KamadaKawai(body, edgeLength, edgeStrength) {
-			_classCallCheck(this, KamadaKawai);
-
-			this.body = body;
-			this.springLength = edgeLength;
-			this.springConstant = edgeStrength;
-			this.distanceSolver = new FloydWarshall();
-		}
-		/**
-		 * Not sure if needed but can be used to update the spring length and spring constant
-		 *
-		 * @param {object} options
-		 */
-
-
-		_createClass(KamadaKawai, [{
-			key: "setOptions",
-			value: function setOptions(options) {
-				if (options) {
-					if (options.springLength) {
-						this.springLength = options.springLength;
-					}
-
-					if (options.springConstant) {
-						this.springConstant = options.springConstant;
-					}
-				}
-			}
-			/**
-			 * Position the system
-			 *
-			 * @param {Array.<Node>} nodesArray
-			 * @param {Array.<vis.Edge>} edgesArray
-			 * @param {boolean} [ignoreClusters=false]
-			 */
-
-		}, {
-			key: "solve",
-			value: function solve(nodesArray, edgesArray) {
-				var ignoreClusters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-				// get distance matrix
-				var D_matrix = this.distanceSolver.getDistances(this.body, nodesArray, edgesArray); // distance matrix
-				// get the L Matrix
-
-				this._createL_matrix(D_matrix); // get the K Matrix
-
-
-				this._createK_matrix(D_matrix); // initial E Matrix
-
-
-				this._createE_matrix(); // calculate positions
-
-
-				var threshold = 0.01;
-				var innerThreshold = 1;
-				var iterations = 0;
-				var maxIterations = Math.max(1000, Math.min(10 * this.body.nodeIndices.length, 6000));
-				var maxInnerIterations = 5;
-				var maxEnergy = 1e9;
-				var highE_nodeId = 0,
-					dE_dx = 0,
-					dE_dy = 0,
-					delta_m = 0,
-					subIterations = 0;
-
-				while (maxEnergy > threshold && iterations < maxIterations) {
-					iterations += 1;
-
-					var _this$_getHighestEner = this._getHighestEnergyNode(ignoreClusters);
-
-					var _this$_getHighestEner2 = _slicedToArray(_this$_getHighestEner, 4);
-
-					highE_nodeId = _this$_getHighestEner2[0];
-					maxEnergy = _this$_getHighestEner2[1];
-					dE_dx = _this$_getHighestEner2[2];
-					dE_dy = _this$_getHighestEner2[3];
-					delta_m = maxEnergy;
-					subIterations = 0;
-
-					while (delta_m > innerThreshold && subIterations < maxInnerIterations) {
-						subIterations += 1;
-
-						this._moveNode(highE_nodeId, dE_dx, dE_dy);
-
-						var _this$_getEnergy = this._getEnergy(highE_nodeId);
-
-						var _this$_getEnergy2 = _slicedToArray(_this$_getEnergy, 3);
-
-						delta_m = _this$_getEnergy2[0];
-						dE_dx = _this$_getEnergy2[1];
-						dE_dy = _this$_getEnergy2[2];
-					}
-				}
-			}
-			/**
-			 * get the node with the highest energy
-			 *
-			 * @param {boolean} ignoreClusters
-			 * @returns {number[]}
-			 * @private
-			 */
-
-		}, {
-			key: "_getHighestEnergyNode",
-			value: function _getHighestEnergyNode(ignoreClusters) {
-				var nodesArray = this.body.nodeIndices;
-				var nodes = this.body.nodes;
-				var maxEnergy = 0;
-				var maxEnergyNodeId = nodesArray[0];
-				var dE_dx_max = 0,
-					dE_dy_max = 0;
-
-				for (var nodeIdx = 0; nodeIdx < nodesArray.length; nodeIdx++) {
-					var m = nodesArray[nodeIdx]; // by not evaluating nodes with predefined positions we should only move nodes that have no positions.
-
-					if (nodes[m].predefinedPosition !== true || nodes[m].isCluster === true && ignoreClusters === true || nodes[m].options.fixed.x !== true || nodes[m].options.fixed.y !== true) {
-						var _this$_getEnergy3 = this._getEnergy(m),
-							_this$_getEnergy4 = _slicedToArray(_this$_getEnergy3, 3),
-							delta_m = _this$_getEnergy4[0],
-							dE_dx = _this$_getEnergy4[1],
-							dE_dy = _this$_getEnergy4[2];
-
-						if (maxEnergy < delta_m) {
-							maxEnergy = delta_m;
-							maxEnergyNodeId = m;
-							dE_dx_max = dE_dx;
-							dE_dy_max = dE_dy;
-						}
-					}
-				}
-
-				return [maxEnergyNodeId, maxEnergy, dE_dx_max, dE_dy_max];
-			}
-			/**
-			 * calculate the energy of a single node
-			 *
-			 * @param {Node.id} m
-			 * @returns {number[]}
-			 * @private
-			 */
-
-		}, {
-			key: "_getEnergy",
-			value: function _getEnergy(m) {
-				var _this$E_sums$m = _slicedToArray(this.E_sums[m], 2),
-					dE_dx = _this$E_sums$m[0],
-					dE_dy = _this$E_sums$m[1];
-
-				var delta_m = Math.sqrt(Math.pow(dE_dx, 2) + Math.pow(dE_dy, 2));
-				return [delta_m, dE_dx, dE_dy];
-			}
-			/**
-			 * move the node based on it's energy
-			 * the dx and dy are calculated from the linear system proposed by Kamada and Kawai
-			 *
-			 * @param {number} m
-			 * @param {number} dE_dx
-			 * @param {number} dE_dy
-			 * @private
-			 */
-
-		}, {
-			key: "_moveNode",
-			value: function _moveNode(m, dE_dx, dE_dy) {
-				var nodesArray = this.body.nodeIndices;
-				var nodes = this.body.nodes;
-				var d2E_dx2 = 0;
-				var d2E_dxdy = 0;
-				var d2E_dy2 = 0;
-				var x_m = nodes[m].x;
-				var y_m = nodes[m].y;
-				var km = this.K_matrix[m];
-				var lm = this.L_matrix[m];
-
-				for (var iIdx = 0; iIdx < nodesArray.length; iIdx++) {
-					var i = nodesArray[iIdx];
-
-					if (i !== m) {
-						var x_i = nodes[i].x;
-						var y_i = nodes[i].y;
-						var kmat = km[i];
-						var lmat = lm[i];
-						var denominator = 1.0 / Math.pow(Math.pow(x_m - x_i, 2) + Math.pow(y_m - y_i, 2), 1.5);
-						d2E_dx2 += kmat * (1 - lmat * Math.pow(y_m - y_i, 2) * denominator);
-						d2E_dxdy += kmat * (lmat * (x_m - x_i) * (y_m - y_i) * denominator);
-						d2E_dy2 += kmat * (1 - lmat * Math.pow(x_m - x_i, 2) * denominator);
-					}
-				} // make the variable names easier to make the solving of the linear system easier to read
-
-
-				var A = d2E_dx2,
-					B = d2E_dxdy,
-					C = dE_dx,
-					D = d2E_dy2,
-					E = dE_dy; // solve the linear system for dx and dy
-
-				var dy = (C / A + E / B) / (B / A - D / B);
-				var dx = -(B * dy + C) / A; // move the node
-
-				nodes[m].x += dx;
-				nodes[m].y += dy; // Recalculate E_matrix (should be incremental)
-
-				this._updateE_matrix(m);
-			}
-			/**
-			 * Create the L matrix: edge length times shortest path
-			 *
-			 * @param {object} D_matrix
-			 * @private
-			 */
-
-		}, {
-			key: "_createL_matrix",
-			value: function _createL_matrix(D_matrix) {
-				var nodesArray = this.body.nodeIndices;
-				var edgeLength = this.springLength;
-				this.L_matrix = [];
-
-				for (var i = 0; i < nodesArray.length; i++) {
-					this.L_matrix[nodesArray[i]] = {};
-
-					for (var j = 0; j < nodesArray.length; j++) {
-						this.L_matrix[nodesArray[i]][nodesArray[j]] = edgeLength * D_matrix[nodesArray[i]][nodesArray[j]];
-					}
-				}
-			}
-			/**
-			 * Create the K matrix: spring constants times shortest path
-			 *
-			 * @param {object} D_matrix
-			 * @private
-			 */
-
-		}, {
-			key: "_createK_matrix",
-			value: function _createK_matrix(D_matrix) {
-				var nodesArray = this.body.nodeIndices;
-				var edgeStrength = this.springConstant;
-				this.K_matrix = [];
-
-				for (var i = 0; i < nodesArray.length; i++) {
-					this.K_matrix[nodesArray[i]] = {};
-
-					for (var j = 0; j < nodesArray.length; j++) {
-						this.K_matrix[nodesArray[i]][nodesArray[j]] = edgeStrength * Math.pow(D_matrix[nodesArray[i]][nodesArray[j]], -2);
-					}
-				}
-			}
-			/**
-			 *  Create matrix with all energies between nodes
-			 *
-			 *  @private
-			 */
-
-		}, {
-			key: "_createE_matrix",
-			value: function _createE_matrix() {
-				var nodesArray = this.body.nodeIndices;
-				var nodes = this.body.nodes;
-				this.E_matrix = {};
-				this.E_sums = {};
-
-				for (var mIdx = 0; mIdx < nodesArray.length; mIdx++) {
-					this.E_matrix[nodesArray[mIdx]] = [];
-				}
-
-				for (var _mIdx = 0; _mIdx < nodesArray.length; _mIdx++) {
-					var m = nodesArray[_mIdx];
-					var x_m = nodes[m].x;
-					var y_m = nodes[m].y;
-					var dE_dx = 0;
-					var dE_dy = 0;
-
-					for (var iIdx = _mIdx; iIdx < nodesArray.length; iIdx++) {
-						var i = nodesArray[iIdx];
-
-						if (i !== m) {
-							var x_i = nodes[i].x;
-							var y_i = nodes[i].y;
-							var denominator = 1.0 / Math.sqrt(Math.pow(x_m - x_i, 2) + Math.pow(y_m - y_i, 2));
-							this.E_matrix[m][iIdx] = [this.K_matrix[m][i] * (x_m - x_i - this.L_matrix[m][i] * (x_m - x_i) * denominator), this.K_matrix[m][i] * (y_m - y_i - this.L_matrix[m][i] * (y_m - y_i) * denominator)];
-							this.E_matrix[i][_mIdx] = this.E_matrix[m][iIdx];
-							dE_dx += this.E_matrix[m][iIdx][0];
-							dE_dy += this.E_matrix[m][iIdx][1];
-						}
-					} //Store sum
-
-
-					this.E_sums[m] = [dE_dx, dE_dy];
-				}
-			}
-			/**
-			 * Update method, just doing single column (rows are auto-updated) (update all sums)
-			 *
-			 * @param {number} m
-			 * @private
-			 */
-
-		}, {
-			key: "_updateE_matrix",
-			value: function _updateE_matrix(m) {
-				var nodesArray = this.body.nodeIndices;
-				var nodes = this.body.nodes;
-				var colm = this.E_matrix[m];
-				var kcolm = this.K_matrix[m];
-				var lcolm = this.L_matrix[m];
-				var x_m = nodes[m].x;
-				var y_m = nodes[m].y;
-				var dE_dx = 0;
-				var dE_dy = 0;
-
-				for (var iIdx = 0; iIdx < nodesArray.length; iIdx++) {
-					var i = nodesArray[iIdx];
-
-					if (i !== m) {
-						//Keep old energy value for sum modification below
-						var cell = colm[iIdx];
-						var oldDx = cell[0];
-						var oldDy = cell[1]; //Calc new energy:
-
-						var x_i = nodes[i].x;
-						var y_i = nodes[i].y;
-						var denominator = 1.0 / Math.sqrt(Math.pow(x_m - x_i, 2) + Math.pow(y_m - y_i, 2));
-						var dx = kcolm[i] * (x_m - x_i - lcolm[i] * (x_m - x_i) * denominator);
-						var dy = kcolm[i] * (y_m - y_i - lcolm[i] * (y_m - y_i) * denominator);
-						colm[iIdx] = [dx, dy];
-						dE_dx += dx;
-						dE_dy += dy; //add new energy to sum of each column
-
-						var sum = this.E_sums[i];
-						sum[0] += dx - oldDx;
-						sum[1] += dy - oldDy;
-					}
-				} //Store sum at -1 index
-
-
-				this.E_sums[m] = [dE_dx, dE_dy];
-			}
-		}]);
-
-		return KamadaKawai;
-	}();
-
-	/**
-	 * Create a network visualization, displaying nodes and edges.
-	 *
-	 * @param {Element} container   The DOM element in which the Network will
-	 *                                  be created. Normally a div element.
-	 * @param {object} data         An object containing parameters
-	 *                              {Array} nodes
-	 *                              {Array} edges
-	 * @param {object} options      Options
-	 * @class Network
-	 */
-
-	function Network(container, data, options) {
-		var _context,
-			_context2,
-			_context3,
-			_context4,
-			_this = this;
-
-		if (!(this instanceof Network)) {
-			throw new SyntaxError("Constructor must be called with the new operator");
-		} // set constant values
-
-
-		this.options = {};
-		this.defaultOptions = {
-			locale: "en",
-			locales: locales,
-			clickToUse: false
-		};
-
-		assign$2(this.options, this.defaultOptions);
-		/**
-		 * Containers for nodes and edges.
-		 *
-		 * 'edges' and 'nodes' contain the full definitions of all the network elements.
-		 * 'nodeIndices' and 'edgeIndices' contain the id's of the active elements.
-		 *
-		 * The distinction is important, because a defined node need not be active, i.e.
-		 * visible on the canvas. This happens in particular when clusters are defined, in
-		 * that case there will be nodes and edges not displayed.
-		 * The bottom line is that all code with actions related to visibility, *must* use
-		 * 'nodeIndices' and 'edgeIndices', not 'nodes' and 'edges' directly.
-		 */
-
-
-		this.body = {
-			container: container,
-			// See comment above for following fields
-			nodes: {},
-			nodeIndices: [],
-			edges: {},
-			edgeIndices: [],
-			emitter: {
-				on: bind$6(_context = this.on).call(_context, this),
-				off: bind$6(_context2 = this.off).call(_context2, this),
-				emit: bind$6(_context3 = this.emit).call(_context3, this),
-				once: bind$6(_context4 = this.once).call(_context4, this)
-			},
-			eventListeners: {
-				onTap: function onTap() { },
-				onTouch: function onTouch() { },
-				onDoubleTap: function onDoubleTap() { },
-				onHold: function onHold() { },
-				onDragStart: function onDragStart() { },
-				onDrag: function onDrag() { },
-				onDragEnd: function onDragEnd() { },
-				onMouseWheel: function onMouseWheel() { },
-				onPinch: function onPinch() { },
-				onMouseMove: function onMouseMove() { },
-				onRelease: function onRelease() { },
-				onContext: function onContext() { }
-			},
-			data: {
-				nodes: null,
-				// A DataSet or DataView
-				edges: null // A DataSet or DataView
-
-			},
-			functions: {
-				createNode: function createNode() { },
-				createEdge: function createEdge() { },
-				getPointer: function getPointer() { }
-			},
-			modules: {},
-			view: {
-				scale: 1,
-				translation: {
-					x: 0,
-					y: 0
-				}
-			},
-			selectionBox: {
-				show: false,
-				position: {
-					start: {
-						x: 0,
-						y: 0
-					},
-					end: {
-						x: 0,
-						y: 0
-					}
-				}
-			}
-		}; // bind the event listeners
-
-		this.bindEventListeners(); // setting up all modules
-
-		this.images = new Images(function () {
-			return _this.body.emitter.emit("_requestRedraw");
-		}); // object with images
-
-		this.groups = new Groups(); // object with groups
-
-		this.canvas = new Canvas(this.body); // DOM handler
-
-		this.selectionHandler = new SelectionHandler(this.body, this.canvas); // Selection handler
-
-		this.interactionHandler = new InteractionHandler(this.body, this.canvas, this.selectionHandler); // Interaction handler handles all the hammer bindings (that are bound by canvas), key
-
-		this.view = new View(this.body, this.canvas); // camera handler, does animations and zooms
-
-		this.renderer = new CanvasRenderer(this.body, this.canvas); // renderer, starts renderloop, has events that modules can hook into
-
-		this.physics = new PhysicsEngine(this.body); // physics engine, does all the simulations
-
-		this.layoutEngine = new LayoutEngine(this.body); // layout engine for inital layout and hierarchical layout
-
-		this.clustering = new ClusterEngine(this.body); // clustering api
-
-		this.manipulation = new ManipulationSystem(this.body, this.canvas, this.selectionHandler, this.interactionHandler); // data manipulation system
-
-		this.nodesHandler = new NodesHandler(this.body, this.images, this.groups, this.layoutEngine); // Handle adding, deleting and updating of nodes as well as global options
-
-		this.edgesHandler = new EdgesHandler(this.body, this.images, this.groups); // Handle adding, deleting and updating of edges as well as global options
-
-		this.body.modules["kamadaKawai"] = new KamadaKawai(this.body, 150, 0.05); // Layouting algorithm.
-
-		this.body.modules["clustering"] = this.clustering; // create the DOM elements
-
-		this.canvas._create(); // apply options
-
-
-		this.setOptions(options); // load data (the disable start variable will be the same as the enabled clustering)
-
-		this.setData(data);
-	} // Extend Network with an Emitter mixin
-
-	Emitter(Network.prototype);
-	/**
-	 * Set options
-	 *
-	 * @param {object} options
-	 */
-
-	Network.prototype.setOptions = function (options) {
-		var _this2 = this;
-
-		if (options === null) {
-			options = undefined; // This ensures that options handling doesn't crash in the handling
-		}
-
-		if (options !== undefined) {
-			var errorFound = Validator.validate(options, allOptions);
-
-			if (errorFound === true) {
-				console.error("%cErrors have been found in the supplied options object.", VALIDATOR_PRINT_STYLE);
-			} // copy the global fields over
-
-
-			var fields = ["locale", "locales", "clickToUse"];
-			selectiveDeepExtend(fields, this.options, options); // normalize the locale or use English
-
-			if (options.locale !== undefined) {
-				options.locale = normalizeLanguageCode(options.locales || this.options.locales, options.locale);
-			} // the hierarchical system can adapt the edges and the physics to it's own options because not all combinations work with the hierarichical system.
-
-
-			options = this.layoutEngine.setOptions(options.layout, options);
-			this.canvas.setOptions(options); // options for canvas are in globals
-			// pass the options to the modules
-
-			this.groups.setOptions(options.groups);
-			this.nodesHandler.setOptions(options.nodes);
-			this.edgesHandler.setOptions(options.edges);
-			this.physics.setOptions(options.physics);
-			this.manipulation.setOptions(options.manipulation, options, this.options); // manipulation uses the locales in the globals
-
-			this.interactionHandler.setOptions(options.interaction);
-			this.renderer.setOptions(options.interaction); // options for rendering are in interaction
-
-			this.selectionHandler.setOptions(options.interaction); // options for selection are in interaction
-			// reload the settings of the nodes to apply changes in groups that are not referenced by pointer.
-
-			if (options.groups !== undefined) {
-				this.body.emitter.emit("refreshNodes");
-			} // these two do not have options at the moment, here for completeness
-			//this.view.setOptions(options.view);
-			//this.clustering.setOptions(options.clustering);
-
-
-			if ("configure" in options) {
-				if (!this.configurator) {
-					this.configurator = new Configurator(this, this.body.container, configureOptions, this.canvas.pixelRatio, configuratorHideOption);
-				}
-
-				this.configurator.setOptions(options.configure);
-			} // if the configuration system is enabled, copy all options and put them into the config system
-
-
-			if (this.configurator && this.configurator.options.enabled === true) {
-				var networkOptions = {
-					nodes: {},
-					edges: {},
-					layout: {},
-					interaction: {},
-					manipulation: {},
-					physics: {},
-					global: {}
-				};
-				deepExtend(networkOptions.nodes, this.nodesHandler.options);
-				deepExtend(networkOptions.edges, this.edgesHandler.options);
-				deepExtend(networkOptions.layout, this.layoutEngine.options); // load the selectionHandler and render default options in to the interaction group
-
-				deepExtend(networkOptions.interaction, this.selectionHandler.options);
-				deepExtend(networkOptions.interaction, this.renderer.options);
-				deepExtend(networkOptions.interaction, this.interactionHandler.options);
-				deepExtend(networkOptions.manipulation, this.manipulation.options);
-				deepExtend(networkOptions.physics, this.physics.options); // load globals into the global object
-
-				deepExtend(networkOptions.global, this.canvas.options);
-				deepExtend(networkOptions.global, this.options);
-				this.configurator.setModuleOptions(networkOptions);
-			} // handle network global options
-
-
-			if (options.clickToUse !== undefined) {
-				if (options.clickToUse === true) {
-					if (this.activator === undefined) {
-						this.activator = new Activator(this.canvas.frame);
-						this.activator.on("change", function () {
-							_this2.body.emitter.emit("activate");
-						});
-					}
-				} else {
-					if (this.activator !== undefined) {
-						this.activator.destroy();
-						delete this.activator;
-					}
-
-					this.body.emitter.emit("activate");
-				}
-			} else {
-				this.body.emitter.emit("activate");
-			}
-
-			this.canvas.setSize(); // start the physics simulation. Can be safely called multiple times.
-
-			this.body.emitter.emit("startSimulation");
-		}
-	};
-	/**
-	 * Update the visible nodes and edges list with the most recent node state.
-	 *
-	 * Visible nodes are stored in this.body.nodeIndices.
-	 * Visible edges are stored in this.body.edgeIndices.
-	 * A node or edges is visible if it is not hidden or clustered.
-	 *
-	 * @private
-	 */
-
-
-	Network.prototype._updateVisibleIndices = function () {
-		var nodes = this.body.nodes;
-		var edges = this.body.edges;
-		this.body.nodeIndices = [];
-		this.body.edgeIndices = [];
-
-		for (var nodeId in nodes) {
-			if (Object.prototype.hasOwnProperty.call(nodes, nodeId)) {
-				if (!this.clustering._isClusteredNode(nodeId) && nodes[nodeId].options.hidden === false) {
-					this.body.nodeIndices.push(nodes[nodeId].id);
-				}
-			}
-		}
-
-		for (var edgeId in edges) {
-			if (Object.prototype.hasOwnProperty.call(edges, edgeId)) {
-				var edge = edges[edgeId]; // It can happen that this is executed *after* a node edge has been removed,
-				// but *before* the edge itself has been removed. Taking this into account.
-
-				var fromNode = nodes[edge.fromId];
-				var toNode = nodes[edge.toId];
-				var edgeNodesPresent = fromNode !== undefined && toNode !== undefined;
-				var isVisible = !this.clustering._isClusteredEdge(edgeId) && edge.options.hidden === false && edgeNodesPresent && fromNode.options.hidden === false && // Also hidden if any of its connecting nodes are hidden
-					toNode.options.hidden === false; // idem
-
-				if (isVisible) {
-					this.body.edgeIndices.push(edge.id);
-				}
-			}
-		}
-	};
-	/**
-	 * Bind all events
-	 */
-
-
-	Network.prototype.bindEventListeners = function () {
-		var _this3 = this;
-
-		// This event will trigger a rebuilding of the cache everything.
-		// Used when nodes or edges have been added or removed.
-		this.body.emitter.on("_dataChanged", function () {
-			_this3.edgesHandler._updateState();
-
-			_this3.body.emitter.emit("_dataUpdated");
-		}); // this is called when options of EXISTING nodes or edges have changed.
-
-		this.body.emitter.on("_dataUpdated", function () {
-			// Order important in following block
-			_this3.clustering._updateState();
-
-			_this3._updateVisibleIndices();
-
-			_this3._updateValueRange(_this3.body.nodes);
-
-			_this3._updateValueRange(_this3.body.edges); // start simulation (can be called safely, even if already running)
-
-
-			_this3.body.emitter.emit("startSimulation");
-
-			_this3.body.emitter.emit("_requestRedraw");
-		});
-	};
-	/**
-	 * Set nodes and edges, and optionally options as well.
-	 *
-	 * @param {object} data              Object containing parameters:
-	 *                                   {Array | DataSet | DataView} [nodes] Array with nodes
-	 *                                   {Array | DataSet | DataView} [edges] Array with edges
-	 *                                   {String} [dot] String containing data in DOT format
-	 *                                   {String} [gephi] String containing data in gephi JSON format
-	 *                                   {Options} [options] Object with options
-	 */
-
-
-	Network.prototype.setData = function (data) {
-		// reset the physics engine.
-		this.body.emitter.emit("resetPhysics");
-		this.body.emitter.emit("_resetData"); // unselect all to ensure no selections from old data are carried over.
-
-		this.selectionHandler.unselectAll();
-
-		if (data && data.dot && (data.nodes || data.edges)) {
-			throw new SyntaxError('Data must contain either parameter "dot" or ' + ' parameter pair "nodes" and "edges", but not both.');
-		} // set options
-
-
-		this.setOptions(data && data.options); // set all data
-
-		if (data && data.dot) {
-			console.warn("The dot property has been deprecated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);"); // parse DOT file
-
-			var dotData = DOTToGraph(data.dot);
-			this.setData(dotData);
-			return;
-		} else if (data && data.gephi) {
-			// parse DOT file
-			console.warn("The gephi property has been deprecated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);");
-			var gephiData = parseGephi(data.gephi);
-			this.setData(gephiData);
-			return;
-		} else {
-			this.nodesHandler.setData(data && data.nodes, true);
-			this.edgesHandler.setData(data && data.edges, true);
-		} // emit change in data
-
-
-		this.body.emitter.emit("_dataChanged"); // emit data loaded
-
-		this.body.emitter.emit("_dataLoaded"); // find a stable position or start animating to a stable position
-
-		this.body.emitter.emit("initPhysics");
-	};
-	/**
-	 * Cleans up all bindings of the network, removing it fully from the memory IF the variable is set to null after calling this function.
-	 * var network = new vis.Network(..);
-	 * network.destroy();
-	 * network = null;
-	 */
-
-
-	Network.prototype.destroy = function () {
-		this.body.emitter.emit("destroy"); // clear events
-
-		this.body.emitter.off();
-		this.off(); // delete modules
-
-		delete this.groups;
-		delete this.canvas;
-		delete this.selectionHandler;
-		delete this.interactionHandler;
-		delete this.view;
-		delete this.renderer;
-		delete this.physics;
-		delete this.layoutEngine;
-		delete this.clustering;
-		delete this.manipulation;
-		delete this.nodesHandler;
-		delete this.edgesHandler;
-		delete this.configurator;
-		delete this.images;
-
-		for (var nodeId in this.body.nodes) {
-			if (!Object.prototype.hasOwnProperty.call(this.body.nodes, nodeId)) continue;
-			delete this.body.nodes[nodeId];
-		}
-
-		for (var edgeId in this.body.edges) {
-			if (!Object.prototype.hasOwnProperty.call(this.body.edges, edgeId)) continue;
-			delete this.body.edges[edgeId];
-		} // remove the container and everything inside it recursively
-
-
-		recursiveDOMDelete(this.body.container);
-	};
-	/**
-	 * Update the values of all object in the given array according to the current
-	 * value range of the objects in the array.
-	 *
-	 * @param {object} obj    An object containing a set of Edges or Nodes
-	 *                        The objects must have a method getValue() and
-	 *                        setValueRange(min, max).
-	 * @private
-	 */
-
-
-	Network.prototype._updateValueRange = function (obj) {
-		var id; // determine the range of the objects
-
-		var valueMin = undefined;
-		var valueMax = undefined;
-		var valueTotal = 0;
-
-		for (id in obj) {
-			if (Object.prototype.hasOwnProperty.call(obj, id)) {
-				var value = obj[id].getValue();
-
-				if (value !== undefined) {
-					valueMin = valueMin === undefined ? value : Math.min(value, valueMin);
-					valueMax = valueMax === undefined ? value : Math.max(value, valueMax);
-					valueTotal += value;
-				}
-			}
-		} // adjust the range of all objects
-
-
-		if (valueMin !== undefined && valueMax !== undefined) {
-			for (id in obj) {
-				if (Object.prototype.hasOwnProperty.call(obj, id)) {
-					obj[id].setValueRange(valueMin, valueMax, valueTotal);
-				}
-			}
-		}
-	};
-	/**
-	 * Returns true when the Network is active.
-	 *
-	 * @returns {boolean}
-	 */
-
-
-	Network.prototype.isActive = function () {
-		return !this.activator || this.activator.active;
-	};
-
-	Network.prototype.setSize = function () {
-		return this.canvas.setSize.apply(this.canvas, arguments);
-	};
-
-	Network.prototype.canvasToDOM = function () {
-		return this.canvas.canvasToDOM.apply(this.canvas, arguments);
-	};
-
-	Network.prototype.DOMtoCanvas = function () {
-		return this.canvas.DOMtoCanvas.apply(this.canvas, arguments);
-	};
-	/**
-	 * Nodes can be in clusters. Clusters can also be in clusters. This function returns and array of
-	 * nodeIds showing where the node is.
-	 *
-	 * If any nodeId in the chain, especially the first passed in as a parameter, is not present in
-	 * the current nodes list, an empty array is returned.
-	 *
-	 * Example:
-	 * cluster 'A' contains cluster 'B',
-	 * cluster 'B' contains cluster 'C',
-	 * cluster 'C' contains node 'fred'.
-	 * `jsnetwork.clustering.findNode('fred')` will return `['A','B','C','fred']`.
-	 *
-	 * @param {string|number} nodeId
-	 * @returns {Array}
-	 */
-
-
-	Network.prototype.findNode = function () {
-		return this.clustering.findNode.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.isCluster = function () {
-		return this.clustering.isCluster.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.openCluster = function () {
-		return this.clustering.openCluster.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.cluster = function () {
-		return this.clustering.cluster.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.getNodesInCluster = function () {
-		return this.clustering.getNodesInCluster.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.clusterByConnection = function () {
-		return this.clustering.clusterByConnection.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.clusterByHubsize = function () {
-		return this.clustering.clusterByHubsize.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.updateClusteredNode = function () {
-		return this.clustering.updateClusteredNode.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.getClusteredEdges = function () {
-		return this.clustering.getClusteredEdges.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.getBaseEdge = function () {
-		return this.clustering.getBaseEdge.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.getBaseEdges = function () {
-		return this.clustering.getBaseEdges.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.updateEdge = function () {
-		return this.clustering.updateEdge.apply(this.clustering, arguments);
-	};
-	/**
-	 * This method will cluster all nodes with 1 edge with their respective connected node.
-	 * The options object is explained in full <a data-scroll="" data-options="{ &quot;easing&quot;: &quot;easeInCubic&quot; }" href="#optionsObject">below</a>.
-	 *
-	 * @param {object} [options]
-	 * @returns {undefined}
-	 */
-
-
-	Network.prototype.clusterOutliers = function () {
-		return this.clustering.clusterOutliers.apply(this.clustering, arguments);
-	};
-
-	Network.prototype.getSeed = function () {
-		return this.layoutEngine.getSeed.apply(this.layoutEngine, arguments);
-	};
-
-	Network.prototype.enableEditMode = function () {
-		return this.manipulation.enableEditMode.apply(this.manipulation, arguments);
-	};
-
-	Network.prototype.disableEditMode = function () {
-		return this.manipulation.disableEditMode.apply(this.manipulation, arguments);
-	};
-
-	Network.prototype.addNodeMode = function () {
-		return this.manipulation.addNodeMode.apply(this.manipulation, arguments);
-	};
-
-	Network.prototype.editNode = function () {
-		return this.manipulation.editNode.apply(this.manipulation, arguments);
-	};
-
-	Network.prototype.editNodeMode = function () {
-		console.warn("Deprecated: Please use editNode instead of editNodeMode.");
-		return this.manipulation.editNode.apply(this.manipulation, arguments);
-	};
-
-	Network.prototype.addEdgeMode = function () {
-		return this.manipulation.addEdgeMode.apply(this.manipulation, arguments);
-	};
-
-	Network.prototype.editEdgeMode = function () {
-		return this.manipulation.editEdgeMode.apply(this.manipulation, arguments);
-	};
-
-	Network.prototype.deleteSelected = function () {
-		return this.manipulation.deleteSelected.apply(this.manipulation, arguments);
-	};
-
-	Network.prototype.getPositions = function () {
-		return this.nodesHandler.getPositions.apply(this.nodesHandler, arguments);
-	};
-
-	Network.prototype.getPosition = function () {
-		return this.nodesHandler.getPosition.apply(this.nodesHandler, arguments);
-	};
-
-	Network.prototype.storePositions = function () {
-		return this.nodesHandler.storePositions.apply(this.nodesHandler, arguments);
-	};
-
-	Network.prototype.moveNode = function () {
-		return this.nodesHandler.moveNode.apply(this.nodesHandler, arguments);
-	};
-
-	Network.prototype.getBoundingBox = function () {
-		return this.nodesHandler.getBoundingBox.apply(this.nodesHandler, arguments);
-	};
-
-	Network.prototype.getConnectedNodes = function (objectId) {
-		if (this.body.nodes[objectId] !== undefined) {
-			return this.nodesHandler.getConnectedNodes.apply(this.nodesHandler, arguments);
-		} else {
-			return this.edgesHandler.getConnectedNodes.apply(this.edgesHandler, arguments);
-		}
-	};
-
-	Network.prototype.getConnectedEdges = function () {
-		return this.nodesHandler.getConnectedEdges.apply(this.nodesHandler, arguments);
-	};
-
-	Network.prototype.startSimulation = function () {
-		return this.physics.startSimulation.apply(this.physics, arguments);
-	};
-
-	Network.prototype.stopSimulation = function () {
-		return this.physics.stopSimulation.apply(this.physics, arguments);
-	};
-
-	Network.prototype.stabilize = function () {
-		return this.physics.stabilize.apply(this.physics, arguments);
-	};
-
-	Network.prototype.getSelection = function () {
-		return this.selectionHandler.getSelection.apply(this.selectionHandler, arguments);
-	};
-
-	Network.prototype.setSelection = function () {
-		return this.selectionHandler.setSelection.apply(this.selectionHandler, arguments);
-	};
-
-	Network.prototype.getSelectedNodes = function () {
-		return this.selectionHandler.getSelectedNodeIds.apply(this.selectionHandler, arguments);
-	};
-
-	Network.prototype.getSelectedEdges = function () {
-		return this.selectionHandler.getSelectedEdgeIds.apply(this.selectionHandler, arguments);
-	};
-
-	Network.prototype.getNodeAt = function () {
-		var node = this.selectionHandler.getNodeAt.apply(this.selectionHandler, arguments);
-
-		if (node !== undefined && node.id !== undefined) {
-			return node.id;
-		}
-
-		return node;
-	};
-
-	Network.prototype.getEdgeAt = function () {
-		var edge = this.selectionHandler.getEdgeAt.apply(this.selectionHandler, arguments);
-
-		if (edge !== undefined && edge.id !== undefined) {
-			return edge.id;
-		}
-
-		return edge;
-	};
-
-	Network.prototype.selectNodes = function () {
-		return this.selectionHandler.selectNodes.apply(this.selectionHandler, arguments);
-	};
-
-	Network.prototype.selectEdges = function () {
-		return this.selectionHandler.selectEdges.apply(this.selectionHandler, arguments);
-	};
-
-	Network.prototype.unselectAll = function () {
-		this.selectionHandler.unselectAll.apply(this.selectionHandler, arguments);
-		this.selectionHandler.commitWithoutEmitting.apply(this.selectionHandler);
-		this.redraw();
-	};
-
-	Network.prototype.redraw = function () {
-		return this.renderer.redraw.apply(this.renderer, arguments);
-	};
-
-	Network.prototype.getScale = function () {
-		return this.view.getScale.apply(this.view, arguments);
-	};
-
-	Network.prototype.getViewPosition = function () {
-		return this.view.getViewPosition.apply(this.view, arguments);
-	};
-
-	Network.prototype.fit = function () {
-		return this.view.fit.apply(this.view, arguments);
-	};
-
-	Network.prototype.moveTo = function () {
-		return this.view.moveTo.apply(this.view, arguments);
-	};
-
-	Network.prototype.focus = function () {
-		return this.view.focus.apply(this.view, arguments);
-	};
-
-	Network.prototype.releaseNode = function () {
-		return this.view.releaseNode.apply(this.view, arguments);
-	};
-
-	Network.prototype.getOptionsFromConfigurator = function () {
-		var options = {};
-
-		if (this.configurator) {
-			options = this.configurator.getOptions.apply(this.configurator);
-		}
-
-		return options;
-	};
-
-	// DOM utility methods
-
-	/**
-	 * this prepares the JSON container for allocating SVG elements
-	 *
-	 * @param {object} JSONcontainer
-	 * @private
-	 */
-	function prepareElements(JSONcontainer) {
-		// cleanup the redundant svgElements;
-		for (var elementType in JSONcontainer) {
-			if (Object.prototype.hasOwnProperty.call(JSONcontainer, elementType)) {
-				JSONcontainer[elementType].redundant = JSONcontainer[elementType].used;
-				JSONcontainer[elementType].used = [];
-			}
-		}
-	}
-	/**
-	 * this cleans up all the unused SVG elements. By asking for the parentNode, we only need to supply the JSON container from
-	 * which to remove the redundant elements.
-	 *
-	 * @param {object} JSONcontainer
-	 * @private
-	 */
-
-	function cleanupElements(JSONcontainer) {
-		// cleanup the redundant svgElements;
-		for (var elementType in JSONcontainer) {
-			if (Object.prototype.hasOwnProperty.call(JSONcontainer, elementType)) {
-				if (JSONcontainer[elementType].redundant) {
-					for (var i = 0; i < JSONcontainer[elementType].redundant.length; i++) {
-						JSONcontainer[elementType].redundant[i].parentNode.removeChild(JSONcontainer[elementType].redundant[i]);
-					}
-
-					JSONcontainer[elementType].redundant = [];
-				}
-			}
-		}
-	}
-	/**
-	 * Ensures that all elements are removed first up so they can be recreated cleanly
-	 *
-	 * @param {object} JSONcontainer
-	 */
-
-	function resetElements(JSONcontainer) {
-		prepareElements(JSONcontainer);
-		cleanupElements(JSONcontainer);
-		prepareElements(JSONcontainer);
-	}
-	/**
-	 * Allocate or generate an SVG element if needed. Store a reference to it in the JSON container and draw it in the svgContainer
-	 * the JSON container and the SVG container have to be supplied so other svg containers (like the legend) can use this.
-	 *
-	 * @param {string} elementType
-	 * @param {object} JSONcontainer
-	 * @param {object} svgContainer
-	 * @returns {Element}
-	 * @private
-	 */
-
-	function getSVGElement(elementType, JSONcontainer, svgContainer) {
-		var element; // allocate SVG element, if it doesnt yet exist, create one.
-
-		if (Object.prototype.hasOwnProperty.call(JSONcontainer, elementType)) {
-			// this element has been created before
-			// check if there is an redundant element
-			if (JSONcontainer[elementType].redundant.length > 0) {
-				element = JSONcontainer[elementType].redundant[0];
-				JSONcontainer[elementType].redundant.shift();
-			} else {
-				// create a new element and add it to the SVG
-				element = document.createElementNS("http://www.w3.org/2000/svg", elementType);
-				svgContainer.appendChild(element);
-			}
-		} else {
-			// create a new element and add it to the SVG, also create a new object in the svgElements to keep track of it.
-			element = document.createElementNS("http://www.w3.org/2000/svg", elementType);
-			JSONcontainer[elementType] = {
-				used: [],
-				redundant: []
-			};
-			svgContainer.appendChild(element);
-		}
-
-		JSONcontainer[elementType].used.push(element);
-		return element;
-	}
-	/**
-	 * Allocate or generate an SVG element if needed. Store a reference to it in the JSON container and draw it in the svgContainer
-	 * the JSON container and the SVG container have to be supplied so other svg containers (like the legend) can use this.
-	 *
-	 * @param {string} elementType
-	 * @param {object} JSONcontainer
-	 * @param {Element} DOMContainer
-	 * @param {Element} insertBefore
-	 * @returns {*}
-	 */
-
-	function getDOMElement(elementType, JSONcontainer, DOMContainer, insertBefore) {
-		var element; // allocate DOM element, if it doesnt yet exist, create one.
-
-		if (Object.prototype.hasOwnProperty.call(JSONcontainer, elementType)) {
-			// this element has been created before
-			// check if there is an redundant element
-			if (JSONcontainer[elementType].redundant.length > 0) {
-				element = JSONcontainer[elementType].redundant[0];
-				JSONcontainer[elementType].redundant.shift();
-			} else {
-				// create a new element and add it to the SVG
-				element = document.createElement(elementType);
-
-				if (insertBefore !== undefined) {
-					DOMContainer.insertBefore(element, insertBefore);
-				} else {
-					DOMContainer.appendChild(element);
-				}
-			}
-		} else {
-			// create a new element and add it to the SVG, also create a new object in the svgElements to keep track of it.
-			element = document.createElement(elementType);
-			JSONcontainer[elementType] = {
-				used: [],
-				redundant: []
-			};
-
-			if (insertBefore !== undefined) {
-				DOMContainer.insertBefore(element, insertBefore);
-			} else {
-				DOMContainer.appendChild(element);
-			}
-		}
-
-		JSONcontainer[elementType].used.push(element);
-		return element;
-	}
-	/**
-	 * Draw a point object. This is a separate function because it can also be called by the legend.
-	 * The reason the JSONcontainer and the target SVG svgContainer have to be supplied is so the legend can use these functions
-	 * as well.
-	 *
-	 * @param {number} x
-	 * @param {number} y
-	 * @param {object} groupTemplate: A template containing the necessary information to draw the datapoint e.g., {style: 'circle', size: 5, className: 'className' }
-	 * @param groupTemplate
-	 * @param {object} JSONcontainer
-	 * @param {object} svgContainer
-	 * @param {object} labelObj
-	 * @returns {vis.PointItem}
-	 */
-
-	function drawPoint(x, y, groupTemplate, JSONcontainer, svgContainer, labelObj) {
-		var point;
-
-		if (groupTemplate.style == "circle") {
-			point = getSVGElement("circle", JSONcontainer, svgContainer);
-			point.setAttributeNS(null, "cx", x);
-			point.setAttributeNS(null, "cy", y);
-			point.setAttributeNS(null, "r", 0.5 * groupTemplate.size);
-		} else {
-			point = getSVGElement("rect", JSONcontainer, svgContainer);
-			point.setAttributeNS(null, "x", x - 0.5 * groupTemplate.size);
-			point.setAttributeNS(null, "y", y - 0.5 * groupTemplate.size);
-			point.setAttributeNS(null, "width", groupTemplate.size);
-			point.setAttributeNS(null, "height", groupTemplate.size);
-		}
-
-		if (groupTemplate.styles !== undefined) {
-			point.setAttributeNS(null, "style", groupTemplate.styles);
-		}
-
-		point.setAttributeNS(null, "class", groupTemplate.className + " vis-point"); //handle label
-
-		if (labelObj) {
-			var label = getSVGElement("text", JSONcontainer, svgContainer);
-
-			if (labelObj.xOffset) {
-				x = x + labelObj.xOffset;
-			}
-
-			if (labelObj.yOffset) {
-				y = y + labelObj.yOffset;
-			}
-
-			if (labelObj.content) {
-				label.textContent = labelObj.content;
-			}
-
-			if (labelObj.className) {
-				label.setAttributeNS(null, "class", labelObj.className + " vis-label");
-			}
-
-			label.setAttributeNS(null, "x", x);
-			label.setAttributeNS(null, "y", y);
-		}
-
-		return point;
-	}
-	/**
-	 * draw a bar SVG element centered on the X coordinate
-	 *
-	 * @param {number} x
-	 * @param {number} y
-	 * @param {number} width
-	 * @param {number} height
-	 * @param {string} className
-	 * @param {object} JSONcontainer
-	 * @param {object} svgContainer
-	 * @param {string} style
-	 */
-
-	function drawBar(x, y, width, height, className, JSONcontainer, svgContainer, style) {
-		if (height != 0) {
-			if (height < 0) {
-				height *= -1;
-				y -= height;
-			}
-
-			var rect = getSVGElement("rect", JSONcontainer, svgContainer);
-			rect.setAttributeNS(null, "x", x - 0.5 * width);
-			rect.setAttributeNS(null, "y", y);
-			rect.setAttributeNS(null, "width", width);
-			rect.setAttributeNS(null, "height", height);
-			rect.setAttributeNS(null, "class", className);
-
-			if (style) {
-				rect.setAttributeNS(null, "style", style);
-			}
-		}
-	}
-
-	var DOMutil = /*#__PURE__*/Object.freeze({
-		__proto__: null,
-		prepareElements: prepareElements,
-		cleanupElements: cleanupElements,
-		resetElements: resetElements,
-		getSVGElement: getSVGElement,
-		getDOMElement: getDOMElement,
-		drawPoint: drawPoint,
-		drawBar: drawBar
-	});
-
-	// Network.
-	var network = {
-		Images: Images,
-		dotparser: dotparser,
-		gephiParser: gephiParser,
-		allOptions: allOptions$1,
-		convertDot: DOTToGraph,
-		convertGephi: parseGephi
-	}; // utils
-
-	var indexLegacy = /*#__PURE__*/Object.freeze({
-		__proto__: null,
-		network: network,
-		DOMutil: DOMutil,
-		util: index$2,
-		data: index,
-		Hammer: Hammer,
-		keycharm: keycharm$1,
-		DataSet: DataSet,
-		DataView: DataView,
-		Queue: Queue,
-		Network: Network
-	});
-
-	exports.DOMutil = DOMutil;
-	exports.DataSet = DataSet;
-	exports.DataView = DataView;
-	exports.Hammer = Hammer;
-	exports.Network = Network;
-	exports.Queue = Queue;
-	exports.data = index;
-	exports["default"] = indexLegacy;
-	exports.keycharm = keycharm$1;
-	exports.network = network;
-	exports.util = index$2;
-
-	Object.defineProperty(exports, '__esModule', { value: true });
-
-}));
-//# sourceMappingURL=vis-network.js.map
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 16:23:21 GMT+0530 (India Standard Time) -
- - - - - diff --git a/docs/tutorial-LICENSE.html b/docs/tutorial-LICENSE.html deleted file mode 100644 index 35cc4a0..0000000 --- a/docs/tutorial-LICENSE.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - JSDoc: Tutorial: LICENSE - - - - - - - - - - -
- -

Tutorial: LICENSE

- -
- -
- - -

LICENSE

-
- -
-

oopt-gnpy-web-gui

-

Introduction

-

Copyright (c) oopt-gnpy-web-gui

-

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

-

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

-

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

-

Dependencies

-

vis-network

-

https://visjs.github.io/vis-network/ -A dynamic, browser-based visualization library.

-

@version 9.1.2 -@date 2022-03-28T20:17:35.342Z -@copyright (c) 2011-2017 Almende B.V, http://almende.com -@copyright (c) 2017-2019 visjs contributors, https://github.com/visjs

-

@license -vis.js is dual licensed under both

-
    -
  1. The Apache 2.0 License http://www.apache.org/licenses/LICENSE-2.0 and
  2. -
  3. The MIT License http://opensource.org/licenses/MIT
  4. -
-

vis.js may be distributed under either license.

-

taffy.js

-

Software License Agreement (BSD License) -Web: http://taffydb.com Twitter: http://twitter.com/biastoact -Copyright (c) All rights reserved. -Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following condition is met:

-

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-

Bootstrap

-

Bootstrap v4.6.1 (https://getbootstrap.com/) -Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) -Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)

-

html2canvas

-

html2canvas 0.4.1 http://html2canvas.hertzen.com -Copyright (c) 2013 Niklas von Hertzen -Released under MIT License

-

jQuery

-

jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license

-

popper.min.js

-

Copyright (C) Federico Zivolo 2020 -Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). -sourceMappingURL=popper.min.js.map

-

Bootstrap

-

Bootstrap v4.6.1 (https://getbootstrap.com/) -Copyright 2011-2021 The Bootstrap Authors -Copyright 2011-2021 Twitter, Inc. -Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)

-

FileSaver.js

-

A saveAs() FileSaver implementation.

-

By Eli Grey, http://eligrey.com

-

License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT) -source : http://purl.eligrey.com/github/FileSaver.js

-

Font Awesome

-

Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome -License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)

-

Font Awesome Free 5.0.6 by @fontawesome - http://fontawesome.com -License - http://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)

-

Material Icons

-

We have made these icons available for you to incorporate them into your products under the Apache License Version 2.0.

-

Feel free to remix and re-share these icons and documentation in your products.

-

We'd love attribution in your app's about screen, but it's not required.

-

Roboto Icons

-

These fonts are licensed under the Apache License, Version 2.0.

-

You can use them in your products & projects � print or digital, commercial or otherwise.

-

This isn't legal advice, please consider consulting a lawyer and see the full license for all details.

-

Oswald Icons

-

These fonts are licensed under the Open Font License.

-

You can use them in your products & projects � print or digital, commercial or otherwise.

-

This isn't legal advice, please consider consulting a lawyer and see the full license for all details.

-
- -
- -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/tutorial-calculator-tutorial.html b/docs/tutorial-calculator-tutorial.html deleted file mode 100644 index 14a2c7b..0000000 --- a/docs/tutorial-calculator-tutorial.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - JSDoc: Tutorial: LICENSE - - - - - - - - - - -
- -

Tutorial: LICENSE

- -
- -
- - -

LICENSE

-
- -
-

oopt-gnpy-web-gui

-

Introduction

-

Copyright (c) oopt-gnpy-web-gui

-

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

-

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

-

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

-

Dependencies

-

vis-network

-

https://visjs.github.io/vis-network/ -A dynamic, browser-based visualization library.

-

@version 9.1.2 -@date 2022-03-28T20:17:35.342Z -@copyright (c) 2011-2017 Almende B.V, http://almende.com -@copyright (c) 2017-2019 visjs contributors, https://github.com/visjs

-

@license -vis.js is dual licensed under both

-
    -
  1. The Apache 2.0 License http://www.apache.org/licenses/LICENSE-2.0 and
  2. -
  3. The MIT License http://opensource.org/licenses/MIT
  4. -
-

vis.js may be distributed under either license.

-

taffy.js

-

Software License Agreement (BSD License) -Web: http://taffydb.com Twitter: http://twitter.com/biastoact -Copyright (c) All rights reserved. -Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following condition is met:

-

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-

Bootstrap

-

Bootstrap v4.6.1 (https://getbootstrap.com/) -Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) -Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)

-

html2canvas

-

html2canvas 0.4.1 http://html2canvas.hertzen.com -Copyright (c) 2013 Niklas von Hertzen -Released under MIT License

-

jQuery

-

jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license

-

popper.min.js

-

Copyright (C) Federico Zivolo 2020 -Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). -sourceMappingURL=popper.min.js.map

-

Bootstrap

-

Bootstrap v4.6.1 (https://getbootstrap.com/) -Copyright 2011-2021 The Bootstrap Authors -Copyright 2011-2021 Twitter, Inc. -Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)

-

FileSaver.js

-

A saveAs() FileSaver implementation.

-

By Eli Grey, http://eligrey.com

-

License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT) -source : http://purl.eligrey.com/github/FileSaver.js

-

Font Awesome

-

Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome -License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)

-

Font Awesome Free 5.0.6 by @fontawesome - http://fontawesome.com -License - http://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)

-
- -
- -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Tue Jul 05 2022 20:05:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/tutorial-program-tutorial.html b/docs/tutorial-program-tutorial.html deleted file mode 100644 index 6c6f3f2..0000000 --- a/docs/tutorial-program-tutorial.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - JSDoc: Tutorial: Program Tutorial - - - - - - - - - - -
- -

Tutorial: Program Tutorial

- -
- -
- - -

Program Tutorial

-
- -
- - - - - - - Program Tutorial - - -

- Lorem ipsum dolor sit amet consectetur adipisicing elit. A consequuntur - saepe libero eveniet quia perferendis autem vitae rem minima, molestias - quo consequatur. Repellat facere enim distinctio culpa tenetur corrupti - sit officia ratione laboriosam quo fuga soluta ducimus necessitatibus - quasi, rerum voluptates, similique voluptas ut quaerat quisquam, pariatur - optio voluptatibus. Reprehenderit. -

- - - -
- -
- -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Tue Jul 05 2022 20:03:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/tutorial-readme.html b/docs/tutorial-readme.html deleted file mode 100644 index d47f7cd..0000000 --- a/docs/tutorial-readme.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - JSDoc: Tutorial: README - - - - - - - - - - -
- -

Tutorial: README

- -
- -
- - -

README

-
- -
-

GNPy Tool UI/UX

-

Technologies:

-

Front-End : HTML

-

Client-Script : Javascript and Jquery

-

CSS : Bootstrap

-

Js libraries:

-

Vis.js (Network):

-

A network is a visualization to display networks of networks consisting of nodes and edges. The visualization is easy to use and supports custom shapes, styles, colors, sizes, images, and more. The network visualization works smoothly on any modern browser for up to a few thousand nodes and edges. To handle a larger number of nodes, the Network has clustering support. The network uses HTML canvas for rendering.

-

Alea.js:

-

Alea library is a pseudo-random number generator (PRNG).

-

ExampleUtil.js:

-

This library describes how to create some random nodes and fiber/patch/service.

-

Mynetwork.js:

-

The mynetwork library file describes how to initialize the network area using vis.js and defines common functionalities of network components.

-

Node.js:

-

The node can be defined as the connection point of "ROADM, Attenuator, Transceiver, Amplifier, and Raman Amplifier" and defines the node manipulations.

-

Fiber.js:

-

The fiber library describes how to add a fiber connection between any 2 nodes by dragging from source node to destination and defines the fiber manipulation.

-

Patch.js:

-

The patch library describes how to add a patch connection between any 2 nodes by dragging from source node to destination and defines the patch manipulation.

-

Service.js:

-

The Service is also the same as the connectivity path between 2 transceiver nodes. This library file defines service manipulation.

-

Constraints.js:

-

The constraints library is a list of rules for components. It is defining the network topology validation.

-

Validation.js:

-

The Validations library currently describes the validation of component name, length, and type.

-

Main.js:

-

The main.js library describes UI actions. like show/hide and update the HTML element with style based on user interaction.

-

Filesaver.js:

-

Filesaver.js is the solution to saving files on the client-side and is perfect for web apps that generate files on the client.

-

Html2Canvas.js:

-

The library allows taking "screenshots" of webpages or parts of them, directly on the user’s browser. The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page.

-

Taffy.js:

-

The library provides powerful in-memory database capabilities to both browser and server applications. this stores data in JSON format.

-

Bootstrap.js:

-

Bootstrap is a free front-end framework for faster and easier web development. Bootstrap includes HTML and CSS-based design templates for typography, forms, buttons, tables, navigation, modals, image carousels, and many others, as well as optional JavaScript plugins.

-

Jquery.js:

-

jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.

-

Lodash.js:

-

Lodash helps programmers write more concisely and easier to maintain JavaScript code. Lodash contains tools to simplify programming with strings, numbers, arrays, functions, and objects. By convention, the Lodash module is mapped to the underscore character

-

Popper.js:

-

A library used to manage poppers in web applications. Popper. js is a positioning engine, its purpose is to calculate the position of an element to make it possible to position it near a given reference element.

-

JSON:

-

Configuration Data.json:

-

This JSON describes the data configuration of network components.

-

Style Data.json:

-

This JSON describes the style configuration of network components.

-
- -
- -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:13:06 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/tutorial-technical_document.html b/docs/tutorial-technical_document.html deleted file mode 100644 index 958e8da..0000000 --- a/docs/tutorial-technical_document.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - JSDoc: Tutorial: technical_document - - - - - - - - - - -
- -

Tutorial: technical_document

- -
- -
- - -

technical_document

-
- -
-

GNPy Tool UI/UX

-

Technologies:

-

Front-End : HTML

-

Client-Script : Javascript and Jquery

-

CSS : Bootstrap

-

Js libraries:

-

Vis.js (Network):

-

A network is a visualization to display networks of networks consisting of nodes and edges. The visualization is easy to use and supports custom shapes, styles, colors, sizes, images, and more. The network visualization works smoothly on any modern browser for up to a few thousand nodes and edges. To handle a larger number of nodes, the Network has clustering support. The network uses HTML canvas for rendering.

-

Alea.js:

-

Alea library is a pseudo-random number generator (PRNG).

-

ExampleUtil.js:

-

This library describes how to create some random nodes and fiber/patch/service.

-

Mynetwork.js:

-

The mynetwork library file describes how to initialize the network area using vis.js and defines common functionalities of network components.

-

Node.js:

-

The node can be defined as the connection point of "ROADM, Attenuator, Transceiver, Amplifier, and Raman Amplifier" and defines the node manipulations.

-

Fiber.js:

-

The fiber library describes how to add a fiber connection between any 2 nodes by dragging from source node to destination and defines the fiber manipulation.

-

Patch.js:

-

The patch library describes how to add a patch connection between any 2 nodes by dragging from source node to destination and defines the patch manipulation.

-

Service.js:

-

The Service is also the same as the connectivity path between 2 transceiver nodes. This library file defines service manipulation.

-

Constraints.js:

-

The constraints library is a list of rules for components. It is defining the network topology validation.

-

Validation.js:

-

The Validations library currently describes the validation of component name, length, and type.

-

Main.js:

-

The main.js library describes UI actions. like show/hide and update the HTML element with style based on user interaction.

-

Filesaver.js:

-

Filesaver.js is the solution to saving files on the client-side and is perfect for web apps that generate files on the client.

-

Html2Canvas.js:

-

The library allows taking "screenshots" of webpages or parts of them, directly on the user’s browser. The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page.

-

Taffy.js:

-

The library provides powerful in-memory database capabilities to both browser and server applications. this stores data in JSON format.

-

Bootstrap.js:

-

Bootstrap is a free front-end framework for faster and easier web development. Bootstrap includes HTML and CSS-based design templates for typography, forms, buttons, tables, navigation, modals, image carousels, and many others, as well as optional JavaScript plugins.

-

Jquery.js:

-

jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.

-

Lodash.js:

-

Lodash helps programmers write more concisely and easier to maintain JavaScript code. Lodash contains tools to simplify programming with strings, numbers, arrays, functions, and objects. By convention, the Lodash module is mapped to the underscore character

-

Popper.js:

-

A library used to manage poppers in web applications. Popper. js is a positioning engine, its purpose is to calculate the position of an element to make it possible to position it near a given reference element.

-

JSON:

-

Configuration Data.json:

-

This JSON describes the data configuration of network components.

-

Style Data.json:

-

This JSON describes the style configuration of network components.

-
- -
- -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 19:21:36 GMT+0530 (India Standard Time) -
- - - - - \ No newline at end of file diff --git a/docs/validation.js.html b/docs/validation.js.html deleted file mode 100644 index 44068d5..0000000 --- a/docs/validation.js.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - JSDoc: Source: validation.js - - - - - - - - - - -
- -

Source: validation.js

- - - - - - -
-
-
 /**
- * validation module
- * @module validation
- */
-
-/**
- * validation.js
- * The Validations library currently describes the validation of component name, length, type.
- */
-
-$(document).ready(function () {
-    $("#txtSpan_Length").change(function () {
-        var span_length = $("#txtSpan_Length").val().trim();
-        var spanlen = parseFloat(span_length);
-        if (isNaN(span_length) || spanlen <= 0 || span_length == "") {
-            $("#txtSpan_Length").addClass('input_error');
-            return;
-        }
-        else
-            $("#txtSpan_Length").removeClass('input_error');
-
-        if ($('#cbxLength_Based_Loss').is(":checked")) {
-            fiberCalc();
-                
-        }
-    });
-    $("#txtLoss_Coefficient").change(function () {
-        if ($('#cbxLength_Based_Loss').is(":checked")) {
-            var span_length = $("#txtLoss_Coefficient").val().trim();
-            var spanlen = parseFloat(span_length);
-            if (isNaN(span_length) || spanlen <= 0 || span_length == "") {
-                return;
-            }
-            fiberCalc();
-        }
-        
-
-        
-
-    });
-    function fiberCalc() {
-        var span_length = $("#txtSpan_Length").val().trim();
-        var spanlen = parseFloat(span_length);
-        var loss_coeff = $("#txtLoss_Coefficient").val().trim();
-        var lossCoeff = parseFloat(loss_coeff);
-        if (!isNaN(span_length) || spanlen >= 0 || span_length != "" || !isNaN(loss_coeff) || lossCoeff >= 0 || loss_coeff != "")
-            fiberLengthCal('txtSpan_Length', 'txtLoss_Coefficient', 'txtSpan_Loss');
-    }
-    $("#ddlSingleFiberType").change(function () {
-        if ($(this).val()=="") {
-            $("#ddlSingleFiberType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlSingleFiberType").removeClass('input_error');
-
-    });
-    $("#ddlRoadmType").change(function () {
-        if ($(this).val() == "") {
-            $("#ddlRoadmType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlRoadmType").removeClass('input_error');
-
-    });
-    $("#ddlAmplifierType").change(function () {
-        if ($(this).val() == "") {
-            $("#ddlAmplifierType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlAmplifierType").removeClass('input_error');
-
-    });
-    $("#ddlRamanAmpType").change(function () {
-        if ($(this).val() == "") {
-            $("#ddlRamanAmpType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlRamanAmpType").removeClass('input_error');
-
-    });
-    $("#ddlRamanAmpCategory").change(function () {
-        if ($(this).val() == "") {
-            $("#ddlRamanAmpCategory").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlRamanAmpCategory").removeClass('input_error');
-
-    });
-    $("#ddlTransceiverType").change(function () {
-        if ($(this).val() == "") {
-            $("#ddlTransceiverType").addClass('input_error');
-            return;
-        }
-        else
-            $("#ddlTransceiverType").removeClass('input_error');
-
-    });
-
-});
-
-/**
- * Validate the node/fiber/patch/service name and name length.
- * @param {HTMLElement} element - Input element
- */
-function nameLengthValidation(element) {
-    var flag = true;
-    var elementID = "#" + element
-    var maxLength = Number(configData.node.site_length);
-    var msg = "";
-    if ($(elementID).val().trim() == '') {
-        msg = "Please enter the name";
-        flag = false;
-    }
-    else if (Number($(elementID).val().trim().length) > maxLength) {
-        msg = "Name length should be less than or equal to 20";
-        flag = false;
-    }
-    if (!flag)
-        showMessage(alertType.Error, msg);
-    return flag;
-}
-
-/** Validate export file name. */
-function exportFileValidation() {
-    var flag = false;
-    if ($("#txtFileName").val().trim() != '')
-        flag = true;
-    else
-        showMessage(alertType.Error, 'Please enter file name');
-    return flag;
-}
-
-/** Validate ROADM list, type and Amplifier type. */
-function roadmProVal() {
-    var flag = false;
-    if ($("#ddlRoadmList").val().trim() != 0 && $("#ddlROADMType").val().trim() != 0 && $("#ddlRPreAmpType").val().trim() != 0 && $("#ddlRBoosterType").val().trim() != 0)
-        flag = true;
-    else
-        showMessage(alertType.Error, 'Please enter the value');
-    return flag;
-}
-
-
- - - - -
- - - -
- -
- Documentation generated by JSDoc 3.6.10 on Wed Jul 06 2022 15:49:42 GMT+0530 (India Standard Time) -
- - - - -

)CdQ3F!eKyF|9D2V!F-rhUpJ8J+l7g0OBBVM#THTI&O8)>EGR%u6Gd9D9pm5!S}%&6DxW}^f|7=Y zPoO3(pTZY#?(7(|!5}5Nn!D%DotZmlW)?smSMcEE<^aT$6gw#LlwubPI9BYTffL0! zyu-EPCnz{Y#ZR&1d{F!hr_NW!&#~mXis$jseXDo@U)-kR7sMBeUt-T&RQw9By@BF9 z3f?cpmw4m-R{RHncaC**(V--ipJ<~6LkW2fi6RVfh%vcYt9@z>&M0LBSf-Q|Et8wU zCt43_*JB)mHR71wb`K@~5Cizwp{`A2uuJ^_Bcl3k{7ree$8&@l?;^2nagS+NqCDBfkB?pJws=PbK~+A7|2 z{gCDJKI-i%m4LD$n{WIwWR|c+NRy`C1#)1sSBI7FiH6z-QkhY&Q_|%I3exQ zQ`X1M?cZH4^M&BSyr;2z$+^SZUMA*0001Z+HKHROw(}?!13=vX`$@Br+fGR zZ%e`5O6%Txi$Yrz0gF{}p>fY>OnlS0Uevf}oDXW;D{d2gcE<2)oFcV80@g$H)63L{HN*d{8kVzKVW(;E)$9N_%kx5Ku3R9WJbY?JW^G#k0Wdx>E$NBBVtKRLiL?sA*s%w`TdsNz1=+~FRNdB8&+@iBD0 zXFTC4C-8-Cwv(4U=LLQ~^Oa4^rG|OTr5?ItoaPMYxxh`%a*kVU z;HYGAjq6;IY{`*awo0DlOMw(hkrYdb(O28l;MYvSx*ChcQW4f^QL5UdE3HbqvbxB$pfSg`>Cj#;?~00;nMAg}==M6d%RaIhCe zARtS)01i=0um)3FSgr#ump{<1pq_<0a34Kp8x=7I1^|9 diff --git a/docs/fonts/OpenSans-Regular-webfont.eot b/docs/fonts/OpenSans-Regular-webfont.eot deleted file mode 100644 index 6bbc3cf58cb011a6b4bf3cb1612ce212608f7274..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19836 zcmZsgRZtvUw51zpym5DThsL#WcXxNU5Zv8egL^}8cXxMp4*>!Rfh5d-=k3gW1;PMQVF3RzW%ci{fFmPHfCS@z{{K`l z41n@~^u3v|;D7Xg7dAi*;0~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- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/fonts/OpenSans-Regular-webfont.woff b/docs/fonts/OpenSans-Regular-webfont.woff deleted file mode 100644 index e231183dce4c7b452afc9e7799586fd285e146f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22660 zcmZsBb8u!&^yZs4wmESowrx9^*tTukn%K5&Yhv4(*qAukeD&L{+O67q>#5V{x##IV z{l`6h>vp@zi-`e10Npn{(tTN_YxCRmIVMn%D!3L|6nA35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#hXY*Dq1Gl=&na{S|A?PeZ4+r=814CoP)1Erp&vsQ_Xv>?k%Ht784v7 zGFCJ=G|zo%6(n3 zcQ~eHuf($_xj&03@#w!~@&hCMrV%xx3>||Npk@hPSN6 z-JQW!fw7H_0>cTefspV9!Crvi8uS4OZox_58HWep6}t7u8~5_bU2>PZBZ`*zt-O6H6TNB#=lF$)u1<8tG(^Nfz1UkV_u<6i`SJ#gtG=D_YZrwzQ)? z9q33WI@5)&bfY^KG<2-kuv3PEaw_OSPkPatKJ=v@PF(b-5;qsKztm7)X`M`R%vxPkz=8(j&nYXNAml(yw zHZil28@!iT_Hu+@{Ny(WIL2LWbDUYsW(U>Wr-nP+<1r6-$Rj?6zxRwMJmmzw@XvPg zlIOg@&u6}}i8%zA%RFkSV;}X*r-2}igjm2r7V(M2ETM^|EN2-P+0RN=u!_}u;TxBD z#Ys+anb*AIjl@a3BuJtpNwTC!s-#J}WJsoDNj9fB!+9=nle3)T78^J!Ib7p9S0q>R zB%iH(mjWr2A}N*qGq^*+`sT!~_VKtP`-Ih%R;A6{ za<;Bp{{lIAr&0g_086+4$WmCb0RfI#xd;FV0AnDq0V71P10!&-7eyc-OSk|IQA@A} zQ(9QCG#jueSzu-$id9&!0wrOv0YzgYVz2@uM6wG31}d@)1_mm!6b1$=S+WEu2}M#w zvJ40ZDzOFuM6o0Rh*4OuK!{ke1_MN~CIN_1ShxfLh*+@(0Yq6@Sy{LN|Anvwjj;s) ML;wL%uV=LY00kR;TmS$7 diff --git a/docs/global.html b/docs/global.html deleted file mode 100644 index 9b499cb..0000000 --- a/docs/global.html +++ /dev/null @@ -1,448 +0,0 @@ - - - - - JSDoc: Global - - - - - - - - - - -