@graphysdk/react-renderer 2.0.0-beta.1786389736654 → 2.0.0-beta.1787130761469

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,24 +1,17 @@
1
1
  # @graphysdk/react-renderer
2
2
 
3
- React renderer for `@graphysdk/viz-engine`. Paints a compiled Graphy chart in the browser.
3
+ React components that paint a Graphy chart. The "Powered by Graphy" mark is off by default.
4
4
 
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.
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.
15
6
 
16
7
  ## Install
17
8
 
18
9
  ```bash
19
- pnpm add @graphysdk/react-renderer @graphysdk/viz-engine
10
+ npm install @graphysdk/react-renderer @graphysdk/viz-engine
20
11
  ```
21
12
 
13
+ Requires React 19. There is no stylesheet to import.
14
+
22
15
  ## Usage
23
16
 
24
17
  ```tsx
@@ -36,7 +29,11 @@ export function Chart({ data }) {
36
29
  }
37
30
  ```
38
31
 
39
- ## Entry points
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
40
38
 
41
- - **`@graphysdk/react-renderer`** — read-only surface: `GraphProvider`, `GraphRenderer`, hooks, slots, theme, and types
42
- - **`@graphysdk/react-renderer/editable`** — editing surface: `EditableGraphRenderer`, `EditorPanel`, and related controls
39
+ Import `EditableGraphRenderer` from `@graphysdk/react-renderer/editable`.