view index.html @ 101:76c1a29a328f

repo now demos itself, which runs better than using the nested demo/ project
author drewp@bigasterisk.com
date Fri, 11 Feb 2022 23:24:41 -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>