-
Instalasi Graphviz pada Windows XP Professional
Berikut adalah langkah-langkah kita untuk melakukan instalasi Graphviz - suatu kumpulan aplikasi yang sangat berguna untuk menghasilkan visualisasi graph - pada Windows XP Professional.Download Paket Installer GraphvizKunjungi halaman http ...
Posted Oct 14, 2011 4:54 PM by Editor KursusInternet
-
Opsi Command Line Graphviz
Pendahuluan
Penggunaan aplikasi command line pada Graphviz secara general adalah sebagai berikut :
nama_aplikasi [ flags ] [ file-file input ]
dimana flag adalah kumpulan parameter yang akan ditulis pada bagian selanjutnya, sedangkan ...
Posted Sep 27, 2011 10:29 AM by Editor KursusInternet
|
-
04. Merubah Edge - Relasi One to Many
PendahuluanPada artikel sebelumnya mengenai Penggunaan Style HTML pada Record, telah ditunjukkan relasi antar port / kolom dengan penggambaran suatu edge.Jika kita ingin memperjelas hubungan tersebut dalam konteks relational database ...
Posted Oct 4, 2011 8:19 AM by Editor KursusInternet
-
03. Menggunakan Style HTML pada Record
Pendahuluan
Pada artikel sebelumnya, kita telah mengetahui bagaimana menggambarkan relasi antar sel pada node berbentuk record. Untuk lebih memperkaya visualisasi, maka Graphviz mengenali elemen tag pembentuk table pada HTML untuk ...
Posted Oct 2, 2011 1:48 AM by Editor KursusInternet
-
02. Menggunakan Bentuk Record
Pendahuluan
Salah satu bentuk node untuk graph yang paling sering digunakan adalah penggunaan record untuk mendokumentasikan relasi antar table database relasional. Pembagian "cell" pada record menggunakan label yang dipisahkan dengan ...
Posted Sep 25, 2011 1:23 AM by Editor KursusInternet
-
01. Halo Indonesia !
Pendahuluan
Pada contoh-contoh berikut kita akan menghasilkan graph dari Indonesia dipecah menjadi beberapa pulau dan kemudian ke beberapa propinsi saja secara hirarkis.
Input akan menggunakan file-file teks yang ...
Posted Sep 21, 2011 6:16 AM by Editor KursusInternet
|
posted Sep 23, 2011 4:43 PM by Editor KursusInternet
[
updated Oct 14, 2011 4:54 PM
]
Berikut adalah langkah-langkah kita untuk melakukan instalasi Graphviz - suatu kumpulan aplikasi yang sangat berguna untuk menghasilkan visualisasi graph - pada Windows XP Professional. Download Paket Installer Graphviz- Kunjungi halaman http://www.graphviz.org/Download.php.
- Baca teks lisensi yang terdapat pada halaman tersebut sampai ke bawah Anda akan menemukan link "Agree" dan "Disagree". Klik "Agree" apabila Anda telah mengerti isi dari lisensi tersebut.
- Pada halaman berikutnya, klik link download untuk Windows.
- Klik link download paket Graphviz di bawah bagian "current stable release".
- Simpan pada folder yang Anda inginkan.
- Jalankan aplikasi installer Graphviz yang sudah didownload.
- Klik tombol "Run" pada dialog "Open File - Security Warning".
- Persiapan instalasi akan dimulai.
- Klik tombol "Next" pada dialog yang muncul.
- Pilihlah lokasi instalasi dan juga siapa yang berhak mengakses aplikasi ini. Setelah itu klik tombol "Next".
- Klik kembali tombol "Next" pada dialog selanjutnya untuk memulai instalasi.
- Proses instalasi akan berlangsung. Tunggu beberapa saat sampai instalasi selesai dilakukan.
- Instalasi selesai. Klik tombol "Close".
Pengujian Instalasi- Pada Windows, pilih menu "Start" | "Run".
- Ketik cmd pada bagian "Open" dan klik tombol "OK" untuk memunculkan command prompt.
- Pada dialog command prompt yang muncul ketikkan perintah berikut :
dot -?
- Akan muncul hasil perintah tersebut pada dialog command prompt sebagai berikut :
- Jika sudah muncul hasil seperti di atas, artinya instalasi Anda sudah berhasil.
- Selesai.
|
posted Sep 21, 2011 4:27 AM by Editor KursusInternet
[
updated Sep 27, 2011 10:29 AM
]
Pendahuluan
Penggunaan aplikasi command line pada Graphviz secara general adalah sebagai berikut :
nama_aplikasi [ flags ] [ file-file input ]
dimana flag adalah kumpulan parameter yang akan ditulis pada bagian selanjutnya, sedangkan file-file input adalah file teks yang berisi perintah-perintah yang dimengerti oleh aplikasi terkait.
Daftar Flags
Berikut adalah daftar flag yang disalin langsung dari situs Graphviz :
- -Gname[=value]
- Set a graph attribute, with default value = true.
- -Nname[=value]
- Set a default node attribute, with default value = true.
- -Ename[=value]
- Set a default edge attribute, with default value = true.
- -Klayout
- Specifies which default layout algorithm to use, overriding the default from the command name. For example, running dot -Kneato is equivalent to running neato.
- -Tformat[:renderer[:formatter]]
- Set output language to one of the supported formats. By default, attributed dot is produced.
Depending on how Graphviz was built, there may be multiple renderers for generating a particular output format, and multiple formatters for creating the final output. For example, a typical installation can produce PNG output using either the Cairo or GD library. The desired rendering engine can be specified after a colon. If there are multiple formatting engines available, the desired one can be specified in a similar fashion after the rendering engine. Thus, -Tpng:cairospecifies PNG output produced by Cairo (using the Cairo's default formatter), and -Tpng:cairo:gd specifies PNG output produced by Cairo formatted using the GD library.
If no renderer is specified, or a renderer but no formatter, the default one is invoked. The flag -Tformat: produces a list of all of the renderers available for the specified format, the first one listed with a prefix matching format being the default. Using the -v flag, described below, will print which format, renderer, and formatter are actually used.
- -V
- Emit version information and exit.
- -llibrary
- User-supplied, device-dependent library text. Multiple flags may be given. These strings are passed to the code generator at the beginning of output.
For PostScript output, they are treated as file names whose content will be included in the preamble after the standard preamble. If library is the empty string "", the standard preamble is not emitted.
- -n[num]
- Sets no-op flag in neato. If set, neato assumes nodes have already been positioned and all nodes have a pos attribute giving the positions. It then performs an optional adjustment to remove node-node overlap, depending on the value of the overlap attribute, computes the edge layouts, depending on the value of the splines attribute, and emits the graph in the appropriate format. If num is supplied, the following actions occur:
- num = 1
- Equivalent to -n.
- num > 1
- Use node positions as specified, with no adjustment to remove node-node overlaps, and use any edge layouts already specified by the pos attribute. neato computes an edge layout for any edge that does not have a posattribute. As usual, edge layout is guided by the splines attribute.
-ooutfile
Write output to file outfile. By default, output goes to stdout.
-O
Automatically generate output file names based on the input file name and the various output formats specified by the -Tflags.
-P
Automatically generate a graph that shows the plugin configuration of the current executable. e.g. dot -P -Tps | lpr
-q
Suppress warning messages.
-s[scale]
Set input scale to scale. If this value is omitted, 72.0 is used. This number is used to convert the point coordinate units used in the pos attribute into inches, which is what is expected by neato and fdp. Thus, feeding the output of a graph laid out by one program into neato or fdp almost always requires this flag. Ignored if the -n flag is used.
-v
Verbose mode
-x
In neato, on input, prune isolated nodes and peninsulas. This removes uninteresting graph structure and produces a less cluttered drawing.
-y
By default, the coordinate system used in generic output formats, such as attributed dot, extended dot, plain and plain-ext, is the standard cartesian system with the origin in the lower left corner, and with increasing y coordinates as points move from bottom to top. If the -y flag is used, the coordinate system is inverted, so that increasing values of y correspond to movement from top to bottom.
-?
Print usage information, then exit.
Sumber Referensi
|
|