# flow **Repository Path**: WHPs/flow ## Basic Information - **Project Name**: flow - **Description**: github 克隆库,有修改 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-13 - **Last Updated**: 2024-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

flow

Node-Graph, lightweight, cross-browser UI library.

Flow is basead on native components of HTML5 and the code on ES6. It is modular, three-shaking and class-based.

:rocket: Examples === - [x] [Inputs](https://raw.githack.com/sunag/flow/master/examples/index.html) - [x] [Events](https://raw.githack.com/sunag/flow/master/examples/events.html) - [x] [Pure HTML5 ( No JavaScript )](https://raw.githack.com/sunag/flow/master/examples/pure.html) - [x] [WIP: Node-Graph Editor](https://raw.githack.com/sunag/flow/master/examples/nodes.html) - [x] [WIP: Loader / Serializer](https://raw.githack.com/sunag/flow/master/examples/loader.html) ### :keyboard: JavaScript ```javascript import * as Flow from '../build/flow.module.js'; const object = { 'string': 'Hello World!', 'color': 0x339933, 'number': 100, 'slider': .5, 'text': 'Text Area' }; const node = new Flow.PanelNode( 'Panel', 'center' ); node.addString( object, 'string' ); node.addColor( object, 'color' ); node.addNumber( object, 'number' ); node.addSlider( object, 'slider', 0, 1 ); node.addText( object, 'text' ); node.addButton( 'My Button' ); document.body.appendChild( node.dom ); ``` [Open example](https://raw.githack.com/sunag/flow/master/examples/index.html) ### :art: HTML5 Use your own JavaScript with Flow layout and style. ```html Made With Love ❤ Node ... ``` [Open example](https://raw.githack.com/sunag/flow/master/examples/pure.html) ## :footprints: Inspiration and special thanks - [Three.js and Mr.doob](https://github.com/mrdoob/three.js/) - [UIL and Lo-th](https://github.com/lo-th/uil)