EdgeInput constructor

EdgeInput({
  1. required String outcome,
  2. EdgeArrowType type = EdgeArrowType.one,
})

Input data for node's edge. outcome unique identifier of the outcome node. Outcome node should exist in DirectGraph.list. type style of arrows to be drawn on the edge if DirectGraph.pathBuilder is not defined and default builder is used.

Implementation

EdgeInput({
  required this.outcome,
  this.type = EdgeArrowType.one,
});