@tangle-network/charts 2.0.12 → 2.0.14

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
@@ -58,6 +58,8 @@ An interval whisker is omitted when its bounds exclude the row's rate.
58
58
 
59
59
  The static root has no runtime dependencies and uses no DOM, so it runs in a Worker, a build step or a browser. The separate opt-in `@tangle-network/charts/react` entrypoint requires React; it is never re-exported by the root.
60
60
 
61
+ `AgentGraph` lives at `@tangle-network/charts/react/agent-graph`, with its stylesheet at `@tangle-network/charts/react/agent-graph.css`. It draws agent trees and tool-call hubs, keeps controlled selection across live updates, and pages the attention list on phones. Install the optional `react-dom`, `@xyflow/react` and `elkjs` peers when using the topology entry. The host loads Brand tokens and its theme, as for `FlowWaterfall`. Hosts supply identity through `renderAgentMark`, `renderToolMark` and `renderEventIcon`; Charts owns geometry, cards, metrics, activity and interaction. Sandbox UI supplies its model/provider marks around this same renderer. Shared formatting, state, motion and lazy-boundary helpers are available from `@tangle-network/charts/react/agent-graph/presentation` for that composition. The ordinary React entry and static root keep their existing dependency boundaries.
62
+
61
63
  ## Use
62
64
 
63
65
  ```ts