pub trait PackageDotVisitor {
    fn visit_package(
        &self,
        package: PackageMetadata<'_>,
        f: &mut DotWrite<'_, '_>
    ) -> Result;
fn visit_link(
        &self,
        link: PackageLink<'_>,
        f: &mut DotWrite<'_, '_>
    ) -> Result; }
Expand description

A visitor used for formatting dot graphs.

Required methods

Visits this package. The implementation may output a label for this package to the given DotWrite.

Visits this dependency link. The implementation may output a label for this link to the given DotWrite.

Implementors