|
|
|
|
@ -4082,6 +4082,16 @@ var ContinuousForceDirectedLayout = /*#__PURE__*/function (_go$ForceDirectedLayo
|
|
|
|
|
}(go_module/* ForceDirectedLayout */.hD);
|
|
|
|
|
var colors = ['#3CDAA3', '#9C41DE', '#F84F90', '#30A7F1', '#6656FF'];
|
|
|
|
|
var textcolor = ['根节点', '课件知识单元', '实训知识单元', '文本知识单元', '知识点'];
|
|
|
|
|
var types = [{
|
|
|
|
|
name: '实训',
|
|
|
|
|
type: 'Shixun'
|
|
|
|
|
}, {
|
|
|
|
|
name: '课件',
|
|
|
|
|
type: 'Attachment'
|
|
|
|
|
}, {
|
|
|
|
|
name: '视频',
|
|
|
|
|
type: 'VideoItem'
|
|
|
|
|
}];
|
|
|
|
|
var Atlas = function Atlas(_ref) {
|
|
|
|
|
var _items, _items3, _items4, _items$descriptions;
|
|
|
|
|
var globalSetting = _ref.globalSetting,
|
|
|
|
|
@ -5354,7 +5364,7 @@ var Atlas = function Atlas(_ref) {
|
|
|
|
|
className: knowledgemodules.line
|
|
|
|
|
}), "\u5B66\u4E60\u8D44\u6E90"]
|
|
|
|
|
}), (_items3 = items) === null || _items3 === void 0 || (_items3 = _items3.sub_knowledge_graphs) === null || _items3 === void 0 ? void 0 : _items3.map(function (item, index) {
|
|
|
|
|
var _types;
|
|
|
|
|
var _types$filter;
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: knowledgemodules.a,
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
@ -5380,9 +5390,9 @@ var Atlas = function Atlas(_ref) {
|
|
|
|
|
width: '90%',
|
|
|
|
|
display: 'inline-flex'
|
|
|
|
|
},
|
|
|
|
|
children: [" \u3010", ((_types = types) === null || _types === void 0 || (_types = _types.filter(function (val) {
|
|
|
|
|
children: [" \u3010", (types === null || types === void 0 || (_types$filter = types.filter(function (val) {
|
|
|
|
|
return item.type === val.type;
|
|
|
|
|
})) === null || _types === void 0 || (_types = _types[0]) === null || _types === void 0 ? void 0 : _types.name) || '文本', "\u3011 ", item.name, " "]
|
|
|
|
|
})) === null || _types$filter === void 0 || (_types$filter = _types$filter[0]) === null || _types$filter === void 0 ? void 0 : _types$filter.name) || '文本', "\u3011 ", item.name, " "]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: "\u67E5\u770B"
|
|
|
|
|
})]
|
|
|
|
|
|