Mercurial > code > home > repos > light9
diff web/RdfdbSyncedGraph.ts @ 2438:f2b3cfcc23d3
comment
author | drewp@bigasterisk.com |
---|---|
date | Wed, 29 May 2024 17:28:25 -0700 |
parents | 4556eebe5d73 |
children |
line wrap: on
line diff
--- a/web/RdfdbSyncedGraph.ts Wed May 29 17:28:01 2024 -0700 +++ b/web/RdfdbSyncedGraph.ts Wed May 29 17:28:25 2024 -0700 @@ -7,6 +7,12 @@ // Contains a SyncedGraph. Displays as little status box. // Put one element on your page and use getTopGraph everywhere. + +// todo; if you combine some pages and end up with 2+ elems, they still pick a +// leader (and repick if you remove that element). this could make it reasonable +// to have a lot more elems think they're the only ones talking to a graph. +// +// @customElement("rdfdb-synced-graph") export class RdfdbSyncedGraph extends LitElement { @property() graph: SyncedGraph;