NetworkLink constructor

NetworkLink({
  1. required String source,
  2. required String target,
  3. double weight = 1,
  4. String? label,
  5. Color? color,
  6. double width = 1,
  7. bool directed = false,
  8. Map<String, dynamic>? metadata,
})

Implementation

NetworkLink({
  required this.source,
  required this.target,
  this.weight = 1,
  this.label,
  this.color,
  this.width = 1,
  this.directed = false,
  this.metadata,
});