* Add endpoint 'bar' to Network
Fixes#3412
- Adds class `Bar` and handling to `EndPoints.js`
- Adjusted `options.js` for endpoint, minor code changes
- Added to example `network/edgeTypes/arrowTypes`.
- Added to edges documentation
* Grumbl fix travis unit test yet again. Go die already!
* Corrects usage of @static jsdoc annotation
* Correct unresolvable types
* Correct types in jsdoc and remove extraneous @class & @constructor jsdoc
* Remove incorrect @static jsdoc
* Adds missing jsdoc for param copyFromGlobals
* correct jsdoc in util
* Corrects casing on jsdocs
* Swaps @inheritDoc to @ignore for constructors where constructor args are documented in the class
* Instantiates Errors with `new`
* Addresses improperly defined @callback tags.
* Split callbacks out to separate jsdoc
* Moves constructor jsdocs back to constructor and drop @ignore.
* Add support for edge style
* Update for TODO: support of solid/dotted/dashed edges (attr = 'style')
* Edge styles are defined as var edgeStyles in parseAttributeList().
* Add example for edge styles
Add an editable example for playing DOT edge styles
* Correct typo and remove TODO description
* Correct typo of filename from 'dotEdgeSytles.html' to
'dotEdgeStyles.html'.
* Remove TODO description of the issue for edge style
* First working version of updating clustered edge
* Added fix for #1315 as well
* Enable unit testing for module Network
Adds mocks for certain components, in order to let module `Network` be run in unit tests.
Changes:
- Create a mock object for `hammer.js` when running browserless. The inspiration is taken from [here](https://github.com/uber/deck.gl/pull/658)
- Create a mock function for `window.requestAnimationFrame()` when running browserless in `network/modules/CanvasRenderer.js`
- Added unit test for `Network` to show that unit testing for it now works
- Fixed naming of container in `test/Graph3d.test.js`
Since `hammer.js` is also used in other modules, this fix is potentially an enabler for full-module unit tests for those as well.
* Cleanup unit test Network
* Added unit test for fix issue #1218
* Adding test for #1315 - Interim save
* Completed unit test and fixes for #1315
* Added fixes for #1291
* Added unit test for #1219
* Added header comment for Clustering.js, small fixes
* Fix for unit test
* Added example networks to unit test
* Fix error in loading disassemblerExample
* Network unit test final fixes
* Fixes for linting
* Fixed essential typo
* Fixed linting error
* Fixed unit test
* Fixed unit test again
* Proof of concept with copied options + handling from network
* Added unit test for Graph3d, for checking default syntax; completed def's of all options, autoByDefault not handled yet.
* Fixes for options in playground example
* Added onclick options to graph3d documentation
* Fixes in graph3d examples
* Final fixes for option definitions in Graph3d
* Fixed handling of 'undefined' in options, enhanced graph3d unit test
* Disabled console output in graph3d unit test
* Upgrade webpack module
* First interim commit
* Fixes during testing
* Allow multiple edges to be hidden by a clustered edge.
Fix for #3245.
This fix adjusts the clustering edges so that theyi can refer to multiple edges instead of just one.
This API method is now insufficient, since multiple base edges can be returned.
- Added replacing method `clustering.getBaseEdges()`
- Adjusted example `changingClusteredEdgeNodes` for the new method. This is the *only* place where `getBaseEdge()` was used
- Adjusted documentation for new method and deprecation old method.
Method `getbaseEdge()` should now be considered `deprecated`, and in due time should be removed.
* Edits of method name in example
* Edits of method name in example
* adjusted deprecation method getBaseEdge() in docs
* Adjusted deprecation method for getBaseEdge() in docs
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.
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* created a checklist for the release process
* unchecked everything
* added make github release
* Fix colliding subgroups when having same end-start times
* Remove npm-debug logs
* Add 'showTooltips' timeline option
* Only show timeline popup if option showTooltips is true
* Add 'showTooltips' option to timeline docs
* Add tooltips disabled timeline example
Sorry for the delay on this... It took me a while to confirm this PR again. I don;t know why I didn't merge it at the time I reviewed it. Looks great to me!
* Add Gitter badge (#2179)
* do not generate source-maps in distribution version
* add 'dist' folder for deployment
* added Badges
* added codeclimate badge
* added @Tooa to the support team
* added badges from isitmaintained.com (#2517)
* do not ignore dist and test folders in master
* generated dist files for v4.18.0
* generated dist files for v4.18.1
* Cheap fix for bug #2795
* Update to PR #2826 to use newline format
* changed to v4.18.1-SNAPSHOT
* chore(docs): general improvements (#2652)
* removed NOTICE file
* updated license date range to include 2017
* chore(docs): updated support team members
* chore: updated dependencies and devDependencies (#2649)
* Fixes instanceof Object statements for objects from other windows and iFrames. (#2631)
* Replaces instanceof Object checks with typeof to prevent cross tab issues.
* Adds missing space.
* chore: removed google-analytics from all examples (#2670)
* chore(docs): Add note that PRs should be submitted against the `develop` branch (#2623)
Related to: https://github.com/almende/vis/pull/2618
Related to: https://github.com/almende/vis/pull/2620
* feat(timeline): Change setCustomTimeTitle title parameter to be a string or a function (#2611)
* change setCustomTimeTitle title parameter, Now could be an string or a function
* Fixed indent and spacing
* feat(timeline): refactor tooltip to only use one dom-element (#2662)
* feat(network): Allow for image nodes to have a selected or broken image (#2601)
* feat(tests): run mocha tests in travis ci (#2687)
* Added showX(YZ)Axis options to Graph3d (#2686)
* Added showX(YZ)Axis to Graph3d
* Added show_Axis options to docs and playground example
* Resolved merge conflict
* Added show_Axis options to docs and playground example
* fix(build): use babel version compatible with webpack@1.14 (#2693)
fixes#2685
* feat(docs): use babel preset2015 for custom builds (#2678)
* add link to a mentioned example (#2709)
* chore(lint): added support for eslint (#2695)
* Trivial typo fix in how_to_help doc. (#2714)
* fix(timeline): #2598 Flickering onUpdateTimeTooltip (#2702)
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Add animation to onUpdateTooltip
* fix(timeline): #778 Tooltip does not work with background items in timeline (#2703)
* 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 items z-index default to 1
* Add initial tests for Timeline PointItem (#2716)
* fix(timeline): #2679 TypeError: Cannot read property 'hasOwnProperty' of null (#2735)
* 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 bug in item editable
* feat(timeline): #2647 Dynamic rolling mode option (#2705)
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Add toggleRollingMode option
* Update docs with toggleRollingMode option
* fixes timestep next issue (#2732)
* feat(timeline): added new locales for french and espanol (#2723)
* Fix eslint problem on Travis. (#2744)
* fix: Range.js "event" is undeclared (#2749)
* fix(timeline): #2720 Problems with option editable (#2743)
Clean up and centralise edit status for Timeline Items.
* feat(network): Improve the performance of the network layout engine (#2729)
* Improve the performance of the network layout engine
Short-cut the execution of a number of methods in LayoutEngine to make them
handle highly-connected graphs better.
* Demonstrations of layouts of large networks
* Added support to supply an end to bar charts to have them scale (#2760)
* Added support to supply an X2 to bar charts to have them scale
* Fixed graph2d stacking issue. It no longer takes into account hidden items
* Changed x2 to end per recommendation and added this to the docs
* Initial tests for timeline ItemSet. (#2750)
Somewhat more complicated setup, associated with the need for a real window.
* [Timeline] Modify redraw logic to treat scroll as needing restack. (#2774)
This addresses #1982 and #1417.
It possibly reduces performance, but correctness seems better.
* 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
* [timeline] Update examples to use ISOString format. (#2791)
Resolves#2790
* [timeline] Update serialization example to use ISOString dates. (#2789)
Resolves#2696
* added github templates for issues and pull-requests (#2787)
fixes#2418
* feat(timeline): Add item data as argument to the template function (#2799)
* Fix regression introduced in #2743. (#2796)
* Fix for issue #2536 (#2803)
* Fix for issue #2536
* Adjusted documentation for fix.
* Adjustments due to review
* Grrrrr whitespace
* Fixed Travis issue
* Cheap fix for bug #2795
* Update to PR #2826 to use newline format
* Update to gitignore to reflect changes on remote
* clean dist folder
* Local gitignore update
* Just a first example file for the week scale feature
* Allowing sourcemap creation
* Initial (non-functional) commit to ensure we insert code at the right places (check TODOs)
* Functional, not bug-free version which works with locale aware week numbers.
* Locale-aware implementation and simplified major labels to a full year
* Trying to make the major labels show the correct start date
* Working implementation of week numbers using localization.
* removing development leftovers
* Updated package.json
* Reintagrate package.json from accidental deletion
* Updates for package.json
* Fixing package.json
* Integrate the week numbers feature in the documentation.
* Reverting local changes to .gitignore
* Reverting local changes
* Extending examples to cover the case when 1st day of week and 1st day of month align; Fixing display bug so that week numbers are not repeated in minorLabels
* Putting the examples into a loop
* Network: use separate refresh indicator in NodeBase, instead of width parameter
* Added usage of iBaseNode.doRefresh to image shapes.
* Rearranged code in NodeBase.needRefresh()
* Fixes for review
* Removed strange link
* Added 's' in needsRefresh(); typo fix
* Fixes for review, code cleanup
* Modified ratio calc to original working.
* Made code in CircularImage.resize() more sensible.
* styling support for graph3d tooltips
* styling support for graph3d tooltips
* graph3d styling example, deleted new example and altered the original
* graph3d tooltip styling, documentation
* graph3d tooltip styling, use the util module's method for merging objects
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Remove assign from examples
* Use jQuery
* 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
* Added support to supply an X2 to bar charts to have them scale
* Fixed graph2d stacking issue. It no longer takes into account hidden items
* Changed x2 to end per recommendation and added this to the docs
* Improve the performance of the network layout engine
Short-cut the execution of a number of methods in LayoutEngine to make them
handle highly-connected graphs better.
* Demonstrations of layouts of large networks
* Added showX(YZ)Axis to Graph3d
* Added show_Axis options to docs and playground example
* Resolved merge conflict
* Added show_Axis options to docs and playground example
* maximum width constraints must be violated by long words. Fixes#2604.
* chore: moved examples/network/_tests/maximumWidthEdgeCase.html to test/network/
* self reference edge should now appear in all cases
* add checks for shape width being NaN to get correct circle data
* reorder resize arguments in Diamond, Dot and Star
* 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(graph2d): fix#2500 for graph2d; improves #2580
* fix(DataSet): make sure the right id-type is used internaly
This fixes a fixed strange string-number conversion issue.
It can happen that id "0" !== 0 what causes #2580.
fixes#2580
- Also updated docs and examples for this
- Fixed the positioning of the tooltip if groups was enabled
- Removed missing parameters from Popup docstring
* Fix redraw order
* Add mouseup, mousedown, mouseover, click and dblclick events on timeline
* Add docs
* Add to evenlistener example
* Add mousemove event listener
* Fix example
* Remove mouseUp and mouseDown events and fix docs for mouseOver
* Remove mouseUp and mouseDown from example
* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Fix boolean types bug
* Add subgroup stacking
* Almost finish subgroup stacking
* Play with examples for subgroup order
* Fix stacked subgroups
* Fix subgroup stacking
* Add stackSubgroups option
* Fix example
* Add docs
* Fix onRemove item subgroups recalculate
* Return subgroup example and add stackSubgroup example
* Split stackSubgroup example to subgroup/html and expectedVsActualTimesItems.html
* Allow pass the color of points in 'dot-color' mode of Graph3D explicitly - clear the source code and finalize
* Add an onclick callback in Graph3D, to enable click and display customer user-defined information for single data point
* Extra data type validation for string conversion functions in Setings
* Disable onclick callback immediately after rotate/pan
* Re-format the JavaScript file
* No onclick event set by user - properly treat this case now
* Further reformat - indentation
* Handle the case where there is no closest data point
* Added HTML tooltip support for Timeline
* Fixed tooltip position on Firefox
* Added Timeline tooltip example
* Updated tooltip location to be next to the mouse
* Added HTML element to example
* 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
* Fix groupEditable
* Fix group drag in vertical direction bug
* Fix indentation
* Add initial nestedGroups property
* Fix redraw order
* Get nested groups hiding working
* Add order to nestedGroups
* Fix up example
* Add support for intially closed nested groups
* Add nested groups indentation
* Fix indents
* Add nested groups docs
* Fix example
* Revert indents
* Add classes to nested and nesting group labels and add nesting group css
* Use pure css for nested group icons
* Remove commented off lines and unnecessary btn
* Fix indents
* Add support to showNested:false in group
* Add semicolon
* Remove empty lines
* Fix redraw order
* Add initial itemVisibleFrame
* Add visibleFrameTemplate option
* Improve example
* Rename and fix example
* Fix comments from PR
* Fix example
* Add initial support for rolling mode
* Add rollingModeBtn and simplify example
* Make icon in css:
* Remove icon btn
* Add docs
* Fix zoom in rolling mode and initial start/end times