@marimo-team/islands 0.15.2 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedDataExplorerComponent-C39nQwtD.js → ConnectedDataExplorerComponent-DfvW3rBn.js} +323 -328
- package/dist/{ImageComparisonComponent-BhkiyswP.js → ImageComparisonComponent-XaJshw7d.js} +13 -13
- package/dist/{_baseUniq-DdHL34FO.js → _baseUniq-dN9WKF9m.js} +67 -67
- package/dist/any-language-editor-CpFniVi-.js +27 -0
- package/dist/{arc-BXrety1g.js → arc-BOhn-m2C.js} +1 -1
- package/dist/{architectureDiagram-KFL7JDKH-BMy6ywCF.js → architectureDiagram-W76B3OCA-Bpg85ZKv.js} +144 -144
- package/dist/assets/{worker-COGufAQn.js → worker-Y-Q4G-N2.js} +30 -26
- package/dist/asterisk-DS281yxp.js +271 -0
- package/dist/{blockDiagram-ZYB65J3Q-DYT2-nlI.js → blockDiagram-QIGZ2CNN-DS1kOHlW.js} +10 -10
- package/dist/{c4Diagram-AAMF2YG6-ZiQzioe6.js → c4Diagram-FPNF74CW-CyRVKssw.js} +8 -8
- package/dist/{channel-CeuXqUAU.js → channel-BilGXox7.js} +1 -1
- package/dist/{chunk-ANTBXLJU-BvYnIrdq.js → chunk-4BX2VUAB-CZR39zCO.js} +1 -1
- package/dist/{chunk-WVR4S24B-DXj8yaUk.js → chunk-55IACEB6-BIH-MYov.js} +1 -1
- package/dist/{chunk-GLLZNHP4-CyFsosAe.js → chunk-FMBD7UC4-4PZXFZE8.js} +1 -1
- package/dist/{chunk-JBRWN2VN-DA_EEhy2.js → chunk-K7UQS3LO-CEvWKznk.js} +117 -117
- package/dist/{chunk-NRVI72HA-BYx2jMlI.js → chunk-QN33PNHL-D5LO5Jq_.js} +1 -1
- package/dist/{chunk-FHKO5MBM-DfCztBk8.js → chunk-QZHKN3VN-6gwUonWI.js} +1 -1
- package/dist/{chunk-LXBSTHXV-Se7vdY6J.js → chunk-TVAH2DTR-3gm06QdU.js} +7 -7
- package/dist/{chunk-OMD6QJNC-CqgcPMgL.js → chunk-TZMSLE5B-Cm8Iy9bO.js} +1 -1
- package/dist/{classDiagram-v2-QTMF73CY-B19A3G1l.js → classDiagram-KNZD7YFC-DC529O_z.js} +2 -2
- package/dist/{classDiagram-3BZAVTQC-B19A3G1l.js → classDiagram-v2-RKCZMP56-DC529O_z.js} +2 -2
- package/dist/{clone-78au0tn1.js → clone-CLoRX3j6.js} +1 -1
- package/dist/cose-bilkent-S5V4N54A-qf5DlS6Y.js +2609 -0
- package/dist/{cytoscape.esm-BYnVVhJX.js → cytoscape.esm-DfdJODL8.js} +34 -34
- package/dist/{dagre-2BBEFEWP-BfEn3ZUV.js → dagre-5GWH7T2D-Ceocls0m.js} +6 -6
- package/dist/{data-grid-overlay-editor-CH_qLkV2.js → data-grid-overlay-editor-AqDS_UKe.js} +11 -11
- package/dist/{diagram-4IRLE6MV-CL8xidnG.js → diagram-N5W7TBWH-CP66oSiv.js} +59 -60
- package/dist/{diagram-RP2FKANI-B1BPcUew.js → diagram-QEK2KX5R-_YD4kxxi.js} +15 -15
- package/dist/{diagram-GUPCWM2R-CZ5cfqlq.js → diagram-S2PKOQOG-Cnj8T-OP.js} +10 -10
- package/dist/dockerfile-Cm8cRYCN.js +194 -0
- package/dist/ebnf-DUPDuY4r.js +78 -0
- package/dist/{erDiagram-HZWUO2LU-BEAIww50.js → erDiagram-AWTI2OKA-CGnvoHx6.js} +8 -8
- package/dist/fcl-CPC2WYrI.js +103 -0
- package/dist/{flowDiagram-THRYKUMA-Czs2UAI2.js → flowDiagram-PVAE7QVJ-DG-pr9R9.js} +9 -9
- package/dist/{ganttDiagram-WV7ZQ7D5-ByYIAVFO.js → ganttDiagram-OWAHRB6G-JmChtxvn.js} +34 -34
- package/dist/{gitGraphDiagram-OJR772UL-BcpDsiyB.js → gitGraphDiagram-NY62KEGX-D8wLfOPd.js} +4 -4
- package/dist/{glide-data-editor-CmN6FVyi.js → glide-data-editor-9nC3iCIZ.js} +33 -33
- package/dist/{graph-77W6heli.js → graph-CoRe7vAN.js} +3 -3
- package/dist/http-D9LttvKF.js +44 -0
- package/dist/{index-Bfk9dnyS.js → index-6qYeHHjQ.js} +33090 -32892
- package/dist/{index-BOojn38D.js → index-BpzLh4Qe.js} +7711 -7711
- package/dist/{index-CmozKMxx.js → index-BthgsgYX.js} +6 -6
- package/dist/{index-pBmAzQJl.js → index-MCx5v1x0.js} +2 -2
- package/dist/index-jkm77Jrz.js +98 -0
- package/dist/{infoDiagram-6WOFNB3A-CfzLHHVP.js → infoDiagram-STP46IZ2-BlXxvOrR.js} +2 -2
- package/dist/{journeyDiagram-FFXJYRFH-ndAcpkGn.js → journeyDiagram-BIP6EPQ6-CNRYs_Fc.js} +24 -26
- package/dist/{kanban-definition-KOZQBZVT-DcQYzNvc.js → kanban-definition-6OIFK2YF-B9HeMAuP.js} +14 -14
- package/dist/{layout-XySVHJgD.js → layout-m2vOUiW1.js} +81 -81
- package/dist/{linear-PbooOqg7.js → linear-DU6Q5CX3.js} +35 -35
- package/dist/{main-B5yML0bw.js → main-BD2KGFpU.js} +74594 -68034
- package/dist/main.js +1 -1
- package/dist/{mermaid-Cg5IX6Nv.js → mermaid-HVCtvbyx.js} +6160 -7493
- package/dist/min-DcGMA4e_.js +80 -0
- package/dist/mindmap-definition-Q6HEUPPD-BW8UmIDQ.js +785 -0
- package/dist/nginx-zDPm3Z74.js +89 -0
- package/dist/{number-overlay-editor-DUhfZqtP.js → number-overlay-editor-D8Hl0Syo.js} +19 -19
- package/dist/{pieDiagram-DBDJKBY4-DTOlNsja.js → pieDiagram-ADFJNKIX-Bg-3zg5U.js} +17 -17
- package/dist/{quadrantDiagram-YPSRARAO-BX2d8VS-.js → quadrantDiagram-LMRXKWRM-BO4IG6Yz.js} +6 -6
- package/dist/{react-plotly-Dcyw-3Sa.js → react-plotly-dkvHVuRb.js} +3577 -3577
- package/dist/{requirementDiagram-EGVEC5DT-D1T5u-wG.js → requirementDiagram-4UW4RH46-5sdTguSM.js} +7 -7
- package/dist/{sankeyDiagram-HRAUVNP4-G6xDfnp-.js → sankeyDiagram-GR3RE2ED-Buhlv9OI.js} +5 -5
- package/dist/sequenceDiagram-C3RYC4MD-C3qsM2UP.js +2519 -0
- package/dist/{slides-component-BJLlPJSr.js → slides-component-D209A0-s.js} +66 -66
- package/dist/solr-BNlsLglM.js +41 -0
- package/dist/spreadsheet-C-cy4P5N.js +49 -0
- package/dist/{stateDiagram-UUKSUZ4H-CYXbjaom.js → stateDiagram-KXAO66HF-CopJ7G6P.js} +5 -5
- package/dist/{stateDiagram-v2-EYPG3UTE-Br1HYKT6.js → stateDiagram-v2-UMBNRL4Z-CejL8AKf.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/tiddlywiki-5wqsXtSk.js +155 -0
- package/dist/tiki-__Kn3CeS.js +181 -0
- package/dist/{time-B9SZnSen.js → time-BwSBitlN.js} +58 -58
- package/dist/{timeline-definition-3HZDQTIS-DeK_ZRD0.js → timeline-definition-XQNQX7LJ-DzMNTX-C.js} +10 -12
- package/dist/{timer-BYwnU4DF.js → timer-B0-z63CM.js} +16 -16
- package/dist/{treemap-75Q7IDZK-CKP4vV_0.js → treemap-75Q7IDZK-zeJG07dk.js} +14 -14
- package/dist/{vega-component-CpgdqX2d.js → vega-component-CUkiTayd.js} +30 -30
- package/dist/{xychartDiagram-FDP5SA34-AMEPsx_R.js → xychartDiagram-6GGTOJPD-DiENNXMS.js} +7 -7
- package/package.json +39 -39
- package/src/__mocks__/notebook.ts +3 -0
- package/src/__mocks__/requests.ts +3 -0
- package/src/__tests__/__snapshots__/CellStatus.test.tsx.snap +12 -12
- package/src/__tests__/chat-utils.test.ts +26 -211
- package/src/components/ai/ai-model-dropdown.tsx +25 -9
- package/src/components/app-config/ai-config.tsx +7 -0
- package/src/components/chat/chat-components.tsx +71 -0
- package/src/components/chat/chat-panel.tsx +481 -291
- package/src/components/chat/chat-utils.ts +50 -0
- package/src/components/chat/markdown-renderer.tsx +3 -7
- package/src/components/chat/tool-call-accordion.tsx +5 -5
- package/src/components/datasources/__tests__/utils.test.ts +6 -0
- package/src/components/datasources/column-preview.tsx +1 -3
- package/src/components/editor/actions/useNotebookActions.tsx +1 -1
- package/src/components/editor/ai/add-cell-with-ai.tsx +20 -15
- package/src/components/editor/ai/ai-completion-editor.tsx +22 -3
- package/src/components/editor/ai/completion-handlers.tsx +2 -4
- package/src/components/editor/ai/completion-utils.ts +85 -11
- package/src/components/editor/alerts/startup-logs-alert.tsx +72 -0
- package/src/components/editor/chrome/panels/datasources-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/dependency-graph-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/documentation-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/error-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/file-explorer-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/logs-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/outline-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/packages-panel.tsx +4 -2
- package/src/components/editor/chrome/panels/scratchpad-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/secrets-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/snippets-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/tracing-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/variable-panel.tsx +3 -1
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +38 -28
- package/src/components/editor/controls/command-palette-button.tsx +1 -1
- package/src/components/editor/controls/command-palette.tsx +5 -4
- package/src/components/editor/controls/state.ts +4 -0
- package/src/components/editor/package-alert.tsx +108 -58
- package/src/components/editor/renderers/CellArray.tsx +2 -0
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +0 -1
- package/src/components/pages/edit-page.tsx +7 -3
- package/src/core/ai/chat-utils.ts +26 -43
- package/src/core/ai/config.ts +1 -1
- package/src/core/ai/context/__tests__/registry.test.ts +277 -3
- package/src/core/ai/context/context.ts +11 -1
- package/src/core/ai/context/providers/__tests__/cell-output.test.ts +378 -0
- package/src/core/ai/context/providers/__tests__/error.test.ts +3 -2
- package/src/core/ai/context/providers/__tests__/file.test.ts +119 -0
- package/src/core/ai/context/providers/cell-output.ts +349 -0
- package/src/core/ai/context/providers/common.ts +5 -1
- package/src/core/ai/context/providers/file.ts +287 -0
- package/src/core/ai/context/registry.ts +79 -0
- package/src/core/ai/state.ts +22 -5
- package/src/core/alerts/state.ts +71 -3
- package/src/core/cells/cell.ts +2 -2
- package/src/core/cells/cells.ts +1 -1
- package/src/core/cells/logs.ts +1 -1
- package/src/core/cells/runs.ts +6 -5
- package/src/core/codemirror/ai/resources.ts +47 -5
- package/src/core/codemirror/ai/state.ts +12 -0
- package/src/core/codemirror/language/__tests__/sql.test.ts +45 -0
- package/src/core/codemirror/markdown/__tests__/commands.test.ts +1 -0
- package/src/core/codemirror/theme/dark.ts +1 -1
- package/src/core/config/capabilities.ts +1 -1
- package/src/core/datasets/__tests__/data-source.test.ts +24 -0
- package/src/core/errors/__tests__/errors.test.ts +2 -0
- package/src/core/islands/bridge.ts +1 -0
- package/src/core/islands/main.ts +1 -0
- package/src/core/kernel/messages.ts +12 -6
- package/src/core/layout/layout.ts +3 -3
- package/src/core/network/requests-network.ts +8 -0
- package/src/core/network/requests-static.ts +1 -0
- package/src/core/network/requests-toasting.ts +1 -0
- package/src/core/network/types.ts +4 -1
- package/src/core/wasm/bridge.ts +18 -2
- package/src/core/wasm/worker/bootstrap.ts +3 -1
- package/src/core/wasm/worker/getMarimoWheel.ts +3 -8
- package/src/core/wasm/worker/types.ts +3 -0
- package/src/core/websocket/useMarimoWebSocket.tsx +7 -1
- package/src/css/app/Cell.css +42 -21
- package/src/css/app/codemirror.css +5 -1
- package/src/css/globals.css +3 -0
- package/src/css/md.css +1 -1
- package/src/plugins/impl/MicrophonePlugin.tsx +2 -2
- package/src/plugins/impl/chat/ChatPlugin.tsx +2 -9
- package/src/plugins/impl/chat/chat-ui.tsx +129 -110
- package/src/plugins/impl/chat/types.ts +5 -8
- package/src/plugins/impl/code/__tests__/language.test.ts +15 -0
- package/src/plugins/impl/code/any-language-editor.tsx +11 -8
- package/src/plugins/layout/MimeRenderPlugin.tsx +3 -6
- package/src/stories/cell.stories.tsx +6 -0
- package/src/stories/layout/vertical/one-column.stories.tsx +215 -0
- package/src/theme/useTheme.ts +11 -6
- package/src/utils/__tests__/blob.test.ts +37 -0
- package/src/utils/arrays.ts +13 -0
- package/src/utils/fileToBase64.ts +21 -6
- package/src/utils/json/base64.ts +5 -2
- package/src/utils/numbers.ts +9 -7
- package/dist/any-language-editor-DC5170DQ.js +0 -45
- package/dist/asn1-jKiBa2Ya.js +0 -95
- package/dist/clojure-CCKyeQKf.js +0 -800
- package/dist/css-BkF-NPzE.js +0 -1553
- package/dist/index-5ZH_qS8j.js +0 -288
- package/dist/index-U4yn89qO.js +0 -341
- package/dist/javascript-C2yteZeJ.js +0 -691
- package/dist/min-DS5Jz-hg.js +0 -80
- package/dist/mindmap-definition-LNHGMQRG-0aOVaMR8.js +0 -3234
- package/dist/mllike-BSnXJBGA.js +0 -272
- package/dist/pug-CwAQJzGR.js +0 -248
- package/dist/python-BkR3uSy8.js +0 -313
- package/dist/rpm-IznJm2Xc.js +0 -57
- package/dist/sequenceDiagram-WFGC7UMF-DMhHzllb.js +0 -2284
- package/dist/ttcn-cfg-Bac_acMi.js +0 -88
package/dist/{architectureDiagram-KFL7JDKH-BMy6ywCF.js → architectureDiagram-W76B3OCA-Bpg85ZKv.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import { _ as dt, K as $e, V as Ze, l as Re, b as ke, a as qe, q as Qe, t as Je, g as Ke, s as je, z as _e, F as tr, G as er, H as rr, c as ye, a5 as Ee,
|
|
3
|
-
import { p as sr } from "./chunk-
|
|
4
|
-
import { p as hr } from "./treemap-75Q7IDZK-
|
|
5
|
-
import { c as Se } from "./cytoscape.esm-
|
|
6
|
-
import {
|
|
2
|
+
import { _ as dt, K as $e, V as Ze, l as Re, b as ke, a as qe, q as Qe, t as Je, g as Ke, s as je, z as _e, F as tr, G as er, H as rr, c as ye, a5 as Ee, ao as ve, i as ir, d as ar, ap as nr, aq as or } from "./mermaid-HVCtvbyx.js";
|
|
3
|
+
import { p as sr } from "./chunk-4BX2VUAB-CZR39zCO.js";
|
|
4
|
+
import { p as hr } from "./treemap-75Q7IDZK-zeJG07dk.js";
|
|
5
|
+
import { c as Se } from "./cytoscape.esm-DfdJODL8.js";
|
|
6
|
+
import { y as lr } from "./main-BD2KGFpU.js";
|
|
7
7
|
var se = { exports: {} }, he = { exports: {} }, le = { exports: {} }, fr = le.exports, Me;
|
|
8
8
|
function cr() {
|
|
9
|
-
return Me || (Me = 1, function(C, X) {
|
|
9
|
+
return Me || (Me = 1, (function(C, X) {
|
|
10
10
|
(function(G, N) {
|
|
11
11
|
C.exports = N();
|
|
12
12
|
})(fr, function() {
|
|
13
13
|
return (
|
|
14
14
|
/******/
|
|
15
|
-
function(M) {
|
|
15
|
+
(function(M) {
|
|
16
16
|
var G = {};
|
|
17
17
|
function N(d) {
|
|
18
18
|
if (G[d])
|
|
@@ -43,30 +43,30 @@ function cr() {
|
|
|
43
43
|
}, N.n = function(d) {
|
|
44
44
|
var h = d && d.__esModule ? (
|
|
45
45
|
/******/
|
|
46
|
-
function() {
|
|
46
|
+
(function() {
|
|
47
47
|
return d.default;
|
|
48
|
-
}
|
|
48
|
+
})
|
|
49
49
|
) : (
|
|
50
50
|
/******/
|
|
51
|
-
function() {
|
|
51
|
+
(function() {
|
|
52
52
|
return d;
|
|
53
|
-
}
|
|
53
|
+
})
|
|
54
54
|
);
|
|
55
55
|
return N.d(h, "a", h), h;
|
|
56
56
|
}, N.o = function(d, h) {
|
|
57
57
|
return Object.prototype.hasOwnProperty.call(d, h);
|
|
58
58
|
}, N.p = "", N(N.s = 28);
|
|
59
|
-
}([
|
|
59
|
+
})([
|
|
60
60
|
/* 0 */
|
|
61
61
|
/***/
|
|
62
|
-
function(M, G, N) {
|
|
62
|
+
(function(M, G, N) {
|
|
63
63
|
function d() {
|
|
64
64
|
}
|
|
65
65
|
d.QUALITY = 1, d.DEFAULT_CREATE_BENDS_AS_NEEDED = false, d.DEFAULT_INCREMENTAL = false, d.DEFAULT_ANIMATION_ON_LAYOUT = true, d.DEFAULT_ANIMATION_DURING_LAYOUT = false, d.DEFAULT_ANIMATION_PERIOD = 50, d.DEFAULT_UNIFORM_LEAF_NODE_SIZES = false, d.DEFAULT_GRAPH_MARGIN = 15, d.NODE_DIMENSIONS_INCLUDE_LABELS = false, d.SIMPLE_NODE_SIZE = 40, d.SIMPLE_NODE_HALF_SIZE = d.SIMPLE_NODE_SIZE / 2, d.EMPTY_COMPOUND_NODE_SIZE = 40, d.MIN_EDGE_LENGTH = 1, d.WORLD_BOUNDARY = 1e6, d.INITIAL_WORLD_BOUNDARY = d.WORLD_BOUNDARY / 1e3, d.WORLD_CENTER_X = 1200, d.WORLD_CENTER_Y = 900, M.exports = d;
|
|
66
|
-
},
|
|
66
|
+
}),
|
|
67
67
|
/* 1 */
|
|
68
68
|
/***/
|
|
69
|
-
function(M, G, N) {
|
|
69
|
+
(function(M, G, N) {
|
|
70
70
|
var d = N(2), h = N(8), a = N(9);
|
|
71
71
|
function e(l, i, u) {
|
|
72
72
|
d.call(this, u), this.isOverlapingSourceAndTarget = false, this.vGraphObject = u, this.bendpoints = [], this.source = l, this.target = i;
|
|
@@ -113,18 +113,18 @@ function cr() {
|
|
|
113
113
|
}, e.prototype.updateLengthSimple = function() {
|
|
114
114
|
this.lengthX = this.target.getCenterX() - this.source.getCenterX(), this.lengthY = this.target.getCenterY() - this.source.getCenterY(), Math.abs(this.lengthX) < 1 && (this.lengthX = a.sign(this.lengthX)), Math.abs(this.lengthY) < 1 && (this.lengthY = a.sign(this.lengthY)), this.length = Math.sqrt(this.lengthX * this.lengthX + this.lengthY * this.lengthY);
|
|
115
115
|
}, M.exports = e;
|
|
116
|
-
},
|
|
116
|
+
}),
|
|
117
117
|
/* 2 */
|
|
118
118
|
/***/
|
|
119
|
-
function(M, G, N) {
|
|
119
|
+
(function(M, G, N) {
|
|
120
120
|
function d(h) {
|
|
121
121
|
this.vGraphObject = h;
|
|
122
122
|
}
|
|
123
123
|
M.exports = d;
|
|
124
|
-
},
|
|
124
|
+
}),
|
|
125
125
|
/* 3 */
|
|
126
126
|
/***/
|
|
127
|
-
function(M, G, N) {
|
|
127
|
+
(function(M, G, N) {
|
|
128
128
|
var d = N(2), h = N(10), a = N(13), e = N(0), r = N(16), l = N(5);
|
|
129
129
|
function i(t, o, s, c) {
|
|
130
130
|
s == null && c == null && (c = o), d.call(this, c), t.graphManager != null && (t = t.graphManager), this.estimatedSize = h.MIN_VALUE, this.inclusionTreeDepth = h.MAX_VALUE, this.vGraphObject = c, this.edges = [], this.graphManager = t, s != null && o != null ? this.rect = new a(o.x, o.y, s.width, s.height) : this.rect = new a();
|
|
@@ -252,20 +252,20 @@ function cr() {
|
|
|
252
252
|
}, i.prototype.getParent = function() {
|
|
253
253
|
return this.owner == null ? null : this.owner.getParent();
|
|
254
254
|
}, M.exports = i;
|
|
255
|
-
},
|
|
255
|
+
}),
|
|
256
256
|
/* 4 */
|
|
257
257
|
/***/
|
|
258
|
-
function(M, G, N) {
|
|
258
|
+
(function(M, G, N) {
|
|
259
259
|
var d = N(0);
|
|
260
260
|
function h() {
|
|
261
261
|
}
|
|
262
262
|
for (var a in d)
|
|
263
263
|
h[a] = d[a];
|
|
264
264
|
h.MAX_ITERATIONS = 2500, h.DEFAULT_EDGE_LENGTH = 50, h.DEFAULT_SPRING_STRENGTH = 0.45, h.DEFAULT_REPULSION_STRENGTH = 4500, h.DEFAULT_GRAVITY_STRENGTH = 0.4, h.DEFAULT_COMPOUND_GRAVITY_STRENGTH = 1, h.DEFAULT_GRAVITY_RANGE_FACTOR = 3.8, h.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = 1.5, h.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION = true, h.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION = true, h.DEFAULT_COOLING_FACTOR_INCREMENTAL = 0.3, h.COOLING_ADAPTATION_FACTOR = 0.33, h.ADAPTATION_LOWER_NODE_LIMIT = 1e3, h.ADAPTATION_UPPER_NODE_LIMIT = 5e3, h.MAX_NODE_DISPLACEMENT_INCREMENTAL = 100, h.MAX_NODE_DISPLACEMENT = h.MAX_NODE_DISPLACEMENT_INCREMENTAL * 3, h.MIN_REPULSION_DIST = h.DEFAULT_EDGE_LENGTH / 10, h.CONVERGENCE_CHECK_PERIOD = 100, h.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = 0.1, h.MIN_EDGE_LENGTH = 1, h.GRID_CALCULATION_CHECK_PERIOD = 10, M.exports = h;
|
|
265
|
-
},
|
|
265
|
+
}),
|
|
266
266
|
/* 5 */
|
|
267
267
|
/***/
|
|
268
|
-
function(M, G, N) {
|
|
268
|
+
(function(M, G, N) {
|
|
269
269
|
function d(h, a) {
|
|
270
270
|
h == null && a == null ? (this.x = 0, this.y = 0) : (this.x = h, this.y = a);
|
|
271
271
|
}
|
|
@@ -284,10 +284,10 @@ function cr() {
|
|
|
284
284
|
}, d.prototype.translate = function(h) {
|
|
285
285
|
return this.x += h.width, this.y += h.height, this;
|
|
286
286
|
}, M.exports = d;
|
|
287
|
-
},
|
|
287
|
+
}),
|
|
288
288
|
/* 6 */
|
|
289
289
|
/***/
|
|
290
|
-
function(M, G, N) {
|
|
290
|
+
(function(M, G, N) {
|
|
291
291
|
var d = N(2), h = N(10), a = N(0), e = N(7), r = N(3), l = N(1), i = N(13), u = N(12), t = N(11);
|
|
292
292
|
function o(c, f, T) {
|
|
293
293
|
d.call(this, T), this.estimatedSize = h.MIN_VALUE, this.margin = a.DEFAULT_GRAPH_MARGIN, this.edges = [], this.nodes = [], this.isConnected = false, this.parent = c, f != null && f instanceof e ? this.graphManager = f : f != null && f instanceof Layout && (this.graphManager = f.graphManager);
|
|
@@ -421,10 +421,10 @@ function cr() {
|
|
|
421
421
|
}), K == this.nodes.length && (this.isConnected = true);
|
|
422
422
|
}
|
|
423
423
|
}, M.exports = o;
|
|
424
|
-
},
|
|
424
|
+
}),
|
|
425
425
|
/* 7 */
|
|
426
426
|
/***/
|
|
427
|
-
function(M, G, N) {
|
|
427
|
+
(function(M, G, N) {
|
|
428
428
|
var d, h = N(1);
|
|
429
429
|
function a(e) {
|
|
430
430
|
d = N(6), this.layout = e, this.graphs = [], this.edges = [];
|
|
@@ -617,10 +617,10 @@ function cr() {
|
|
|
617
617
|
this.remove(r[i]);
|
|
618
618
|
return false;
|
|
619
619
|
}, M.exports = a;
|
|
620
|
-
},
|
|
620
|
+
}),
|
|
621
621
|
/* 8 */
|
|
622
622
|
/***/
|
|
623
|
-
function(M, G, N) {
|
|
623
|
+
(function(M, G, N) {
|
|
624
624
|
var d = N(12);
|
|
625
625
|
function h() {
|
|
626
626
|
}
|
|
@@ -709,10 +709,10 @@ function cr() {
|
|
|
709
709
|
return T >= 0 && T <= 1 ? [T] : g >= 0 && g <= 1 ? [g] : v;
|
|
710
710
|
} else return null;
|
|
711
711
|
}, h.HALF_PI = 0.5 * Math.PI, h.ONE_AND_HALF_PI = 1.5 * Math.PI, h.TWO_PI = 2 * Math.PI, h.THREE_PI = 3 * Math.PI, M.exports = h;
|
|
712
|
-
},
|
|
712
|
+
}),
|
|
713
713
|
/* 9 */
|
|
714
714
|
/***/
|
|
715
|
-
function(M, G, N) {
|
|
715
|
+
(function(M, G, N) {
|
|
716
716
|
function d() {
|
|
717
717
|
}
|
|
718
718
|
d.sign = function(h) {
|
|
@@ -722,18 +722,18 @@ function cr() {
|
|
|
722
722
|
}, d.ceil = function(h) {
|
|
723
723
|
return h < 0 ? Math.floor(h) : Math.ceil(h);
|
|
724
724
|
}, M.exports = d;
|
|
725
|
-
},
|
|
725
|
+
}),
|
|
726
726
|
/* 10 */
|
|
727
727
|
/***/
|
|
728
|
-
function(M, G, N) {
|
|
728
|
+
(function(M, G, N) {
|
|
729
729
|
function d() {
|
|
730
730
|
}
|
|
731
731
|
d.MAX_VALUE = 2147483647, d.MIN_VALUE = -2147483648, M.exports = d;
|
|
732
|
-
},
|
|
732
|
+
}),
|
|
733
733
|
/* 11 */
|
|
734
734
|
/***/
|
|
735
|
-
function(M, G, N) {
|
|
736
|
-
var d = /* @__PURE__ */ function() {
|
|
735
|
+
(function(M, G, N) {
|
|
736
|
+
var d = /* @__PURE__ */ (function() {
|
|
737
737
|
function i(u, t) {
|
|
738
738
|
for (var o = 0; o < t.length; o++) {
|
|
739
739
|
var s = t[o];
|
|
@@ -743,7 +743,7 @@ function cr() {
|
|
|
743
743
|
return function(u, t, o) {
|
|
744
744
|
return t && i(u.prototype, t), o && i(u, o), u;
|
|
745
745
|
};
|
|
746
|
-
}();
|
|
746
|
+
})();
|
|
747
747
|
function h(i, u) {
|
|
748
748
|
if (!(i instanceof u))
|
|
749
749
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -755,7 +755,7 @@ function cr() {
|
|
|
755
755
|
}, r = function(u, t) {
|
|
756
756
|
var o = u.prev, s = u.next;
|
|
757
757
|
return o !== null ? o.next = s : t.head = s, s !== null ? s.prev = o : t.tail = o, u.prev = u.next = null, t.length--, u;
|
|
758
|
-
}, l = function() {
|
|
758
|
+
}, l = (function() {
|
|
759
759
|
function i(u) {
|
|
760
760
|
var t = this;
|
|
761
761
|
h(this, i), this.length = 0, this.head = null, this.tail = null, u == null ? void 0 : u.forEach(function(o) {
|
|
@@ -841,12 +841,12 @@ function cr() {
|
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
843
|
}]), i;
|
|
844
|
-
}();
|
|
844
|
+
})();
|
|
845
845
|
M.exports = l;
|
|
846
|
-
},
|
|
846
|
+
}),
|
|
847
847
|
/* 12 */
|
|
848
848
|
/***/
|
|
849
|
-
function(M, G, N) {
|
|
849
|
+
(function(M, G, N) {
|
|
850
850
|
function d(h, a, e) {
|
|
851
851
|
this.x = null, this.y = null, h == null && a == null && e == null ? (this.x = 0, this.y = 0) : typeof h == "number" && typeof a == "number" && e == null ? (this.x = h, this.y = a) : h.constructor.name == "Point" && a == null && e == null && (e = h, this.x = e.x, this.y = e.y);
|
|
852
852
|
}
|
|
@@ -871,10 +871,10 @@ function cr() {
|
|
|
871
871
|
}, d.prototype.toString = function() {
|
|
872
872
|
return new d().constructor.name + "[x=" + this.x + ",y=" + this.y + "]";
|
|
873
873
|
}, M.exports = d;
|
|
874
|
-
},
|
|
874
|
+
}),
|
|
875
875
|
/* 13 */
|
|
876
876
|
/***/
|
|
877
|
-
function(M, G, N) {
|
|
877
|
+
(function(M, G, N) {
|
|
878
878
|
function d(h, a, e, r) {
|
|
879
879
|
this.x = 0, this.y = 0, this.width = 0, this.height = 0, h != null && a != null && e != null && r != null && (this.x = h, this.y = a, this.width = e, this.height = r);
|
|
880
880
|
}
|
|
@@ -917,10 +917,10 @@ function cr() {
|
|
|
917
917
|
}, d.prototype.getHeightHalf = function() {
|
|
918
918
|
return this.height / 2;
|
|
919
919
|
}, M.exports = d;
|
|
920
|
-
},
|
|
920
|
+
}),
|
|
921
921
|
/* 14 */
|
|
922
922
|
/***/
|
|
923
|
-
function(M, G, N) {
|
|
923
|
+
(function(M, G, N) {
|
|
924
924
|
var d = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
|
|
925
925
|
return typeof a;
|
|
926
926
|
} : function(a) {
|
|
@@ -936,10 +936,10 @@ function cr() {
|
|
|
936
936
|
var e = typeof a > "u" ? "undefined" : d(a);
|
|
937
937
|
return a == null || e != "object" && e != "function";
|
|
938
938
|
}, M.exports = h;
|
|
939
|
-
},
|
|
939
|
+
}),
|
|
940
940
|
/* 15 */
|
|
941
941
|
/***/
|
|
942
|
-
function(M, G, N) {
|
|
942
|
+
(function(M, G, N) {
|
|
943
943
|
function d(s) {
|
|
944
944
|
if (Array.isArray(s)) {
|
|
945
945
|
for (var c = 0, f = Array(s.length); c < s.length; c++)
|
|
@@ -1130,19 +1130,19 @@ function cr() {
|
|
|
1130
1130
|
}, o.prototype.setGraphManager = function(s) {
|
|
1131
1131
|
this.graphManager = s;
|
|
1132
1132
|
}, M.exports = o;
|
|
1133
|
-
},
|
|
1133
|
+
}),
|
|
1134
1134
|
/* 16 */
|
|
1135
1135
|
/***/
|
|
1136
|
-
function(M, G, N) {
|
|
1136
|
+
(function(M, G, N) {
|
|
1137
1137
|
function d() {
|
|
1138
1138
|
}
|
|
1139
1139
|
d.seed = 1, d.x = 0, d.nextDouble = function() {
|
|
1140
1140
|
return d.x = Math.sin(d.seed++) * 1e4, d.x - Math.floor(d.x);
|
|
1141
1141
|
}, M.exports = d;
|
|
1142
|
-
},
|
|
1142
|
+
}),
|
|
1143
1143
|
/* 17 */
|
|
1144
1144
|
/***/
|
|
1145
|
-
function(M, G, N) {
|
|
1145
|
+
(function(M, G, N) {
|
|
1146
1146
|
var d = N(5);
|
|
1147
1147
|
function h(a, e) {
|
|
1148
1148
|
this.lworldOrgX = 0, this.lworldOrgY = 0, this.ldeviceOrgX = 0, this.ldeviceOrgY = 0, this.lworldExtX = 1, this.lworldExtY = 1, this.ldeviceExtX = 1, this.ldeviceExtY = 1;
|
|
@@ -1195,10 +1195,10 @@ function cr() {
|
|
|
1195
1195
|
var e = new d(this.inverseTransformX(a.x), this.inverseTransformY(a.y));
|
|
1196
1196
|
return e;
|
|
1197
1197
|
}, M.exports = h;
|
|
1198
|
-
},
|
|
1198
|
+
}),
|
|
1199
1199
|
/* 18 */
|
|
1200
1200
|
/***/
|
|
1201
|
-
function(M, G, N) {
|
|
1201
|
+
(function(M, G, N) {
|
|
1202
1202
|
function d(t) {
|
|
1203
1203
|
if (Array.isArray(t)) {
|
|
1204
1204
|
for (var o = 0, s = Array(t.length); o < t.length; o++)
|
|
@@ -1305,10 +1305,10 @@ function cr() {
|
|
|
1305
1305
|
}, i.prototype.calcRepulsionRange = function() {
|
|
1306
1306
|
return 0;
|
|
1307
1307
|
}, M.exports = i;
|
|
1308
|
-
},
|
|
1308
|
+
}),
|
|
1309
1309
|
/* 19 */
|
|
1310
1310
|
/***/
|
|
1311
|
-
function(M, G, N) {
|
|
1311
|
+
(function(M, G, N) {
|
|
1312
1312
|
var d = N(1), h = N(4);
|
|
1313
1313
|
function a(r, l, i) {
|
|
1314
1314
|
d.call(this, r, l, i), this.idealLength = h.DEFAULT_EDGE_LENGTH, this.edgeElasticity = h.DEFAULT_SPRING_STRENGTH;
|
|
@@ -1317,10 +1317,10 @@ function cr() {
|
|
|
1317
1317
|
for (var e in d)
|
|
1318
1318
|
a[e] = d[e];
|
|
1319
1319
|
M.exports = a;
|
|
1320
|
-
},
|
|
1320
|
+
}),
|
|
1321
1321
|
/* 20 */
|
|
1322
1322
|
/***/
|
|
1323
|
-
function(M, G, N) {
|
|
1323
|
+
(function(M, G, N) {
|
|
1324
1324
|
var d = N(3), h = N(4);
|
|
1325
1325
|
function a(r, l, i, u) {
|
|
1326
1326
|
d.call(this, r, l, i, u), this.nodeRepulsion = h.DEFAULT_REPULSION_STRENGTH, this.springForceX = 0, this.springForceY = 0, this.repulsionForceX = 0, this.repulsionForceY = 0, this.gravitationForceX = 0, this.gravitationForceY = 0, this.displacementX = 0, this.displacementY = 0, this.startX = 0, this.finishX = 0, this.startY = 0, this.finishY = 0, this.surrounding = [];
|
|
@@ -1331,10 +1331,10 @@ function cr() {
|
|
|
1331
1331
|
a.prototype.setGridCoordinates = function(r, l, i, u) {
|
|
1332
1332
|
this.startX = r, this.finishX = l, this.startY = i, this.finishY = u;
|
|
1333
1333
|
}, M.exports = a;
|
|
1334
|
-
},
|
|
1334
|
+
}),
|
|
1335
1335
|
/* 21 */
|
|
1336
1336
|
/***/
|
|
1337
|
-
function(M, G, N) {
|
|
1337
|
+
(function(M, G, N) {
|
|
1338
1338
|
function d(h, a) {
|
|
1339
1339
|
this.width = 0, this.height = 0, h !== null && a !== null && (this.height = a, this.width = h);
|
|
1340
1340
|
}
|
|
@@ -1347,10 +1347,10 @@ function cr() {
|
|
|
1347
1347
|
}, d.prototype.setHeight = function(h) {
|
|
1348
1348
|
this.height = h;
|
|
1349
1349
|
}, M.exports = d;
|
|
1350
|
-
},
|
|
1350
|
+
}),
|
|
1351
1351
|
/* 22 */
|
|
1352
1352
|
/***/
|
|
1353
|
-
function(M, G, N) {
|
|
1353
|
+
(function(M, G, N) {
|
|
1354
1354
|
var d = N(14);
|
|
1355
1355
|
function h() {
|
|
1356
1356
|
this.map = {}, this.keys = [];
|
|
@@ -1366,10 +1366,10 @@ function cr() {
|
|
|
1366
1366
|
}, h.prototype.keySet = function() {
|
|
1367
1367
|
return this.keys;
|
|
1368
1368
|
}, M.exports = h;
|
|
1369
|
-
},
|
|
1369
|
+
}),
|
|
1370
1370
|
/* 23 */
|
|
1371
1371
|
/***/
|
|
1372
|
-
function(M, G, N) {
|
|
1372
|
+
(function(M, G, N) {
|
|
1373
1373
|
var d = N(14);
|
|
1374
1374
|
function h() {
|
|
1375
1375
|
this.set = {};
|
|
@@ -1398,10 +1398,10 @@ function cr() {
|
|
|
1398
1398
|
this.add(l);
|
|
1399
1399
|
}
|
|
1400
1400
|
}, M.exports = h;
|
|
1401
|
-
},
|
|
1401
|
+
}),
|
|
1402
1402
|
/* 24 */
|
|
1403
1403
|
/***/
|
|
1404
|
-
function(M, G, N) {
|
|
1404
|
+
(function(M, G, N) {
|
|
1405
1405
|
function d() {
|
|
1406
1406
|
}
|
|
1407
1407
|
d.multMat = function(h, a) {
|
|
@@ -1464,11 +1464,11 @@ function cr() {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
return r;
|
|
1466
1466
|
}, M.exports = d;
|
|
1467
|
-
},
|
|
1467
|
+
}),
|
|
1468
1468
|
/* 25 */
|
|
1469
1469
|
/***/
|
|
1470
|
-
function(M, G, N) {
|
|
1471
|
-
var d = /* @__PURE__ */ function() {
|
|
1470
|
+
(function(M, G, N) {
|
|
1471
|
+
var d = /* @__PURE__ */ (function() {
|
|
1472
1472
|
function r(l, i) {
|
|
1473
1473
|
for (var u = 0; u < i.length; u++) {
|
|
1474
1474
|
var t = i[u];
|
|
@@ -1478,12 +1478,12 @@ function cr() {
|
|
|
1478
1478
|
return function(l, i, u) {
|
|
1479
1479
|
return i && r(l.prototype, i), u && r(l, u), l;
|
|
1480
1480
|
};
|
|
1481
|
-
}();
|
|
1481
|
+
})();
|
|
1482
1482
|
function h(r, l) {
|
|
1483
1483
|
if (!(r instanceof l))
|
|
1484
1484
|
throw new TypeError("Cannot call a class as a function");
|
|
1485
1485
|
}
|
|
1486
|
-
var a = N(11), e = function() {
|
|
1486
|
+
var a = N(11), e = (function() {
|
|
1487
1487
|
function r(l, i) {
|
|
1488
1488
|
h(this, r), (i !== null || i !== void 0) && (this.compareFunction = this._defaultCompareFunction);
|
|
1489
1489
|
var u = void 0;
|
|
@@ -1532,22 +1532,22 @@ function cr() {
|
|
|
1532
1532
|
return u > i;
|
|
1533
1533
|
}
|
|
1534
1534
|
}]), r;
|
|
1535
|
-
}();
|
|
1535
|
+
})();
|
|
1536
1536
|
M.exports = e;
|
|
1537
|
-
},
|
|
1537
|
+
}),
|
|
1538
1538
|
/* 26 */
|
|
1539
1539
|
/***/
|
|
1540
|
-
function(M, G, N) {
|
|
1540
|
+
(function(M, G, N) {
|
|
1541
1541
|
function d() {
|
|
1542
1542
|
}
|
|
1543
1543
|
d.svd = function(h) {
|
|
1544
1544
|
this.U = null, this.V = null, this.s = null, this.m = 0, this.n = 0, this.m = h.length, this.n = h[0].length;
|
|
1545
1545
|
var a = Math.min(this.m, this.n);
|
|
1546
|
-
this.s = function(Tt) {
|
|
1546
|
+
this.s = (function(Tt) {
|
|
1547
1547
|
for (var Ct = []; Tt-- > 0; )
|
|
1548
1548
|
Ct.push(0);
|
|
1549
1549
|
return Ct;
|
|
1550
|
-
}(Math.min(this.m + 1, this.n)), this.U = function(Tt) {
|
|
1550
|
+
})(Math.min(this.m + 1, this.n)), this.U = (function(Tt) {
|
|
1551
1551
|
var Ct = function Bt(bt) {
|
|
1552
1552
|
if (bt.length == 0)
|
|
1553
1553
|
return 0;
|
|
@@ -1556,7 +1556,7 @@ function cr() {
|
|
|
1556
1556
|
return zt;
|
|
1557
1557
|
};
|
|
1558
1558
|
return Ct(Tt);
|
|
1559
|
-
}([this.m, a]), this.V = function(Tt) {
|
|
1559
|
+
})([this.m, a]), this.V = (function(Tt) {
|
|
1560
1560
|
var Ct = function Bt(bt) {
|
|
1561
1561
|
if (bt.length == 0)
|
|
1562
1562
|
return 0;
|
|
@@ -1565,16 +1565,16 @@ function cr() {
|
|
|
1565
1565
|
return zt;
|
|
1566
1566
|
};
|
|
1567
1567
|
return Ct(Tt);
|
|
1568
|
-
}([this.n, this.n]);
|
|
1569
|
-
for (var e = function(Tt) {
|
|
1568
|
+
})([this.n, this.n]);
|
|
1569
|
+
for (var e = (function(Tt) {
|
|
1570
1570
|
for (var Ct = []; Tt-- > 0; )
|
|
1571
1571
|
Ct.push(0);
|
|
1572
1572
|
return Ct;
|
|
1573
|
-
}(this.n), r = function(Tt) {
|
|
1573
|
+
})(this.n), r = (function(Tt) {
|
|
1574
1574
|
for (var Ct = []; Tt-- > 0; )
|
|
1575
1575
|
Ct.push(0);
|
|
1576
1576
|
return Ct;
|
|
1577
|
-
}(this.m), l = true, i = Math.min(this.m - 1, this.n), u = Math.max(0, Math.min(this.n - 2, this.m)), t = 0; t < Math.max(i, u); t++) {
|
|
1577
|
+
})(this.m), l = true, i = Math.min(this.m - 1, this.n), u = Math.max(0, Math.min(this.n - 2, this.m)), t = 0; t < Math.max(i, u); t++) {
|
|
1578
1578
|
if (t < i) {
|
|
1579
1579
|
this.s[t] = 0;
|
|
1580
1580
|
for (var o = t; o < this.m; o++)
|
|
@@ -1588,9 +1588,9 @@ function cr() {
|
|
|
1588
1588
|
this.s[t] = -this.s[t];
|
|
1589
1589
|
}
|
|
1590
1590
|
for (var c = t + 1; c < this.n; c++) {
|
|
1591
|
-
if (/* @__PURE__ */ function(Tt, Ct) {
|
|
1591
|
+
if (/* @__PURE__ */ (function(Tt, Ct) {
|
|
1592
1592
|
return Tt && Ct;
|
|
1593
|
-
}(t < i, this.s[t] !== 0)) {
|
|
1593
|
+
})(t < i, this.s[t] !== 0)) {
|
|
1594
1594
|
for (var f = 0, T = t; T < this.m; T++)
|
|
1595
1595
|
f += h[T][t] * h[T][c];
|
|
1596
1596
|
f = -f / h[t][t];
|
|
@@ -1599,9 +1599,9 @@ function cr() {
|
|
|
1599
1599
|
}
|
|
1600
1600
|
e[c] = h[t][c];
|
|
1601
1601
|
}
|
|
1602
|
-
if (/* @__PURE__ */ function(Tt, Ct) {
|
|
1602
|
+
if (/* @__PURE__ */ (function(Tt, Ct) {
|
|
1603
1603
|
return Ct;
|
|
1604
|
-
}(l, t < i))
|
|
1604
|
+
})(l, t < i))
|
|
1605
1605
|
for (var v = t; v < this.m; v++)
|
|
1606
1606
|
this.U[v][t] = h[v][t];
|
|
1607
1607
|
if (t < u) {
|
|
@@ -1614,9 +1614,9 @@ function cr() {
|
|
|
1614
1614
|
e[F] /= e[t];
|
|
1615
1615
|
e[t + 1] += 1;
|
|
1616
1616
|
}
|
|
1617
|
-
if (e[t] = -e[t], /* @__PURE__ */ function(Tt, Ct) {
|
|
1617
|
+
if (e[t] = -e[t], /* @__PURE__ */ (function(Tt, Ct) {
|
|
1618
1618
|
return Tt && Ct;
|
|
1619
|
-
}(t + 1 < this.m, e[t] !== 0)) {
|
|
1619
|
+
})(t + 1 < this.m, e[t] !== 0)) {
|
|
1620
1620
|
for (var A = t + 1; A < this.m; A++)
|
|
1621
1621
|
r[A] = 0;
|
|
1622
1622
|
for (var b = t + 1; b < this.n; b++)
|
|
@@ -1659,9 +1659,9 @@ function cr() {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
}
|
|
1661
1661
|
for (var V = this.n - 1; V >= 0; V--) {
|
|
1662
|
-
if (/* @__PURE__ */ function(Tt, Ct) {
|
|
1662
|
+
if (/* @__PURE__ */ (function(Tt, Ct) {
|
|
1663
1663
|
return Tt && Ct;
|
|
1664
|
-
}(V < u, e[V] !== 0))
|
|
1664
|
+
})(V < u, e[V] !== 0))
|
|
1665
1665
|
for (var Y = V + 1; Y < a; Y++) {
|
|
1666
1666
|
for (var et = 0, z = V + 1; z < this.n; z++)
|
|
1667
1667
|
et += this.V[z][V] * this.V[z][Y];
|
|
@@ -1764,11 +1764,11 @@ function cr() {
|
|
|
1764
1764
|
var e = void 0;
|
|
1765
1765
|
return Math.abs(h) > Math.abs(a) ? (e = a / h, e = Math.abs(h) * Math.sqrt(1 + e * e)) : a != 0 ? (e = h / a, e = Math.abs(a) * Math.sqrt(1 + e * e)) : e = 0, e;
|
|
1766
1766
|
}, M.exports = d;
|
|
1767
|
-
},
|
|
1767
|
+
}),
|
|
1768
1768
|
/* 27 */
|
|
1769
1769
|
/***/
|
|
1770
|
-
function(M, G, N) {
|
|
1771
|
-
var d = /* @__PURE__ */ function() {
|
|
1770
|
+
(function(M, G, N) {
|
|
1771
|
+
var d = /* @__PURE__ */ (function() {
|
|
1772
1772
|
function e(r, l) {
|
|
1773
1773
|
for (var i = 0; i < l.length; i++) {
|
|
1774
1774
|
var u = l[i];
|
|
@@ -1778,12 +1778,12 @@ function cr() {
|
|
|
1778
1778
|
return function(r, l, i) {
|
|
1779
1779
|
return l && e(r.prototype, l), i && e(r, i), r;
|
|
1780
1780
|
};
|
|
1781
|
-
}();
|
|
1781
|
+
})();
|
|
1782
1782
|
function h(e, r) {
|
|
1783
1783
|
if (!(e instanceof r))
|
|
1784
1784
|
throw new TypeError("Cannot call a class as a function");
|
|
1785
1785
|
}
|
|
1786
|
-
var a = function() {
|
|
1786
|
+
var a = (function() {
|
|
1787
1787
|
function e(r, l) {
|
|
1788
1788
|
var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, u = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : -1, t = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : -1;
|
|
1789
1789
|
h(this, e), this.sequence1 = r, this.sequence2 = l, this.match_score = i, this.mismatch_penalty = u, this.gap_penalty = t, this.iMax = r.length + 1, this.jMax = l.length + 1, this.grid = new Array(this.iMax);
|
|
@@ -1871,19 +1871,19 @@ function cr() {
|
|
|
1871
1871
|
return this.getAllIndexes(l, Math.max.apply(null, l));
|
|
1872
1872
|
}
|
|
1873
1873
|
}]), e;
|
|
1874
|
-
}();
|
|
1874
|
+
})();
|
|
1875
1875
|
M.exports = a;
|
|
1876
|
-
},
|
|
1876
|
+
}),
|
|
1877
1877
|
/* 28 */
|
|
1878
1878
|
/***/
|
|
1879
|
-
function(M, G, N) {
|
|
1879
|
+
(function(M, G, N) {
|
|
1880
1880
|
var d = function() {
|
|
1881
1881
|
};
|
|
1882
1882
|
d.FDLayout = N(18), d.FDLayoutConstants = N(4), d.FDLayoutEdge = N(19), d.FDLayoutNode = N(20), d.DimensionD = N(21), d.HashMap = N(22), d.HashSet = N(23), d.IGeometry = N(8), d.IMath = N(9), d.Integer = N(10), d.Point = N(12), d.PointD = N(5), d.RandomSeed = N(16), d.RectangleD = N(13), d.Transform = N(17), d.UniqueIDGeneretor = N(14), d.Quicksort = N(25), d.LinkedList = N(11), d.LGraphObject = N(2), d.LGraph = N(6), d.LEdge = N(1), d.LGraphManager = N(7), d.LNode = N(3), d.Layout = N(15), d.LayoutConstants = N(0), d.NeedlemanWunsch = N(27), d.Matrix = N(24), d.SVD = N(26), M.exports = d;
|
|
1883
|
-
},
|
|
1883
|
+
}),
|
|
1884
1884
|
/* 29 */
|
|
1885
1885
|
/***/
|
|
1886
|
-
function(M, G, N) {
|
|
1886
|
+
(function(M, G, N) {
|
|
1887
1887
|
function d() {
|
|
1888
1888
|
this.listeners = [];
|
|
1889
1889
|
}
|
|
@@ -1904,16 +1904,16 @@ function cr() {
|
|
|
1904
1904
|
a === l.event && l.callback(e);
|
|
1905
1905
|
}
|
|
1906
1906
|
}, M.exports = d;
|
|
1907
|
-
}
|
|
1907
|
+
})
|
|
1908
1908
|
/******/
|
|
1909
1909
|
])
|
|
1910
1910
|
);
|
|
1911
1911
|
});
|
|
1912
|
-
}(le)), le.exports;
|
|
1912
|
+
})(le)), le.exports;
|
|
1913
1913
|
}
|
|
1914
1914
|
var gr = he.exports, we;
|
|
1915
1915
|
function ur() {
|
|
1916
|
-
return we || (we = 1, function(C, X) {
|
|
1916
|
+
return we || (we = 1, (function(C, X) {
|
|
1917
1917
|
(function(G, N) {
|
|
1918
1918
|
C.exports = N(cr());
|
|
1919
1919
|
})(gr, function(M) {
|
|
@@ -1924,27 +1924,27 @@ function ur() {
|
|
|
1924
1924
|
/***/
|
|
1925
1925
|
45: (
|
|
1926
1926
|
/***/
|
|
1927
|
-
(a, e, r) => {
|
|
1927
|
+
((a, e, r) => {
|
|
1928
1928
|
var l = {};
|
|
1929
1929
|
l.layoutBase = r(551), l.CoSEConstants = r(806), l.CoSEEdge = r(767), l.CoSEGraph = r(880), l.CoSEGraphManager = r(578), l.CoSELayout = r(765), l.CoSENode = r(991), l.ConstraintHandler = r(902), a.exports = l;
|
|
1930
|
-
}
|
|
1930
|
+
})
|
|
1931
1931
|
),
|
|
1932
1932
|
/***/
|
|
1933
1933
|
806: (
|
|
1934
1934
|
/***/
|
|
1935
|
-
(a, e, r) => {
|
|
1935
|
+
((a, e, r) => {
|
|
1936
1936
|
var l = r(551).FDLayoutConstants;
|
|
1937
1937
|
function i() {
|
|
1938
1938
|
}
|
|
1939
1939
|
for (var u in l)
|
|
1940
1940
|
i[u] = l[u];
|
|
1941
1941
|
i.DEFAULT_USE_MULTI_LEVEL_SCALING = false, i.DEFAULT_RADIAL_SEPARATION = l.DEFAULT_EDGE_LENGTH, i.DEFAULT_COMPONENT_SEPERATION = 60, i.TILE = true, i.TILING_PADDING_VERTICAL = 10, i.TILING_PADDING_HORIZONTAL = 10, i.TRANSFORM_ON_CONSTRAINT_HANDLING = true, i.ENFORCE_CONSTRAINTS = true, i.APPLY_LAYOUT = true, i.RELAX_MOVEMENT_ON_CONSTRAINTS = true, i.TREE_REDUCTION_ON_INCREMENTAL = true, i.PURE_INCREMENTAL = i.DEFAULT_INCREMENTAL, a.exports = i;
|
|
1942
|
-
}
|
|
1942
|
+
})
|
|
1943
1943
|
),
|
|
1944
1944
|
/***/
|
|
1945
1945
|
767: (
|
|
1946
1946
|
/***/
|
|
1947
|
-
(a, e, r) => {
|
|
1947
|
+
((a, e, r) => {
|
|
1948
1948
|
var l = r(551).FDLayoutEdge;
|
|
1949
1949
|
function i(t, o, s) {
|
|
1950
1950
|
l.call(this, t, o, s);
|
|
@@ -1953,12 +1953,12 @@ function ur() {
|
|
|
1953
1953
|
for (var u in l)
|
|
1954
1954
|
i[u] = l[u];
|
|
1955
1955
|
a.exports = i;
|
|
1956
|
-
}
|
|
1956
|
+
})
|
|
1957
1957
|
),
|
|
1958
1958
|
/***/
|
|
1959
1959
|
880: (
|
|
1960
1960
|
/***/
|
|
1961
|
-
(a, e, r) => {
|
|
1961
|
+
((a, e, r) => {
|
|
1962
1962
|
var l = r(551).LGraph;
|
|
1963
1963
|
function i(t, o, s) {
|
|
1964
1964
|
l.call(this, t, o, s);
|
|
@@ -1967,12 +1967,12 @@ function ur() {
|
|
|
1967
1967
|
for (var u in l)
|
|
1968
1968
|
i[u] = l[u];
|
|
1969
1969
|
a.exports = i;
|
|
1970
|
-
}
|
|
1970
|
+
})
|
|
1971
1971
|
),
|
|
1972
1972
|
/***/
|
|
1973
1973
|
578: (
|
|
1974
1974
|
/***/
|
|
1975
|
-
(a, e, r) => {
|
|
1975
|
+
((a, e, r) => {
|
|
1976
1976
|
var l = r(551).LGraphManager;
|
|
1977
1977
|
function i(t) {
|
|
1978
1978
|
l.call(this, t);
|
|
@@ -1981,12 +1981,12 @@ function ur() {
|
|
|
1981
1981
|
for (var u in l)
|
|
1982
1982
|
i[u] = l[u];
|
|
1983
1983
|
a.exports = i;
|
|
1984
|
-
}
|
|
1984
|
+
})
|
|
1985
1985
|
),
|
|
1986
1986
|
/***/
|
|
1987
1987
|
765: (
|
|
1988
1988
|
/***/
|
|
1989
|
-
(a, e, r) => {
|
|
1989
|
+
((a, e, r) => {
|
|
1990
1990
|
var l = r(551).FDLayout, i = r(578), u = r(880), t = r(991), o = r(767), s = r(806), c = r(902), f = r(551).FDLayoutConstants, T = r(551).LayoutConstants, g = r(551).Point, v = r(551).PointD, L = r(551).DimensionD, F = r(551).Layout, A = r(551).Integer, b = r(551).IGeometry, k = r(551).LGraph, U = r(551).Transform, K = r(551).LinkedList;
|
|
1991
1991
|
function D() {
|
|
1992
1992
|
l.call(this), this.toBeTiled = {}, this.constraints = {};
|
|
@@ -2645,12 +2645,12 @@ function ur() {
|
|
|
2645
2645
|
m == 0 ? E.setCenter(p.getCenterX(), p.getCenterY() - p.getHeight() / 2 - f.DEFAULT_EDGE_LENGTH - E.getHeight() / 2) : m == 1 ? E.setCenter(p.getCenterX() + p.getWidth() / 2 + f.DEFAULT_EDGE_LENGTH + E.getWidth() / 2, p.getCenterY()) : m == 2 ? E.setCenter(p.getCenterX(), p.getCenterY() + p.getHeight() / 2 + f.DEFAULT_EDGE_LENGTH + E.getHeight() / 2) : E.setCenter(p.getCenterX() - p.getWidth() / 2 - f.DEFAULT_EDGE_LENGTH - E.getWidth() / 2, p.getCenterY());
|
|
2646
2646
|
}
|
|
2647
2647
|
}, a.exports = D;
|
|
2648
|
-
}
|
|
2648
|
+
})
|
|
2649
2649
|
),
|
|
2650
2650
|
/***/
|
|
2651
2651
|
991: (
|
|
2652
2652
|
/***/
|
|
2653
|
-
(a, e, r) => {
|
|
2653
|
+
((a, e, r) => {
|
|
2654
2654
|
var l = r(551).FDLayoutNode, i = r(551).IMath;
|
|
2655
2655
|
function u(o, s, c, f) {
|
|
2656
2656
|
l.call(this, o, s, c, f);
|
|
@@ -2682,12 +2682,12 @@ function ur() {
|
|
|
2682
2682
|
}, u.prototype.isProcessed = function() {
|
|
2683
2683
|
return processed;
|
|
2684
2684
|
}, a.exports = u;
|
|
2685
|
-
}
|
|
2685
|
+
})
|
|
2686
2686
|
),
|
|
2687
2687
|
/***/
|
|
2688
2688
|
902: (
|
|
2689
2689
|
/***/
|
|
2690
|
-
(a, e, r) => {
|
|
2690
|
+
((a, e, r) => {
|
|
2691
2691
|
function l(c) {
|
|
2692
2692
|
if (Array.isArray(c)) {
|
|
2693
2693
|
for (var f = 0, T = Array(c.length); f < c.length; f++)
|
|
@@ -3024,7 +3024,7 @@ function ur() {
|
|
|
3024
3024
|
}, Ft = 0; Ft < Ut.length; Ft++)
|
|
3025
3025
|
Pt(Ft);
|
|
3026
3026
|
}
|
|
3027
|
-
f.relativePlacementConstraint && function() {
|
|
3027
|
+
f.relativePlacementConstraint && (function() {
|
|
3028
3028
|
var S = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), $ = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), Z = /* @__PURE__ */ new Map(), at = /* @__PURE__ */ new Map(), ct = /* @__PURE__ */ new Set(), nt = /* @__PURE__ */ new Set();
|
|
3029
3029
|
if (R.forEach(function(Gt) {
|
|
3030
3030
|
ct.add(Gt), nt.add(Gt);
|
|
@@ -3115,21 +3115,21 @@ function ur() {
|
|
|
3115
3115
|
throw Ce;
|
|
3116
3116
|
}
|
|
3117
3117
|
}
|
|
3118
|
-
}();
|
|
3118
|
+
})();
|
|
3119
3119
|
}
|
|
3120
3120
|
for (var Yt = 0; Yt < F.length; Yt++) {
|
|
3121
3121
|
var Vt = F[Yt];
|
|
3122
3122
|
Vt.getChild() == null && Vt.setCenter(v[g.get(Vt.id)], L[g.get(Vt.id)]);
|
|
3123
3123
|
}
|
|
3124
3124
|
}, a.exports = s;
|
|
3125
|
-
}
|
|
3125
|
+
})
|
|
3126
3126
|
),
|
|
3127
3127
|
/***/
|
|
3128
3128
|
551: (
|
|
3129
3129
|
/***/
|
|
3130
|
-
(a) => {
|
|
3130
|
+
((a) => {
|
|
3131
3131
|
a.exports = M;
|
|
3132
|
-
}
|
|
3132
|
+
})
|
|
3133
3133
|
)
|
|
3134
3134
|
/******/
|
|
3135
3135
|
}, N = {};
|
|
@@ -3153,11 +3153,11 @@ function ur() {
|
|
|
3153
3153
|
})()
|
|
3154
3154
|
);
|
|
3155
3155
|
});
|
|
3156
|
-
}(he)), he.exports;
|
|
3156
|
+
})(he)), he.exports;
|
|
3157
3157
|
}
|
|
3158
3158
|
var dr = se.exports, Oe;
|
|
3159
3159
|
function vr() {
|
|
3160
|
-
return Oe || (Oe = 1, function(C, X) {
|
|
3160
|
+
return Oe || (Oe = 1, (function(C, X) {
|
|
3161
3161
|
(function(G, N) {
|
|
3162
3162
|
C.exports = N(ur());
|
|
3163
3163
|
})(dr, function(M) {
|
|
@@ -3168,7 +3168,7 @@ function vr() {
|
|
|
3168
3168
|
/***/
|
|
3169
3169
|
658: (
|
|
3170
3170
|
/***/
|
|
3171
|
-
(a) => {
|
|
3171
|
+
((a) => {
|
|
3172
3172
|
a.exports = Object.assign != null ? Object.assign.bind(Object) : function(e) {
|
|
3173
3173
|
for (var r = arguments.length, l = Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
3174
3174
|
l[i - 1] = arguments[i];
|
|
@@ -3178,13 +3178,13 @@ function vr() {
|
|
|
3178
3178
|
});
|
|
3179
3179
|
}), e;
|
|
3180
3180
|
};
|
|
3181
|
-
}
|
|
3181
|
+
})
|
|
3182
3182
|
),
|
|
3183
3183
|
/***/
|
|
3184
3184
|
548: (
|
|
3185
3185
|
/***/
|
|
3186
|
-
(a, e, r) => {
|
|
3187
|
-
var l = /* @__PURE__ */ function() {
|
|
3186
|
+
((a, e, r) => {
|
|
3187
|
+
var l = /* @__PURE__ */ (function() {
|
|
3188
3188
|
function t(o, s) {
|
|
3189
3189
|
var c = [], f = true, T = false, g = void 0;
|
|
3190
3190
|
try {
|
|
@@ -3208,7 +3208,7 @@ function vr() {
|
|
|
3208
3208
|
return t(o, s);
|
|
3209
3209
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
3210
3210
|
};
|
|
3211
|
-
}(), i = r(140).layoutBase.LinkedList, u = {};
|
|
3211
|
+
})(), i = r(140).layoutBase.LinkedList, u = {};
|
|
3212
3212
|
u.getTopMostNodes = function(t) {
|
|
3213
3213
|
for (var o = {}, s = 0; s < t.length; s++)
|
|
3214
3214
|
o[t[s].id()] = true;
|
|
@@ -3322,12 +3322,12 @@ function vr() {
|
|
|
3322
3322
|
}), f || s.merge(c);
|
|
3323
3323
|
}), s;
|
|
3324
3324
|
}, a.exports = u;
|
|
3325
|
-
}
|
|
3325
|
+
})
|
|
3326
3326
|
),
|
|
3327
3327
|
/***/
|
|
3328
3328
|
816: (
|
|
3329
3329
|
/***/
|
|
3330
|
-
(a, e, r) => {
|
|
3330
|
+
((a, e, r) => {
|
|
3331
3331
|
var l = r(548), i = r(140).CoSELayout, u = r(140).CoSENode, t = r(140).layoutBase.PointD, o = r(140).layoutBase.DimensionD, s = r(140).layoutBase.LayoutConstants, c = r(140).layoutBase.FDLayoutConstants, f = r(140).CoSEConstants, T = function(v, L) {
|
|
3332
3332
|
var F = v.cy, A = v.eles, b = A.nodes(), k = A.edges(), U = void 0, K = void 0, D = void 0, it = {};
|
|
3333
3333
|
v.randomize && (U = L.nodeIndexes, K = L.xCoords, D = L.yCoords);
|
|
@@ -3376,13 +3376,13 @@ function vr() {
|
|
|
3376
3376
|
return E(R.addRoot(), l.getTopMostNodes(b), w, v), y(w, R, k), I(w, v), w.runLayout(), it;
|
|
3377
3377
|
};
|
|
3378
3378
|
a.exports = { coseLayout: T };
|
|
3379
|
-
}
|
|
3379
|
+
})
|
|
3380
3380
|
),
|
|
3381
3381
|
/***/
|
|
3382
3382
|
212: (
|
|
3383
3383
|
/***/
|
|
3384
|
-
(a, e, r) => {
|
|
3385
|
-
var l = /* @__PURE__ */ function() {
|
|
3384
|
+
((a, e, r) => {
|
|
3385
|
+
var l = /* @__PURE__ */ (function() {
|
|
3386
3386
|
function v(L, F) {
|
|
3387
3387
|
for (var A = 0; A < F.length; A++) {
|
|
3388
3388
|
var b = F[A];
|
|
@@ -3392,7 +3392,7 @@ function vr() {
|
|
|
3392
3392
|
return function(L, F, A) {
|
|
3393
3393
|
return F && v(L.prototype, F), A && v(L, A), L;
|
|
3394
3394
|
};
|
|
3395
|
-
}();
|
|
3395
|
+
})();
|
|
3396
3396
|
function i(v, L) {
|
|
3397
3397
|
if (!(v instanceof L))
|
|
3398
3398
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -3486,7 +3486,7 @@ function vr() {
|
|
|
3486
3486
|
stop: function() {
|
|
3487
3487
|
}
|
|
3488
3488
|
// on layoutstop
|
|
3489
|
-
}), g = function() {
|
|
3489
|
+
}), g = (function() {
|
|
3490
3490
|
function v(L) {
|
|
3491
3491
|
i(this, v), this.options = u({}, T, L);
|
|
3492
3492
|
}
|
|
@@ -3630,14 +3630,14 @@ function vr() {
|
|
|
3630
3630
|
console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.");
|
|
3631
3631
|
}
|
|
3632
3632
|
}]), v;
|
|
3633
|
-
}();
|
|
3633
|
+
})();
|
|
3634
3634
|
a.exports = g;
|
|
3635
|
-
}
|
|
3635
|
+
})
|
|
3636
3636
|
),
|
|
3637
3637
|
/***/
|
|
3638
3638
|
657: (
|
|
3639
3639
|
/***/
|
|
3640
|
-
(a, e, r) => {
|
|
3640
|
+
((a, e, r) => {
|
|
3641
3641
|
var l = r(548), i = r(140).layoutBase.Matrix, u = r(140).layoutBase.SVD, t = function(s) {
|
|
3642
3642
|
var c = s.cy, f = s.eles, T = f.nodes(), g = f.nodes(":parent"), v = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), A = [], b = [], k = [], U = [], K = [], D = [], it = [], n = [], m = void 0, p = 1e8, E = 1e-9, y = s.piTol, I = s.samplingType, w = s.nodeSeparation, R = void 0, W = function() {
|
|
3643
3643
|
for (var P = 0, $ = 0, J = false; $ < R; ) {
|
|
@@ -3798,24 +3798,24 @@ function vr() {
|
|
|
3798
3798
|
}
|
|
3799
3799
|
};
|
|
3800
3800
|
a.exports = { spectralLayout: t };
|
|
3801
|
-
}
|
|
3801
|
+
})
|
|
3802
3802
|
),
|
|
3803
3803
|
/***/
|
|
3804
3804
|
579: (
|
|
3805
3805
|
/***/
|
|
3806
|
-
(a, e, r) => {
|
|
3806
|
+
((a, e, r) => {
|
|
3807
3807
|
var l = r(212), i = function(t) {
|
|
3808
3808
|
t && t("layout", "fcose", l);
|
|
3809
3809
|
};
|
|
3810
3810
|
typeof cytoscape < "u" && i(cytoscape), a.exports = i;
|
|
3811
|
-
}
|
|
3811
|
+
})
|
|
3812
3812
|
),
|
|
3813
3813
|
/***/
|
|
3814
3814
|
140: (
|
|
3815
3815
|
/***/
|
|
3816
|
-
(a) => {
|
|
3816
|
+
((a) => {
|
|
3817
3817
|
a.exports = M;
|
|
3818
|
-
}
|
|
3818
|
+
})
|
|
3819
3819
|
)
|
|
3820
3820
|
/******/
|
|
3821
3821
|
}, N = {};
|
|
@@ -3839,7 +3839,7 @@ function vr() {
|
|
|
3839
3839
|
})()
|
|
3840
3840
|
);
|
|
3841
3841
|
});
|
|
3842
|
-
}(se)), se.exports;
|
|
3842
|
+
})(se)), se.exports;
|
|
3843
3843
|
}
|
|
3844
3844
|
var pr = vr();
|
|
3845
3845
|
const yr = /* @__PURE__ */ lr(pr);
|