UNPKG

jointjs

Version:

JavaScript diagramming library

31 lines (25 loc) 1.08 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/> <title>RoughJS Demo</title> <link rel="stylesheet" type="text/css" href="../../build/joint.css" /> <link rel="stylesheet" type="text/css" href="css/rough.css" /> </head> <body> <div id="paper"></div> <div class="description"> Drag empty area to add new shapes. Use <span class="key">⇧ shift</span> key to add links or connect shapes. Double click a shape to edit text. </div> <!-- Dependencies: --> <script src="../../node_modules/jquery/dist/jquery.js"></script> <script src="../../node_modules/lodash/lodash.js"></script> <script src="../../node_modules/backbone/backbone.js"></script> <script src="../../build/joint.js"></script> <script src="node_modules/roughjs/dist/rough.js"></script> <script src="src/rough.js"></script> </body> </html>