Commit Graph
8395 Commits
Author SHA1 Message Date
Dani H 7238786d4d Made all of the GraphNode values optional
When passing data to a d3 structure the data can be very flexible.
The current interface of the GraphNode requires many data attributes
to be present, most of which aren't required to draw the
visualization. In fact, d3 calculates some of them itself, so passing
them to the GraphNode would be redundant.

In this example http://bl.ocks.org/mbostock/4063269#flare.json, Mike
Bostock uses the attribute className to identify name and packageName
to identify color in the GraphNode. This means that he doesn't only
ignore all of the attributes DefintelyTyped provides, but comes up
with his own attributes. This means that the data passed in could in
fact be a hashmap/js object type with arbitrary attributes. It's only
when the data is used with d3 methods to identify what attribute
represents size/color etc... that the type becomes relevant.

So either the GraphNode should be less restrictive (or in fact an
arbitrary hashmap) or I've misunderstood some core concept.

You don't have to necessarily merge this pull request, if I'm right
some parts will have to be rewritten (GraphNodes seem to be used
everywhere), but hopefully it might spark some discussion.
2015-03-02 23:04:29 +01:00
vvakame bb465f2cc7 update CONTRIBUTORS.md 2015-03-03 01:21:06 +09:00
Masahiro Wakame 0df0d822bc Merge pull request #3745 from jayoungers/patch-1
ICacheObject.put and IAnimateService.addClass Return Types
2015-03-03 01:20:14 +09:00
Masahiro Wakame b06cf22a89 Merge pull request #3771 from AyaMorisawa/prelude-ls
Add prelude-ls.d.ts
2015-03-03 01:16:57 +09:00
Masahiro Wakame 372f72101c Merge pull request #3769 from vilic/master
add gsap TweenLite declarations
2015-03-03 01:13:36 +09:00
Masahiro Wakame f3d1bbdb3c Merge pull request #3768 from qinfchen/sigma_image_2
add sigmajs image typing
2015-03-03 01:10:18 +09:00
Masahiro Wakame 71f803e383 Merge pull request #3767 from steveschmitt/master
Added 'any'/'all' constructors to Predicate
2015-03-03 01:07:24 +09:00
Masahiro Wakame e99d8e9535 Merge pull request #3766 from jeremyhayes/master
codemirror: add Doc.findMarks
2015-03-03 01:04:48 +09:00
Masahiro Wakame d56355d558 Merge pull request #3765 from eXeDK/master
Support for Chrome Cast
2015-03-03 01:04:13 +09:00
Masahiro Wakame ca721993b4 Merge pull request #3764 from outring/feature/expectjs-commonjs-support
Expect.js commonjs modules support and tests
2015-03-03 01:01:11 +09:00
Masahiro Wakame 7b6c297c4c Merge pull request #3762 from mshmelev/patch-1
Added definitions for Annotation Chart
2015-03-03 00:57:27 +09:00
Masahiro Wakame e2a9b496b3 Merge pull request #3760 from bavardage/master
Add toArray to moment
2015-03-03 00:52:37 +09:00
Masahiro Wakame 5c221a4f0f Merge pull request #3759 from nojaf/master
Added execSync to child_process
2015-03-03 00:51:56 +09:00
Masahiro Wakame 898823088b Merge pull request #3724 from cabralRodrigo/master
Added definitions for is.js
2015-03-03 00:45:16 +09:00
Masahiro Wakame afb4a460f8 Merge pull request #3757 from thSoft/patch-2
Add overload for HTML5 polyfill
2015-03-03 00:44:33 +09:00
Masahiro Wakame edc9f1308e Merge pull request #3756 from HeikoH/master
Fixed bad character
2015-03-03 00:41:25 +09:00
Masahiro Wakame 1f05bfce6e Merge pull request #3753 from rimig/add-galleria-typings
Add definitions for jquery-galleria
2015-03-03 00:32:04 +09:00
Masahiro Wakame 4161e0affd Merge pull request #3752 from OguzhanE/patch-1
Add keys method
2015-03-03 00:29:09 +09:00
Masahiro Wakame b6b2e8b678 Merge pull request #3751 from misak113/master
Add library hooker
2015-03-03 00:28:04 +09:00
Masahiro Wakame a19d3a9b22 Merge pull request #3747 from marcinporebski/master
split v0.3.3
2015-03-03 00:11:38 +09:00
Masahiro Wakame 36408469ff Merge pull request #3744 from sccolbert/master
update signature of Promise.all and Promise.race
2015-03-02 23:51:51 +09:00
Masahiro Wakame c78d60495f Merge pull request #3742 from SergioMorchon/patch-5
Update knockout.d.ts
2015-03-02 23:49:58 +09:00
Masahiro Wakame 2563d046b9 Merge pull request #3741 from SergioMorchon/patch-4
Update knockout-tests.ts
2015-03-02 23:48:43 +09:00
Masahiro Wakame 90ac5a6ba6 Merge pull request #3739 from flcdrg/SecondUpdate
Ember updates
2015-03-02 23:47:12 +09:00
Masahiro Wakame 1083bb870f Merge pull request #3738 from cbowdon/master
Added defs for Chance.js
2015-03-02 23:44:39 +09:00
Masahiro Wakame 605dbd48dd Merge pull request #3732 from SergioMorchon/patch-3
Base classes to inherit from them (step 1 of X)
2015-03-02 23:43:20 +09:00
Masahiro Wakame 3033d948c4 Merge pull request #3719 from mtraynham/d3_fixes
Updates to d3
2015-03-02 23:36:51 +09:00
Masahiro Wakame 2b402ed750 Merge pull request #3704 from bmiller1/patch-1
Update Microsoft.Maps.d.ts
2015-03-02 23:36:10 +09:00
Masahiro Wakame 8998c2b5a6 Merge pull request #3733 from lgrignon/master
Added zip.js def files
2015-03-02 23:34:07 +09:00
Aya Morisawa d15019856e Add prelude-ls.d.ts 2015-03-02 23:25:39 +09:00
VILIC VANE 0622fda0b6 add explicit references 2015-03-02 17:29:31 +08:00
VILIC VANE 4cec771c4d add gsap TweenLite declarations 2015-03-02 17:22:10 +08:00
Steve Schmitt 5c604dd321 Added 'any'/'all' constructors to Predicate; updated heading to breeze 1.5.x 2015-02-28 21:03:45 -08:00
jeremyhayes 6ea56ebe07 codemirror: add Doc.findMarks 2015-02-28 22:13:50 -05:00
Thomas Stig Jacobsen c562cf82d4 Support for Chrome Cast 2015-02-28 23:38:17 +01:00
Vasya Aksyonov becc12d995 Tests missing 2015-02-28 13:46:30 +05:00
Vasya Aksyonov eb75fdf39e Expect.js commonjs modules support and tests 2015-02-28 11:57:08 +05:00
Max dcf8a7b14e Added definitions for Annotation Chart 2015-02-27 17:13:37 -05:00
Ben Duffield bb81c937ca Add toArray to moment 2015-02-27 05:59:50 -08:00
nojaf cc0422bd72 Removed duplicate member 2015-02-27 07:54:52 +01:00
nojaf 79509620fd Added execSync to child_process 2015-02-27 07:51:31 +01:00
John Reilly 3882d337bb Merge pull request #3758 from Asana/react-0.13-context
Remove Context generics from React 0.13 defs
2015-02-27 06:23:28 +00:00
Dénes Harmath a9facb3521 Add overload for HTML5 polyfill 2015-02-27 00:27:57 +01:00
Heiko Heijenga 93dd2e916d Fixed bad character 2015-02-26 14:34:51 -08:00
Robert Imig b69a3a08f3 Add definitions for jquery-galleria
http://galleria.io/
2015-02-26 09:09:24 -05:00
Oguzhan Ergin 9b250438be Add keys method 2015-02-26 15:52:44 +02:00
Michael Zabka f9341f81d0 Add library hooker
* on github is named javascript-hooker in case of already existance of hooker repo
2015-02-26 11:50:56 +01:00
Masahiro Wakame a7a25e72d9 Merge pull request #3748 from grapswiz/master
Added google.picker.d.ts
2015-02-26 19:31:59 +09:00
grapswiz 5aff697f45 Added google.picker.d.ts 2015-02-26 19:28:51 +09:00
Marcin Porebski b164150c40 split def. fix 2015-02-26 10:46:05 +01:00