element_51ΒΆ

Build browser node-editor GUIs from Python.

Modules

edits

Edits to the graph, and the rules that decide whether they are allowed.

engine

Run a graph: call each node's function in dependency order.

figures

PNG files of a chart or a picture, for Save as PNG.

isolated

Run a job in a child process, so Stop can kill it and a crash stays there.

job_exec

Run a job's code, the same way in a thread and in a child process.

job_node

A node that is started and stopped by hand and works in the background.

jobs

Run job nodes in the background and keep what they report.

model

Records for node types and graphs.

nodes

Turn a typed function, or a Node subclass, into a node type.

ports

Map type hints to ports: the part of @node and Node shared by both.

protocol

Messages between Python and the browser, as JSON.

server

Serve the editor page, its WASM files and the websocket.

session

The live session: node types and the graph being edited.

store

Save a graph to a JSON file and read it back.

theme

The editor's themes: a built-in name, or a file of changes to one.

visuals

Pictures and series: values a node can show on its card and pass on.

wrap

Turn the functions of a module into node types with one call.