import {
db,
parser$1
} from "./chunk-MRPJBEFA.js";
import {
insertEdgeLabel,
insertMarkers$1,
insertNode,
labelHelper
} from "./chunk-7N2XLO5R.js";
import "./chunk-HG67BHY3.js";
import "./chunk-5PMFZPGK.js";
import "./chunk-5GWSEPQV.js";
import {
common$1,
getConfig$1,
getStylesFromArray,
interpolateToCurve,
line_default,
linear_default,
log$1,
require_dayjs_min,
require_dist,
select_default,
setupGraphViewbox$1
} from "./chunk-SANNSNXC.js";
import {
__commonJS,
__require,
__toESM
} from "./chunk-USJHI7ER.js";
// node_modules/elkjs/lib/elk.bundled.js
var require_elk_bundled = __commonJS({
"node_modules/elkjs/lib/elk.bundled.js"(exports, module) {
(function(f) {
if (typeof exports === "object" && typeof module !== "undefined") {
module.exports = f();
} else if (typeof define === "function" && define.amd) {
define([], f);
} else {
var g;
if (typeof window !== "undefined") {
g = window;
} else if (typeof global !== "undefined") {
g = global;
} else if (typeof self !== "undefined") {
g = self;
} else {
g = this;
}
g.ELK = f();
}
})(function() {
var define2, module2, exports2;
return function() {
function r(e, n, t) {
function o(i2, f) {
if (!n[i2]) {
if (!e[i2]) {
var c = "function" == typeof __require && __require;
if (!f && c)
return c(i2, true);
if (u)
return u(i2, true);
var a = new Error("Cannot find module '" + i2 + "'");
throw a.code = "MODULE_NOT_FOUND", a;
}
var p = n[i2] = { exports: {} };
e[i2][0].call(p.exports, function(r2) {
var n2 = e[i2][1][r2];
return o(n2 || r2);
}, p, p.exports, r, e, n, t);
}
return n[i2].exports;
}
for (var u = "function" == typeof __require && __require, i = 0; i < t.length; i++)
o(t[i]);
return o;
}
return r;
}()({ 1: [function(require2, module3, exports3) {
"use strict";
Object.defineProperty(exports3, "__esModule", {
value: true
});
var _createClass = function() {
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;
Object.defineProperty(target, descriptor.key, descriptor);
}
}
return function(Constructor, protoProps, staticProps) {
if (protoProps)
defineProperties(Constructor.prototype, protoProps);
if (staticProps)
defineProperties(Constructor, staticProps);
return Constructor;
};
}();
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
var ELK2 = function() {
function ELK3() {
var _this = this;
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref$defaultLayoutOpt = _ref.defaultLayoutOptions, defaultLayoutOptions = _ref$defaultLayoutOpt === void 0 ? {} : _ref$defaultLayoutOpt, _ref$algorithms = _ref.algorithms, algorithms = _ref$algorithms === void 0 ? ["layered", "stress", "mrtree", "radial", "force", "disco", "sporeOverlap", "sporeCompaction", "rectpacking"] : _ref$algorithms, workerFactory = _ref.workerFactory, workerUrl = _ref.workerUrl;
_classCallCheck(this, ELK3);
this.defaultLayoutOptions = defaultLayoutOptions;
this.initialized = false;
if (typeof workerUrl === "undefined" && typeof workerFactory === "undefined") {
throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");
}
var factory = workerFactory;
if (typeof workerUrl !== "undefined" && typeof workerFactory === "undefined") {
factory = function factory2(url) {
return new Worker(url);
};
}
var worker = factory(workerUrl);
if (typeof worker.postMessage !== "function") {
throw new TypeError("Created worker does not provide the required 'postMessage' function.");
}
this.worker = new PromisedWorker(worker);
this.worker.postMessage({
cmd: "register",
algorithms
}).then(function(r) {
return _this.initialized = true;
}).catch(console.err);
}
_createClass(ELK3, [{
key: "layout",
value: function layout(graph) {
var _ref2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ref2$layoutOptions = _ref2.layoutOptions, layoutOptions = _ref2$layoutOptions === void 0 ? this.defaultLayoutOptions : _ref2$layoutOptions, _ref2$logging = _ref2.logging, logging = _ref2$logging === void 0 ? false : _ref2$logging, _ref2$measureExecutio = _ref2.measureExecutionTime, measureExecutionTime = _ref2$measureExecutio === void 0 ? false : _ref2$measureExecutio;
if (!graph) {
return Promise.reject(new Error("Missing mandatory parameter 'graph'."));
}
return this.worker.postMessage({
cmd: "layout",
graph,
layoutOptions,
options: {
logging,
measureExecutionTime
}
});
}
}, {
key: "knownLayoutAlgorithms",
value: function knownLayoutAlgorithms() {
return this.worker.postMessage({ cmd: "algorithms" });
}
}, {
key: "knownLayoutOptions",
value: function knownLayoutOptions() {
return this.worker.postMessage({ cmd: "options" });
}
}, {
key: "knownLayoutCategories",
value: function knownLayoutCategories() {
return this.worker.postMessage({ cmd: "categories" });
}
}, {
key: "terminateWorker",
value: function terminateWorker() {
this.worker.terminate();
}
}]);
return ELK3;
}();
exports3.default = ELK2;
var PromisedWorker = function() {
function PromisedWorker2(worker) {
var _this2 = this;
_classCallCheck(this, PromisedWorker2);
if (worker === void 0) {
throw new Error("Missing mandatory parameter 'worker'.");
}
this.resolvers = {};
this.worker = worker;
this.worker.onmessage = function(answer) {
setTimeout(function() {
_this2.receive(_this2, answer);
}, 0);
};
}
_createClass(PromisedWorker2, [{
key: "postMessage",
value: function postMessage(msg) {
var id = this.id || 0;
this.id = id + 1;
msg.id = id;
var self2 = this;
return new Promise(function(resolve, reject) {
self2.resolvers[id] = function(err, res) {
if (err) {
self2.convertGwtStyleError(err);
reject(err);
} else {
resolve(res);
}
};
s
没有合适的资源?快使用搜索试试~ 我知道了~
本项目是基于Vuepress框架 Vuepress-theme-hope主题搭建的一个个人学习笔记文档站点,项目内记.zip
共1213个文件
js:414个
vue:351个
png:248个
需积分: 5 0 下载量 156 浏览量
2024-02-23
12:39:46
上传
评论
收藏 116.84MB ZIP 举报
温馨提示
本项目是基于Vuepress框架 Vuepress-theme-hope主题搭建的一个个人学习笔记文档站点,项目内记
资源推荐
资源详情
资源评论
收起资源包目录
本项目是基于Vuepress框架 Vuepress-theme-hope主题搭建的一个个人学习笔记文档站点,项目内记.zip (1213个子文件)
mathjax.css 3KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
双端队列.gif 726KB
Untitled-1.html 350B
index.html 266B
favicon.ico 263KB
flowchart-elk-definition-56584a6c-QQ4UDXVO.js 3.04MB
@vue_repl.js 1.9MB
root.js 1.23MB
mindmap-definition-57868176-KMWFUCAO.js 1.16MB
chunk-SANNSNXC.js 626KB
chunk-BAWIF3WF.js 300KB
@vueuse_core.js 248KB
chunk-5GWSEPQV.js 232KB
chunk-HG67BHY3.js 218KB
sequenceDiagram-84aa38e3-7PRAO6ZG.js 138KB
database.js 121KB
c4Diagram-c0b17d02-CN6KHZYB.js 114KB
pagesRoutes.js 105KB
vue-router.js 90KB
chunk-MRPJBEFA.js 80KB
ganttDiagram-088dbd90-NF7CHWXL.js 76KB
gitGraphDiagram-e0ffc2d1-WVKMNNEY.js 69KB
sankeyDiagram-a7f8e230-FGIGVENG.js 69KB
chunk-WI5S7EZ6.js 67KB
erDiagram-dedf2781-HR2RVXDP.js 60KB
chunk-A6NPNFAE.js 59KB
chunk-7N2XLO5R.js 55KB
quadrantDiagram-0ca4be02-J7QL7NB7.js 54KB
chunk-ZJVB4WVW.js 49KB
requirementDiagram-e13af0f0-CVSSSAWO.js 45KB
timeline-definition-1a90b03d-KWBGC3QZ.js 45KB
journeyDiagram-adaa34f8-U6HCKPJ4.js 42KB
flowDiagram-d6f8fe3a-QKWHYJ2X.js 41KB
pagesData.js 32KB
pagesComponents.js 32KB
pieDiagram-3fca7ce7-CDZWOLCL.js 28KB
slimsearch.js 23KB
chunk-TIPQRFGQ.js 22KB
stateDiagram-9a586ac6-UPCAUDXK.js 18KB
infoDiagram-64895a6e-KZXNWLVP.js 18KB
shortcuts.html.js 17KB
chunk-CQDFY3CA.js 15KB
chunk-2MZKUIKH.js 14KB
spring-transaction.html.js 12KB
spring-transaction.html.js 12KB
stateDiagram-v2-96f2b9df-CXHCXLRP.js 11KB
chunk-5PMFZPGK.js 11KB
classDiagram-v2-802a48d3-WMNOKWHO.js 10KB
redis-client-jedis-connection-pool.html.js 9KB
jedis-connection-pool.html.js 9KB
jedis-connection-pool.html.js 9KB
redis-principle-datastruct-underlying-implementation.html.js 8KB
redis-datastruct-underlying-implementation.html.js 8KB
docker-object.html.js 8KB
introduction-case.html.js 7KB
introduction-case.html.js 7KB
spring-aop.html.js 7KB
spring-aop.html.js 7KB
spring-resources.html.js 6KB
spring-resources.html.js 6KB
index.html.js 6KB
redis-principle-memery-strategy.html.js 6KB
cn-notion-composition-function.html.js 6KB
redis-memery-strategy.html.js 6KB
classDiagram-a8cc8886-3YMR3PY3.js 6KB
redis-advance-multi-level-cache.html.js 6KB
data-structure-concept.html.js 6KB
xml-beans.html.js 6KB
xml-beans.html.js 6KB
mysql-index.html.js 6KB
sql-optimize.html.js 6KB
datatype-commond.html.js 5KB
sql-general-syntax.html.js 5KB
sql-general-syntax.html.js 5KB
constraint.html.js 5KB
constraint.html.js 5KB
message-login.html.js 5KB
redis-principle-IO.html.js 5KB
function-base.html.js 5KB
function-base.html.js 5KB
mysql-lock.html.js 5KB
redis-principle-redisobject.html.js 5KB
java-base-type-modifier-operation.html.js 5KB
redis-object.html.js 5KB
vue.js 5KB
store-procedure.html.js 5KB
redis-IO.html.js 5KB
redis-introduction-concept-fundamental.html.js 5KB
introduce-redis.html.js 5KB
introduce-redis.html.js 5KB
innodb-mvcc.html.js 5KB
themeData.js 5KB
chunk-J4VLYDXT.js 5KB
sql-optimize.html.js 5KB
java-base-static.html.js 5KB
java-base-static.html.js 4KB
multi-table-query.html.js 4KB
共 1213 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13
资源评论
Kwan的解忧杂货铺
- 粉丝: 1w+
- 资源: 3640
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Picasso_v3.1 2.ipa
- chromedriver-mac-arm64.zip
- 蓝zapro.apk
- chromedriver-linux64.zip
- UCAS研一深度学习实验-MNIST手写数字识别python源码+详细注释(高分项目)
- 基于Python和PyTorch框架完成的一个手写数字识别实验源码(带MINIST手写数字数据集)+详细注释(高分项目)
- 基于Matlab在MNIST数据集上利用CNN完成手写体数字识别任务,并实现单层CNN反向传播算法+源代码+文档说明(高分项目)
- NVIDIA驱动、CUDA和Pytorch及其依赖
- 基于SVM多特征融合的微表情识别python源码+项目说明+详细注释(高分课程设计)
- html动态爱心代码一(附源码)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功