leo e76ce0e0c8 合并冲突 | il y a 2 ans | |
---|---|---|
.codesandbox | il y a 2 ans | |
.github | il y a 2 ans | |
.storybook | il y a 3 ans | |
.vscode | il y a 3 ans | |
cypress | il y a 2 ans | |
examples | il y a 2 ans | |
images | il y a 3 ans | |
packages | il y a 2 ans | |
stories | il y a 2 ans | |
.eslintrc.js | il y a 2 ans | |
.gitignore | il y a 3 ans | |
.prettierrc | il y a 3 ans | |
CONTRIBUTING.md | il y a 2 ans | |
LICENSE | il y a 3 ans | |
Makefile | il y a 2 ans | |
README.md | il y a 2 ans | |
create-release.py | il y a 2 ans | |
cypress.json | il y a 3 ans | |
jest.config.base.js | il y a 2 ans | |
jest.config.js | il y a 2 ans | |
lerna.json | il y a 2 ans | |
package.json | il y a 2 ans | |
tsconfig.base.json | il y a 3 ans | |
yarn.lock | il y a 2 ans |
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} />
);
}