@graphysdk/react-renderer 1.8.1-beta.1787150640613 → 2.0.0-beta.1786389736654

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/README.md CHANGED
@@ -1,17 +1,24 @@
1
1
  # @graphysdk/react-renderer
2
2
 
3
- React components that paint a Graphy chart. The "Powered by Graphy" mark is off by default.
3
+ React renderer for `@graphysdk/viz-engine`. Paints a compiled Graphy chart in the browser.
4
4
 
5
- Most apps should start with [`@graphysdk/react`](https://www.npmjs.com/package/@graphysdk/react) instead — same components, plus the chart builders, with the mark on.
5
+ ## Docs
6
+
7
+ - [Provider and renderer](https://docs.graphy.dev/sdk-next/rendering/provider-and-renderer)
8
+ - [Quickstart](https://docs.graphy.dev/sdk-next/quickstart) — recommended starting point via `@graphysdk/react`
9
+
10
+ ## Recommended entry
11
+
12
+ For most apps, install **`@graphysdk/react`** instead. That package re-exports this renderer and turns the provenance mark **on by default**.
13
+
14
+ Use `@graphysdk/react-renderer` directly when you want the neutral layer (mark **off** by default) or are building your own opinionated wrapper.
6
15
 
7
16
  ## Install
8
17
 
9
18
  ```bash
10
- npm install @graphysdk/react-renderer @graphysdk/viz-engine
19
+ pnpm add @graphysdk/react-renderer @graphysdk/viz-engine
11
20
  ```
12
21
 
13
- Requires React 19. There is no stylesheet to import.
14
-
15
22
  ## Usage
16
23
 
17
24
  ```tsx
@@ -29,22 +36,7 @@ export function Chart({ data }) {
29
36
  }
30
37
  ```
31
38
 
32
- ## Docs
33
-
34
- - [Quickstart](https://docs.graphy.dev/sdk-next/quickstart)
35
- - [Provider and renderer](https://docs.graphy.dev/sdk-next/rendering/provider-and-renderer)
36
-
37
- ## Editable charts
38
-
39
- Import `EditableGraphRenderer` from `@graphysdk/react-renderer/editable`.
39
+ ## Entry points
40
40
 
41
41
  - **`@graphysdk/react-renderer`** — read-only surface: `GraphProvider`, `GraphRenderer`, hooks, slots, theme, and types
42
42
  - **`@graphysdk/react-renderer/editable`** — editing surface: `EditableGraphRenderer`, `EditorPanel`, and related controls
43
-
44
- ## Licence
45
-
46
- This package is available under PolyForm Noncommercial, Small Business, or a 32-day Free Trial. Free Trial is local or internal evaluation only — it does not cover a public page. See [what you can do under the trial](https://docs.graphy.dev/licence/evaluation).
47
-
48
- ## Support
49
-
50
- Questions and community help: [Discord](https://discord.gg/yGmYCjkSr).