All Projects → RomanKrasavtsev → Rails Erd D3

RomanKrasavtsev / Rails Erd D3

Licence: mit
Ruby gem for creating entity–relationship diagram with D3.js for your Rails application 📊

Projects that are alternatives of or similar to Rails Erd D3

Rails5 application template
Rails Application Template
Stars: ✭ 17 (-32%)
Mutual labels:  rails
D3 Dot Graph
This module provides D3js compatible library to parse and load files in graphviz DOT (.dot) (graph description language) format.
Stars: ✭ 23 (-8%)
Mutual labels:  d3js
Rails Routes
Enable config/routes/*.rb on your Rails application.
Stars: ✭ 24 (-4%)
Mutual labels:  rails
D3fc
A collection of components that make it easy to build interactive charts with D3
Stars: ✭ 898 (+3492%)
Mutual labels:  d3js
Rails Api And Angularjs
Integration between rails and angularjs which includes rspec tests.
Stars: ✭ 22 (-12%)
Mutual labels:  rails
Datagrid
Gem to create tables grids with sortable columns and filters
Stars: ✭ 921 (+3584%)
Mutual labels:  rails
Leaky Gems
A list of Ruby gems that have known memory leaks (and issues)
Stars: ✭ 895 (+3480%)
Mutual labels:  rails
Muscle man
💪🏻It is a chatbot which can receive your practice record!
Stars: ✭ 25 (+0%)
Mutual labels:  rails
Foundation Datetimepicker Rails
foundation-datetimepicker-rails
Stars: ✭ 22 (-12%)
Mutual labels:  rails
Rails5 Api Starter
RESTful API Starter Kit based on Rails 5
Stars: ✭ 24 (-4%)
Mutual labels:  rails
Libraries.io
📚 The Open Source Discovery Service
Stars: ✭ 903 (+3512%)
Mutual labels:  rails
Harvest
zec cash mining dashboard for the harvest project using nanopool.org
Stars: ✭ 22 (-12%)
Mutual labels:  d3js
Milog
Milog 是一基于 Ruby on Rails 的个人博客网站
Stars: ✭ 24 (-4%)
Mutual labels:  rails
Api schema
DSL for describing APIs and generate swagger json
Stars: ✭ 18 (-28%)
Mutual labels:  rails
Activejob Scheduler
A background job scheduler for any queue backend
Stars: ✭ 24 (-4%)
Mutual labels:  rails
Administrate Field Ckeditor
A plugin for adding CKEditor support to Administrate
Stars: ✭ 17 (-32%)
Mutual labels:  rails
Partially useful
📑 👀 Helps identifying partials in verbose HTML source code.
Stars: ✭ 23 (-8%)
Mutual labels:  rails
Dotenv sekrets
Seamlessly encrypt/decrypt/edit your rails Dotenv files with the help of the Sekrets gem
Stars: ✭ 25 (+0%)
Mutual labels:  rails
Active decorator
ORM agnostic truly Object-Oriented view helper for Rails 4, 5, and 6
Stars: ✭ 928 (+3612%)
Mutual labels:  rails
Best Practices Badge
🏆Core Infrastructure Initiative Best Practices Badge
Stars: ✭ 928 (+3612%)
Mutual labels:  rails

Build Status Gem Version Code Climate GitHub license Downloads

Rails-ERD-D3

Create entity–relationship diagram with D3.js for your Rails application.

Demo

https://romankrasavtsev.github.io/rails-erd-d3/

Features

Rails-ERD-D3 gem contains the following functionality:

  • View models
  • View associations
  • View table structure
  • Filter where you could hide any models
  • Zoom in and zoom out
  • Rotate models

Installation

Add these lines to your application's Gemfile:

group :development do
  gem "rails-erd-d3"
end

Install gem:

$ bundle install

And then execute for creating file erd.html:

$ bundle exec rails-erd-d3

Todo

  • Add table name
  • Add polymorphic links
  • Freeze
    • On
      node.call(d3.drag()
            .on('start', dragstarted)
            .on('drag', dragged)
            .on('end', dragended));
      
    • Off
      node.call(d3.drag().on('drag', null))
      
  • Add link to another model in model window
  • Add tests
    • ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"
  • Sort by:
    • number of connections
    • number of entries in the table
  • Show table structure on the diagram
  • Safe as jpg, png
  • Dependent destroy

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/RomanKrasavtsev/rails-erd-d3.

License

The gem is available as open source under the terms of the MIT License.

Author

Roman Krasavtsev, @romankrasavtsev

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].