私はGraphvizの初心者であり、エンティティの中心にツリーを描画しようとしています(twopi
コマンドを使用しています)。
- 重ね
overlap=true
たラベルの周りにたくさんのスペースがあっても、重ねると重なります。 - 貼る
overlap=false
とラベルが小さくなりすぎます。
重複せずに最初の状況をどのように持つことができますか?
完全なコード:
digraph g {
graph [ fontname = "Helvetica",
fontsize = 10,
size = "500,500",
splines=true,
overlap=false,
ratio=.5 ];
node [ shape = plaintext,
fontname = "Helvetica" ];
root="owl:Thing";
"owl:Thing" -> "Work";
"Work" -> "WrittenWork";
"Work" -> "Software";
"Work" -> "Website";
"Work" -> "Film";
"owl:Thing" -> "Agent";
"Agent" -> "Organisation";
"Organisation" -> "Non-ProfitOrganisation";
"Organisation" -> "GeopoliticalOrganisation";
"Organisation" -> "SambaSchool";
"Agent" -> "Person";
"Person" -> "Athlete";
"Person" -> "OfficeHolder";
"Person" -> "Astronaut";
"Person" -> "Philosopher";
"Person" -> "Architect";
"owl:Thing" -> "Drug";
"owl:Thing" -> "Place";
"Place" -> "SiteOfSpecialScientificInterest";
"Place" -> "PopulatedPlace";
"PopulatedPlace" -> "Country";
"PopulatedPlace" -> "Continent";
"PopulatedPlace" -> "Atoll";
"Place" -> "ProtectedArea";
"Place" -> "ArchitecturalStructure";
"Place" -> "HistoricPlace";
"Place" -> "NaturalPlace";
"NaturalPlace" -> "Mountain";
"NaturalPlace" -> "Volcano";
"NaturalPlace" -> "MountainRange";
}
ありがとうございました、
アレッシオ