Skip to content
  1. API
  2. Types
  3. GroupByOptions

GroupByOptions

Type: object

Properties

  • edgeGenerator(optional) function(edges: EdgeList, groupId: string, source: Node, target: Node, transformation: Transformation): EdgeDataAndAttributes Callback to generate data and attributes for group edges.
  • group(optional) NodeDataAndAttributes Data and attributes to set on the created group node.
  • layout(optional) SubLayout Layout to apply to the group contents when the group is opened.
  • padding(optional) number Padding to apply around the group contents.
  • showContents(optional) boolean Whether to show the contents of the group upon creation.