block by NPashaP d61e36d237bca061125bac66d86026d3

biPartite - sortPrimary, sortSecondary

Full Screen

viz.bP().sortPrimary, viz.bP().sortPrimary

These methods are used to set the sorting function for the primary and secondary parts.

The example on the left is using the default sorting functions for primary and secondary parts which is d3.ascending. The example on the right is using custom sort function for primary and secondary parts.

For other options and examples, check VizJS

index.html