[tracker] Documentation: updated structural diagrams of tracker and Content FW



commit 151160b13a540225ffd7b12726b4d25f8c82093b
Author: Ivan Frade <ivan frade nokia com>
Date:   Tue Nov 23 17:04:44 2010 +0200

    Documentation: updated structural diagrams of tracker and Content FW

 docs/design/contentfw-structural-view.dot |   80 +++++++++++++++++++++++++++++
 docs/design/tracker-structural-view.dot   |   66 ++++-------------------
 2 files changed, 92 insertions(+), 54 deletions(-)
---
diff --git a/docs/design/contentfw-structural-view.dot b/docs/design/contentfw-structural-view.dot
new file mode 100644
index 0000000..33e667b
--- /dev/null
+++ b/docs/design/contentfw-structural-view.dot
@@ -0,0 +1,80 @@
+/*
+ * Structural view of Content Framework
+ *
+ * Generate PNG with: dot -Tpng tracker-structural-view.dot
+ * View the diagram: dotty tracker-structural-view.dot
+*/
+
+digraph G {
+
+  graph [size="640,480"];
+  node [shape=box, style=filled, fontsize=11];
+  edge [fontsize=11];
+
+  { rank=source
+    app [label="<<process>>\n\napplication"];
+  }
+
+  subgraph cluster0 { 
+    label="Content Framework"
+
+    qsparql [label="<<library>>\n\nQsparql"];
+    libthumbnailer [label="<<library>>\n\nlibthumbnailer"];
+    libcontentaction [label="<<library>>\n\nlibcontentaction"];
+    trackerutils [label="<<command-line>>\n\ntracker-utils"];
+    tracker [label="<<library>>\n\ntracker\n(see detailed diagram)"];
+
+    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; tracker; trackerminerfs; libtrackerextract};
+
+    libthumbnailer -> tumbler [label="<<D-Bus>>"]
+    qsparql -> tracker [label="<<link>>"]
+
+    trackerminerfs -> trackerextract [label="<<D-Bus>>"]
+    trackerminerfs -> libtrackerminer [label="<<Implements>>"]
+    trackerminerfs -> tracker [label="<<link>>"]
+
+    trackerutils -> tracker [label="<<D-Bus>>"]
+    trackerutils -> trackerminerfs [label="<<D-Bus>>"]
+    
+  }
+
+  {
+    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"];
+    sqlite [label="<<library>>\n\nsqlite" ];    
+
+    gio [label="<<library>>\n\nGIO"];
+    inotify [label="<<kernel>>\n\ninotify"];
+    gio -> inotify;
+  }
+
+  app -> qsparql [label="<<link>>"]
+  app -> libthumbnailer [label="<<link>>"]
+  app -> libcontentaction [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>>"]
+  tracker -> sqlite 
+  
+}
diff --git a/docs/design/tracker-structural-view.dot b/docs/design/tracker-structural-view.dot
index 94ed336..38994a5 100644
--- a/docs/design/tracker-structural-view.dot
+++ b/docs/design/tracker-structural-view.dot
@@ -7,75 +7,33 @@
 
 digraph G {
 
-  graph [size="70,100"];
+  graph [size="640,480"];
   node [shape=box, style=filled, fontsize=11];
   edge [fontsize=11];
 
   { rank=source
-    app [label="<<process>>\n\napplication"];
+    qsparql [label="<<library>>\n\nQSparql"];
   }
 
   subgraph cluster0 { 
-    label="Content Framework"
+    label="Tracker"
 
-    libqttracker [label="<<library>>\n\nlibqttracker"];
-    libthumbnailer [label="<<library>>\n\nlibthumbnailer"];
-    libcontentaction [label="<<library>>\n\nlibcontentaction"];
-    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>>"]
+    libtrackersparql [label="<<library>>\n\nlibtracker-sparql"]
+    store [label="<<process>>\n\ntracker-store"]
+    libtrackerdata [label="<<library>>\n\nlibtracker-data"]
   }
 
   {
     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;
+    sqlite [label="<<library>>\n\nsqlite" ];    
   }
 
-  app -> libqttracker [label="<<link>>"]
-  app -> libthumbnailer [label="<<link>>"]
-  app -> libcontentaction [label="<<link>>"]
+  qsparql -> libtrackersparql [label="<<link>>"]
+  libtrackersparql -> store [label="<<DBus>>\n(write)"]
+  libtrackersparql -> libtrackerdata [label="<<link>>\n(read)"]
+  store -> libtrackerdata [label="<<link>>"]
+  libtrackerdata -> sqlite [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]