Catalog npm
Back to packageRELEASE DETAILS

0.1.3

npm

3dshex

* Los nodos se colorean individualmente. * Las relaciones se colorean acorde al nodo de origen. * Las relaciones se resaltan al sobrevolarlas el ratón (y se muestra la etiqueta) * Todas las relaciones de un nodo se resaltan al sobrevolarlo el ratón. *

Published23 Mar 2022
Direct dependencies4
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 4

Native requirements
4 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
shex
Environment
{
  "local_name": "shex",
  "alias": false,
  "peer_metadata": null
}
^0.9.2runtime
three-spritetext
Environment
{
  "local_name": "three-spritetext",
  "alias": false,
  "peer_metadata": null
}
^1.6.5runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-GbWjD2savuMEkwx8/ZFYWeZ026fzHJdyDrpu4S8cQpVp7NphxUH6Ko+diE5O+k9s6389saZi7fHI5/+b6lE0Hw==",
  "shasum": "230b1c06c3ddd8fffe2492b0e4ad70e55f7856ed",
  "tarball": "https://registry.npmjs.org/3dshex/-/3dshex-0.1.3.tgz",
  "fileCount": 6,
  "unpackedSize": 15427,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOva1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpwTA//TFM6fc3OH8wS8XJbmIbUzXN/ajL8w8ofnFHgZQ+cqrppJmM6\r\njpQWr38b5j6GPR/9yT3Emu6fcT3l5YqwBwdMeL/9eUi1wOV+chRZR73Htr3N\r\nOwrvMFXHZI3ClL+nMRmRU2ot8WgJdRjtlhBPQ+7mJM5BOeaXQiAWm8E4WcCH\r\n9sd3MTzzgMmK0mlyoqMcyMdYQ+dnUQF1T2Vx+UWBGgknw2vPmo8Jxp0ypNOb\r\nb/ErtQTvaszbuGMgdAUh+BzYDgdJvtohkhzIBZAhYxOisAqv1fueRxkn9TTK\r\nMaocQ4Qe96G8k+Y9KDzhk77mSW4I4RMreajArWsIsK0BDs/QDegbkDhmqo2P\r\nJy/1SSH9wgcVb1C7oiwvu4Ixdk1EU7Eb39kfyt9q+WSmEIDOC435PvezjIvL\r\nBtQlvYlMQIuAoAp0HNYUuBwaotcALE8GvD3tueHO7usnzbLUbrhZt6+hacRk\r\nHMFTwaxfJ6aazJq4lC9AwYIbQucN/KRtlBslnUUNkR7/srEcjbIJS9K0x117\r\nqJzGB9dJ7KCOzcxsnozcliIgIAZBA3cGd5JPppOWmOtGqd8zfWuSJAT3+Qs9\r\nUex9Zvep5AxS2yACatVcAiMmVG/som4VQlHHXam/pcfpl2DnvMNU2oAxkQVu\r\nJU4oyLq+pdRGx7iGzp5fys8/fYxtVk4hC1s=\r\n=Y4xG\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQCw9UbZX159Xyfbw/z8TCh3MaLs2fMBzpGQF6Hbq6RSBwIgSrmot3zPxLSDp5YyIQEjFHByrSIkMS02CiX3zKRf2e0="
    }
  ]
}

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:ea4e0459e70d2de528809ea8f8a8c01dec684581f081e1f0f19373e981c06fb1

Other collected versions

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