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

AddSubGraphOptions

Type: object

Properties

  • copyNodeData(optional) boolean Whether to copy the data of the replaced node to the new group node.
  • group(optional) NodeDataAndAttributes Data and attributes to set on the created group.
  • layout(optional) SubLayout Layout to apply to the subgraph upon addition.
  • padding(optional) number Padding to apply around the subgraph contents.