lib/templates/default.dot.erb in ast2dot-0.1.0 vs lib/templates/default.dot.erb in ast2dot-0.1.1
- old
+ new
@@ -1,6 +1,13 @@
digraph ast_graph {
graph [ dpi = 200 ];
+
+ node [
+ fontsize = 14,
+ shape = box,
+ style = "bold,rounded",
+ margin = 0.2
+ ];
<%- node_labels.each do |idx, label| %>
<%= %Q(#{idx} [label="#{label}"];); -%>
<% end %>
<%- graph_edges.each do |edge| %>
<%= %Q(#{edge[:from]} -> #{edge[:to]}); -%>