ruby-graphviz 0.9.9 → 0.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +112 -0
- data/examples/dot/dotgraph.dot +28 -0
- data/examples/dot/rank.dot +6 -0
- data/examples/dot/test_parse.rb +13 -0
- data/examples/hello.png +0 -0
- data/examples/maketest.bat +5 -0
- data/examples/maketest.sh +4 -0
- data/examples/sample13b.rb +48 -0
- data/examples/sample33.rb +43 -0
- data/examples/sample34.rb +29 -0
- data/examples/sample35.rb +43 -0
- data/examples/sample36.rb +35 -0
- data/examples/sample40.rb +46 -0
- data/examples/simpsons.gv +69 -0
- data/lib/graphviz/constants.rb +2 -2
- data/lib/graphviz/core_ext.rb +20 -0
- data/lib/graphviz/dot.treetop +8 -0
- data/lib/graphviz/family_tree/couple.rb +52 -0
- data/lib/graphviz/family_tree/generation.rb +25 -0
- data/lib/graphviz/family_tree/person.rb +70 -0
- data/lib/graphviz/family_tree.rb +46 -0
- data/lib/graphviz/parser.rb +42 -13
- data/lib/graphviz.rb +111 -105
- metadata +34 -11
- data/ChangeLog.rdoc +0 -95
data/ChangeLog.rdoc
DELETED
@@ -1,95 +0,0 @@
|
|
1
|
-
0.9.9 :
|
2
|
-
* Add graph as an accessor to allow you to set global graph attributs (like edge and node)
|
3
|
-
* Add each_node, each_edge, each_graph (thanks to @metellius) and graph_count
|
4
|
-
* Issue #9 (partial) - Solution : by default, a node will have his label set with the node ID)
|
5
|
-
|
6
|
-
0.9.8 :
|
7
|
-
* Update graph and node posibility to set properties (see sample28.rb)
|
8
|
-
* Issue #7: Path option is never being used to find the executable
|
9
|
-
* Adding classes to check if the attributes are in the correct type
|
10
|
-
* Issue #8: dots in href are escaped with backslash, which corrupts the URL (see sample29.rb)
|
11
|
-
* Add posibility to use external libraries (see sample30.rb)
|
12
|
-
* Add options -u and -s to ruby2gv
|
13
|
-
* Add gem2gv
|
14
|
-
|
15
|
-
0.9.7 :
|
16
|
-
* Issue #2: Small bug correction in escape_path_containing_blanks (by Andreas Ronge)
|
17
|
-
* Issue #4: New find_executable (by reactive)
|
18
|
-
* Issue #3: Tempfiles created in current working directory only in Windows
|
19
|
-
* Issue #6: Respect "none" format in output options hash and respect String output-filename when the "none" format is selected. See examples/sample27.rb (by Dave Burt)
|
20
|
-
|
21
|
-
0.9.6 :
|
22
|
-
* jRuby support (by obruening)
|
23
|
-
* Issue #1 : STDOUT in binmode
|
24
|
-
|
25
|
-
0.9.5 :
|
26
|
-
* Remove 'mkmf' dependency
|
27
|
-
* GraphViz::Edge#[] modification
|
28
|
-
* Small correction to escape the dot ('.') character (by Miguel Cabrera)
|
29
|
-
|
30
|
-
0.9.4 :
|
31
|
-
* Escape nodes and edges attributs
|
32
|
-
* GraphViz::escape corrections (by Dave Burt)
|
33
|
-
* Add :errors option to set level of message suppression (default : suppress warning messages)
|
34
|
-
|
35
|
-
0.9.3 :
|
36
|
-
* Minor bug correction for Windows
|
37
|
-
* Use Open3.popen3 if installed, else use IO.popen (by Dave Burt)
|
38
|
-
* Add '-', '>' and '>>' has aliases of '<<' to create an edge.
|
39
|
-
|
40
|
-
0.9.2 :
|
41
|
-
* Escape nodes (by Dave Burt)
|
42
|
-
* Handle errors from graphviz command (by Dave Burt)
|
43
|
-
* Output as string (if String class is passed as file i.e. output(:pdf => String)) (by Dave Burt)
|
44
|
-
|
45
|
-
0.9.1 :
|
46
|
-
* Bugs corrections
|
47
|
-
* Add the ability to create edge like that : node1 << node2 << node3 ...
|
48
|
-
* Complete README
|
49
|
-
* Add a DOT parser. This parser has a lot of limitations. So don't use it in a production context !
|
50
|
-
* :output and :file options are deprecated, please use :<format> => :<file>
|
51
|
-
* You can now specify multiple outputs via :<format> => :<file> (see sample 22).
|
52
|
-
|
53
|
-
0.9.0 :
|
54
|
-
* Add fdp example (sample 15)
|
55
|
-
* Add edge between cluster and node and cluster and cluster support
|
56
|
-
* GraphViz.add_node now support array (sample 16)
|
57
|
-
* Bug correction in GraphViz.output (sample 19)
|
58
|
-
* Add GraphViz#default to set default options (:use, :path and :output)
|
59
|
-
* Add possibility to set node or edge attribut via :
|
60
|
-
node.<attribut>=<value> or node.<attribut>( <value> )
|
61
|
-
adge.<attribut>=<value> or adge.<attribut>( <value> )
|
62
|
-
* Add GraphViz::Edge.set and GraphViz::Node.set
|
63
|
-
* Add sample 20
|
64
|
-
* Add GraphViz.node_count and GraphViz.edge_count by Daniel Cadenas Nión
|
65
|
-
|
66
|
-
0.8.2 :
|
67
|
-
* Update Node, Edge and Graph Attributes (see http://www.graphviz.org/doc/info/attrs.html)
|
68
|
-
* Bugs corrections
|
69
|
-
|
70
|
-
0.8.1 :
|
71
|
-
* Documentation
|
72
|
-
|
73
|
-
0.8.0 :
|
74
|
-
* Add all the features of the current graphviz version
|
75
|
-
|
76
|
-
0.7.0 :
|
77
|
-
* Add option "path" to output
|
78
|
-
|
79
|
-
0.6.0 :
|
80
|
-
* Add undirected graph support
|
81
|
-
|
82
|
-
0.5.0 :
|
83
|
-
* Preserve the original order of creation of nodes and edges
|
84
|
-
|
85
|
-
0.4.0 :
|
86
|
-
* Add HTML-Labels
|
87
|
-
|
88
|
-
0.3.0 :
|
89
|
-
* Bugs corrections
|
90
|
-
|
91
|
-
0.2.0 :
|
92
|
-
* Pure ruby
|
93
|
-
|
94
|
-
0.1.0 :
|
95
|
-
* Initial version
|