diff index.html @ 11:f961fe3d0e27 default tip

update to new streamed-graph api
author drewp@bigasterisk.com
date Sun, 07 May 2023 16:02:03 -0700
parents e7f33fa31883
children
line wrap: on
line diff
--- a/index.html	Sun May 07 16:00:39 2023 -0700
+++ b/index.html	Sun May 07 16:02:03 2023 -0700
@@ -3,16 +3,14 @@
   <head>
     <title>environment</title>
     <meta charset="utf-8">
-    <script src="/lib/webcomponents/2.4.0/webcomponents-bundle.js"></script>
-
-    <script type="module" src="/rdf/streamed-graph.bundle.js"></script>
-    <link rel="stylesheet" href="/rdf/streamed-graph.css">
+    <script src="https://bigasterisk.com/lib/streamed-graph/v0.10.0/streamed-graph.iife.js"></script>
     <meta name="mobile-web-app-capable" content="yes">
     <meta name="viewport" content="width=device-width, initial-scale=1">
   </head>
   <body class="rdfBrowsePage">
-      <streamed-graph url="graph/environment/events" expanded="true"></streamed-graph>
-
+      <streamed-graph>
+        <sg-source url="graph/environment/events">
+      </streamed-graph>
 
       <div class="served-resources">
         <a href="metrics">/metrics</a>