stubHeaders property

String get stubHeaders

Link nodes together. Introduces the "self" node representing the start of a new graph.

Implementation

String get stubHeaders {
  final String childs = children.fold(
    '',
    (v, e) => '$v$stubId -- ${e.stubId};\n',
  );
  final String me = '$stubId [$stubAttrs];\n';
  return me + childs;
}