Graphviz减少图的高度

时间:2014-04-29 23:56:06

标签: graphviz

我的图表存在一些问题:我希望减小它的大小,因此它可以在高效的空间中打印。来源如下:

digraph G {
 graph[ratio=0.6];
 SANGEBOT;
 PERSON;
 STUDIENGANG;
 KB;
 KB_MODUL;
 MODUL;
 PRUEFUNG;
 PE;
 SEMESTER;
 HISTORY;
 ETHISTORY;
 LV;
 LV_PE;

 SANGEBOT -> PERSON  [style=bold,label="TABLE_BETREUER"];
 SANGEBOT -> PERSON  [style=bold,label="TABLE_PRUEFER"];
 SANGEBOT -> PERSON  [style=bold,label="TABLE_DOZENT"];
 NEU_LV -> PERSON  [style=bold,label="NEU_DOZENT"];
 NEU_LV -> PERSON  [style=bold,label="NEU_BETREUER"];
 LV -> PERSON  [style=bold,label="TABLE_APARTNER_LV"];
 MODUL -> PERSON  [style=bold,label="TABLE_APARTNER_MODUL"];
 NEU_LV -> PERSON  [style=bold,label="NEU_PRUEFER"];
 HISTORY -> SEMESTER  [style=bold,label="SEMESTER"];
 ETHISTORY -> SEMESTER  [style=bold,label="SEMESTER"];
 NEU_LV -> PERSON  [style=bold,label="APARTNER"];
 NEU_LV -> SEMESTER  [style=bold,label="SEMESTER"];
 NEU_LV -> KB  [style=bold,label="KB1_INF_MSC"];
 NEU_LV -> KB  [style=bold,label="KB2_INF_MSC"];
 NEU_LV -> MODUL  [style=bold,label="MODUL_INF_ALT"];
 NEU_LV -> MODUL  [style=bold,label="MODUL_INF_BSC"];
 NEU_LV -> MODUL  [style=bold,label="MODUL_INF_MSC"];
 NEU_LV -> MODUL  [style=bold,label="MODUL_ET"];
 NEU_LV -> MODUL  [style=bold,label="MODUL_TI_BSC"];
 NEU_LV -> MODUL  [style=bold,label="MODUL_TI_MSC"];
 NEU_LV -> KB  [style=bold,label="KB1_TI_MSC"];
 NEU_LV -> KB  [style=bold,label="KB2_TI_MSC"];
 KB -> STUDIENGANG  [style=bold,label="SG"];
 KB -> SEMESTER  [style=bold,label="GUELTIG_VON"];
 KB -> SEMESTER  [style=bold,label="GUELTIG_BIS"];
 KB_MODUL -> KB  [style=bold,label="KB"];
 KB_MODUL -> MODUL  [style=bold,label="MODUL"];
 KB_MODUL -> SEMESTER  [style=bold,label="GUELTIG_VON"];
 KB_MODUL -> SEMESTER  [style=bold,label="GUELTIG_BIS"];
 LV_PE -> LV  [style=bold,label="LV"];
 LV_PE -> PE  [style=bold,label="PE"];
 LV_PE -> SEMESTER  [style=bold,label="GUELTIG_VON"];
 LV_PE -> SEMESTER  [style=bold,label="GUELTIG_BIS"];
 PRUEFUNG -> MODUL  [style=bold,label="MODUL"];
 PRUEFUNG -> PE  [style=bold,label="PE"];
 PRUEFUNG -> SEMESTER  [style=bold,label="GUELTIG_VON"];
 PRUEFUNG -> SEMESTER  [style=bold,label="GUELTIG_BIS"];
 SANGEBOT -> LV  [style=bold,label="LV"];
 SANGEBOT -> SEMESTER  [style=bold,label="SEMESTER"];
 MODUL -> SEMESTER  [style=bold,label="GUELTIG_VON"];
 MODUL -> SEMESTER  [style=bold,label="GUELTIG_BIS"];
 STUDIENGANG -> SEMESTER  [style=bold,label="GUELTIG_VON"];
 STUDIENGANG -> SEMESTER  [style=bold,label="GUELTIG_BIS"];
 PERSON -> SEMESTER  [style=bold,label="GUELTIG_VON"];
 PERSON -> SEMESTER  [style=bold,label="GUELTIG_BIS"];
 LV -> SEMESTER  [style=bold,label="GUELTIG_VON"];
 LV -> SEMESTER  [style=bold,label="GUELTIG_BIS"];
 PE -> SEMESTER  [style=bold,label="GUELTIG_VON"];
 PE -> SEMESTER  [style=bold,label="GUELTIG_BIS"];
}

结果如下:Result。有谁知道如何制作更小的图表?谢谢你的帮助!

0 个答案:

没有答案