Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts

Tuesday, September 1, 2015

Dataflow editor pure HTML5 + Javascript.

1. Hopefully will run anywhere (Android, IOS with help of Intel XDK which wraps HTML5+Javascript development into appropriate packages). Raspberry PI, Windows.
2. JointJs+Webix HTML UI framework.
3. Tried OpenUI5, Jquery UI, EasyUI. With Webix got quick results (few hours).
4. Their site contains a lot of samples with code editor. you can modify samples and see live changes.
5. Appropriate sources attached. https://www.dropbox.com/s/f1pzbfvpacl2384/DataflowAnywhere.zip?dl=0
 nothing works meanwhile, simply UI layout with panels that can be collapsed/expanded.blocks drawn can be moved, connected, disconnected.
6. Actually it's JointJS graph in few lines of JavaScript is embedded into Webix view.



Thursday, August 27, 2015

Trying JointJs

http://www.jointjs.com/tutorial#hello-world

1. the intention is to create something like directshow graph editor, for modeling system which will run anywhere.
2. library looks promising but blocks can't have multiple properties.
3. Though it's open source and can be extended

 sample work from first effort.

1. your html must have "myHolder" div

<body onload="onLoad()">
    <div id="myHolder"></div>
</body>

2. script command should have closing tag. without it at least Internet Explorer doesn't find functions defined.

    <script src="scripts/joint.js"></script>