|
@@ -2,11 +2,11 @@
|
|
|
[](https://badge.fury.io/js/escher.js)
|
|
|
|
|
|
- Web based 2D graph building framework.
|
|
|
- - Entity based diagram build system, entities are stores as a tree. Parent elements transformations affect the children transforms.
|
|
|
- - Boxes, circle, custom shapes, lines, customizable elements.
|
|
|
- - Support for DOM elements using CSS transforms (useful for text input, or more complex user interaction).
|
|
|
- - Built in viewport controls with drag, zoom and move functions.
|
|
|
- - Supports mobile web browsers.
|
|
|
+ - Entity based diagram build system, entities are stores as a tree. Compose complex animated canvas objects using parent-children transforms.
|
|
|
+ - Extensible using already existing canvas based visualization libs.
|
|
|
+ - Base objects boxes, circle, custom shapes, lines, that can be used to compose more complex objects.
|
|
|
+ - Support for DOM elements using CSS transforms (Useful for text input and more complex user interaction).
|
|
|
+ - Built in viewport controls with drag, zoom and move functions. Supports mobile web browsers.
|
|
|
|
|
|

|
|
|
|
|
@@ -66,6 +66,17 @@ canvas.height = window.innerHeight;
|
|
|
|
|
|
|
|
|
|
|
|
+### Node Graph
|
|
|
+
|
|
|
+- Node graph can be used to create node diagrams, node have inputs and outputs sockets that can be connected using node connectors.
|
|
|
+- Data flows between the nodes, each node class has to implement how its data is processed using the `getValue()` method of its sockets.
|
|
|
+- The node value propagates trough the node connections from outputs to inputs.
|
|
|
+- Its possible to integrate user input elements using the DOM wrapper object.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
### Custom Objects
|
|
|
|
|
|
- Its possible to create custom graph elements by expanding the Object2D class, and overriding its `draw(context, viewport, canvas)` and its `transform(context, viewport, canvas)` methods.
|