UNPKG

gojs

Version:

Interactive diagrams, charts, and graphs, such as trees, flowcharts, orgcharts, UML, BPMN, or business diagrams

30 lines (29 loc) 1.09 kB
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>CheckBoxes</title> <meta name="description" content="TypeScript: An implementation of CheckBoxes as GoJS objects to show and edit a boolean data property." /> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Copyright 1998-2020 by Northwoods Software Corporation. --> <script src="../samples/assets/require.js"></script> <script src="../assets/js/goSamples.js"></script> <!-- this is only for the GoJS Samples framework --> <script id="code"> function init() { require(["CheckBoxesScript"], function(app) { app.init(); }); } </script> </head> <body onload="init()"> <div id="sample"> <div id="myDiagramDiv" style="border: solid 1px black; width:500px; height:500px"></div> <p> Various uses of CheckBoxes. These are predefined in the library. You can see how they are defined in <a href="Buttons.ts">Buttons.ts</a>. </p> <textarea id="mySavedModel" style="width:100%;height:300px"></textarea> </div> </body> </html>