Catalog npm
Back to packageRELEASE DETAILS

0.5.2

npm

3dshex

* Nodes are individually colored. * Relationships are colored according to its node. * Relationships are highlighted when hovering (and its label shown). * When hovering a node, all its relationships are highlighted. * Wikidata Tooltips when hovering

Published13 Apr 2022
Direct dependencies7
Transitive dependenciesNot calculated

README

Current package documentation

3dshex

Current functionality

  • Nodes are individually colored.
  • Relationships are colored according to its node.
  • Relationships are highlighted when hovering (and its label shown).
  • When hovering a node, all its relationships are highlighted.
  • Wikidata Tooltips when hovering over a node or a relationships.
  • Automatic Zoom when left-clicking a node.
  • When right-clicking a node, it exclusively show its relationships and neighbours. A second click reinstates the whole graph.

For now it should allow any input, but it is solely intended for simple relationships between entities. Anything beyond such prospects has not been implemented nor tested.

How to use

Install with the following command:

npm install 3dshex

Once installed, import the function. For instance:

import shExTo3D from "3dshex";

This function creates a 3DGraph in the specified component, given a ShEx.

shExTo3D(shex, "3dgraph");	

In this example, we are passing as a parameter a String variable (shex) which contains a ShEx-compliant value, as well as the reference to a <div> ID (3dgraph) .

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 7

Native requirements
7 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
3d-force-graph
Environment
{
  "local_name": "3d-force-graph",
  "alias": false,
  "peer_metadata": null
}
^1.70.9runtime
browserify
Environment
{
  "local_name": "browserify",
  "alias": false,
  "peer_metadata": null
}
^17.0.0runtime
jquery
Environment
{
  "local_name": "jquery",
  "alias": false,
  "peer_metadata": null
}
^3.6.0runtime
shex
Environment
{
  "local_name": "shex",
  "alias": false,
  "peer_metadata": null
}
^0.9.2runtime
three
Environment
{
  "local_name": "three",
  "alias": false,
  "peer_metadata": null
}
^0.139.0runtime
three-spritetext
Environment
{
  "local_name": "three-spritetext",
  "alias": false,
  "peer_metadata": null
}
^1.6.5runtime
esmify
Environment
{
  "local_name": "esmify",
  "alias": false,
  "peer_metadata": null
}
^2.1.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-i3eWiFNJbn/mjCI6Atvca1aFWAXoeAVY92TdaRaxMU6rjYlCoGQxpk9mP2AKmVmZH7OqUIike0ewsiKnGs84IA==",
  "shasum": "3ac673475d2a953abccf88914ea2ef6924edc372",
  "tarball": "https://registry.npmjs.org/3dshex/-/3dshex-0.5.2.tgz",
  "fileCount": 12,
  "unpackedSize": 47988,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQDpUzo0LjB2ZNdfzxlJQ2JZLeptDOrOZ93jqARLFEWXvQIhAMhx8DiwRkw8qFFkMHvsv2ZXCAQdEh9LlI1FQeaHPaPd"
    }
  ],
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVpkfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2AhAAkI7KvuZJ62NSId0CPDdP9Iy57U/Pnpnqg7XvyuDWhlJVhFyq\r\nWpJeY4E1f9NxSorQSF/ip71pMq5ry1QyknnnVqk0l6OQFU1n0ZmHBMaUSZs1\r\n1JHuHpRXCk5nZVp8x4aATP8a8PhzxvpHD03bzpOmieVis9qNVsp7CjUOXuoq\r\nMRbRafugyKE64GEYaavpJn61c/gVkzd7Gof6Z4FJYDI2zn0JCTDHOhPsjs7x\r\nSHp7vjYyxznXPOfrgfHXxDRIkZM+MmRlamy8t7BPMB3POy9wiOXIpfDly/oK\r\nqx/LIhCdSgtNuHH4YvnU0TAtdUQQk8+Sf96Fw2fGvuFXgxbPIGlq/lv+2VYt\r\nPqBd/2nYcWsQ5vKl37U5+fbbza9XalW+lcTlkKUbs5gn8SYu5vxKYlywZfSJ\r\nUqoKE2LUeUuWa2k0d2dLWcCKdZxGHbBoexKXoC9iNsZZ00Tf0igKVsJf058d\r\n+CtCHqG4Y03vi2ngTcg1r/WvmYBkG6nSiVXGBuIVSAhDfvi7Kj/3yfVNtVUH\r\nCf55oyUAXpJbTroz5RE3tbBC9IbphEEgxbdbkrhNkc+gVdaxE2utUARfZAFR\r\nu+0ZS9IS+SYWvVyAvI8Lz7xVcTrxswlKAsAe6mUFAXHYTirQKiUGQ+5ZM+wh\r\n1mioKZ6I+sTqbmnJoay87C3WJoi3pDFacos=\r\n=1BuF\r\n-----END PGP SIGNATURE-----\r\n"
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:40 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:a5d25858dae1dc17e41ab848029d5cde7772dfd5f2114d28f05480d15391d996

Other collected versions

0.5.315 Apr0.5.16 Apr0.5.06 Apr0.1.423 Mar0.1.323 Mar0.1.223 MarView all collected versions →