index.html 672 B

1234567891011121314151617181920212223242526
  1. <html>
  2. <head>
  3. <title>er-diagram demo</title>
  4. <script type = "text/javascript" src="node_modules/gethue/web/er-diagram.js"></script>
  5. <script type = "text/javascript" src="data.js"></script>
  6. <script type = "text/javascript">
  7. window.onload = function (){
  8. document.getElementById("erd").entities = data.entities;
  9. document.getElementById("erd").relations = data.relations;
  10. };
  11. </script>
  12. <style>
  13. .fa-expand:before {
  14. content: "\2921";
  15. }
  16. body {
  17. font-family: sans-serif;
  18. line-height: 1.5;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <er-diagram id="erd"></er-diagram>
  24. </body>
  25. </html>