toDotHtml function

String toDotHtml(
  1. VizRoot root, {
  2. List<String> ignorePackages = const [],
})

Implementation

String toDotHtml(VizRoot root, {List<String> ignorePackages = const []}) {
  final dot = toDot(root, escapeLabels: true, ignorePackages: ignorePackages);

  return _dotHtmlTemplate
      .replaceAll(_dotPlaceHolder, dot)
      .replaceAll(_titlePlaceHolder, root.root.name);
}