Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I believe you are in the right direction, keep with SVG and Raphael or you can use one of this libraries:</p> <ul> <li><strong>jsPlumb</strong>: <a href="http://code.google.com/p/jsplumb/" rel="nofollow">http://code.google.com/p/jsplumb/</a> - provides a means for a developer to visually connect elements on their web pages. It uses SVG or Canvas in modern browsers, and VML for stone-age browsers. The latest version - 1.3.3 - can be used with jQuery, MooTools and YUI3. Full transparent support for dragging is included and the API is super simple. </li> <li><strong>JointJS</strong>: www(dot)jointjs(dot)com/ - is a JavaScript library for creating diagrams. The diagrams can be fully interactive. Joint library is suitable for both implementing a diagramming tool as well as simply for publishing your diagrams. Features:<br> connecting vector objects with various types of arrows; interacting with connections and objects; custom handlers for various events; bent lines smoothing; ready-to-use elements of well-known diagrams (ERD, Org chart, FSA, UML, PN, DEVS, LDM); hierarchical diagrams; serialization (to/from JSON format, SVG export only in browsers that support it); extensible; customizable; </li> <li><strong>Cajal</strong>: <a href="http://dotsunited.github.com/cajal/" rel="nofollow">http://dotsunited.github.com/cajal/</a> - cajal provides object oriented functionality to draw and animate shapes on the canvas element. You can easily reuse animations or complex shape-objects in other projects, as every shape can be assinged to as many canvas elements on your site as you like.</li> </ul> <p>About the formulas, I would store the last dimensions and points in JS object format, I believe the formulas could be stored created in objects and using the strategy pattern you pass the correct one to be aplied.</p> <p>Hope this is usefull for you.</p> <p>Regards!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload