zambezi / grid

D3 component for drawing grids
MIT License
4 stars 2 forks source link

External component entry points #14

Closed gabrielmontagne closed 8 years ago

gabrielmontagne commented 8 years ago

Description

In this PR two extension points are added to the grid. These can be used to modify and extend the grid.

Please see propsed docs here: https://github.com/zambezi/grid/blob/external-component-entry-points/man/grid-components.md And a simple example here, http://bl.ocks.org/gabrielmontagne/9ecd536714bc6ae755f1df6231f91cae using a pre-release version.

Motivation and Context

The grid itself is nothing but a bunch of sub-components strung together. With this extension points, more complex or custom grids can be constructed without changing the core implementation.

How Was This Tested?

An example has been added to the examples folder, which runs two external custom components. A "live" version block has been linked above, as well.

Types of changes