flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
21
VISUALIZACION/node_modules/3d-force-graph/example/large-graph/index.html
generated
vendored
Executable file
21
VISUALIZACION/node_modules/3d-force-graph/example/large-graph/index.html
generated
vendored
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
<head>
|
||||
<style> body { margin: 0; } </style>
|
||||
|
||||
<script src="//unpkg.com/3d-force-graph"></script>
|
||||
<!-- <script src="../../dist/3d-force-graph.js"></script>-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="3d-graph"></div>
|
||||
|
||||
<script>
|
||||
const elem = document.getElementById('3d-graph');
|
||||
|
||||
const Graph = ForceGraph3D()(elem)
|
||||
.jsonUrl('../datasets/blocks.json')
|
||||
.nodeAutoColorBy('user')
|
||||
.nodeLabel(node => `${node.user}: ${node.description}`)
|
||||
.onNodeClick(node => window.open(`https://bl.ocks.org/${node.user}/${node.id}`, '_blank'));
|
||||
</script>
|
||||
</body>
|
||||
Loading…
Add table
Add a link
Reference in a new issue