view index.html @ 106:2468f2227d22

make src/layout/ and src/render/ separation
author drewp@bigasterisk.com
date Sun, 13 Mar 2022 22:00:30 -0700
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>