Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Incomplete data: replace red shadow #20

Open
djohs opened this issue Jun 29, 2018 · 0 comments
Open

Incomplete data: replace red shadow #20

djohs opened this issue Jun 29, 2018 · 0 comments

Comments

@djohs
Copy link
Member

djohs commented Jun 29, 2018

We discussed to replace the red shadow, wich is displayed on nodes with incomplete data, with an exclamation mark icon. This is trivial but doesn't look convincingly:

_thumb_93070

Unfortunately vis.js doesn't offer a possibility to color the text of a node individually or show a icon additional to the node. There is a possibility to embed HTML into a SVG-Tag and add this to the image attribute of the node (http://visjs.org/examples/network/nodeStyles/HTMLInNodes.html). But this approach is very performance intense and probably also not cross-browser stable.

Proposals:

  • We don't replace the red shadow or search for another possibility to highlight the nodes with vis.js (possibilities are border color, fill color and shadow)
  • We use the exclamation mark icon showed in the screenshot above.
  • We patch vis.js to represent icons next to a node
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant