---
code: "INT-22"
id: "c-pulse"
tab: "dynamic-2"
kind: "interactive"
title: "Network Pulse · 펄스 네트워크"
library: "ECharts"
deps: ["echarts@5"]
load: "low"
pasteKind: "echarts-mount"
family: "network-signal"
dataShape: "network nodes with influence pulses"
tasks: ["explore data", "filter subsets", "monitor change", "show connections", "show propagation centers"]
tags: ["interactive", "exploration", "linked view", "network", "flow", "pulse", "펄스", "네트워크"]
gallery: "https://graph.heal7.com/#INT-22"
js: "/sku/INT-22.js"
---

# [INT-22] Network Pulse · 펄스 네트워크

> AI 붙여넣기 카드. 갤러리 런타임(`main.js`)이 아니라 이 파일을 가져와라.

## 언제 가져가나
중요 노드에서 동심원 파장이 퍼지는 effectScatter — 영향력의 시각화.

**응용** 인플루언서 전파, 장애 영향 범위, 알림 발송 흐름.

## 데이터 모양
- family: `network-signal`
- dataShape: network nodes with influence pulses
- tasks: explore data, filter subsets, monitor change, show connections, show propagation centers
- tags: interactive, exploration, linked view, network, flow, pulse, 펄스, 네트워크


## 의존
echarts@5 · load `low` · library `ECharts`

## 붙여넣는 법
1. echarts 5.x 로드 (GL이면 echarts-gl도)
2. 컨테이너 id를 원본 id와 맞추거나 `document.getElementById` 한 줄만 바꾼다
3. `T`, `reg`, `cssv` 가 필요하면 갤러리 테마 스텁을 함께 가져간다

```js
const T = {
  "bg": "transparent",
  "fg": "#ece8f5",
  "sub": "#a59bbd",
  "grid": "rgba(255,255,255,.08)",
  "gold": "#e8c069",
  "royal": "#6b8cff",
  "rose": "#e07a9f",
  "teal": "#6dd2c4",
  "plum": "#b487e8"
};
const cssv = (n, fb) => (getComputedStyle(document.documentElement).getPropertyValue(n).trim() || fb);
const isDark = () => document.documentElement.getAttribute('data-theme') !== 'light';
const charts = [];
const reg = (id, opt) => {
  const dom = document.getElementById(id); if (!dom) return;
  const c = echarts.init(dom, null, {renderer:'canvas'});
  c.setOption(opt);
  charts.push(c);
  return c;
};
const factory = function(){
  const N = 16, R = 80;
  const nodes = [], hubsIdx = [0, 5, 10];
  for(let i=0;i<N;i++){
    const a = 2*Math.PI*i/N - Math.PI/2;
    nodes.push({id:'n'+i, name:'N'+(i+1), value:[Math.cos(a)*R, Math.sin(a)*R], symbolSize:12,
      itemStyle:{color: hubsIdx.includes(i) ? T.gold : T.royal}});
  }
  const links = [];
  for(let i=0;i<24;i++){ const a=Math.floor(Math.random()*N), b=Math.floor(Math.random()*N);
    if(a!==b) links.push({source:'n'+a, target:'n'+b, lineStyle:{color:'rgba(232,192,105,.28)', curveness:.18, width:1+Math.random()*1.4}});
  }
  const hubsXY = hubsIdx.map(i=>{ const a=2*Math.PI*i/N - Math.PI/2; return [Math.cos(a)*R, Math.sin(a)*R]; });
  reg('c-pulse', {
    backgroundColor:T.bg, tooltip:{},
    grid:{top:8,right:8,bottom:8,left:8},
    xAxis:{type:'value', show:false, min:-110, max:110},
    yAxis:{type:'value', show:false, min:-110, max:110},
    series:[
      {type:'graph', coordinateSystem:'cartesian2d', roam:false, draggable:false,
        data:nodes, links, label:{show:false}, edgeSymbol:['none','none'],
        emphasis:{focus:'adjacency', lineStyle:{width:2, color:T.gold}}},
      {type:'effectScatter', coordinateSystem:'cartesian2d', data:hubsXY,
        symbolSize:18, rippleEffect:{scale:5, brushType:'stroke', period:3.2},
        itemStyle:{color:T.gold, shadowBlur:14, shadowColor:T.gold}, z:10}
    ]
  });
};
factory();
```

## 원본 factory (갤러리 정본 발췌)
- file: `frontend/js/graph-gallery/main.js`
- lines: 2273-2300
- gallery: https://graph.heal7.com/#INT-22
- raw js: https://graph.heal7.com/sku/INT-22.js

```js
function(){
  const N = 16, R = 80;
  const nodes = [], hubsIdx = [0, 5, 10];
  for(let i=0;i<N;i++){
    const a = 2*Math.PI*i/N - Math.PI/2;
    nodes.push({id:'n'+i, name:'N'+(i+1), value:[Math.cos(a)*R, Math.sin(a)*R], symbolSize:12,
      itemStyle:{color: hubsIdx.includes(i) ? T.gold : T.royal}});
  }
  const links = [];
  for(let i=0;i<24;i++){ const a=Math.floor(Math.random()*N), b=Math.floor(Math.random()*N);
    if(a!==b) links.push({source:'n'+a, target:'n'+b, lineStyle:{color:'rgba(232,192,105,.28)', curveness:.18, width:1+Math.random()*1.4}});
  }
  const hubsXY = hubsIdx.map(i=>{ const a=2*Math.PI*i/N - Math.PI/2; return [Math.cos(a)*R, Math.sin(a)*R]; });
  reg('c-pulse', {
    backgroundColor:T.bg, tooltip:{},
    grid:{top:8,right:8,bottom:8,left:8},
    xAxis:{type:'value', show:false, min:-110, max:110},
    yAxis:{type:'value', show:false, min:-110, max:110},
    series:[
      {type:'graph', coordinateSystem:'cartesian2d', roam:false, draggable:false,
        data:nodes, links, label:{show:false}, edgeSymbol:['none','none'],
        emphasis:{focus:'adjacency', lineStyle:{width:2, color:T.gold}}},
      {type:'effectScatter', coordinateSystem:'cartesian2d', data:hubsXY,
        symbolSize:18, rippleEffect:{scale:5, brushType:'stroke', period:3.2},
        itemStyle:{color:T.gold, shadowBlur:14, shadowColor:T.gold}, z:10}
    ]
  });
}
```

