cargo-modules 0.26.0

A cargo plugin for showing a tree-like overview of a crate's modules.
Documentation
---
source: tests/dependencies.rs
expression: output
---
COMMAND:
dependencies
--features
opt-in

STDERR:

STDOUT:
digraph {

    graph [
        label="github_issue_362",
        labelloc=t,

        pad=0.4,

        // Consider rendering the graph using a different layout algorithm, such as:
        // [dot, neato, twopi, circo, fdp, sfdp]
        layout=neato,
        overlap=false,
        splines="line",
        rankdir=LR,

        fontname="Helvetica", 
        fontsize="36",
    ];

    node [
        fontname="monospace",
        fontsize="10",
        shape="record",
        style="filled",
    ];

    edge [
        fontname="monospace",
        fontsize="10",
    ];

    "github_issue_362" [label="crate|github_issue_362", fillcolor="#5397c8"]; // "crate" node
    "github_issue_362::on_by_default" [label="pub(crate) mod|github_issue_362::on_by_default", fillcolor="#f8c04c"]; // "mod" node
    "github_issue_362::opt_in" [label="pub(crate) mod|github_issue_362::opt_in", fillcolor="#f8c04c"]; // "mod" node

    "github_issue_362" -> "github_issue_362::on_by_default" [label="owns", color="#000000", style="solid"] [constraint=true]; // "owns" edge
    "github_issue_362" -> "github_issue_362::opt_in" [label="owns", color="#000000", style="solid"] [constraint=true]; // "owns" edge

}