Consolidate Lit repositories: figma-to-lit, figma_lit_example, lit-3d-piano, lit-calculator, lit-code-editor, lit-draggable-dom, lit-file-based-routing, lit-force-graph, lit-html-editor, lit-html-table, lit-modules, lit-native, lit-node-editor, lit-sheet-music, lit-starter-ts, lit-vscode-extension, lit-wmr, vite-lit-capacitor, vite-lit-element-starter, vite-rxdb-lit
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Lit Force Graph</title>
|
||||
<script type="module" src="/src/lit-force-graph.ts"></script>
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<lit-force-graph>
|
||||
<script type="application/json">
|
||||
{
|
||||
"name": "Lit Force Graph",
|
||||
"description": "A force graph built with Lit",
|
||||
"nodes": [
|
||||
{
|
||||
"id": "1",
|
||||
"name": "Node 1"
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"name": "Node 2"
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"name": "Node 3"
|
||||
},
|
||||
{
|
||||
"id": "4",
|
||||
"name": "Node 4"
|
||||
}
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"source": "1",
|
||||
"target": "2"
|
||||
},
|
||||
{
|
||||
"source": "1",
|
||||
"target": "3"
|
||||
},
|
||||
{
|
||||
"source": "2",
|
||||
"target": "3"
|
||||
},
|
||||
{
|
||||
"source": "2",
|
||||
"target": "4"
|
||||
},
|
||||
{
|
||||
"source": "3",
|
||||
"target": "4"
|
||||
},
|
||||
{
|
||||
"source": "4",
|
||||
"target": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
</lit-force-graph>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user