wiki-plugin-rcngraph 0.1.14 → 0.1.15
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/client/rcn-graph.js +0 -11
- package/client/rcngraph.js +0 -11
- package/package.json +1 -1
package/client/rcn-graph.js
CHANGED
|
@@ -178,17 +178,6 @@
|
|
|
178
178
|
const el = groupFor(svg, 'node', n.id)
|
|
179
179
|
if (!el) return
|
|
180
180
|
el.style.opacity = op('nodes', String(n.id))
|
|
181
|
-
// A ring on what this step brings in for the first time.
|
|
182
|
-
if (lit && lit.nodes.has(String(n.id)) && !seen.nodes.has(String(n.id)) && n.w && n.h) {
|
|
183
|
-
const r = document.createElementNS('http://www.w3.org/2000/svg', 'ellipse')
|
|
184
|
-
r.setAttribute('class', 'rcn-walk-ring')
|
|
185
|
-
r.setAttribute('cx', '0'); r.setAttribute('cy', '0')
|
|
186
|
-
r.setAttribute('rx', String(n.w / 2 + 9)); r.setAttribute('ry', String(n.h / 2 + 9))
|
|
187
|
-
r.setAttribute('fill', 'none'); r.setAttribute('stroke', BUILD_COLOR)
|
|
188
|
-
r.setAttribute('stroke-width', '3'); r.setAttribute('opacity', '.8')
|
|
189
|
-
r.setAttribute('pointer-events', 'none')
|
|
190
|
-
el.appendChild(r)
|
|
191
|
-
}
|
|
192
181
|
})
|
|
193
182
|
g.edges.forEach(e => {
|
|
194
183
|
const el = groupFor(svg, 'edge', e.id)
|
package/client/rcngraph.js
CHANGED
|
@@ -180,17 +180,6 @@
|
|
|
180
180
|
const el = groupFor(svg, 'node', n.id)
|
|
181
181
|
if (!el) return
|
|
182
182
|
el.style.opacity = op('nodes', String(n.id))
|
|
183
|
-
// A ring on what this step brings in for the first time.
|
|
184
|
-
if (lit && lit.nodes.has(String(n.id)) && !seen.nodes.has(String(n.id)) && n.w && n.h) {
|
|
185
|
-
const r = document.createElementNS('http://www.w3.org/2000/svg', 'ellipse')
|
|
186
|
-
r.setAttribute('class', 'rcn-walk-ring')
|
|
187
|
-
r.setAttribute('cx', '0'); r.setAttribute('cy', '0')
|
|
188
|
-
r.setAttribute('rx', String(n.w / 2 + 9)); r.setAttribute('ry', String(n.h / 2 + 9))
|
|
189
|
-
r.setAttribute('fill', 'none'); r.setAttribute('stroke', BUILD_COLOR)
|
|
190
|
-
r.setAttribute('stroke-width', '3'); r.setAttribute('opacity', '.8')
|
|
191
|
-
r.setAttribute('pointer-events', 'none')
|
|
192
|
-
el.appendChild(r)
|
|
193
|
-
}
|
|
194
183
|
})
|
|
195
184
|
g.edges.forEach(e => {
|
|
196
185
|
const el = groupFor(svg, 'edge', e.id)
|