MatrixNode constructor

MatrixNode({
  1. required int x,
  2. required int y,
  3. required String id,
  4. required List<EdgeInput> next,
  5. NodeSize? size,
  6. AnchorType? anchorType,
  7. String? from,
  8. String? to,
  9. AnchorOrientation? orientation,
  10. bool isAnchor = false,
  11. AnchorMargin? anchorMargin,
  12. List<String> passedIncomes = const [],
  13. List<String> renderIncomes = const [],
  14. int? childrenOnMatrix,
})

Implementation

MatrixNode({
  required this.x,
  required this.y,
  required String id,
  required List<EdgeInput> next,
  NodeSize? size,
  AnchorType? anchorType,
  String? from,
  String? to,
  AnchorOrientation? orientation,
  bool isAnchor = false,
  AnchorMargin? anchorMargin,
  List<String> passedIncomes = const [],
  List<String> renderIncomes = const [],
  int? childrenOnMatrix,
}) : super(
        id: id,
        next: next,
        size: size,
        anchorType: anchorType,
        from: from,
        to: to,
        orientation: orientation,
        isAnchor: isAnchor,
        anchorMargin: anchorMargin,
        passedIncomes: passedIncomes,
        renderIncomes: renderIncomes,
        childrenOnMatrix: childrenOnMatrix,
      );