# to create a ps file use 'dot -Tps -o dependency-graph.ps dependency-graph.dot' (dot it part of the graphviz package)
# This file is also included in Mainpage.dox, so if you change color codings
# etc., you might need to adapt Mainpage.dox as well.
strict digraph "inter-dependency graph for kdepim" {
        /*
           Node definitions
           Put all sub-dirs here.

           Color coding:
           shared libs: lightyellow
           static libs: pink
           plugins or other non-standalone modules: palegreen
           applications: lightcyan
           code generators or other development tools: orange
           disabled: lightgray

           Shapes:
           kdepimlibs: box
           kdepim: ellipse (default)
         */

        /* kdepimlibs */
        "kpimutils"[style=filled, fillcolor=lightyellow, shape=box, URL="../kdepimlibs-apidocs/kpimutils/html/index.html"];
        /* TODO: dependencies incomplete */
        /*"libkabc"[style=filled, fillcolor=lightyellow, shape=box];*/
        /*"libkresources"[style=filled, fillcolor=lightyellow, shape=box];*/
        "libkcal"[style=filled, fillcolor=lightyellow, shape=box, URL="../kdepimlibs-apidocs/kcal/html/index.html"];
        "libktnef"[style=filled, fillcolor=lightyellow, shape=box];
        "libsyndication"[style=filled, fillcolor=lightyellow, shape=box, URL="../kdepimlibs-apidocs/syndication/html/index.html"];
        "libkmime"[style=filled, fillcolor=lightyellow, shape=box, URL="../kdepimlibs-apidocs/kmime/html/index.html"];

        /* kdepim */
        "akonadiserver"[style=filled, fillcolor=lightcyan, URL="akonadi/akonadiserver/html/index.html"];
        "akregator"[style=filled, fillcolor=lightcyan, URL="akregator/html/index.html"];
        /* kabc ?? */
        "kaddressbook"[style=filled, fillcolor=lightcyan, URL="kaddressbook/html/index.html"];
        "kalarm"[style=filled, fillcolor=lightcyan, URL="kalarm/html/index.html"];
        "ktimetracker"[style=filled, fillcolor=lightcyan, URL="ktimetracker/html/index.html"];
        "kdgantt"[style=filled, fillcolor=lightyellow, URL="kdgantt/html/index.html"];
        "kfile-plugins"[style=filled, fillcolor=palegreen];
        "kioslave"[style=filled, fillcolor=palegreen, URL="kioslave/html/index.html"];
        "kleopatra"[style=filled, fillcolor=lightcyan, URL="kleopatra/html/index.html"];
        "kmail"[style=filled, fillcolor=lightcyan, URL="kmail/html/index.html"];
        "kmailcvt"[style=filled, fillcolor=lightcyan];
        "knode"[style=filled, fillcolor=lightcyan, URL="knode/html/index.html"];
        "knotes"[style=filled, fillcolor=lightcyan, URL="knotes/html/index.html"];
        "kode"[style=filled, fillcolor=orange];
        "konsolekalendar"[style=filled, fillcolor=lightcyan, URL="konsolekalendar/html/index.html"];
        "kontact"[style=filled, fillcolor=lightcyan, URL="kontact/html/index.html"];
        "korganizer"[style=filled, fillcolor=lightcyan, URL="korganizer/html/index.html"];
        "kresources"[style=filled, fillcolor=palegreen];
        "libakonadi"[style=filled, fillcolor=lightyellow, URL="akonadi/libakonadi/html/index.html"];
        "libkdepim"[style=filled, fillcolor=lightyellow, URL="libkdepim/html/index.html"];
        "libkholidays"[style=filled, fillcolor=lightyellow, URL="libkholidays/html/index.html"];
        "libkleo"[style=filled, fillcolor=lightyellow, URL="libkleo/html/index.html"];
        "libkpgp"[style=filled, fillcolor=lightyellow, URL="libkpgp/html/index.html"];
        "libkpimidentities"[style=filled, fillcolor=lightyellow, URL="libkpimidentities/html/index.html"];
        "libksieve"[style=filled, fillcolor=lightyellow];
        "mimelib"[style=filled, fillcolor=lightyellow];
        "networkstatus"[style=filled, fillcolor=palegreen];
        "plugins"[style=filled, fillcolor=palegreen];
        "wizards"[style=filled, fillcolor=lightcyan];

        /*
           Edge definitions
           Put all compile-time dependencies here.
        */
        "akregator" -> "kontact";
        "libkleo" -> "kleopatra";
        "libkleo" -> "kaddressbook";
        "libkleo" -> "kmail";
        "libkleo" -> "libkpimidentities";
        "kaddressbook" -> "kontact";
        "kaddressbook" -> "kresources";
        "kdgantt" -> "korganizer";
        "kmail" -> "kresources";
        "kmail" -> "plugins";
        "knotes" -> "kontact";
        "knotes" -> "kresources";
        "kode" -> "kresources";
        "korganizer" -> "kontact";
        "korganizer" -> "wizards";
        "kresources" -> "ktimetracker";
        "kresources" -> "wizards";
        "libkpimutils" -> "kmail";
        "libkpimutils" -> "knode";
        "libkpimutils" -> "korganizer";
        "libkpimutils" -> "libkcal";
        "libkpimutils" -> "libkdepim";
        "libkpimutils" -> "libkpimidentities";
        "libkpimutils" -> "plugins";
        "libkcal" -> "kalarm";
        "libkcal" -> "ktimetracker";
        "libkcal" -> "kfile-plugins";
        "libkcal" -> "knotes";
        "libkcal" -> "konsolekalendar";
        "libkcal" -> "korganizer";
        "libkcal" -> "kresources";
        "libkcal" -> "libkdepim";
        "libkcal" -> "plugins";
        "libkcal" -> "libktnef"
        "libkdepim" -> "akregator";
        "libkdepim" -> "kaddressbook";
        "libkdepim" -> "kalarm";
        "libkdepim" -> "ktimetracker";
        "libkdepim" -> "kioslave";
        "libkdepim" -> "kmail";
        "libkdepim" -> "knode";
        "libkdepim" -> "knotes";
        "libkdepim" -> "kontact";
        "libkdepim" -> "korganizer";
        "libkdepim" -> "libkpimidentities";
        "libkdepim" -> "plugins";
        "libkdepim" -> "wizards";
        "libkholidays" -> "kontact";
        "libkholidays" -> "korganizer";
        "libkmime" -> "kalarm";
        "libkmime" -> "kioslave";
        "libkmime" -> "kmail";
        "libkmime" -> "knode";
        "libkmime" -> "libakonadi";
        "libkpgp" -> "kmail";
        "libkpgp" -> "knode";
        "libkpgp" -> "libkleo";
        "libkpimidentities" -> "kmail";
        "libkpimidentities" -> "korganizer";
        "libkpimidentities" -> "kalarm";
        "libksieve" -> "kmail";
        "mimelib" -> "kmail";
        "ktimetracker" -> "kontact";
        "knode" -> "kontact";
        "libsyndication" -> "akregator";
        "libsyndication" -> "kaddressbook";
        "libktnef" -> "kmail";
        /* TODO: kabc deps incomplete
        "libkabc" -> "libkcal";
        "libkabc" -> "libktnef";*/
}

