jagenjo / litegraph.js

A graph node engine and editor written in Javascript similar to PD or UDK Blueprints, comes with its own editor in HTML5 Canvas2D. The engine can run client side or server side using Node. It allows to export graphs as JSONs to be included in applications independently.
MIT License
5.32k stars 602 forks source link

Rendering HTML inside node #444

Open BECryptoMedia opened 3 months ago

BECryptoMedia commented 3 months ago

I'm trying to get some HTML (a table) inside a node, but I cannot work out how to do this. Can HTML be added as a widget to a node ? Or does it need to be added to the canvas and just "appear" to be part of the node ? Pic attached of what I am attempting to create.

liteGraphNode

EliCDavis commented 1 month ago

This might be helpful

https://stackoverflow.com/questions/12652769/rendering-html-elements-to-canvas