Skip Menu |

This queue is for tickets about the Graph-Easy CPAN distribution.

Report information
The Basics
Id: 95955
Status: new
Priority: 0/
Queue: Graph-Easy

People
Owner: Nobody in particular
Requestors: nospam-abuse [...] bloodgate.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Layouter fails to detect "overlapping nodes"
Date: Sun, 25 May 2014 08:44:00 -0400
To: bug-Graph-Easy [...] rt.cpan.org
From: "Tels" <nospam-abuse [...] bloodgate.com>
In the case of: $ echo "[A] [B] { origin: A; offset: 1,0; } [C] { origin: A; offset: 1,0; }" |perl -Ilib bin/graph-easy Both B and C occupy the same space. The layouter fails to detect this condition and endlessly retries the layout until the timeout occurs. The expected behaviour would be: If failed to place C (or B), check that the already placed node and the currently to be placed node have a grandparent and both are the same (here: A) and if so, emit an error and abort the layout process. Proposed text: "Error: Relative placement of B overlaps with C, cannot finish layout. Please correct input." Best regards, Tels