Number: 1225
Title: Problem with labels on edges longer than 30 characters
Submitter: Franz Wolfhagen
Date: Thu Nov 8 09:22:04 2007
Subsys: Dot
Version: 2.14.1
System: *-*-*
Severity: minor
Problem:
Having the associated dot file :

Compiling this to any graphic format will show a strange loop and overlapping labels as long as the labels on the edges are longer than 30 characters. Reducing the labels to 30 characters removes the overlapping. Reducing the labels to 27 characters removes the strange loop.

Regards Franz Wolfhagen
Input:

digraph "mytest" {

suspendPerson [URL="suspendPerson.html",shape=record,style=filled,fillcolor=chocolate,label="{AND|suspendPerson|EXTENSION|AND}"]
restorePerson [URL="restorePerson.html",shape=record,style=filled,fillcolor=chocolate,label="{AND|restorePerson|EXTENSION|AND}"]
ENFORCEPOLICYFORPERSON [URL="ENFORCEPOLICYFORPERSON.html",shape=record,style=filled,fillcolor=chocolate,label="{AND|ENFORCEPOLICYFORPERSON|EXTENSION|AND}"]
MODIFYPERSON [URL="MODIFYPERSON.html",shape=record,style=filled,fillcolor=chocolate,label="{AND|MODIFYPERSON|EXTENSION|AND}"]
MODIFYPERSON:s -> suspendPerson:n[URL="id7656587230802708112.html",label="Script : suspendPerson.get() ...",color=black]
MODIFYPERSON:s -> restorePerson:n[URL="id7656577029731760268.html",label="Script : suspendPerson.get() ...",color=black]
MODIFYPERSON:s -> ENFORCEPOLICYFORPERSON:n[URL="id7708716051755177936.html",label="Script : ((suspendPerson.get(...",color=black]
restorePerson:s -> ENFORCEPOLICYFORPERSON:n[label="true",color=green]
suspendPerson:s -> ENFORCEPOLICYFORPERSON:n[label="true",color=green]

}
Output file: b1225.jpg
Comments:
[erg] There appear to be 3 problems here: the clipping box, the weird spline, and the label overlap.
Owner: *
Status: *