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
2015-01-30 20:12:14 +01:00
2014-09-02 14:53:39 -07:00
2014-06-22 12:23:03 +10:00
2015-02-04 21:23:37 +01:00
2014-10-27 10:30:28 +09:00
2014-11-17 14:06:04 +09:00
2014-05-12 14:45:19 +09:00
2014-06-18 23:31:11 +02:00
2014-09-22 17:57:21 +02:00
2015-02-22 23:25:14 +09:00
2014-09-02 14:53:39 -07:00
2014-11-13 23:46:14 +09:00
2014-12-26 16:25:50 +09:00
2014-05-18 21:37:47 +02:00
2014-09-02 14:53:39 -07:00
2014-06-18 23:31:11 +02:00
2014-06-18 23:31:11 +02:00
2014-09-29 18:19:55 +10:00
2014-01-24 00:22:06 +01:00
2014-09-30 03:06:45 +03:00
2015-02-20 19:37:23 -06:00
2015-02-23 09:02:23 +01:00
2014-07-11 07:37:05 +02:00
2014-08-01 20:11:18 +02:00
2015-01-23 15:14:19 +01:00
2015-01-21 19:55:44 -05:00
2014-01-24 00:22:06 +01:00
2014-08-07 15:50:27 +09:00
2014-11-05 14:39:42 +09:00
2015-01-17 00:08:09 +09:00
2015-02-04 20:53:22 +01:00
2014-11-05 14:39:42 +09:00
2014-11-05 14:39:42 +09:00
2014-12-08 21:20:21 -02:00
2014-11-05 14:39:42 +09:00
2015-01-12 14:25:00 +13:00
2015-02-25 08:13:09 +08:00
2014-11-05 16:29:12 -08:00
2014-12-15 15:40:40 +03:00
2014-10-22 10:21:24 +02:00
2014-08-19 16:41:08 -04:00
2015-02-28 23:38:17 +01:00
2014-10-31 18:04:28 +01:00
2014-11-27 19:23:54 -06:00
2014-11-18 20:34:21 +09:00
2015-02-28 22:13:50 -05:00
2014-01-24 00:22:06 +01:00
2014-07-17 19:20:44 +01:00
2014-11-13 06:36:43 +09:00
2014-10-30 01:33:59 +09:00
2014-07-17 19:20:44 +01:00
2014-06-18 23:31:11 +02:00
2014-02-26 14:13:17 +09:00
2014-08-20 00:27:36 +09:00
2015-01-15 17:08:32 -05:00
2014-11-28 15:43:48 +01:00
2014-09-15 23:33:51 +09:00
2015-01-28 13:26:37 -08:00
2014-12-17 18:59:02 +03:00
2014-04-10 19:07:43 +09:00
2015-02-15 13:11:08 +00:00
2015-02-26 14:34:51 -08:00
2014-09-02 14:53:39 -07:00
2014-11-13 00:21:12 +01:00
2014-12-26 07:03:39 +09:00
2014-11-19 18:40:33 +01:00
2015-01-18 11:11:23 +00:00
2014-05-28 13:16:20 +02:00
2015-02-25 16:02:56 +10:30
2014-11-14 00:22:32 +09:00
2014-08-29 11:52:16 +09:00
2014-07-17 19:20:44 +01:00
2015-02-13 09:09:00 +01:00
2014-04-01 00:36:35 +02:00
2015-02-28 13:46:30 +05:00
2014-06-18 23:31:11 +02:00
2014-11-21 20:52:56 +09:00
2014-08-24 00:11:05 +09:00
2014-09-02 14:53:39 -07:00
2014-12-15 22:01:58 -05:00
2014-12-23 21:09:37 +01:00
2014-09-22 12:58:36 +09:00
2014-05-05 03:38:57 +03:00
2015-01-17 11:24:08 +01:00
2014-06-18 23:31:11 +02:00
2014-06-18 23:31:11 +02:00
2014-06-18 23:31:11 +02:00
2014-11-17 14:06:04 +09:00
2014-06-26 05:43:00 +02:00
2015-02-02 21:35:51 +09:00
2014-11-14 10:30:52 +01:00
2014-11-05 14:39:41 +09:00
2015-01-19 16:27:47 +13:00
2014-05-26 14:31:30 +02:00
2014-06-12 11:36:40 -05:00
2014-08-20 10:22:05 +10:00
2014-01-24 18:51:21 +01:00
2014-05-13 23:20:07 -07:00
2014-09-02 14:53:39 -07:00
2014-06-18 23:31:11 +02:00
2014-06-26 04:17:22 +02:00
2014-11-24 19:44:06 -06:00
2014-09-02 14:53:39 -07:00
2014-12-27 23:49:14 +09:00
2015-02-26 19:28:51 +09:00
2014-06-18 23:31:11 +02:00
2015-02-23 12:55:09 +01:00
2015-03-02 17:29:31 +08:00
2014-09-27 11:57:45 +09:00
2015-01-29 14:39:09 -08:00
2015-01-29 14:39:09 -08:00
2015-01-29 14:39:09 -08:00
2015-01-29 14:39:09 -08:00
2015-01-29 16:38:02 -08:00
2015-01-23 15:27:16 +01:00
2014-12-25 18:52:43 -04:00
2014-07-25 14:24:05 +02:00
2014-11-03 13:39:36 +01:00
2014-11-06 10:23:22 -08:00
2014-09-02 14:53:39 -07:00
2015-02-26 11:50:56 +01:00
2014-09-02 21:02:39 +02:00
2014-10-15 20:16:45 +09:00
2014-09-02 14:53:39 -07:00
2014-09-15 20:09:20 +02:00
2015-02-09 13:32:33 +01:00
2014-01-25 01:08:33 +01:00
2014-12-14 16:56:46 +00:00
2014-10-09 21:13:39 +09:00
2014-10-07 15:20:55 +09:00
2014-06-18 23:31:11 +02:00
2014-09-02 14:53:39 -07:00
2015-02-05 00:51:04 +09:00
2015-02-12 10:47:03 +01:00
2014-12-15 19:10:38 +13:00
2014-12-15 19:25:19 +13:00
2014-10-08 01:24:47 +09:00
2015-02-04 10:49:43 +01:00
2015-02-22 19:04:41 +00:00
2014-07-18 14:45:24 +09:00
2014-05-15 16:47:49 -05:00
2015-01-13 12:48:13 +02:00
2014-09-05 17:13:53 +09:00
2014-06-18 23:31:11 +02:00
2015-01-30 20:10:32 +01:00
2014-01-24 00:55:00 +01:00
2015-02-20 10:13:06 +00:00
2014-03-07 11:51:54 -03:30
2015-01-27 10:28:44 +01:00
2014-11-05 15:18:14 +05:30
2014-01-24 00:55:00 +01:00
2014-06-18 23:31:11 +02:00
2015-01-09 14:47:20 -06:00
2014-06-18 23:31:11 +02:00
2014-08-07 15:50:27 +09:00
2014-08-24 09:57:53 +03:00
2014-08-01 17:26:03 +09:00
2015-01-02 20:48:15 +09:00
2014-04-01 00:37:42 +02:00
2014-09-02 14:53:39 -07:00
2015-02-22 09:55:47 +01:00
2014-06-18 23:31:11 +02:00
2014-10-12 12:19:25 +02:00
2014-11-02 22:20:59 -06:00
2014-06-18 23:31:11 +02:00
2014-01-24 01:19:01 +01:00
2014-09-05 00:43:33 -04:00
2015-01-08 09:51:45 -07:00
2014-06-18 23:31:11 +02:00
2014-06-18 23:31:11 +02:00
2014-12-26 16:06:25 +09:00
2014-01-25 01:08:33 +01:00
2014-12-12 16:52:04 +00:00
2014-09-02 14:53:39 -07:00
2015-01-02 20:48:15 +09:00
2014-02-21 15:03:21 +01:00
2014-04-28 23:42:21 +02:00
2014-11-22 17:54:43 +01:00
2014-12-31 13:31:53 -08:00
2014-01-24 01:19:01 +01:00
2014-05-22 21:05:24 +09:00
2014-04-28 23:55:46 +02:00
2014-11-11 12:33:12 -05:00
2014-07-20 12:13:28 +02:00
2014-05-11 11:45:26 +02:00
2014-06-18 23:31:11 +02:00
2014-08-30 10:22:37 +09:00
2015-02-26 15:52:44 +02:00
2015-02-24 11:23:28 +13:00
2014-01-27 21:40:20 -05:00
2014-07-17 19:20:44 +01:00
2014-06-18 23:31:11 +02:00
2015-01-02 20:48:15 +09:00
2014-11-12 20:53:16 +01:00
2014-11-14 11:28:52 +01:00
2015-01-26 22:59:00 -06:00
2014-04-01 00:36:47 +02:00
2015-02-16 17:23:00 +13:00
2014-12-18 07:46:43 -05:00
2014-12-18 07:46:43 -05:00
2015-02-27 05:59:50 -08:00
2015-01-09 18:21:45 -08:00
2015-02-10 15:55:31 +02:00
2015-01-13 17:39:27 +02:00
2014-08-03 04:47:28 +08:00
2014-09-16 00:20:51 +02:00
2014-04-28 22:00:50 +02:00
2014-12-18 07:46:43 -05:00
2014-12-13 22:09:05 +09:00
2014-06-19 16:56:50 +02:00
2015-02-02 11:29:48 +01:00
2014-08-05 11:06:19 +08:00
2015-01-17 00:08:09 +09:00
2014-06-18 23:31:11 +02:00
2014-12-16 10:54:37 +00:00
2015-02-11 16:22:54 +13:00
2015-02-27 07:54:52 +01:00
2015-02-04 18:15:22 +02:00
2014-11-05 14:39:42 +09:00
2014-06-18 23:31:11 +02:00
2014-08-01 06:49:29 +02:00
2014-11-23 22:12:48 +00:00
2014-11-08 01:52:05 +01:00
2014-05-11 21:10:43 +02:00
2015-02-16 10:46:08 -05:00
2014-11-13 16:45:45 -05:00
2014-09-02 14:53:39 -07:00
2014-09-16 04:11:30 +02:00
2014-07-29 20:58:09 -03:00
2015-02-17 13:16:36 +13:00
2014-04-01 00:36:25 +02:00
2014-12-20 23:49:26 +03:00
2014-09-10 17:12:57 +09:00
2015-02-20 22:58:15 +09:00
2014-06-16 04:25:18 +02:00
2014-08-23 23:23:49 +09:00
2014-12-25 23:33:05 +09:00
2014-04-04 12:26:32 +09:00
2014-09-02 14:53:39 -07:00
2014-05-30 12:34:46 -07:00
2014-10-14 07:49:02 +09:00
2014-12-01 22:06:23 +09:00
2014-06-18 23:31:11 +02:00
2014-11-02 21:13:02 +09:00
2014-12-03 12:59:38 -05:00
2014-09-02 14:53:39 -07:00
2014-11-23 23:41:33 -05:00
2014-12-06 12:09:45 +09:00
2014-09-20 10:10:07 +02:00
2015-01-07 14:02:42 -02:00
2014-09-02 14:53:39 -07:00
2014-11-23 14:09:46 +01:00
2014-09-29 18:18:00 +10:00
2015-01-18 11:11:23 +00:00
2015-03-02 23:25:39 +09:00
2014-07-17 21:21:02 +09:00
2014-08-24 09:57:53 +03:00
2015-01-03 16:55:53 +02:00
2014-12-17 15:29:34 -05:00
2014-06-18 23:31:11 +02:00
2015-01-29 11:46:35 +00:00
2014-06-18 23:31:11 +02:00
2014-08-24 09:57:53 +03:00
2014-10-29 12:09:38 -04:00
2014-12-29 23:24:55 -06:00
2014-12-11 23:22:37 +09:00
2015-02-05 09:43:10 +01:00
2014-09-27 17:25:03 +01:00
2014-11-05 14:39:41 +09:00
2014-06-18 23:31:11 +02:00
2014-11-05 14:39:41 +09:00
2014-06-18 23:31:11 +02:00
2014-11-17 08:53:31 +02:00
2015-01-19 17:14:58 +13:00
2015-01-02 20:48:15 +09:00
2014-08-07 15:50:27 +09:00
2014-05-22 14:41:57 -07:00
2015-01-02 17:49:35 +02:00
2015-01-05 09:58:05 -05:00
2014-09-02 14:53:39 -07:00
2014-12-20 13:38:32 -05:00
2014-09-25 01:21:22 +01:00
2014-11-13 16:13:35 +09:00
2015-02-17 15:05:39 -05:00
2014-08-07 15:50:27 +09:00
2015-01-02 20:48:15 +09:00
2014-11-18 17:26:33 +01:00
2015-01-18 11:11:23 +00:00
2014-06-18 23:31:11 +02:00
2015-02-26 10:46:05 +01:00
2014-05-25 16:50:42 -04:00
2014-06-18 23:31:11 +02:00
2015-02-15 18:42:50 -05:00
2014-01-24 01:56:27 +01:00
2014-06-18 23:31:11 +02:00
2014-12-11 11:11:03 -08:00
2014-10-29 20:07:27 +08:00
2014-04-04 11:20:48 +02:00
2014-06-18 23:31:11 +02:00
2014-12-25 09:29:28 +09:00
2014-09-25 01:40:38 +01:00
2014-09-02 14:53:39 -07:00
2014-04-28 23:48:34 +02:00
2015-02-09 22:09:37 -06:00
2014-12-08 15:23:50 +01:00
2015-01-16 11:29:11 +01:00
2014-08-02 21:59:16 +09:00
2015-01-20 13:19:00 +09:00
2014-09-02 14:53:39 -07:00
2014-12-25 18:50:36 +02:00
2015-01-16 21:13:44 +13:00
2015-02-24 18:05:29 +02:00
2014-08-24 09:57:53 +03:00
2014-11-08 12:45:12 -05:00
2015-01-18 11:11:23 +00:00
2014-12-08 16:29:48 +05:00
2015-02-09 09:07:49 -08:00
2014-04-03 09:31:52 +09:00
…
2014-08-29 14:34:33 +01:00
2014-11-13 11:47:03 +09:00
2014-02-25 16:32:43 -08:00
2014-09-02 14:53:39 -07:00
2014-05-22 13:53:35 +09:00
2015-01-14 11:22:52 +09:00
2014-11-20 22:13:48 +01:00
2015-02-20 14:12:02 -05:00
2014-06-29 14:52:43 -04:00
2014-12-01 14:29:32 +09:00
2015-01-02 20:48:15 +09:00
2015-01-12 11:24:20 +09:00
2014-09-24 14:32:25 -07:00
2014-08-07 15:01:57 +09:00
2014-10-07 15:04:23 +09:00
2014-12-30 00:32:11 +08:00
2014-10-22 12:20:07 +02:00
2014-11-06 01:04:01 +09:00
2014-09-02 14:53:39 -07:00
2014-06-18 23:31:11 +02:00
2015-01-02 20:48:15 +09:00
2014-06-18 23:31:11 +02:00
2015-02-25 00:28:03 +01:00
2015-02-24 18:43:05 +01:00
2015-03-03 01:21:06 +09:00
…
2015-01-17 09:19:31 +09:00
2015-02-06 22:36:06 +09:00
2015-02-12 14:20:30 +02:00

DefinitelyTyped Build Status

The repository for high quality TypeScript type definitions.

For more information see the definitelytyped.org website.

Usage

Include a line like this:

/// <reference path="jquery.d.ts" />

Contributions

DefinitelyTyped only works because of contributions by users like you!

Please see the contribution guide on how to contribute to DefinitelyTyped.

How to get the definitions

List of definitions

Requested definitions

Here is are the currently requested definitions.

Licence

This project is licensed under the MIT license.

Copyrights on the definition files are respective of each contributor listed at the beginning of each definition file.

Analytics

S
Description
No description provided
Readme MIT
395 MiB
Languages
TypeScript 100%