lib/rails_erd/diagram/graphviz.rb in rails-erd-1.6.1 vs lib/rails_erd/diagram/graphviz.rb in rails-erd-1.7.0
- old
+ new
@@ -48,10 +48,10 @@
record: "node.record.erb"
} # @private :nodoc:
NODE_WIDTH = 130 # @private :nodoc:
- FONTS = Config.font_names_based_on_os
+ FONTS = Config.font_names_based_on_os.merge(RailsERD.options[:fonts])
# Default graph attributes.
GRAPH_ATTRIBUTES = {
rankdir: :LR,
ranksep: 0.5,