Squashed commit of the following:

commit 67e14b5290d433286d72250424c80f55457d3f08
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Tue May 15 17:12:20 2012 +0400

    Now draws correctly sample graph. Hope works correctly as well.

commit 7f7e082bca619d97bf01092cea83be47972a042b
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Tue May 15 03:32:49 2012 +0400

    Now draws sample graph as expected. Working on drawing of fake vertices.

commit 5457092e93e037353a9ada0617bda31e757f464b
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Mon May 14 02:27:42 2012 +0400

    Now it compiles and runs, though yet draws wrong image.

commit f956cbf926042015683e40de827f10b3555a835b
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Mon May 14 00:46:48 2012 +0400

    Now it compiles and runs, though having wrong image.

commit 666b7ed402a501dbfae29fca2c05de05e3f00916
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Thu May 10 04:22:28 2012 +0400

    Refactoring.

commit 28b3ce3ab74738ff35045f245f37071663a58577
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Wed May 9 17:49:30 2012 +0400

    Tree class implemented

commit 1e04a2091ca773b8cd09c8262eae38346959dbf5
Author: Fedor Solovyev <the0@yandex-team.ru>
Date:   Sun May 6 21:02:15 2012 +0400

    Debugging.

commit e6033178023d1be8c6e294f44f0e981a7eeb5831
Author: sthe0 <the0@yandex.ru>
Date:   Tue Apr 24 23:20:49 2012 +0400

    Debugging.

commit b2e847bc04b4ce416edf6cdb4759eb7fa3ab310e
Author: sthe0 <the0@yandex.ru>
Date:   Tue Apr 24 23:03:36 2012 +0400

    Debugging.

commit ae2e76c0749fc83fd32213360011b0f57f0da64e
Author: sthe0 <the0@yandex.ru>
Date:   Tue Apr 24 02:15:19 2012 +0400

    Debugging.

commit 59d25fdd69864af528b476beef4b2f03bdd0eeaa
Author: sthe0 <the0@yandex.ru>
Date:   Sat Apr 21 22:32:40 2012 +0400

    Debugging.

commit 039e2bbc24ae7b5b09e00a06d77f085d8c9137cc
Author: sthe0 <the0@yandex.ru>
Date:   Sat Apr 21 20:40:39 2012 +0400

    Now restoring edge directions.

commit c4e11fdc85c1db34455b0f449461947c6a75691f
Author: sthe0 <the0@yandex.ru>
Date:   Sat Apr 21 20:34:11 2012 +0400

    Simple DrawingFramework class implemented

commit 423c1202375c47a0f77c2c9d0565580b0226b9b9
Author: fedor <fedor@fedor-K52JK.(none)>
Date:   Wed Apr 18 01:21:58 2012 +0400

    Working on metrics determination.

commit 9f4964d242db75802a47d13464a1093e5471459f
Author: fedor <fedor@fedor-K52JK.(none)>
Date:   Wed Apr 18 01:03:00 2012 +0400

    Working on metrics determination.

commit 584a0c81ee03d3c74363b42f4bf55d52ab2414c7
Author: fedor <fedor@fedor-K52JK.(none)>
Date:   Tue Apr 10 23:16:05 2012 +0400

    Working on metrics determination.

commit b478c48f5ebbb4435529998e6a78673548b6c7b5
Author: fedor <fedor@fedor-K52JK.(none)>
Date:   Tue Apr 10 02:36:05 2012 +0400

    Working on metrics determination.

commit 68e255c0258da884ead00078673369b9898977c3
Author: fedor <fedor@fedor-K52JK.(none)>
Date:   Tue Apr 10 02:19:05 2012 +0400

    Working on metrics determination.

commit f4f0a6b0563306ea0885bbd0ed73d29d5b04d830
Author: fedor <fedor@fedor-K52JK.(none)>
Date:   Mon Apr 9 00:08:33 2012 +0400

    Working on metrics determination.

commit 5167f2b1b300a37535b739c95b9c18bbe6af4f0f
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Wed Mar 28 02:53:09 2012 +0400

    Fixup.

commit db09050e242dbe16bac2abb0724263fc461ac3d4
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Wed Mar 28 02:37:11 2012 +0400

    Implemented graph ordering class method

commit 614c0fd2cb1e4d4e2d077be7bbc90408b522c93a
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Mon Mar 19 03:45:06 2012 +0400

    Working on ordering class method.

commit af0e81b44ada40f74624fc6b1e65795c445c44bd
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Sat Mar 10 01:10:14 2012 +0400

    Graph normalization implemented

commit 972f8f899fdd163f1397ce289071d75aa50fd59a
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Thu Mar 8 22:57:34 2012 +0400

    Compound layers assignment implemented

commit cb026e69d72e1ce2da3d9ef427fa59ade902612f
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Thu Mar 8 20:46:36 2012 +0400

    Working on relation graph building

commit 1adebf1d2a97ae72ab69b5e53becc75d912d3fb7
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Wed Feb 29 01:15:25 2012 +0400

    Going on.

commit faf07037bc0d949a4c0bddecfd1e7d16120610a5
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Sat Feb 25 01:24:41 2012 +0400

    Working on compond graph layering.

commit 60e4671524c5714a5893d16532ed95ee97ddd475
Author: Fedor Solovyev <the0@yandex.ru>
Date:   Thu Feb 23 23:58:52 2012 +0400

    Working on layout algoritm.