logo path
Browse files
content/d3_dependency_graph.html
CHANGED
|
@@ -1830,7 +1830,7 @@ const node = g.append('g')
|
|
| 1830 |
// Base‑model icon (HF logo)
|
| 1831 |
node.filter(d => d.is_base)
|
| 1832 |
.append('image')
|
| 1833 |
-
.attr('href', 'hf-logo.svg')
|
| 1834 |
.attr('x', -parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')) / 2)
|
| 1835 |
.attr('y', -parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')) / 2)
|
| 1836 |
.attr('width', parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')))
|
|
|
|
| 1830 |
// Base‑model icon (HF logo)
|
| 1831 |
node.filter(d => d.is_base)
|
| 1832 |
.append('image')
|
| 1833 |
+
.attr('xlink:href', 'hf-logo.svg')
|
| 1834 |
.attr('x', -parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')) / 2)
|
| 1835 |
.attr('y', -parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')) / 2)
|
| 1836 |
.attr('width', parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')))
|