Skip to content

SyntheticSpheres/DiagramArt---Embedded

Repository files navigation

Build Status codecov

DiagramArt widget.

DiagramArt Library

<body>
    ...
    <div id="daLibrary"></div>
    ...
    <script src="./js/diagramartlibrary.js"></script>
    <script>
        DiagramArtLibrary({
            selector:"daLibrary" /* ID of element where it will be rendered */
        });
    </script>
</body>

DiagramArt detail

<body>
    ...
    <div id="daDetail"></div>
    ...
    <script src="./js/diagramartdetail.js"></script>
    <script>
        DiagramArtDetail({
            selector:"daDetail", /* ID of element where it will be rendered */
            diagramId: 4902083204 /* diagram ID */
        });
    </script>
</body>