view index.html @ 100:ad08e5e25fc9

revert jsonld a few years to avoid a vite/commonjs build issue the newer jsonld has this dep graph: jsonld 5.2.0 └─┬ rdf-canonize 3.0.0 └── setimmediate 1.0.5 and that setimmediate uses strict in a way that breaks the build, etc.
author drewp@bigasterisk.com
date Fri, 11 Feb 2022 22:57:23 -0800
parents faf7e432f089
children f08004002444
line wrap: on
line source

<!DOCTYPE html>
<html>
  <body>
    <h1>streamed-graph demo1</h1>
    
    <div id="demo"></div>

    <script type="module">
      import { html, render } from 'lit';
      import { StreamedGraph } from ".";
      render(
        html`
          <streamed-graph
            url="/collector/graph/reposync"
            view="repos.n3"
            expanded="true"
          ></streamed-graph>
        `,
        document.querySelector('#demo')
      );
    </script>
  </body>
</html>