Constructor
new Biset(root)
Creates a new Biset visualization.
Parameters:
Name | Type | Description |
---|---|---|
root |
SVG element in which the visualization should be rendered |
Members
bundleHeight
Set the height of bundles.
bundleSpacing
Set the height removed from the bottom of each bundle.
cornerRadius
Set the corner radius for entities and bundles.
data
Set the visualization data in the format returned by d3's parse functions.
domainWidth
Set the width of the domain columns.
edgeMode
Set the edge display mode which is 'edges', 'bundles', or 'hybrid'.
entityHeight
Set the height of entities.
entitySpacing
Set the height removed from the bottom of each entity.
indicatorWidth
Set the width taken up by the entity frequency indicator.
margin
Set the initial offset of the visualization from the top left corner.
minBundleSize
Set the minimum bundle size.
minBundleSources
Set the minimum number of entities on the left side of a bundle.
minBundleTargets
Set the minimum number of entities on the right side of a bundle.
relationWidth
Set the width of the area between domain columns.
sortMode
Set the sort mode which is 'frequency', 'label', or 'priority'.
zoomRange
Set the minimum and maximum scale for zooming as a pair of values.
Methods
clearSelection()
Deselects all selected entities and bundles.
draw()
Updates the whole visualization.