leo e76ce0e0c8 合并冲突 | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.codesandbox | %!s(int64=2) %!d(string=hai) anos | |
.github | %!s(int64=2) %!d(string=hai) anos | |
.storybook | %!s(int64=3) %!d(string=hai) anos | |
.vscode | %!s(int64=3) %!d(string=hai) anos | |
cypress | %!s(int64=2) %!d(string=hai) anos | |
examples | %!s(int64=2) %!d(string=hai) anos | |
images | %!s(int64=3) %!d(string=hai) anos | |
packages | %!s(int64=2) %!d(string=hai) anos | |
stories | %!s(int64=2) %!d(string=hai) anos | |
.eslintrc.js | %!s(int64=2) %!d(string=hai) anos | |
.gitignore | %!s(int64=3) %!d(string=hai) anos | |
.prettierrc | %!s(int64=3) %!d(string=hai) anos | |
CONTRIBUTING.md | %!s(int64=2) %!d(string=hai) anos | |
LICENSE | %!s(int64=3) %!d(string=hai) anos | |
Makefile | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
create-release.py | %!s(int64=2) %!d(string=hai) anos | |
cypress.json | %!s(int64=3) %!d(string=hai) anos | |
jest.config.base.js | %!s(int64=2) %!d(string=hai) anos | |
jest.config.js | %!s(int64=2) %!d(string=hai) anos | |
lerna.json | %!s(int64=2) %!d(string=hai) anos | |
package.json | %!s(int64=2) %!d(string=hai) anos | |
tsconfig.base.json | %!s(int64=3) %!d(string=hai) anos | |
yarn.lock | %!s(int64=2) %!d(string=hai) anos |
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} />
);
}