Sha256: a71c2fd6368c2e2cc16afa2b624b381e3dab0bd4874cac8dff511dfad4642c66

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

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]}); -%>
<% end %>
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ast2dot-0.1.1 lib/templates/default.dot.erb