@coral-viz/viz
v0.2.5
Published
Coral visual diagram editor using React Flow
Readme
@coral-viz/viz
React Flow editor components, GraphIR projection, file/settings helpers, text synchronization, layout, connections, waypoints, and properties APIs.
npm install @coral-viz/[email protected] @coral-viz/[email protected] \
@graph-ir/[email protected] \
@xyflow/react@^12 react@^19 react-dom@^19React and React DOM 18.3 or 19 are supported peers. Import the React Flow stylesheet once:
import '@xyflow/react/dist/style.css';Public entries are the root plus /editor, /layout, and /text-editor.
CoralEditor renders and edits a supplied graph. The host owns file loading,
GraphIR validation, notation-profile resolution, layout orchestration,
persistence, and container sizing. Connections are disabled by default.
UserPreferences.llmSavedApiKey remains only for 0.2.x source compatibility
and is deprecated as secret storage.
See the Viz API and React editor guide.
Apache-2.0. See LICENSE.
