ConnectionRouter constructor

const ConnectionRouter({
  1. required NodeGraph graph,
  2. required Size sizeOf(
    1. GraphNode node
    ),
  3. ConnectionStyle style = ConnectionStyle.curved,
  4. double curvature = ConnectionPath.defaultCurvature,
  5. double stub = ConnectionPath.defaultStub,
  6. double cornerRadius = ConnectionPath.defaultCornerRadius,
})

Implementation

const ConnectionRouter({
  required this.graph,
  required this.sizeOf,
  this.style = ConnectionStyle.curved,
  this.curvature = ConnectionPath.defaultCurvature,
  this.stub = ConnectionPath.defaultStub,
  this.cornerRadius = ConnectionPath.defaultCornerRadius,
});