nqiu / graph-easy Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ironcamel/graph-easy
Convert or render graphs (as ASCII, HTML, SVG or via Graphviz)
Home Page: http://p3rl.org/Graph::Easy
License: Other
This project forked from ironcamel/graph-easy
Convert or render graphs (as ASCII, HTML, SVG or via Graphviz)
Home Page: http://p3rl.org/Graph::Easy
License: Other
Graph-Easy ========== This module lets you create graphs (nodes/vertices connected by edges/arcs, not pie charts!) and then lay them out on a flat surface. Once laid out, the graph can be converted into various output formats like ASCII art, HTML or SVG. You can also output the graph in graphviz format and let dot/neato/circo etc. do the layout for you. Graphs can be either generated by Perl code, parsed from a simple text format that is human readable and maintainable, or parsed from Graphviz code. For instance this input: [ Bonn ] -> [ Berlin ] [ Berlin ] -> [ Frankfurt ] { border: 1px dotted black; } [ Frankfurt ] -> [ Dresden ] [ Berlin ] ..> [ Potsdam ] [ Potsdam ] => [ Cottbus ] would be rendered in ASCII as: +------+ +--------+ ............. +---------+ | Bonn | --> | Berlin | --> : Frankfurt : --> | Dresden | +------+ +--------+ ............. +---------+ : : v +---------+ +---------+ | Potsdam | ==> | Cottbus | +---------+ +---------+ The HTML or SVG output would look similiar except be more pretty :o) Manual ====== The manual is contained in the extra package Graph::Easy::Manual, which also contains a Pod2HTML converter, that can handle embedded graphs in POD files. You can also view the manual online at: http://bloodgate.com/perl/graph/manual/ Many more examples and documentation, especially on integrating this into a Mediawiki installation, can be found at: http://bloodgate.com/perl/graph/ Have fun! SVG Output ========== You also might want to install Graph::Easy::As_svg from CPAN, it provides you with the ability to generate SVG (Scalable Vector Graphics) files. Installation ============ See INSTALL on how to install this module. AUTHOR ====== Copyright (C) 2004 - 2008 by Tels http://bloodgate.com/ This library is free software; you can redistribute it and/or modify it under the same terms of the GPL version 2. This module was formerly known as Graph-Simple, but has been renamed because it can also easily create non-simple graphs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.