Tags: martynjames/vis-network
Tags
feat: getPositions signature fix, getPosition feature. (visjs#637) * fix: corrected signature of getPositions, implemented getPosition. * docs: updated getPositions/getPosition documentation. * docs: s/string/IdType/g * lint: linted. * docs: documentation fixes as requested. * lint: linted. * docs: updated documentation as requested Co-authored-by: Tomáš Vyčítal <tom.vycital@gmail.com>
fix(deps): bump acorn from 7.1.0 to 7.1.1 (visjs#607) Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](acornjs/acorn@7.1.0...7.1.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix(options): don't override Node options with Group options (visjs#592) Node options are being overridden by the values defined by the Group, which should be the case, since more specific options (node) should have priority over more generic ones (group). This was fixed for `color` [1], but there are still many useful options such as borderWidth, image, and shape that are being overridden. This patch fixes this by not merging from the group any new option that has been set for the node. Fix visjs#408 [1]: almende/vis#3713
feat: add node opacity (visjs#554) * Fix: visjs#226 * Add opacity option to nodes * Fix shadow color being mangled * Remove console.log * Change to use util version of overrideOpacity * Fix updating groups instead of node Change import to only import overrideOpacity * Fix local opacity not being applied * Fix wrong property name * Fix drawing selected instead of hovered * Update example * Update example * Fix opacity of 0 wouldn't pass * Fix checks for truthiness instead of nullness Add groups to example * Added to docs KR Docs todo * Update example Fix problems with values invalid for opacity * Update example Fix error logging for invalid node opacity options * Create function to check opacity Clear up comment on opacity option * Fix image opacity transferring to shapes * Remove console.log * WIP: Fix group opacity overriding node opacity * Fix group options overriding local options Co-authored-by: Tyler Maclachlan <tyler.maclachlan@mwrinfosecurity.com>
PreviousNext