Coder Social home page Coder Social logo

gladir / webgraph Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 262 KB

Cette commande, écrit en Pascal (Turbo Pascal ou Free Pascal), permet d'afficher un graphique en toile d'araignée à partir de données.

License: MIT License

Pascal 100.00%
command-line-tool free-pascal turbo-pascal turbopascal webgraph

webgraph's Introduction

WEBGRAPH

Cette commande, écrit en Pascal (Turbo Pascal ou Free Pascal), permet d'afficher un graphique en toile d'araignée à partir de données.

Syntaxe

WEBGRAPH [/FORMAT:SVG] source.csv [target.svg]

Paramètres

Nom Description
fichier.CSV Ce paramètre permet d'indiquer le nom du fichier a analyser.
target.svg Ce paramètre permet d'indiquer le nom du fichier allant contenir le SVG.
/FORMAT:SVG Ce paramètre permet de sortir le résultat en format SVG.

Remarques

  • Si le format de sortie n'est pas indiqué par le paramètre /FORMAT, il affichera le résultat à l'écran.
  • Le nombre de sommet est calculé en fonction du nombre de ligne que contiendra le fichier .CSV.
  • Le fichier .CSV à analyser ne doit pas contenir de ligne d'entête et il doit être une suite de texte et de valeur séparé par une virgule. La valeur doit être comprise entre 1 et 5.

Exemples

Prenons pour acquis que le fichier graph.csv à la contenu suivant :

Combatif,3
Courageux,4
Innovateur,2
Precurseur,5
Talentueux,1

L'exemple suivant permet de lancer la commande avec le fichier graph.csv :

WEBGRAPH graph.csv

on obtiendra le résultat suivant :

webgraph-1

Prenons pour acquis que le fichier graph2.csv à la contenu suivant :

Combatif,3
Courageux,4
Innovateur,2
Precurseur,5
Talentueux,1
Arrogant,5

L'exemple suivant permet de lancer la commande avec le fichier graph2.csv :

WEBGRAPH graph2.csv

on obtiendra le résultat suivant :

webgraph-2

webgraph's People

Contributors

gladir avatar

Stargazers

 avatar

Watchers

 avatar

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.