info:dot:homepage

Dot / GraphViz: diagram editor

Graphviz (diminutif de Graph Visualization Software) est un ensemble d'outils open source créés par les laboratoires de recherche d'AT&T qui manipulent des graphes définis à l'aide de scripts suivant le langage DOT. Cet ensemble fournit aussi des bibliothèques permettant l'intégration de ces outils dans diverses applications logicielles.

Graphviz est un logiciel libre distribué suivant l'Eclipse Public License.

Source: https://fr.wikipedia.org/wiki/Graphviz

graph {
		a -- b;
		b -- c;
		a -- c;
		d -- c;
		e -- c;
		e -- a;
		a -- z;
	}

graphviz_ex.zip

Un petit add-on bien pratique pour visualiser et exporter (svg et xml) vos fichiers .dot depuis votre éditeur favori, atom editor

https://github.com/sverweij/atom-graphviz-preview-plus

CTRL-SHIFT-V

~/bin/graph

#! /usr/bin/bash

###########################################################################
#   Script to grate graphviz images from dot files                        #
#   Usage:                                                                #
#                                                                         #
#   Copyright information                                                 #
#                                                                         #
#	Copyright (C) 2016 Fred Radeff <fradeff@akademia.ch>                  #
#                                                                         #
#   License                                                               #
#                                                                         #
#	This program is free software; you can redistribute it and/or modify  #
#	it under the terms of the GNU General Public License as published by  #
#	the Free Software Foundation; either version 2 of the License, or     #
#	(at your option) any later version.                                   #
#                                                                         #
#	This program is distributed in the hope that it will be useful,       #
#	but WITHOUT ANY WARRANTY; without even the implied warranty of        #
#	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the          #
#	GNU General Public License for more details.                          #
#                                                                         #
#	You should have received a copy of the GNU General Public License     #
#	along with this program. If not, see <http://www.gnu.org/licenses/>.  #
#                                                                         #
###########################################################################

echo "Create a graphviz images from dot files"
echo "Choose format;\
\
    bmp : Windows Bitmap Format\
    gif : GIF\
    tif/tiff : TIFF (Tag Image File Format)\
    jpg/jpeg/jpe : JPEG\
    png : Portable Network Graphics format\
    svg/svgz : Scalable Vector Graphics\
    dia : Dia format\
    fig : FIG\
    hpgl : HP-GL/2\
    ico : Icon Image File Format\
    ps : PostScript\
    ps2 : PostScript for PDF\
    pdf : Portable Document Format (PDF)"
    
read format
echo "which dot file?"

ls *.dot
read file
        
dot -T$format $file -o $file.$format 

Autres logiciels similaires

https://www.yworks.com/products/yed (OLU - unige)

  • info/dot/homepage.txt
  • Dernière modification : 2018/07/18 09:46
  • de radeff