---
name: "VCP::Dest::branch_diagram"
section: "3pm"
platform: "linux"
package: "libvcp-perl"
version: "0.9-20050110-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/VCP::Dest::branch_diagram"
---

# VCP::Dest::branch\_diagram(3pm)

An experimental diagram drawing "destination"

## NAME

VCP::Dest::branch\_diagram - An experimental diagram drawing "destination"

## SYNOPSIS

```
   vcp <source> branch_diagram:foo.png
   vcp <source> branch_diagram:foo.png --skip=none ## for verbose output
```

## DESCRIPTION

This generates (using GraphViz) a diagram of the branch structure of the source repository.

Note: You must install graphviz, from AT&T (specifically, the `"dot"` command) and the GraphViz.pm Perl module for this to work.

## OPTIONS

- \--skip

  ```
    --skip=5
  ```

  Set the revision "skip" threshold.  This is the minimum number of revisions you should see in a "# skipped" message in the resulting graph.  use `"--skip=none"` to prevent skipping.  The default is 5.

## EXAMPLES

```
    vcp \
      p4:public.perforce.com:1666://public/perforce/webkeeper/mod_webkeep.c \
        --rev-root= \
        --follow-branch-into \
      branch_diagram:foo3.png
```

The --rev-root= is because the presumed rev root is "//public/perforce/webkeeper" and perforce branches sail off in to other directories.

```
    vcp \
      cvs:/home/barries/src/VCP/tmp/xfree:/xc/doc/Imakefile \
      branch_diagram:foo3.png
```

## AUTHOR

Barrie Slaymaker \<barries@slaysys.com\>

## COPYRIGHT

Copyright (c) 2000, 2001, 2002 Perforce Software, Inc. All rights reserved.

See VCP::License (`"vcp help license"`) for the terms of use.
