rails-erd icon indicating copy to clipboard operation
rails-erd copied to clipboard

'concentrate' in RailsERD::Diagram::Graphviz::GRAPH_ATTRIBUTES is enabled by default

Open stoffie opened this issue 10 years ago • 5 comments

The concentrate option makes look like the graph more professional, but most of the times will produce human unreadable output. I bother why it's enabled by default. I don't know anything about graphviz and dot, but I've disabled the option and now everything is fine. Is there any reason I'm missing to keep it activated? I'll provide some pictures if required. Thank you for your time

stoffie avatar Apr 03 '14 19:04 stoffie

Please provide

bf4 avatar Sep 04 '14 01:09 bf4

I'm using erd 1.1, the target application is https://github.com/ict4g/SAMo on the branch devel, here is the output. I can't provide the original files here because github only allows images (EDIT: I forgot erd also makes jpgs/png as output and not only pdf files, so i created pdf files and the converted it to pictures eheh). I've encountered the same problem with other rails application but disclosing part of their source would be partially a problem. I'm kind of confused since you didn't notice the problem already: it's easy to encounter it using erd with any non-trivial model

erd_without_concentrate1 erd_with_concentrate1

stoffie avatar Sep 04 '14 11:09 stoffie

We can "easily" add configuration options now. @stoffie which of your two examples is which?

kerrizor avatar Feb 12 '15 18:02 kerrizor

You can see a rendering error on the second image, the line from the 'indicator' model to 'answer' starts as continuous and ends dotted

stoffie avatar Mar 12 '15 14:03 stoffie

This ties in with #256 and #217

kerrizor avatar May 16 '17 13:05 kerrizor