GithubHelp home page GithubHelp logo

gcoop-libre / sugar-graphviz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from osiris/sugar-graphviz

2.0 17.0 1.0 20 MB

draw entity diagram relationships of SugarCRM modules including custom tables

Home Page: http://www.sugarforge.org/projects/sugar-graphviz/

License: GNU General Public License v3.0

Shell 99.13% PHP 0.87%

sugar-graphviz's Introduction

SugarGraphviz

Draw ERD (Entity Relationship Diagram) of SugarCRM Community Edition or SuiteCRM modules including custom tables.

Originally the sugar-graphviz script was tested with versions v4.5, v5.0, v5.1, v5.5 and v6.0 of SugarCRM Community Edition, the first public versión was released on 2009-05-05 in SugarForge

The graph is auto-generated based on the records in the database's relationships table.

date tag description
2022-08-28 v1.0.0 Extras from v1.0.0 released on 2009-05-05 on SugarForge
2024-03-04 v1.1.0 Add parameters (port

Dependencies

You need to have the graphviz package installed and access to a SuiteCRM database. To generate the documentation in PDF, the rst2dpf package is required.

In Debian execute:

apt install default-mysql-client graphviz rst2pdf

Examples

SuiteCRM 8.5 Calls Relationships

SuiteCRM 8.5 Relationships Crop

SuiteCRM 8.5 Relationships Full

Usage

First create file config.php with base configuration or you can also create a symbolic link to the file _config_.php of a SuiteCRM instance and add the -c parameter to read the config.php and specify the name of the module (e.g. calls) in the -m parameter.

Draw single module

  sugar-graphviz.sh -c -m calls

	Left Tables: 12
	Right Tables: 6
	Join Tables: 4
	Total Custom Tables: 7
	Total Tables: 29
	Simple Relationhips: 16
	Left Join Relationhips: 4
	Right Join Relationhips: 4
	Total Relationships: 24
	Write suitecrm85-relationships-calls.png
	suitecrm85-relationships-calls.png PNG 1377x631 1377x631+0+0 8-bit sRGB 106817B 0.000u 0:00.000

Draw all modules

  sugar-graphviz.sh -c -m all

	Left Tables: 50
	Right Tables: 85
	Join Tables: 56
	Total Custom Tables: 8
	Total Tables: 199
	Simple Relationhips: 329
	Left Join Relationhips: 60
	Right Join Relationhips: 116
	Total Relationships: 505
	Write suitecrm85-relationships.png
	suitecrm85-relationships.png PNG 14279x4168 14279x4168+0+0 8-bit sRGB 9.05379MiB 0.000u 0:00.000

License

GNU General Public License, GPLv3.

Author Information

Originally the sugar-graphviz script was tested with versions v4.5, v5.0, v5.1, v5.5 and v6.0 of SugarCRM Community Edition, the first public versión was released on 2009-05-05 in SugarForge

This repository was created in 2010 by Osiris Alejandro Gomez, worker cooperative of gcoop Cooperativa de Software Libre.

sugar-graphviz's People

Contributors

osiris avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ddeitz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.