wimrijnders
2697973069
Cleanup mergeOptions() ( #3280 )
* Fix mergeOptions() and add unit tests
* Removed comment
7 years ago
wimrijnders
2525cc3051
Fix missing ref on globalOptions in mergeOptions() ( #3281 )
7 years ago
wimrijnders
658dbc18e8
Allow DOM elements for node titles ( #3267 )
**Note: ** This is a simple fix and should be easy to review.
Fix for #2579
- Adjusted node title definition in `options.js` to allow DOM elements
- Changed `BridgeObject()` in `util.js` so that DOM elements are *not* bridged.
7 years ago
wimrijnders
eff757379d
Fix manipulation examples for Network ( #3266 )
Fix for #2856
- Toolbar gets reshown when cancelling edit node dialog
- No shadow displayed upon save in edit node dialog
The latter is actually a more general problem. Function `mergeOptions` in `util.js`
made an assumption as to the correct value of field `enabled`. It now takes the value
from `globalOptions`, if present.
7 years ago
Ben Morton
421e361350
Add support for multiple class names in utils add/remove class methods. ( #3079 )
* Add support for multiple class names in utils add/remove class methods.
Reset subgroup heights in resetSubgroups method.
* Adjust to better process class names
7 years ago
yotamberk
3028c14579
Fix #2679 ( #2973 )
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Make selectiveExtend accept null/undefined parameters
7 years ago
yotamberk
f5b43e8518
fix(timeline): #2672 Item events original event ( #2704 )
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Fix events returned from mouse events
* Fix example
* Rename censor to stringifyObject in example
7 years ago
Jim O'Brien
723f91a1ac
Don't pass non-string values to Date.parse ( #2534 )
Fixes : #2490 (on the correct branch this time)
8 years ago
Alexander Wunschik
fb8e81c574
Revert "Don't pass non-string values to Date.parse" ( #2512 )
8 years ago
David Anderson
becf18e6eb
feat: change styles if element is selected ( #2446 )
* element characteristic changes
* assume edge color inheritance is correct before choosing
* Adjust nodes’ chosen’s boolean -> bool
* Need to get user-reset size
* make example edges thicker for more noticeable shadow
* preemptive ES6 fix (see #2500/#2501)
* documentation for the feature that was previously overwritten
8 years ago
Jim O'Brien
9d76f9888b
Don't pass non-string values to Date.parse ( #2491 )
Fixes: https://github.com/almende/vis/issues/2490
8 years ago
yotamberk
419e6cd516
Fix : #1906 Pass through original hammer.js events ( #2420 )
* Fix redraw order
* Add elements censor and event to emitter
* Fix all recursive loop in json event
* Add docs for event emitted
8 years ago
David Anderson
a77e462105
fix : #2402 make sure a given element isn’t undefined before accessing properties ( #2403 )
8 years ago
David Anderson
8a9edbbf87
fix: Font styles and width and height of nodes ( #2385 )
* Multifont node and edge labels
* adjust documentation
* rework mod-font property inheritance
* Node max/min widths, min heights; Edge max widths
* Accumulate sizes correctly for unconstrained multipoint labels
* handle font.multi when groupOptions.font is not declared
* propagate label fonts on changes, not just creation
* Allow top-level constraint numbers
* accumulate width and empty lines appropriately
8 years ago
Alexander Wunschik
daf3e65622
fixed conversion from moment to ISODate
8 years ago
Alexander Wunschik
24ffacb3e7
fixed conversion from date-String to Number
8 years ago
yotamberk
b889a5057d
Add a vertical scroll option for timeline [solves #273 , #1060 , #466 ] ( #2196 )
* Add initial scroller without options
* Add initial scroll without an option
* Add verticalScroll option
* Fix scrollbar positions
* Add docs
* fix example
* remove jquery dependency
* Fix example
* Fix review comments
8 years ago
Greg Kubisa
ff3948f85c
Use requestAnimationFrame to throttle redraws
8 years ago
Kelvin Del Monte
d29fad2eff
Prevent moment deprecation warning ( #2089 )
8 years ago
Yotam Berkowitz
a549ed2d19
add rtl of groups in timeline
8 years ago
jos
f24e90c830
Released version 4.13.0
8 years ago
Ludo Stellingwerff
82f6bc803b
Fixed initial load performance issue, triggered by failing comparison on Date objects.
8 years ago
Alex de Mulder
11888f255d
- Added #1138 , enable the user to define the color of the shadows for nodes and edges.
- Fixed #1528 , #1278 , avoided ID's being cast to string for methods that return ID's as well as storePositions casting to string.
9 years ago
Ludo Stellingwerff
5249806fbd
Introducing a zindex option to control the svg render order.
Provide the DataView.map() method similar to the DataSet one.
9 years ago
Alex de Mulder
3733976b35
- Fixed deletion of options by settings them to null.
9 years ago
jos
d9223685e2
Implemented redraw throttling for Timeline
9 years ago
Zuko Mgwili
c2b00d0392
Added feature that allows the border for a circularImage shape to be dashed
Added the following:
- dashes property to nodes in options.js
- dashes property with value false to defaultOptions in NodesHandler.js
- support for Arrays to selectiveNotDeepExtend function in util.js
- functionality to CircleImageBase.js that allows circularImage nodes to have dashed borders
- example demonstrating how to apply the dashed border to a circularImage node
- documentation explaining the usage of the dashes property on a node
9 years ago
jos
626d4b9b8b
Fixed #877 : Added support for metaKey to select multiple items.
9 years ago
Alex de Mulder
67bda4ff16
- Fixed #866 , manipulation can now be set to false without crashing.
9 years ago
Alex de Mulder
ad2d70ed8b
fixed numerous clustering bugs, added more examples, numerous other bug fixes
9 years ago
Alex de Mulder
cbc4c8dce3
fixed bugs, set all groups to reload if globally changed
9 years ago
Alex de Mulder
9921fe750b
worked with examples
9 years ago
Alex de Mulder
14ed1bb907
bugfixes, added examples
9 years ago
Alex de Mulder
0d32566e39
bugfixes, start of reorganisation of examples
9 years ago
Alex de Mulder
b9796e65e9
rebuilt
9 years ago
jos
7e0961ae73
- Dropped support for Google DataTable.
- Dropped support for appending data returned by `DataSet.get()` to an existing Array or DataTable.
- Fixed a `window` issue in uuid.js.
9 years ago
jos
aee5c1e3fd
Renamed option `animate` to `animation`, and changed it to be either a boolean or an object `{duration: number, easingFunction: string}`
9 years ago
Alex de Mulder
c9a1a88f41
fixed all trello issues and added snazzy option lookup to validator
9 years ago
Alex de Mulder
de5a9a76e6
fixed physics bug
9 years ago
Alex de Mulder
357853e2ce
allowed deleting values with null and undefined. Fix for global variables, fix for edge color strings
9 years ago
Alex de Mulder
7fc617faa7
reformatted options for graph2d dataAxis, docs to follow. New docs have statically linked menu bars, switched to uuid library for uuid v4 rfc4122 UUIDs ( #432 )
9 years ago
Alex de Mulder
bf274fd51e
added a pretty amazing option checker to network :)
9 years ago
Alex de Mulder
2256516cb6
fixed bugs in hierarchical layout. Fixed bugs in configuration, added wrapper to configuration divs,, made label optional for nodes, if no label, id will be shown. Support for value arrays in deepextend.
9 years ago
Alex de Mulder
b12044333d
updated option stucture to use static methods to avoid duplicate definitions
9 years ago
Alex de Mulder
a30c994e92
finalized a very fancy option configurator with a fancy color picker for color fields!
9 years ago
Alex de Mulder
9cd6c4ae06
fixed images, groups, circular images, repeating events
9 years ago
Alex de Mulder
cf057e7ecc
simplified fixed for nodes, removed duplicate datachanged events with support nodes in edges
9 years ago
Alex de Mulder
53795c9eba
added this.options.selfReferenceSize to edge
9 years ago
jos
36cb8193d1
Implemented events `click`, `doubleClick`, and `contextMenu`. Implemented method `getEventProperties(event)`.
9 years ago
Alex de Mulder
333ec38c3c
started creation of the edges handler and the nodes handler. currently broken.
9 years ago