From b6d16913f7cc073335fae6f0e949cefd7d418a80 Mon Sep 17 00:00:00 2001 From: moklick Date: Tue, 13 Jun 2023 17:44:18 +0200 Subject: [PATCH] chore(readmes): update --- packages/react/package.json | 2 +- packages/svelte/README.md | 53 +++++++--- packages/svelte/package.json | 200 +++++++++++++++++++---------------- packages/system/README.md | 2 +- pnpm-lock.yaml | 8 +- 5 files changed, 149 insertions(+), 116 deletions(-) diff --git a/packages/react/package.json b/packages/react/package.json index 4e2bd02d..44e4cc1d 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@xyflow/react", "version": "11.7.2", - "description": "Core components and util functions of React Flow.", + "description": "A highly customizable React library for building node-based editors and interactive flow charts.", "keywords": [ "react", "node-based UI", diff --git a/packages/svelte/README.md b/packages/svelte/README.md index 74834b81..c253a1fe 100644 --- a/packages/svelte/README.md +++ b/packages/svelte/README.md @@ -1,16 +1,16 @@ -# SvelteFlow +# Svelte Flow - alpha -A highly customizable Svelte component for building interactive graphs and node-based editors. **This package is currently under heavy development and the API is very likely to change.** +Svelte Flow is a highly customizable component for building interactive graphs and node-based editors, built by the creators of React Flow. **This package is currently under heavy development and the API is very likely to change.** -## Getting started +## Installation -If you want to check out the current version you need to run the following command from the root directory: +The easiest way to get the latest version of Svelte Flow is to install it via npm, yarn or pnpm: -1. `pnpm install` - install dependencies -2. `pnpm build` - needs to be done once -3. `pnpm dev` - starts dev server +```sh +npm install @xyflow/svelte +``` -You can now access the examples under http://127.0.0.1:5173 +What is “xyflow”? Learn more [here](https://wbkd.notion.site/Upcoming-Changes-at-React-Flow-1a443641891a4069927c0a115e915251). ## Getting started @@ -21,7 +21,7 @@ A basic flow looks like this: ```svelte