@fusion.dev/helix-docs 0.129.0 → 0.130.0

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.
@@ -205,6 +205,16 @@ for a graph too large to read at once:
205
205
  </helix-graph>
206
206
  ```
207
207
 
208
+ The selected note lights the notes it links to and from. Pass `reach` to
209
+ `connectGraph` to light more: `upstream` lights every note a path of links
210
+ leads from to the selected one, and `downstream` every note a path leads to
211
+ from it. Where each link runs from what a note was derived from to the note,
212
+ `upstream` lights everything the note came from:
213
+
214
+ ```ts
215
+ connectGraph(frame, sigmaDriver(sigma), { reach: 'upstream' })
216
+ ```
217
+
208
218
  ## Draw the notes in a shape
209
219
 
210
220
  Pass a `stencil` and the connector places the notes in its shape from the first
@@ -230,7 +240,9 @@ connectGraph(frame, driver, {
230
240
 
231
241
  With three.js, place the notes on the surface of a 3D model.
232
242
  `shapeFromModel` reads a `.glb` or `.gltf` file, and is in its own entry,
233
- `@fusion.dev/helix-graph/model`, since it loads three.js:
243
+ `@fusion.dev/helix-graph/model`, since it loads three.js. It reads a model
244
+ compressed with meshopt, as `gltfpack` writes one, which is often a third of
245
+ the size:
234
246
 
235
247
  ```js
236
248
  import { shapeFromModel } from '@fusion.dev/helix-graph/model'
@@ -1789,6 +1789,16 @@ for a graph too large to read at once:
1789
1789
  </helix-graph>
1790
1790
  \`\`\`
1791
1791
 
1792
+ The selected note lights the notes it links to and from. Pass \`reach\` to
1793
+ \`connectGraph\` to light more: \`upstream\` lights every note a path of links
1794
+ leads from to the selected one, and \`downstream\` every note a path leads to
1795
+ from it. Where each link runs from what a note was derived from to the note,
1796
+ \`upstream\` lights everything the note came from:
1797
+
1798
+ \`\`\`ts
1799
+ connectGraph(frame, sigmaDriver(sigma), { reach: 'upstream' })
1800
+ \`\`\`
1801
+
1792
1802
  ## Draw the notes in a shape
1793
1803
 
1794
1804
  Pass a \`stencil\` and the connector places the notes in its shape from the first
@@ -1814,7 +1824,9 @@ connectGraph(frame, driver, {
1814
1824
 
1815
1825
  With three.js, place the notes on the surface of a 3D model.
1816
1826
  \`shapeFromModel\` reads a \`.glb\` or \`.gltf\` file, and is in its own entry,
1817
- \`@fusion.dev/helix-graph/model\`, since it loads three.js:
1827
+ \`@fusion.dev/helix-graph/model\`, since it loads three.js. It reads a model
1828
+ compressed with meshopt, as \`gltfpack\` writes one, which is often a third of
1829
+ the size:
1818
1830
 
1819
1831
  \`\`\`js
1820
1832
  import { shapeFromModel } from '@fusion.dev/helix-graph/model'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix-docs",
3
3
  "description": "Versioned documentation content and registry for Helix.",
4
- "version": "0.129.0",
4
+ "version": "0.130.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -36,14 +36,14 @@
36
36
  },
37
37
  "bugs": "https://github.com/project-fusion/fusion/issues",
38
38
  "devDependencies": {
39
- "@fusion.dev/helix": "0.129.0",
40
- "@fusion.dev/helix-cem": "0.129.0",
41
- "@fusion.dev/helix-headless": "0.129.0",
42
- "@fusion.dev/helix-icons": "0.129.0",
43
- "@fusion.dev/helix-map": "0.129.0",
44
- "@fusion.dev/helix-styles": "0.129.0",
45
- "@fusion.dev/helix-testing": "0.129.0",
46
- "@fusion.dev/helix-theme": "0.129.0",
39
+ "@fusion.dev/helix": "0.130.0",
40
+ "@fusion.dev/helix-cem": "0.130.0",
41
+ "@fusion.dev/helix-headless": "0.130.0",
42
+ "@fusion.dev/helix-icons": "0.130.0",
43
+ "@fusion.dev/helix-map": "0.130.0",
44
+ "@fusion.dev/helix-styles": "0.130.0",
45
+ "@fusion.dev/helix-testing": "0.130.0",
46
+ "@fusion.dev/helix-theme": "0.130.0",
47
47
  "@fusion.dev/scripts": "0.0.0-dev",
48
48
  "lit": "^3.2.1",
49
49
  "playwright": "^1.62.1"