element_51ΒΆ
Build browser node-editor GUIs from Python.
Modules
Edits to the graph, and the rules that decide whether they are allowed. |
|
Run a graph: call each node's function in dependency order. |
|
PNG files of a chart or a picture, for Save as PNG. |
|
Run a job in a child process, so Stop can kill it and a crash stays there. |
|
Run a job's code, the same way in a thread and in a child process. |
|
A node that is started and stopped by hand and works in the background. |
|
Run job nodes in the background and keep what they report. |
|
Records for node types and graphs. |
|
Turn a typed function, or a Node subclass, into a node type. |
|
Map type hints to ports: the part of @node and Node shared by both. |
|
Messages between Python and the browser, as JSON. |
|
Serve the editor page, its WASM files and the websocket. |
|
The live session: node types and the graph being edited. |
|
Save a graph to a JSON file and read it back. |
|
The editor's themes: a built-in name, or a file of changes to one. |
|
Pictures and series: values a node can show on its card and pass on. |
|
Turn the functions of a module into node types with one call. |