!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.f6=n():t.f6=n()}(this,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var i=n[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)r.d(e,i,function(n){return t[n]}.bind(null,i));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=214)}({0:function(t,n,r){"use strict";r.d(n,"e",(function(){return O})),r.d(n,"x",(function(){return j})),r.d(n,"l",(function(){return w})),r.d(n,"p",(function(){return v})),r.d(n,"q",(function(){return y})),r.d(n,"s",(function(){return A})),r.d(n,"u",(function(){return P})),r.d(n,"w",(function(){return M})),r.d(n,"f",(function(){return c})),r.d(n,"g",(function(){return C})),r.d(n,"i",(function(){return u})),r.d(n,"j",(function(){return a})),r.d(n,"k",(function(){return x})),r.d(n,"m",(function(){return s})),r.d(n,"n",(function(){return p})),r.d(n,"o",(function(){return b})),r.d(n,"a",(function(){return N})),r.d(n,"b",(function(){return k})),r.d(n,"c",(function(){return l})),r.d(n,"h",(function(){return T})),r.d(n,"r",(function(){return I})),r.d(n,"d",(function(){return D})),r.d(n,"v",(function(){return F})),r.d(n,"t",(function(){return R}));var e=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)},i={}.toString,o=function(t,n){return i.call(t)==="[object "+n+"]"},u=function(t){return o(t,"Function")},a=function(t){return null==t},c=function(t){return Array.isArray?Array.isArray(t):o(t,"Array")};function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=function(t){var n=f(t);return null!==t&&"object"===n||"function"===n};var l=function(t,n){if(t)if(c(t))for(var r=0,e=t.length;r0&&i[i.length-1])||6!==o[0]&&2!==o[0])){u=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]-1}},function(t,n,r){"use strict";n.a=function(t){var n=u(t);return null!==t&&"object"===n||"function"===n}},function(t,n,r){"use strict";var e=r(2),i=r(1);n.a=function(t,n){if(!Object(i.a)(t))return t;var r=[];return Object(e.a)(t,(function(t,e){n(t,e)&&r.push(t)})),r}},function(t,n,r){"use strict";n.a=function(t){return"object"===u(t)&&null!==t}},function(t,n,r){"use strict";function e(t,n){for(var r in n)n.hasOwnProperty(r)&&"constructor"!==r&&void 0!==n[r]&&(t[r]=n[r])}n.a=function(t,n,r,i){return n&&e(t,n),r&&e(t,r),i&&e(t,i),t}},function(t,n,r){var e=r(30),i=["LR","RL","TB","BT","H","V"],o=["LR","RL","H"],u=i[0];t.exports=function(t,n,r){var a=n.direction||u;if(n.isHorizontal=function(t){return o.indexOf(t)>-1}(a),a&&-1===i.indexOf(a))throw new TypeError("Invalid direction: "+a);if(a===i[0])r(t,n);else if(a===i[1])r(t,n),t.right2left();else if(a===i[2])r(t,n);else if(a===i[3])r(t,n),t.bottom2top();else if(a===i[4]||a===i[5]){var c=e(t,n),f=c.left,s=c.right;r(f,n),r(s,n),n.isHorizontal?f.right2left():f.bottom2top(),s.translate(f.x-s.x,f.y-s.y),t.x=f.x,t.y=s.y;var l=t.getBoundingBox();n.isHorizontal?l.top<0&&t.translate(0,-l.top):l.left<0&&t.translate(-l.left,0)}var d=n.fixedRoot;return void 0===d&&(d=!0),d&&t.translate(-(t.x+t.width/2+t.hgap),-(t.y+t.height/2+t.vgap)),t}},function(t,n,r){var e=r(7),i={getId:function(t){return t.id||t.name},getPreH:function(t){return t.preH||0},getPreV:function(t){return t.preV||0},getHGap:function(t){return t.hgap||18},getVGap:function(t){return t.vgap||18},getChildren:function(t){return t.children},getHeight:function(t){return t.height||36},getWidth:function(t){var n=t.label||" ";return t.width||18*n.split("").length}};function o(t,n){var r=this;if(r.vgap=r.hgap=0,t instanceof o)return t;r.data=t;var e=n.getHGap(t),i=n.getVGap(t);return r.preH=n.getPreH(t),r.preV=n.getPreV(t),r.width=n.getWidth(t),r.height=n.getHeight(t),r.width+=r.preH,r.height+=r.preV,r.id=n.getId(t),r.x=r.y=0,r.depth=0,r.children||(r.children=[]),r.addGap(e,i),r}e.assign(o.prototype,{isRoot:function(){return 0===this.depth},isLeaf:function(){return 0===this.children.length},addGap:function(t,n){this.hgap+=t,this.vgap+=n,this.width+=2*t,this.height+=2*n},eachNode:function(t){for(var n,r=[this];n=r.shift();)t(n),r=n.children.concat(r)},DFTraverse:function(t){this.eachNode(t)},BFTraverse:function(t){for(var n,r=[this];n=r.shift();)t(n),r=r.concat(n.children)},getBoundingBox:function(){var t={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode((function(n){t.left=Math.min(t.left,n.x),t.top=Math.min(t.top,n.y),t.width=Math.max(t.width,n.x+n.width),t.height=Math.max(t.height,n.y+n.height)})),t},translate:function(t,n){void 0===t&&(t=0),void 0===n&&(n=0),this.eachNode((function(r){r.x+=t,r.y+=n,r.x+=r.preH,r.y+=r.preV}))},right2left:function(){var t=this.getBoundingBox();this.eachNode((function(n){n.x=n.x-2*(n.x-t.left)-n.width})),this.translate(t.width,0)},bottom2top:function(){var t=this.getBoundingBox();this.eachNode((function(n){n.y=n.y-2*(n.y-t.top)-n.height})),this.translate(0,t.height)}}),t.exports=function(t,n,r){void 0===n&&(n={});var u,a=new o(t,n=e.assign({},i,n)),c=[a];if(!r&&!t.collapsed)for(;u=c.shift();)if(!u.data.collapsed){var f=n.getChildren(u.data),s=f?f.length:0;if(u.children=new Array(s),f&&s)for(var l=0;l-1;)i.call(t,a,1);return t}},function(t,n,r){"use strict";var e=r(2),i=r(0),o=r(9);n.a=function(t,n,r){if(!Object(i.a)(t)&&!Object(o.a)(t))return t;var u=r;return Object(e.a)(t,(function(t,r){u=n(u,t,r)})),u}},function(t,n,r){"use strict";var e=r(1),i=r(21);n.a=function(t,n){var r=[];if(!Object(e.a)(t))return r;for(var o=-1,u=[],a=t.length;++on[e])return 1;if(t[e]r?r:t}},function(t,n,r){"use strict";n.a=function(t,n){var r=n.toString(),e=r.indexOf(".");if(-1===e)return Math.round(t);var i=r.substr(e+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))}},function(t,n,r){"use strict";var e=r(5);n.a=function(t){return Object(e.a)(t)&&t%1!=0}},function(t,n,r){"use strict";var e=r(5);n.a=function(t){return Object(e.a)(t)&&t%2==0}},function(t,n,r){"use strict";var e=r(5),i=Number.isInteger?Number.isInteger:function(t){return Object(e.a)(t)&&t%1==0};n.a=i},function(t,n,r){"use strict";var e=r(5);n.a=function(t){return Object(e.a)(t)&&t<0}},function(t,n,r){"use strict";n.a=function(t,n,r){return void 0===r&&(r=1e-5),Math.abs(t-n)0}},function(t,n,r){"use strict";var e=r(2),i=r(0),o=r(3);n.a=function(t,n){if(Object(i.a)(t)){var r,u,a=t[0];return r=Object(o.a)(n)?n(t[0]):t[0][n],Object(e.a)(t,(function(t){(u=Object(o.a)(n)?n(t):t[n])>r&&(a=t,r=u)})),a}}},function(t,n,r){"use strict";var e=r(2),i=r(0),o=r(3);n.a=function(t,n){if(Object(i.a)(t)){var r,u,a=t[0];return r=Object(o.a)(n)?n(t[0]):t[0][n],Object(e.a)(t,(function(t){(u=Object(o.a)(n)?n(t):t[n])n?(e&&(clearTimeout(e),e=null),a=f,u=t.apply(i,o),e||(i=o=null)):e||!1===r.trailing||(e=setTimeout(c,s)),u};return f.cancel=function(){clearTimeout(e),a=0,e=i=o=null},f}},function(t,n,r){"use strict";var e=r(1);n.a=function(t){return Object(e.a)(t)?Array.prototype.slice.call(t):[]}},function(t,n,r){"use strict";var e={};n.a=function(t){return e[t=t||"g"]?e[t]+=1:e[t]=1,t+e[t]}},function(t,n,r){"use strict";n.a=function(){}},function(t,n,r){"use strict";n.a=function(t){return t}},function(t,n,r){"use strict";n.a=function(t){return Object(e.a)(t)?0:Object(i.a)(t)?t.length:Object.keys(t).length};var e=r(6),i=r(1)},function(t,n,r){"use strict";var e=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,n){var r=this.map[t];return void 0===r?n:r},t.prototype.set=function(t,n){this.map[t]=n},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();n.a=e},function(t,n){function r(t,n,r,e){void 0===e&&(e=[]);var i=this;i.w=t||0,i.h=n||0,i.y=r||0,i.x=0,i.c=e||[],i.cs=e.length,i.prelim=0,i.mod=0,i.shift=0,i.change=0,i.tl=null,i.tr=null,i.el=null,i.er=null,i.msel=0,i.mser=0}function e(t,n){var r=function t(n,r){var e=r?n.y:n.x;return n.children.forEach((function(n){e=Math.min(t(n,r),e)})),e}(t,n);!function t(n,r,e){e?n.y+=r:n.x+=r,n.children.forEach((function(n){t(n,r,e)}))}(t,-r,n)}r.fromNode=function(t,n){if(!t)return null;var e=[];return t.children.forEach((function(t){e.push(r.fromNode(t,n))})),n?new r(t.height,t.width,t.x,e):new r(t.width,t.height,t.y,e)},t.exports=function(t,n){void 0===n&&(n={});var i=n.isHorizontal;function o(t){0===t.cs?(t.el=t,t.er=t,t.msel=t.mser=0):(t.el=t.c[0].el,t.msel=t.c[0].msel,t.er=t.c[t.cs-1].er,t.mser=t.c[t.cs-1].mser)}function u(t,n,r){for(var e=t.c[n-1],i=e.mod,o=t.c[n],u=o.mod;null!==e&&null!==o;){s(e)>r.low&&(r=r.nxt);var l=i+e.prelim+e.w-(u+o.prelim);l>0&&(u+=l,a(t,n,r.index,l));var d=s(e),h=s(o);d<=h&&null!==(e=f(e))&&(i+=e.mod),d>=h&&null!==(o=c(o))&&(u+=o.mod)}!e&&o?function(t,n,r,e){var i=t.c[0].el;i.tl=r;var o=e-r.mod-t.c[0].msel;i.mod+=o,i.prelim-=o,t.c[0].el=t.c[n].el,t.c[0].msel=t.c[n].msel}(t,n,o,u):e&&!o&&function(t,n,r,e){var i=t.c[n].er;i.tr=r;var o=e-r.mod-t.c[n].mser;i.mod+=o,i.prelim-=o,t.c[n].er=t.c[n-1].er,t.c[n].mser=t.c[n-1].mser}(t,n,e,i)}function a(t,n,r,e){t.c[n].mod+=e,t.c[n].msel+=e,t.c[n].mser+=e,function(t,n,r,e){if(r!==n-1){var i=n-r;t.c[r+1].shift+=e/i,t.c[n].shift-=e/i,t.c[n].change-=e-e/i}}(t,n,r,e)}function c(t){return 0===t.cs?t.tl:t.c[0]}function f(t){return 0===t.cs?t.tr:t.c[t.cs-1]}function s(t){return t.y+t.h}function l(t,n,r){for(;null!==r&&t>=r.low;)r=r.nxt;return{low:t,index:n,nxt:r}}!function t(n,r,e){void 0===e&&(e=0),r?(n.x=e,e+=n.width):(n.y=e,e+=n.height),n.children.forEach((function(n){t(n,r,e)}))}(t,i);var d=r.fromNode(t,i);return function t(n){if(0!==n.cs){t(n.c[0]);for(var r=l(s(n.c[0].el),0,null),e=1;eu&&(u=n.depth);var r=n.children,e=r.length,o=new i(n.height,[]);return r.forEach((function(n,r){var i=t(n);o.children.push(i),0===r&&(o.leftChild=i),r===e-1&&(o.rightChild=i)})),o.originNode=n,o.isLeaf=n.isLeaf(),o}(t);return function t(n){if(n.isLeaf||0===n.children.length)n.drawingDepth=u;else{var r=n.children.map((function(n){return t(n)})),e=Math.min.apply(null,r);n.drawingDepth=e-1}return n.drawingDepth}(a),function t(e){e.x=e.drawingDepth*n.rankSep,e.isLeaf?(e.y=0,r&&(e.y=r.y+r.height+n.nodeSep,e.originNode.parent!==r.originNode.parent&&(e.y+=n.subTreeSep)),r=e):(e.children.forEach((function(n){t(n)})),e.y=(e.leftChild.y+e.rightChild.y)/2)}(a),function t(n,r,e){e?(r.x=n.x,r.y=n.y):(r.x=n.y,r.y=n.x),n.children.forEach((function(n,i){t(n,r.children[i],e)}))}(a,t,n.isHorizontal),t}},function(t,n,r){var e=r(11),i=r(117),o=r(30),u=r(7),a=["LR","RL","H"],c=a[0],f=function(t){var n,r;function e(){return t.apply(this,arguments)||this}return r=t,(n=e).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,e.prototype.execute=function(){var t=this.options,n=this.rootNode;t.isHorizontal=!0;var r=t.indent,e=void 0===r?20:r,u=t.dropCap,f=void 0===u||u,s=t.direction||c;if(s&&-1===a.indexOf(s))throw new TypeError("Invalid direction: "+s);if(s===a[0])i(n,e,f);else if(s===a[1])i(n,e,f),n.right2left();else if(s===a[2]){var l=o(n,t),d=l.left,h=l.right;i(d,e,f),d.right2left(),i(h,e,f);var p=d.getBoundingBox();h.translate(p.width,0),n.x=h.x-n.width/2}return n},e}(e),s={};t.exports=function(t,n){return n=u.assign({},s,n),new f(t,n).execute()}},function(t,n){t.exports=function(t,n,r){var e=null;t.eachNode((function(t){!function(t,n,r,e){if(!e)try{if(t.id===t.parent.children[0].id)return t.x+=r*t.depth,void(t.y=n?n.y:0)}catch(t){}t.x+=r*t.depth,t.y=n?n.y+n.height:0}(t,e,n,r),e=t}))}},function(t,n,r){var e=r(11),i=r(119),o=r(17),u=r(7),a=function(t){var n,r;function e(){return t.apply(this,arguments)||this}return r=t,(n=e).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,e.prototype.execute=function(){return o(this.rootNode,this.options,i)},e}(e),c={};t.exports=function(t,n){return n=u.assign({},c,n),new a(t,n).execute()}},function(t,n,r){var e=r(7),i={getSubTreeSep:function(){return 0}};t.exports=function(t,n){void 0===n&&(n={}),n=e.assign({},i,n),t.parent={x:0,width:0,height:0,y:0},t.BFTraverse((function(t){t.x=t.parent.x+t.parent.width})),t.parent=null,function t(n,r){var e=0;return n.children.length?n.children.forEach((function(n){e+=t(n,r)})):e=n.height,n._subTreeSep=r.getSubTreeSep(n.data),n.totalHeight=Math.max(n.height,e)+2*n._subTreeSep,n.totalHeight}(t,n),t.startY=0,t.y=t.totalHeight/2-t.height/2,t.eachNode((function(t){var n=t.children,r=n.length;if(r){var e=n[0];if(e.startY=t.startY+t._subTreeSep,1===r)e.y=t.y+t.height/2-e.height/2;else{e.y=e.startY+e.totalHeight/2-e.height/2;for(var i=1;in.height)n.y=i.y+u/2-n.height/2;else if(1!==r.length||n.height>a){var c=n.y+(n.height-u)/2-i.y;r.forEach((function(t){t.translate(0,c)}))}else n.y=(i.y+i.height/2+o.y+o.height/2)/2-n.height/2}}(t)}}])},"object"===u(n)&&"object"===u(t)?t.exports=o():(e=[],void 0===(i="function"==typeof(r=o)?r.apply(n,e):r)||(t.exports=i))}).call(this,r(50)(t))},214:function(t,n,r){"use strict";r.r(n);var e=r(1),i=r(104),o=r.n(i),u=r(0);n.default=function(t){var n=t.Graph,r=t.Util,i=r.radialLayout,a=r.traverseTree;return function(t){function n(n){var r=t.call(this,n)||this;return r.layoutAnimating=!1,r.set("removeList",[]),r.set("layoutMethod",r.getLayout()),r}return Object(e.c)(n,t),n.prototype.getLayout=function(){var t=this.get("layout");return t?"function"==typeof t?t:(t.type||(t.type="dendrogram"),t.direction||(t.direction="TB"),t.radial?function(n){var r=o.a[t.type](n,t);return i(r),r}:function(n){return o.a[t.type](n,t)}):null},n.indexOfChild=function(t,n){var r=-1;return Object(u.c)(t,(function(t,e){if(n===t.id)return r=e,!1})),r},n.prototype.getDefaultCfg=function(){var n=t.prototype.getDefaultCfg.call(this);return n.animate=!0,n},n.prototype.innerAddChild=function(t,n,r){var e=this,i=t.data;i&&(i.x=t.x,i.y=t.y,i.depth=t.depth);var o=e.addItem("node",i,!1);if(n){if(o.set("parent",n),r){var a=n.get("originAttrs");if(a)o.set("originAttrs",a);else{var c=n.getModel();o.set("originAttrs",{x:c.x,y:c.y})}}var f=n.get("children");f?f.push(o):n.set("children",[o]),e.addItem("edge",{source:n,target:o,id:n.get("id")+":"+o.get("id")},!1)}return Object(u.c)(t.children||[],(function(t){e.innerAddChild(t,o,r)})),e.emit("afteraddchild",{item:o,parent:n}),o},n.prototype.innerUpdateChild=function(t,r,e){var i=this,o=i.findById(t.id);if(o){Object(u.c)(t.children||[],(function(t){i.innerUpdateChild(t,o,e)}));var a,c,f=o.get("children");if(f)if(f.length>0)for(var s=f.length-1;s>=0;s--){var l=f[s].getModel();-1===n.indexOfChild(t.children||[],l.id)&&(i.innerRemoveChild(l.id,{x:t.x,y:t.y},e),f.splice(s,1))}o.get("originAttrs")&&(a=o.get("originAttrs").x,c=o.get("originAttrs").y);var d=o.getModel();e&&o.set("originAttrs",{x:d.x,y:d.y}),o.set("model",t.data),a===t.x&&c===t.y||o.updatePosition({x:t.x,y:t.y})}else i.innerAddChild(t,r,e)},n.prototype.innerRemoveChild=function(t,n,r){var e=this,i=e.findById(t);if(i)if(Object(u.c)(i.get("children"),(function(t){e.innerRemoveChild(t.getModel().id,n,r)})),r){var o=i.getModel();i.set("to",n),i.set("originAttrs",{x:o.x,y:o.y}),e.get("removeList").push(i)}else e.removeItem(i)},n.prototype.changeData=function(t){var n=this;this.getNodes().map((function(t){return n.clearItemStates(t)})),this.getEdges().map((function(t){return n.clearItemStates(t)})),t?(n.data(t),n.render()):n.layout(this.get("fitView"))},n.prototype.changeLayout=function(t){console.warn("Please call updateLayout instead of changeLayout. changeLayout will be discarded soon");this.updateLayout(t)},n.prototype.updateLayout=function(t){t?(this.set("layout",t),this.set("layoutMethod",this.getLayout()),this.layout()):console.warn("layout cannot be null")},n.prototype.refreshLayout=function(t){console.warn("Please call layout instead of refreshLayout. refreshLayout will be discarded soon");this.layout(t)},n.prototype.layout=function(t){var n=this.get("data"),r=this.get("layoutMethod")(n,this.get("layout")),e=this.get("animate");(this.emit("beforerefreshlayout",{data:n,layoutData:r}),this.emit("beforelayout"),this.innerUpdateChild(r,void 0,e),t)&&this.get("viewController").fitView();e?this.layoutAnimate(r):(this.refresh(),this.paint()),this.emit("afterrefreshlayout",{data:n,layoutData:r}),this.emit("afterlayout")},n.prototype.addChild=function(t,n){this.emit("beforeaddchild",{model:t,parent:n}),Object(u.o)(n)||(n=n.get("id"));var r=this.findDataById(n);r&&(r.children||(r.children=[]),r.children.push(t),this.changeData())},n.prototype.updateChildren=function(t,n){n&&this.findById(n)?(this.findDataById(n).children=t,this.changeData()):console.warn("Update children failed! There is no node with id '"+n+"'")},n.prototype.updateChild=function(t,r){if(r&&this.findById(r)){var e=this.findDataById(r),i=this.findById(t.id);if(e.children||(e.children=[]),i){var o=n.indexOfChild(e.children,t.id);e.children[o]=t}else e.children.push(t);this.changeData()}else this.changeData(t)},n.prototype.removeChild=function(t){var r=this.findById(t);if(r){var e=r.get("parent");if(e&&!e.destroyed){var i=this.findDataById(e.get("id")),o=i&&i.children||[],u=r.getModel(),a=n.indexOfChild(o,u.id);o.splice(a,1)}this.changeData()}},n.prototype.findDataById=function(t,n){var r=this;if(n||(n=r.get("data")),t===n.id)return n;var e=null;return Object(u.c)(n.children||[],(function(n){return n.id===t?(e=n,!1):!(e=r.findDataById(t,n))&&void 0})),e},n.prototype.layoutAnimate=function(t,n){var r=this,e=this.get("animateCfg");r.emit("beforeanimate",{data:t}),r.getEdges().forEach((function(t){var n=t.get("model");n.sourceAnchor||(n.sourceAnchor=t.get("sourceAnchorIndex"))})),this.get("canvas").animate((function(e){a(t,(function(i){var o=r.findById(i.id);if(o){var u=o.get("originAttrs"),a=o.get("model");if(u||(u={x:a.x,y:a.y},o.set("originAttrs",u)),n){var c=n(o,e,u,t);o.set("model",Object.assign(a,c))}else a.x=u.x+(i.x-u.x)*e,a.y=u.y+(i.y-u.y)*e}return!0})),Object(u.c)(r.get("removeList"),(function(t){var n=t.getModel(),r=t.get("originAttrs"),i=t.get("to");n.x=r.x+(i.x-r.x)*e,n.y=r.y+(i.y-r.y)*e})),r.refreshPositions()}),{duration:e.duration,easing:e.ease,callback:function(){Object(u.c)(r.getNodes(),(function(t){t.set("originAttrs",null)})),Object(u.c)(r.get("removeList"),(function(t){r.removeItem(t)})),r.set("removeList",[]),e.callback&&e.callback(),r.emit("afteranimate",{data:t})},delay:e.delay})},n.prototype.stopLayoutAnimate=function(){this.get("canvas").stopAnimate(),this.emit("layoutanimateend",{data:this.get("data")}),this.layoutAnimating=!1},n.prototype.isLayoutAnimating=function(){return this.layoutAnimating},n.prototype.render=function(){if(!this.get("data"))throw new Error("data must be defined first");this.clear(),this.emit("beforerender"),this.layout(this.get("fitView")),this.emit("afterrender")},n.prototype.save=function(){return this.get("data")},n}(n)}},50:function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}}}).default})); //# sourceMappingURL=treeGraph.js.map