leo e76ce0e0c8 合并冲突 | 2 lat temu | |
---|---|---|
.codesandbox | 2 lat temu | |
.github | 2 lat temu | |
.storybook | 3 lat temu | |
.vscode | 3 lat temu | |
cypress | 2 lat temu | |
examples | 2 lat temu | |
images | 3 lat temu | |
packages | 2 lat temu | |
stories | 2 lat temu | |
.eslintrc.js | 2 lat temu | |
.gitignore | 3 lat temu | |
.prettierrc | 3 lat temu | |
CONTRIBUTING.md | 2 lat temu | |
LICENSE | 3 lat temu | |
Makefile | 2 lat temu | |
README.md | 2 lat temu | |
create-release.py | 2 lat temu | |
cypress.json | 3 lat temu | |
jest.config.base.js | 2 lat temu | |
jest.config.js | 2 lat temu | |
lerna.json | 2 lat temu | |
package.json | 2 lat temu | |
tsconfig.base.json | 3 lat temu | |
yarn.lock | 2 lat temu |
A react component for editing pipeline files. Used across all Elyra applications and browser extensions.
@elyra/pipeline-editor
is available as an npm package:
// npm
npm install @elyra/pipeline-editor
// yarn
yarn add @elyra/pipeline-editor
Or can be built and linked locally:
git clone git@github.com:elyra-ai/pipeline-editor.git
cd pipeline-editor
make clean install dev-link
Then in the project you're using the local build run the following:
yarn link @elyra/pipeline-editor @elyra/pipeline-services
or if you're running with Elyra you can use make:
make clean dev-link install
import { PipelineEditor } from "@elyra/pipeline-editor";
function App() {
const [pipeline, setPipeline] = useState();
return (
<PipelineEditor pipeline={pipeline} palette={{}} onChange={setPipeline} />
);
}