type_graph 1.1.0 copy "type_graph: ^1.1.0" to clipboard
type_graph: ^1.1.0 copied to clipboard

Build graphs of your type hierarchies in your Dart/Flutter apps.

example/example.dart

import 'dart:io';

import 'package:type_graph/type_graph.dart';

void main() async {
  final paths = [
    '/path/to/dart/file.dart',
    '/path/to/other/dart/file.dart',
  ];

  final graphBuilder = TypeGraphBuilder(paths);

  await graphBuilder.writeGraphToFile(File('output.gz'));
}
2
likes
110
pub points
0%
popularity

Publisher

unverified uploader

Build graphs of your type hierarchies in your Dart/Flutter apps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, args, gviz, logging, path

More

Packages that depend on type_graph