diff --git a/src/assets/images/EventInsight/ic_wbfg.png b/src/assets/images/EventInsight/ic_wbfg.png new file mode 100644 index 0000000..886b31b Binary files /dev/null and b/src/assets/images/EventInsight/ic_wbfg.png differ diff --git a/src/views/EventComparison/index.vue b/src/views/EventComparison/index.vue index c63adb7..0359c90 100644 --- a/src/views/EventComparison/index.vue +++ b/src/views/EventComparison/index.vue @@ -1,7 +1,7 @@ + + + + + diff --git a/src/views/EventDEC/mediaInterpretationED/opt.js b/src/views/EventDEC/mediaInterpretationED/opt.js new file mode 100644 index 0000000..974aa47 --- /dev/null +++ b/src/views/EventDEC/mediaInterpretationED/opt.js @@ -0,0 +1,57 @@ + +/* + * @Author: your name + * @Date: 2021-10-14 19:32:39 + * @LastEditTime: 2021-10-14 19:40:03 + * @LastEditors: Please set LastEditors + * @Description: In User Settings Edit + * @FilePath: /data-show/src/views/WeiboDetails/weiboSpreadFission/opt.js + */ +export default function createOpt(data) { + return { + title: { + show: false, + text: 'NPM Dependencies' + }, + animationDurationUpdate: 1500, + animationEasingUpdate: 'quinticInOut', + series: [ + { + type: 'graph', + layout: 'none', + // progressiveThreshold: 700, + data: data.nodes.map(function (node) { + return { + x: node.x, + y: node.y, + id: node.id, + name: node.label, + symbolSize: node.size, + itemStyle: { + color: node.color + } + }; + }), + edges: data.edges.map(function (edge) { + return { + source: edge.sourceID, + target: edge.targetID + }; + }), + emphasis: { + focus: 'adjacency', + label: { + position: 'right', + show: true + } + }, + roam: true, + lineStyle: { + width: 0.5, + curveness: 0.3, + opacity: 0.7 + } + } + ] + } +} \ No newline at end of file diff --git a/src/views/EventDEC/mediaInterpretationEc/index.vue b/src/views/EventDEC/mediaInterpretationEc/index.vue index 08c31f1..ff72727 100644 --- a/src/views/EventDEC/mediaInterpretationEc/index.vue +++ b/src/views/EventDEC/mediaInterpretationEc/index.vue @@ -1,7 +1,7 @@