Commit Graph
12 Commits
Author SHA1 Message Date
Andy Hanson 45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Andy 9a1c802a89 d3-*: Fix lint (#20837)
* d3-*: Fix lint

* Add more @param comments
2017-10-23 07:50:05 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy d74806eb3d Add lint disables for no-unnecessary-generics (#19508) 2017-09-01 08:34:37 -07:00
Andy 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Tom Wanzek 95f022e67d d3-sankey: Doc Update
* [DOC] Fix default `nodeAlign` setting in JSDoc comment.
2017-07-14 14:42:56 -04:00
Tom Wanzek 232926fd1c [d3-sankey] Update to Minor 0.7 (#17166)
* [d3-sankey] Update to Minor 0.7
* [FEATURE] `nodeId(...)` Add ability to configure node id accessor function
* [FEATURE] `nodeAlign(...)` Add ability to configure horizontal alignment of layout
* [FEATURE] Add pre-build layout alignment functions
* [CHORE] Bump minor version number.

* [d3-sankey] [FIX] Add `height` property to node.
2017-06-14 07:47:31 -07:00
Tom Wanzek c3597f95f8 [d3-sankey] Update to Minor Version 0.6 (#16923)
* [BREAKING] Changes to Sankey node and link related interfaces. Added attributes and re-defined attributes.
2017-06-02 14:02:21 -07:00
Tom Wanzek e353d9bc65 [d3-sankey] Missing Iterations (#16916)
* [Fix] Adds missing `iterations` setter and getter for `SankeyLayout`
2017-06-02 10:35:24 -07:00
Tom Wanzek cae1ec5491 [d3-sankey] Update to Version 0.5 (#16761)
* [d3-sankey] Update to Version 0.5
* [BREAKING CHANGE] `SankeyLayout` API rewritten
* [BREAKING CHANGE] `SankeyLinkPathGenerator` removed. `sankeyLinkHorizontal` added as replacement.
* [CHORE] Update version numbers.

* [d3-sankey] JSDoc comment fixes. Thx @gustavderdrache
2017-06-01 09:30:55 -07:00
Tom Wanzek 5ff63bda5e Add d3-sankey Definitions (#16051)
* d3-sankey:
*  Initial incomplete draft of definitions (see TODOs) In particular issue with circular definitions given the source code approach to mutating nodes and links.
* Added tsconfig and tslint.

* Added initial draft of shape tests
* Subject to addressing SankeyNodes/SankeyLinks circularity in definitions
* Fixed return types of nodes() and links() to reflect source code rather than API Doc.

* Use intersection types to avoid circularity
* Using intersection types avoids running into the circularity issue with the generics driving SankeyNode an SankeyLink

* Refine SankeyLinkPathGenerator tests.

* Add interface tests for SankeyNode and SankeyLink

* Complete comments. Add one pathGen test.

* Fix lint errors.

* semicolon.

* Updated some comments.
* Some comments were updated to reflect the comments used in PR 23 to the d3-sankey repo

* Fix typo. Thx @gustavderdrache .

* Add Co-Maintainer
2017-05-01 16:46:04 -07:00