Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/plastic-io/plastic-io

JavaScript Graph Programming Language
https://github.com/plastic-io/plastic-io

Last synced: about 2 months ago
JSON representation

JavaScript Graph Programming Language

Awesome Lists containing this project

README

        

# plastic-io

## Graph scheduling engine.

![CI/CD](https://github.com/plastic-io/plastic-io/workflows/CI/CD/badge.svg?event=push)

This program can execute graphs written in the application/json+plastic-io schema.

[Documentation](https://plastic-io.github.io/plastic-io/)

[Test Coverage](https://plastic-io.github.io/plastic-io/coverage/lcov-report/)

[Repo](https://github.com/plastic-io/plastic-io)

## Major engine features

* Just in time loading and compiling of:
- graph
- nodes
- embedded graphs
- ES6 code
* Event emitter shows detailed graph execution data
* Graphs can be published, linked and embedded in other graphs
* Nodes can be published and linked
* Graphs support templating engines to create UIs using various frameworks (e.g.: Vue, React)

## Basic Usage

```
// load the lib
import {Scheduler} from "plastic-io";
// instantiate the scheduler
const scheduler = new Scheduler(myGraphJson);
scheduler.url("url-of-a-node", "some value");
```

For more useage see [Scheduler](https://plastic-io.github.io/plastic-io/classes/_scheduler_.scheduler.html)

To create, run and debug graphs, use the plastic-io/graph-editor and the plastic-io/graph-server