Skip to content

Overview

Akın Şibay edited this page Oct 9, 2024 · 5 revisions

The best way to improve Originzero and make it do everything you need is to expand the node list. The two main purposes of making this application open-source are to make it useful and reliable for everyone, and to accelerate the development of the node list through contributors. This documentation is written to help you write your own node classes and customize the appearance of your nodes in the editor using only your typescript and javascript knowledge.

Getting Started:

All nodes written so far are in the flow-runtime package. This package contains both the flow operating algorithm and the nodes.

  1. Clone the project to your local computer
  2. Go to the /flow-runtime/src/nodes/core folder.
  3. Create a folder with the name of the new node. The folder name should be Pascal Case. (For example NewNode)
  4. You should create 3 files under this folder.
    • NewNode.node.ts (Node logic class file)
    • NewNode.ui.ts (Node ui object file)
    • NewNode.icon.svg (Node icon file)

The file structure should look similar to the image below:

Ekran Resmi 2024-10-09 17 14 42

Clone this wiki locally