![]() To custom attributes with a prefixed "x-format-", f.i. ![]() Work in making Graph::Easy an universalįormat supporting as much as possible is still in progress.Īttributes that are not yet supported natively by Graph::Easy are converted This means that only features and attributes that are actually valid in Graph::Easy graph, and then to the desired output format. In addition, the conversion process always converts the input first into an Please note that it is impossible to convert 100% from one format to anotherįormat since every graph language out there has features that are unique to Given exactly one of these options, produces the desired output format.Įcho " - car ->, " | graph-easyĮcho " - car ->, " | graph-easy -dotĮcho " - car ->, " | graph-easy -vcgĮdge: Įcho " - car ->, " | graph-easy -graphml png, -dot, -vcg, -gdl, -txt, -ascii, -boxart, -html, -svg Graph-easy input.txt -output=test.html -debug=1 Warning, this will generate hugeĪmounts of hard to understand output on STDERR. OTHER ARGUMENTS "graph-easy" supports a few more arguments in addition to the ones from above: Graph-easy graph.txt -dot | dot -Tpng -o graph.png The following two examples are equivalent: Note that for SVG output, you need to install the moduleĪs a shortcut, you can also specify the output format as 'png', this willĬause "graph-easy" to pipe the input in graphviz format to the "dot" program In addition, "Graph::Easy" can also create layouts of graphs in The output can be a dump of the graph in one of the following formats: The formats are automatically detected, regardless of the input file name,īut you can also explicitly declare your input to be in one specific It understands the following formats as input: The input is expected to be encoded in UTF-8, the output will Nodes and edges, not a pie chart :-) and then converts this to the desiredīy default, the input will be read from STDIN, and the output will go to Write info regarding the conversion process to STDERR.ĭESCRIPTION "graph-easy" reads a description of a graph (a connected network of Example:Ĭonversion to DOT, VCG/GDL, GraphML or plain text ignores the timeout. If the layout does notįinish in this time, it will be aborted. Set the timeout in seconds for the Graph::Easy layouter that generatesĪSCII, HTML, SVG or boxart output. Write various statistics about the input graph to STDERR. Useful in combination with "-debug=1" or "-stats". Input will only be parsed, without any output generation. Some choices are ``neato'', ``twopi'', ``fdp'' or ``circo''. The external program (default: ``dot'') used to render the outputįormats like "png", "jpg" etc. You can also use ONE argument of the form "-from_dot", etc. If not specified, the input format is auto-detected. You can also use ONE argument of the form "-as_ascii" or "-ascii". The default format will be determined by the output filename extension,Īnd is "ascii", if the output filename was not set. Ps2 Postscript with PDF notations (see graphviz documentation) Specified with the -renderer option (default: dot): In addition, the following formats are understood and piped through the program Gdl GDL (Graph Description Language) text Vcg VCG (Visualizing Compiler Graphs - a subset of GDL) text The format will be auto-detected, override it with -from. Print the full documentation, not just this short overview. Here are the most important options, more are listed in the full Graph-easy graph.txt -as_dot | dot -Tpng -o graph.png ![]() Graph-easy -html -output=mygraph.html graph.txt Graph-easy ]Įcho " - car -> " | graph-easy Graph-easy - render/convert graphs in/from various formatsĬonvert between graph formats and layout/render graphs: Contents NAME SYNOPSIS ARGUMENTS DESCRIPTION OTHER ARGUMENTS EXAMPLES ASCII output Graphviz example output VCG example output GDL example output GraphML example output CAVEATS LICENSE AUTHOR SEE ALSO NAME
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |