[tracker] Doc: tracker structural diagram in graphviz



commit f545af0ac90986910c745d354ac56c5961014de7
Author: Ivan Frade <ivan frade nokia com>
Date:   Tue Apr 27 18:01:42 2010 +0300

    Doc: tracker structural diagram in graphviz

 docs/design/Makefile.am                 |    5 +-
 docs/design/tracker-structural-view.dot |   79 +++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+), 2 deletions(-)
---
diff --git a/docs/design/Makefile.am b/docs/design/Makefile.am
index 0440b02..4e9ff5c 100644
--- a/docs/design/Makefile.am
+++ b/docs/design/Makefile.am
@@ -2,7 +2,8 @@ include $(top_srcdir)/Makefile.decl
 
 architecture_docs =		\
 	tracker-store.dia	\
-	tracker-miner-fs.dia
+	tracker-miner-fs.dia	\
+	tracker-structural-view.dot
 
 EXTRA_DIST = $(architecture_docs)
-	
+
diff --git a/docs/design/tracker-structural-view.dot b/docs/design/tracker-structural-view.dot
new file mode 100644
index 0000000..153c760
--- /dev/null
+++ b/docs/design/tracker-structural-view.dot
@@ -0,0 +1,79 @@
+/*
+ * Structural view of tracker
+ *
+ * Generate PNG with: dot -Tpng tracker-structural-view.dot
+ * View the diagram: dotty tracker-structural-view.dot
+*/
+
+digraph G {
+
+  graph [size="70,100"];
+  node [shape=box, style=filled, fontsize=11];
+  edge [fontsize=11];
+
+  { rank=source
+    app [label="<<process>>\n\napplication"];
+  }
+
+  subgraph cluster0 { 
+    label="Content Framework"
+
+    libqttracker [label="<<library>>\n\nlibqttracker"];
+    libthumbnailer [label="<<library>>\n\nlibthumbnailer"];
+    trackerutils [label="<<command-line>>\n\ntracker-utils"];
+    trackerstore [label="<<process>>\n\ntracker-store"];
+    sqlite [label="<<library>>\n\nsqlite" ];    
+
+    trackerextract [label="<<process>>\n\ntracker-extract"];
+    libtrackerextract [label="<<library>>\n\nlibtracker-extract"];
+    trackerextract -> libtrackerextract [label="<<links>>"];
+
+    trackerminerfs [label="<<process>>\n\ntracker-miner-fs"];
+    libtrackerminer [label="<<library>>\n\nlibtracker-miner"];
+
+    tumbler [label="<<process>>\n\ntumbler"];
+
+
+    {rank=same; trackerstore; trackerminerfs; libtrackerextract};
+
+    libthumbnailer -> tumbler [label="<<D-Bus>>"]
+    libqttracker -> trackerstore [label="<<D-Bus>>"]
+
+    trackerminerfs -> trackerextract [label="<<D-Bus>>"]
+    trackerminerfs -> trackerstore [label="<<D-Bus>>"]
+    trackerminerfs -> libtrackerminer [label="<<Implements>>"]
+
+    trackerutils -> trackerstore [label="<<D-Bus>>"]
+    trackerutils -> trackerminerfs [label="<<D-Bus>>"]
+    
+    trackerstore -> sqlite [label="<<link>>"]
+  }
+
+  {
+    rank=sink
+    extractionlibs [label="<<libraries>>\n\nextraction-libraries"];
+    gstreamer [label="<<library>>\n\ngstreamer"];
+    libhal [label="<<library>>\n\nlibhal"];
+    libquill [label="<<library>>\n\nlibquill"];
+    libplayback [label="<<library>>\n\nlibplayback"];
+
+    gio [label="<<library>>\n\nGIO"];
+    inotify [label="<<kernel>>\n\ninotify"];
+    gio -> inotify;
+  }
+
+  app -> libqttracker [label="<<link>>"]
+  app -> libthumbnailer [label="<<link>>"]
+
+  trackerextract -> extractionlibs [label="<<link>>"]
+  trackerextract -> gstreamer [label="<<link>>"]
+  trackerextract -> libplayback [label="<<link>>"]
+  
+//  trackerstore -> libhal [label="<<link>>"]
+//  trackerminerfs -> libhal [label="<<link>>"]
+  
+  trackerminerfs -> gio  [label="<<link>>"]
+
+  tumbler -> libquill [label="<<link>>"]
+  
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]