Support Requests: Browse | Submit New | Admin

[#21425] Arrows in 1:N relationships

Date:
2008-08-03 19:40
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Arrows in 1:N relationships

Detailed description
When creating model graphs, I think the little arrows are inverted, the code in line 116 of diagram_graph.rb:

options += 'arrowtail=crow, arrowhead=dot, dir=both' 

should be:

options += 'arrowtail=dot, arrowhead=crow, dir=both' 

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-11-18 18:47
Sender: Richard Hurt

I have a patch to fix this issue.  Its not anything special but
it seems to work.

--- diagram_graph.rb	2008-11-18 13:46:09.000000000 -0500
+++ diagram_graph.rb.NEW	2008-11-18 13:45:56.000000000 -0500
@@ -113,7 +113,7 @@
            options += 'arrowtail=odot, arrowhead=dot, dir=both'
       when 'one-many'
 	   #options += 'taillabel="n"'
-           options += 'arrowtail=crow, arrowhead=dot, dir=both'
+           options += 'arrowtail=dot, arrowhead=crow, dir=both'
       when 'many-many'
            #options += 'taillabel="n",
headlabel="n", arrowtail="normal"'
            options += 'arrowtail=crow, arrowhead=crow,
dir=both'
Date: 2008-11-18 18:36
Sender: Richard Hurt

+1!

OK, I thought I was losing my mind for a minute. I am having
this same problem and have been studying my output for half a
day trying to find the problem with my models.  It turns out
that the models are fine; Railroad is backwards.  :/

Thanx!
  Richard
Date: 2008-09-12 11:22
Sender: Matthew Williams

+1

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item