# 0.12
- Changed d3 dependency to mbostock/d3.
- Improved
zoom()
centering. - Fixed bug:
center()
return value. - Fixed bug: apply center if called before rendering.
- Fixed bug: avoid reset when dragging.
- Added
focus()
with incoming/outgoing relations. - Changed scaleExtent option default value.
- Fixed tests.
- Fixed cluster filter.
- Fixed filter(id) bug.
- Added tests.
- Lazy focus.
- Documented methods
- Fixed bug: .center(id) not working.
- Renamed constructor option
scaleExtent
forzoomScaleExtent
. - Renamed constructor option
defaultColors
forcolors
. - Removed
.attr()
from public api.
- Cumulative selection filters.
- added isFiltering, addFilter, testFilter methods.
- removed arg fn from draw().
- removed matching context variable.
- selectByTextExact removed (focus() can be used instead).
- options removed from selectByText.
- changed
getSelectedNode()
forgetFocusedNode()
. - changed
isSelected()
forisFocused()
. draw()
changed forupdate()
select()
changed forfilter()
selectBySize()
changed forfilterBySize()
selectByCluster()
changed forfilterByCluster()
selectByText()
changed forfilterByText()
filterBySize()
acceptsnull
to avoid using min or max values to filter.focusByText()
is case-insensitive now.getNode()
added.getFocusedNode()
added.getAdjacents()
added.- tests added
- Added
defaultColors
option.
- focusByText method
- center param removed from focus().
center
method added.- Optimized drawing.
- Selection methods standarized.
- Fodrawing
- Center method
- Added focus event.
- Z-Index fix
- Added bind, emitter deps.
- Removed underscore dep.
- Updated d3 repo & dep.
- Tooltip optional.
- Added tooltip on/off methods.
- Added collisionAlpha option.
- Added focus function.
- Initial focus on mass center.
- Improved zooming on titles.
- Fixed encoding issues.