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>

No comments:

Post a Comment