Sha256: 69bd5d3e628f24fd973cc6566d977c91fe723129fb02d85bdb6c442cfbf002d4

Contents?: true

Size: 755 Bytes

Versions: 1

Compression:

Stored size: 755 Bytes

Contents

<% if vertical? %>{<% end %>
<table border="0" align="center" cellspacing="0.5" cellpadding="0" width="<%= NODE_WIDTH + 4 %>">
  <tr><td align="center" valign="bottom" width="<%= NODE_WIDTH %>"><font face="Arial Bold" point-size="11"><%= entity.name %></font></td></tr>
</table>
|
<table border="0" align="left" cellspacing="2" cellpadding="0" width="<%= NODE_WIDTH + 4 %>">
  <% if attributes.any? %>
    <% attributes.each do |attribute| %>
      <tr>
        <td align="left" width="<%= NODE_WIDTH %>" port="<%= attribute %>"><%= attribute %> <font face="Arial Italic" color="grey60"><%= attribute.type_description %></font></td>
      </tr>
    <% end %>
  <% else %>
    <tr><td height="6"></td></tr>
  <% end %>
</table>
<% if vertical? %>}<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-erd-0.2.0 lib/rails_erd/diagram/templates/node.erb