3.12.9~git20141130.241663-1 (/var/lib/apt/lists/ftp.uni-erlangen.de_debian_dists_jessie_main_binary-i386_Packages) (/var/lib/dpkg/status)
Description Language: en
3.12.9~git20141130.241663-1 - dconf-gsettings-backend (16 (null)) gsettings-backend (0 (null)) evolution (0 (null))
apt-cache depends evolution-common
apt-cache rdepends evolution-common
output format of apt for dotty seems broken… it gives me errors, while this example seems to work:
dottyguide even worse: dotty seems not to be able to display bigger graphs… kind of stalls.
debtree seems to be able to do the proper stuff.
debtree --with-suggests >out.dot; # Create a .dot file (a directed graph drawing - see the man dot manpage)
# Create a graph (PNG) from a .dot file (takes ages, very slow, and produced a 50Mbyte PNG! :-D that your average image viewer won't handle)
dot -T png -o out.png out.dot;
debtree | dot -Tps | okular - &; # Create a graph (Postscript) and view it using Okular
dotty takes a list of packages on the command line and generates output suitable for use by dotty from the GraphViz package. The
result will be a set of nodes and edges representing the relationships between the packages. By default the given packages will trace
out all dependent packages; this can produce a very large graph. To limit the output to only the packages listed on the command line,
set the APT::Cache::GivenOnly option.
The resulting nodes will have several shapes; normal packages are boxes, pure virtual packages are triangles, mixed virtual packages
are diamonds, missing packages are hexagons. Orange boxes mean recursion was stopped (leaf packages), blue lines are pre-depends, green
lines are conflicts.
Caution, dotty cannot graph larger sets of packages.
The same as dotty, only for xvcg from the VCG tool.
apt-cache xvcg evolution-common > xvcg.file;
apt-get install graphviz; # install graphviz tool set
apt-get install dotty; # install dotty
to run dotty example put this in a dotty_example:
a -> b [label="hello", style=dashed];
a -> c [label="world"];
c -> d; b -> c; d -> a;
b [shape=Mdiamond, label="this is b"];
c [shape=polygon, sides=5, peripheries=3];
and by running:
you get this amazing drawing:
Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.