ruby-graphviz 1.2.4 → 1.2.5
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.
- checksums.yaml +4 -4
- data/.all-contributorsrc +309 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +30 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.gitignore +3 -0
- data/.travis.yml +6 -19
- data/.yardopts +19 -0
- data/CHANGELOG.md +265 -0
- data/{COPYING.rdoc → COPYING.md} +7 -6
- data/README.md +297 -0
- data/Rakefile +22 -23
- data/lib/graphviz.rb +10 -4
- data/lib/graphviz/constants.rb +2 -1
- data/lib/graphviz/core_ext.rb +0 -7
- data/lib/graphviz/edge.rb +1 -1
- data/ruby-graphviz.gemspec +11 -13
- metadata +61 -18
- data/AUTHORS.rdoc +0 -41
- data/CHANGELOG.rdoc +0 -307
- data/README.rdoc +0 -203
data/lib/graphviz/core_ext.rb
CHANGED
@@ -54,11 +54,4 @@ class Hash
|
|
54
54
|
yield( k, v ) unless (key_table.size > 0 and key_table.include?(k)) or (key_regexp.size > 0 and k.to_s.match(key_regexp)) or (value_table.size > 0 and value_table.include?(v)) or (value_regexp.size > 0 and v.to_s.match(value_regexp))
|
55
55
|
end
|
56
56
|
end
|
57
|
-
|
58
|
-
unless self.method_defined? :key
|
59
|
-
# Add Hash#key to Ruby < 1.9
|
60
|
-
def key(v)
|
61
|
-
index(v)
|
62
|
-
end
|
63
|
-
end
|
64
57
|
end
|
data/lib/graphviz/edge.rb
CHANGED
@@ -150,7 +150,7 @@ class GraphViz
|
|
150
150
|
# Add edge options
|
151
151
|
# use edge.<option>=<value> or edge.<option>( <value> )
|
152
152
|
def method_missing( idName, *args, &block ) #:nodoc:
|
153
|
-
return if idName == :to_ary
|
153
|
+
return if idName == :to_ary
|
154
154
|
xName = idName.id2name
|
155
155
|
|
156
156
|
self[xName.gsub( /=$/, "" )]=args[0]
|
data/ruby-graphviz.gemspec
CHANGED
@@ -20,30 +20,28 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
21
21
|
s.require_paths = ["lib"]
|
22
22
|
|
23
|
-
s.
|
24
|
-
s.
|
25
|
-
s.extra_rdoc_files = ["README.rdoc", "COPYING.rdoc", "AUTHORS.rdoc", "CHANGELOG.rdoc"]
|
26
|
-
s.rdoc_options = ["--title", "Ruby/GraphViz", "--main", "README.rdoc"]
|
23
|
+
s.extra_rdoc_files = ["README.md", "COPYING.md", "CHANGELOG.md"]
|
24
|
+
s.rdoc_options = ["--title", "Ruby/GraphViz", "--main", "README.md"]
|
27
25
|
s.post_install_message = %{
|
28
|
-
You need to install GraphViz (
|
26
|
+
You need to install GraphViz (https://graphviz.org) to use this Gem.
|
29
27
|
|
30
28
|
For more information about Ruby-Graphviz :
|
31
|
-
* Doc
|
32
|
-
* Sources
|
33
|
-
*
|
34
|
-
|
35
|
-
Last (important) changes :
|
36
|
-
Ruby-Graphviz no longer supports Ruby < 1.9.3
|
29
|
+
* Doc: https://rdoc.info/github/glejeune/Ruby-Graphviz
|
30
|
+
* Sources: https://github.com/glejeune/Ruby-Graphviz
|
31
|
+
* Issues: https://github.com/glejeune/Ruby-Graphviz/issues
|
37
32
|
}
|
38
33
|
|
39
|
-
s.
|
34
|
+
s.add_dependency "rexml"
|
35
|
+
|
40
36
|
s.add_development_dependency 'rake'
|
41
37
|
s.add_development_dependency 'rdoc'
|
38
|
+
s.add_development_dependency 'yard'
|
39
|
+
s.add_development_dependency 'github_changelog_generator'
|
42
40
|
s.add_development_dependency 'bundler'
|
43
41
|
s.add_development_dependency 'ronn' unless RUBY_PLATFORM == 'java'
|
44
42
|
s.add_development_dependency 'test-unit'
|
45
43
|
|
46
|
-
s.required_ruby_version = '>=
|
44
|
+
s.required_ruby_version = '>= 2.4.0'
|
47
45
|
|
48
46
|
s.requirements << 'GraphViz'
|
49
47
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-graphviz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregoire Lejeune
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rexml
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rake
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +52,34 @@ dependencies:
|
|
38
52
|
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: yard
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: github_changelog_generator
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
41
83
|
- !ruby/object:Gem::Dependency
|
42
84
|
name: bundler
|
43
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -91,19 +133,21 @@ executables:
|
|
91
133
|
- xml2gv
|
92
134
|
extensions: []
|
93
135
|
extra_rdoc_files:
|
94
|
-
- README.
|
95
|
-
- COPYING.
|
96
|
-
-
|
97
|
-
- CHANGELOG.rdoc
|
136
|
+
- README.md
|
137
|
+
- COPYING.md
|
138
|
+
- CHANGELOG.md
|
98
139
|
files:
|
140
|
+
- ".all-contributorsrc"
|
99
141
|
- ".gemrc"
|
142
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
143
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
100
144
|
- ".gitignore"
|
101
145
|
- ".travis.yml"
|
102
|
-
-
|
103
|
-
- CHANGELOG.
|
104
|
-
- COPYING.
|
146
|
+
- ".yardopts"
|
147
|
+
- CHANGELOG.md
|
148
|
+
- COPYING.md
|
105
149
|
- Gemfile
|
106
|
-
- README.
|
150
|
+
- README.md
|
107
151
|
- Rakefile
|
108
152
|
- bin/dot2ruby
|
109
153
|
- bin/gem2gv
|
@@ -285,22 +329,22 @@ homepage: https://github.com/glejeune/Ruby-Graphviz
|
|
285
329
|
licenses:
|
286
330
|
- GPL-2.0
|
287
331
|
metadata: {}
|
288
|
-
post_install_message: "\nYou need to install GraphViz (
|
289
|
-
this Gem.\n\nFor more information about Ruby-Graphviz :\n* Doc
|
290
|
-
Sources
|
291
|
-
|
332
|
+
post_install_message: "\nYou need to install GraphViz (https://graphviz.org) to use
|
333
|
+
this Gem.\n\nFor more information about Ruby-Graphviz :\n* Doc: https://rdoc.info/github/glejeune/Ruby-Graphviz\n*
|
334
|
+
Sources: https://github.com/glejeune/Ruby-Graphviz\n* Issues: https://github.com/glejeune/Ruby-Graphviz/issues\n
|
335
|
+
\ "
|
292
336
|
rdoc_options:
|
293
337
|
- "--title"
|
294
338
|
- Ruby/GraphViz
|
295
339
|
- "--main"
|
296
|
-
- README.
|
340
|
+
- README.md
|
297
341
|
require_paths:
|
298
342
|
- lib
|
299
343
|
required_ruby_version: !ruby/object:Gem::Requirement
|
300
344
|
requirements:
|
301
345
|
- - ">="
|
302
346
|
- !ruby/object:Gem::Version
|
303
|
-
version:
|
347
|
+
version: 2.4.0
|
304
348
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
305
349
|
requirements:
|
306
350
|
- - ">="
|
@@ -308,8 +352,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
308
352
|
version: '0'
|
309
353
|
requirements:
|
310
354
|
- GraphViz
|
311
|
-
|
312
|
-
rubygems_version: 2.7.6
|
355
|
+
rubygems_version: 3.0.3
|
313
356
|
signing_key:
|
314
357
|
specification_version: 4
|
315
358
|
summary: Interface to the GraphViz graphing tool
|
data/AUTHORS.rdoc
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
* Gregoire Lejeune <glejeune.lejeune@free.fr>
|
2
|
-
* Brandon Coleman <metrix1978@gmail.com>
|
3
|
-
* Dave Burt <https://github.com/dburt>
|
4
|
-
* Miguel Cabrera <http://mfcabrera.com>
|
5
|
-
* obruening <https://github.com/obruening>
|
6
|
-
* reactive <https://github.com/reactive>
|
7
|
-
* Hugh Sasse <hgs@dmu.ac.uk>
|
8
|
-
* axgle <https://github.com/axgle>
|
9
|
-
* hipe <https://github.com/hipe>
|
10
|
-
* Stefan Huber <https://github.com/MSNexploder>
|
11
|
-
* Nigel Thorne <https://github.com/NigelThorne>
|
12
|
-
* Rolf Timmermans <https://github.com/rolftimmermans>
|
13
|
-
* Jonas Elfström <https://github.com/jonelf>
|
14
|
-
* oupo <https://github.com/oupo>
|
15
|
-
* Daniel Zollinger <https://github.com/dznz>
|
16
|
-
* Ronen Barzel <https://github.com/ronen>
|
17
|
-
* Jamison Dance <https://github.com/jergason>
|
18
|
-
* hirochachacha <https://github.com/hirochachacha>
|
19
|
-
* coding64 <https://github.com/coding46>
|
20
|
-
* Neven Has <https://github.com/nevenh>
|
21
|
-
* Postmodern <https://github.com/postmodern>
|
22
|
-
* Mike Fiedler <https://github.com/miketheman>
|
23
|
-
* Kenichi Kamiya <https://github.com/kachick>
|
24
|
-
* Gabe Kopley <https://github.com/gkop>
|
25
|
-
* markus1189 <https://github.com/markus1189>
|
26
|
-
* Praveen Arimbrathodiyil <https://github.com/pravi>
|
27
|
-
* Andrew <https://github.com/AndrewKvalheim>
|
28
|
-
* Joseph Anthony Pasquale Holsten <https://github.com/josephholsten>
|
29
|
-
* Oleg Orlov <https://github.com/OrelSokolov>
|
30
|
-
* Nathan Long <https://github.com/nathanl>
|
31
|
-
* Khalil Fazal <https://github.com/khalilfazal>
|
32
|
-
* Olle Jonsson <https://github.com/olleolleolle>
|
33
|
-
* Guilherme Simoes <https://github.com/guilhermesimoes>
|
34
|
-
* SHIBATA Hiroshi <https://github.com/hsbt>
|
35
|
-
* moracca <https://github.com/moracca>
|
36
|
-
|
37
|
-
Thanks to :
|
38
|
-
|
39
|
-
* Jake Goulding <http://jakegoulding.com> - Spelling corrections
|
40
|
-
* Desmond Dsouza - Windows tests and corrections
|
41
|
-
* Vidar Hokstad and Ryan Shea - for nothugly.xsl
|
data/CHANGELOG.rdoc
DELETED
@@ -1,307 +0,0 @@
|
|
1
|
-
= CHANGELOG
|
2
|
-
|
3
|
-
== 1.2.4 :
|
4
|
-
* Added explicitly declaration for Open3 module on GraphVizTest
|
5
|
-
* Add support for the 'class' attribute
|
6
|
-
|
7
|
-
== 1.2.3 :
|
8
|
-
* Adding license info to gempsec
|
9
|
-
* Update build for rubinius-3.69
|
10
|
-
* Bug correction with Ruby 2.4
|
11
|
-
* Update links to HTTPS
|
12
|
-
* Add gemspec requirements attribut
|
13
|
-
|
14
|
-
== 1.2.2 :
|
15
|
-
* Remove duplication in utils/colors.rb
|
16
|
-
|
17
|
-
== 1.2.1 :
|
18
|
-
* Issue #92 : Can no longer create binary strings
|
19
|
-
* Remove support for Ruby < 1.9.3
|
20
|
-
|
21
|
-
== 1.2.0 :
|
22
|
-
* Issue #89: Force label to be HTML
|
23
|
-
|
24
|
-
== 1.1.0 :
|
25
|
-
* Issue #61 : Combine graphviz instances
|
26
|
-
* Issue #73 : Avoid constructing shell commands as strings
|
27
|
-
* Bug correction with development dependencies on JRuby
|
28
|
-
|
29
|
-
== 1.0.9 :
|
30
|
-
* Add support for attributs
|
31
|
-
* forcelabels
|
32
|
-
* gradientangle
|
33
|
-
* imagepath
|
34
|
-
* layerlistsep
|
35
|
-
* layerselect
|
36
|
-
* Issue #52 : Extracted xDOTScript to DOTScript class (by markus1189)
|
37
|
-
* Issue #54 : Fixes a couple of typos and spacing (by Mike Fiedler)
|
38
|
-
* Issue #55 : Avoid autoload
|
39
|
-
* Issue #57 : Add man pages for the commandline programs (by Praveen Arimbrathodiyil)
|
40
|
-
* Issue #59 : Support label as Fixnum (by Gabe Kopley)
|
41
|
-
* Issue #62 : Remove warnings (by Kenichi Kamiya)
|
42
|
-
* Issue #63 : Fix typo (by Kenichi Kamiya)
|
43
|
-
* Issue #65 : ruby-graphviz breaks autoloading of ActiveSupport::Concerns
|
44
|
-
* Update graphviz attributs
|
45
|
-
|
46
|
-
== 1.0.8 :
|
47
|
-
* Cleanup format (by markus1189)
|
48
|
-
* Issue #49 : (undefined local variable or method `file' ) (by markus1189)
|
49
|
-
|
50
|
-
== 1.0.7 :
|
51
|
-
* Issue #48 : add_graph fails when passed a GraphViz object
|
52
|
-
* Issue #47 : Find executable (by markus1189)
|
53
|
-
|
54
|
-
== 1.0.6 :
|
55
|
-
* Issue #46 : Some tests fail because it cannot find 'dot'
|
56
|
-
* Issue #45 : Fix for copy/paste error (by coding46)
|
57
|
-
* Issue #44 : characters escaping (by Neven Has)
|
58
|
-
* Issue #43 : Added lib/ruby-graphviz to match the gem name (by Postmodern)
|
59
|
-
* Issue #42 : "escaped dot in label" aka "GVPR error in Dot2Ruby"
|
60
|
-
* Issue #40 : GraphML importation doesn't work...
|
61
|
-
* Bug correction (with Ruby 1.8)
|
62
|
-
* Add (experimental) support of LibXML/LibXSLT
|
63
|
-
|
64
|
-
== 1.0.5 :
|
65
|
-
* Change deprecated methods in gem2gv, git2gv and ruby2gv
|
66
|
-
* Issue #38
|
67
|
-
* Issue #39
|
68
|
-
|
69
|
-
== 1.0.4 :
|
70
|
-
* GraphViz::Edge#each_attribut is deprecated, please use GraphViz::Edge#each_attribute
|
71
|
-
* GraphViz::GraphML#attributs is deprecated, please, use GraphViz::GraphML#attributes
|
72
|
-
* GraphViz::Node#each_attribut is deprecated, please use GraphViz::Node#each_attribute
|
73
|
-
* Major bug correction in GraphViz::Attrs and GraphViz::parse
|
74
|
-
* An empty string means "false" for boolean attributes
|
75
|
-
|
76
|
-
== 1.0.3 :
|
77
|
-
* The GraphViz::Theory#moore_dijkstra return a path which contains GraphViz::Node instead of GraphViz::Node#id
|
78
|
-
* Add Breadth First Search algorithm (GraphViz::Theory#bfs)
|
79
|
-
* Add Depth First Search algorithm (GraphViz::Theory#dfs)
|
80
|
-
* Add GraphViz#add_edges (GraphViz#add_edge is deprecated)
|
81
|
-
* Add GraphViz#add_nodes (GraphViz#add_node is deprecated)
|
82
|
-
* Add GraphViz::generate
|
83
|
-
* Remove definition of Array#all?
|
84
|
-
|
85
|
-
== 1.0.2 :
|
86
|
-
* Add PageRank algorithm
|
87
|
-
* Major bug corrections
|
88
|
-
* Fix utils/colors.rb's case syntax
|
89
|
-
* Modify deprecated method: Hash#index to Hash#key
|
90
|
-
|
91
|
-
== 1.0.1 :
|
92
|
-
* Add GraphViz::DSL
|
93
|
-
* Change project to use Bundler gem tools
|
94
|
-
* Fix a few typos in the README
|
95
|
-
* Change Config to RbConfig
|
96
|
-
* Add possibility to get the x,y coordinates of each of the nodes
|
97
|
-
|
98
|
-
== 1.0.0 :
|
99
|
-
* \o/
|
100
|
-
* GraphViz::Node#name has been removed - use GraphViz::Node#id
|
101
|
-
* The html attribute has been removed - use a label attribut (<tt>:label => '<<html/>>'</tt>)
|
102
|
-
* :output option has been removed - use :<format> => :<file>
|
103
|
-
* :file option has been removed - use :<format> => :<file>
|
104
|
-
* Add GraphViz#to_s
|
105
|
-
* Add GraphViz#add (see sample59.rb)
|
106
|
-
* GraphViz::XML.output is deprecated, use GraphViz::XML.graph.output
|
107
|
-
* Issue #22 : Error when generating a graph with an ID containing a space.
|
108
|
-
|
109
|
-
== 0.9.21 :
|
110
|
-
* Add attributes "label_scheme" and "rotation"
|
111
|
-
* Add missing options :
|
112
|
-
* <tt>:scale => v</tt> : Scale input by 'v' (=72)
|
113
|
-
* <tt>:inverty => [true|false]</tt> : Invert y coordinate in output
|
114
|
-
* <tt>:no_layout => v</tt> : No layout mode 'v' (=1) -- neato only
|
115
|
-
* <tt>:reduce => [true|false]</tt> : Reduce graph -- neato only
|
116
|
-
* <tt>:Lg => [true|false]</tt> : Don't use grid -- fdp only
|
117
|
-
* <tt>:LO => [true|false]</tt> : Use old attractive force -- fdp only
|
118
|
-
* <tt>:Ln => i</tt> : Set number of iterations to i -- fdp only
|
119
|
-
* <tt>:LU => i</tt> : Set unscaled factor to i -- fdp only
|
120
|
-
* <tt>:LC => v</tt> : Set overlap expansion factor to v -- fdp only
|
121
|
-
* <tt>:LT => [*]v</tt> : Set temperature (temperature factor) to v -- fdp only
|
122
|
-
|
123
|
-
== 0.9.20 :
|
124
|
-
* Add GraphViz#each_attribut, Node#each_attribut and Edge#each_attribut
|
125
|
-
* Bugs corrections in tests (by oupo)
|
126
|
-
* Major bug correction in GraphViz#output for subgraphs
|
127
|
-
* Update GraphViz.escape
|
128
|
-
|
129
|
-
== 0.9.19 :
|
130
|
-
* Add strict digraph support (by Jonas Elfström) (see sample58.rb)
|
131
|
-
g = GraphViz.new(:G, :type => "strict digraph")
|
132
|
-
# or
|
133
|
-
g = GraphViz.new(:G, :type => "digraph", :strict => true)
|
134
|
-
# or
|
135
|
-
g = GraphViz.digraph(:G, :strict => true)
|
136
|
-
# or
|
137
|
-
g = GraphViz.strict_digraph(:G)
|
138
|
-
* Add GraphViz#root_graph, Node#root_graph, Edge#root_graph
|
139
|
-
* The GraphML parser now accept a graphml file or string
|
140
|
-
|
141
|
-
== 0.9.18 :
|
142
|
-
* JRuby bug correction (by Nigel Thorne)
|
143
|
-
* Fix autoload problem for Rubinius (by Rolf Timmermans)
|
144
|
-
* Bugs corrections
|
145
|
-
|
146
|
-
== 0.9.17 :
|
147
|
-
* GraphViz::Edge#node_one and GraphViz::Edge#node_one now have un optional parameter to indicate if you want to (or not) get the port in the name (default: true)
|
148
|
-
* GraphViz#each_node now returns the Hash of nodes if there is no block given.
|
149
|
-
* GraphViz#each_edge now returns the list of edges if there is no block given.
|
150
|
-
* GraphViz#each_graph now returns the Hash of graphs if there is no block given.
|
151
|
-
* Add GraphViz::Node#index : return the node index
|
152
|
-
* Add GraphViz::Edge#index : return the edge index
|
153
|
-
* Add GraphViz#type : return the graph type (graph or digraph)
|
154
|
-
* Add GraphViz#get_edge_at_index and GraphViz#get_node_at_index
|
155
|
-
* Add GvDouble
|
156
|
-
* Add GraphViz::Theory (see examples/theory/tests.rb)
|
157
|
-
* Add GraphML[http://graphml.graphdrawing.org/] support (see sample57.rb)
|
158
|
-
* fixed "edge attribut 'to_ary' invalid" on mri 1.9.2 (by Stefan Huber)
|
159
|
-
|
160
|
-
== 0.9.16 :
|
161
|
-
* Add <tt>xml2gv</tt>
|
162
|
-
* Rename <tt>GraphViz.parser2</tt> to <tt>GraphViz.parser</tt>
|
163
|
-
* Remove treetop dependency
|
164
|
-
* Ruby 1.9 (and MacRuby) compatibility -- Issue #12: see sample38.rb
|
165
|
-
* Add GraphViz::Attrs#each and GraphViz::Attrs#to_h
|
166
|
-
* Add GraphViz::Edge#node_one and GraphViz::Edge#node_two
|
167
|
-
|
168
|
-
== 0.9.15 :
|
169
|
-
* Add <tt>GraphViz.parser2</tt>. <b>WARNING</b> this method will replace <tt>GraphViz.parser</tt>. So please don't use it, or only for testing.
|
170
|
-
* Bug correction in <tt>dot2ruby</tt>
|
171
|
-
* Add <tt>--output-format</tt> option to <tt>dot2ruby</tt>
|
172
|
-
* Add <tt>git2gv</tt>
|
173
|
-
* Issue #16 : escape graph ID
|
174
|
-
|
175
|
-
== 0.9.14 :
|
176
|
-
* Add dot2ruby script
|
177
|
-
* Remove NULL character in the DOT script
|
178
|
-
* <b>WARNING</b> : FamilyTree is (still) broken in this version !
|
179
|
-
|
180
|
-
== 0.9.13 :
|
181
|
-
* Add dot2ruby.g
|
182
|
-
* Bug correction with HTML label
|
183
|
-
* The html attribut is deprecated. You can use the label attribut, as dot do it : <tt>:label => '<<html/>>'</tt>
|
184
|
-
* Issue #15 : Thin server
|
185
|
-
* <b>WARNING</b> : FamilyTree is (still) broken in this version !
|
186
|
-
|
187
|
-
== 0.9.12 :
|
188
|
-
* GraphViz::Node#name is deprecated, you must use GraphViz::Node#id (issue #14)
|
189
|
-
* Add :nothugly option to GraphViz#output (see sample41.rb and http://hokstad.com/making-graphviz-output-pretty-with-xsl)
|
190
|
-
* Issue #13 : you must now specify a port in GraphViz::Edge.new with a syntax like this :
|
191
|
-
GraphViz::Edge.new( {nodeOne => :port}, {nodeTwo => :other} )
|
192
|
-
* Issue #12 : UTF8 support (see sample38.rb)
|
193
|
-
* Move and rename examples + remove maketest.[sh|bat]
|
194
|
-
* <b>WARNING</b> : FamilyTree is broken in this version !
|
195
|
-
|
196
|
-
== 0.9.11 :
|
197
|
-
* Issue #11 : Cygwin PATH
|
198
|
-
* Major bugs correction in output
|
199
|
-
* Bug correction in find_executable
|
200
|
-
* Add tests (by Chip Malice : https://github.com/hipe)
|
201
|
-
|
202
|
-
== 0.9.10 :
|
203
|
-
* Move ChangeLog in README
|
204
|
-
* Add GraphViz::FamilyTree (alpha). See examples/sample33.rb
|
205
|
-
* Major bugs corrections in GraphViz::Parser
|
206
|
-
* Issue #10 : Anonymous graph (see Subgraphs and Clusters at http://www.graphviz.org/doc/info/lang.html). See examples/sample34.rb
|
207
|
-
* GraphViz#add_graph can now take a block parameter. See example/sample34.rb
|
208
|
-
* Add GraphViz.digraph and GraphViz.graph (same as GraphViz.new( ..., :type => "digraph" ) and GraphViz.new( ..., :type => "graph" )). See examples/sample35.rb
|
209
|
-
* Add GraphViz#subgraph. See examples/sample35.rb
|
210
|
-
* GraphViz::Parser support anonymous graph
|
211
|
-
* Add lage node example. See examples/sample36.rb
|
212
|
-
|
213
|
-
== 0.9.9 :
|
214
|
-
* Add graph as an accessor to allow you to set global graph attributs (like edge and node)
|
215
|
-
* Add each_node, each_edge, each_graph (thanks to @metellius) and graph_count
|
216
|
-
* Issue #9 (partial) - Solution : by default, a node will have his label set with the node ID)
|
217
|
-
|
218
|
-
== 0.9.8 :
|
219
|
-
* Update graph and node posibility to set properties (see sample28.rb)
|
220
|
-
* Issue #7: Path option is never being used to find the executable
|
221
|
-
* Adding classes to check if the attributes are in the correct type
|
222
|
-
* Issue #8: dots in href are escaped with backslash, which corrupts the URL (see sample29.rb)
|
223
|
-
* Add posibility to use external libraries (see sample30.rb)
|
224
|
-
* Add options -u and -s to ruby2gv
|
225
|
-
* Add gem2gv
|
226
|
-
|
227
|
-
== 0.9.7 :
|
228
|
-
* Issue #2: Small bug correction in escape_path_containing_blanks (by Andreas Ronge)
|
229
|
-
* Issue #4: New find_executable (by reactive)
|
230
|
-
* Issue #3: Tempfiles created in current working directory only in Windows
|
231
|
-
* 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)
|
232
|
-
|
233
|
-
== 0.9.6 :
|
234
|
-
* jRuby support (by obruening)
|
235
|
-
* Issue #1 : STDOUT in binmode
|
236
|
-
|
237
|
-
== 0.9.5 :
|
238
|
-
* Remove 'mkmf' dependency
|
239
|
-
* GraphViz::Edge#[] modification
|
240
|
-
* Small correction to escape the dot ('.') character (by Miguel Cabrera)
|
241
|
-
|
242
|
-
== 0.9.4 :
|
243
|
-
* Escape nodes and edges attributs
|
244
|
-
* GraphViz::escape corrections (by Dave Burt)
|
245
|
-
* Add :errors option to set level of message suppression (default : suppress warning messages)
|
246
|
-
|
247
|
-
== 0.9.3 :
|
248
|
-
* Minor bug correction for Windows
|
249
|
-
* Use Open3.popen3 if installed, else use IO.popen (by Dave Burt)
|
250
|
-
* Add '-', '>' and '>>' has aliases of '<<' to create an edge.
|
251
|
-
|
252
|
-
== 0.9.2 :
|
253
|
-
* Escape nodes (by Dave Burt)
|
254
|
-
* Handle errors from graphviz command (by Dave Burt)
|
255
|
-
* Output as string (if String class is passed as file i.e. output(:pdf => String)) (by Dave Burt)
|
256
|
-
|
257
|
-
== 0.9.1 :
|
258
|
-
* Bugs corrections
|
259
|
-
* Add the ability to create edge like that : node1 << node2 << node3 ...
|
260
|
-
* Complete README
|
261
|
-
* Add a DOT parser. This parser has a lot of limitations. So don't use it in a production context !
|
262
|
-
* :output and :file options are deprecated, please use :<format> => :<file>
|
263
|
-
* You can now specify multiple outputs via :<format> => :<file> (see sample 22).
|
264
|
-
|
265
|
-
== 0.9.0 :
|
266
|
-
* Add fdp example (sample 15)
|
267
|
-
* Add edge between cluster and node and cluster and cluster support
|
268
|
-
* GraphViz.add_node now support array (sample 16)
|
269
|
-
* Bug correction in GraphViz.output (sample 19)
|
270
|
-
* Add GraphViz#default to set default options (:use, :path and :output)
|
271
|
-
* Add possibility to set node or edge attribut via :
|
272
|
-
node.<attribut>=<value> or node.<attribut>( <value> )
|
273
|
-
edge.<attribut>=<value> or edge.<attribut>( <value> )
|
274
|
-
* Add GraphViz::Edge.set and GraphViz::Node.set
|
275
|
-
* Add sample 20
|
276
|
-
* Add GraphViz.node_count and GraphViz.edge_count by Daniel Cadenas Nión
|
277
|
-
|
278
|
-
== 0.8.2 :
|
279
|
-
* Update Node, Edge and Graph Attributes (see http://www.graphviz.org/doc/info/attrs.html)
|
280
|
-
* Bugs corrections
|
281
|
-
|
282
|
-
== 0.8.1 :
|
283
|
-
* Documentation
|
284
|
-
|
285
|
-
== 0.8.0 :
|
286
|
-
* Add all the features of the current graphviz version
|
287
|
-
|
288
|
-
== 0.7.0 :
|
289
|
-
* Add option "path" to output
|
290
|
-
|
291
|
-
== 0.6.0 :
|
292
|
-
* Add undirected graph support
|
293
|
-
|
294
|
-
== 0.5.0 :
|
295
|
-
* Preserve the original order of creation of nodes and edges
|
296
|
-
|
297
|
-
== 0.4.0 :
|
298
|
-
* Add HTML-Labels
|
299
|
-
|
300
|
-
== 0.3.0 :
|
301
|
-
* Bugs corrections
|
302
|
-
|
303
|
-
== 0.2.0 :
|
304
|
-
* Pure ruby
|
305
|
-
|
306
|
-
== 0.1.0 :
|
307
|
-
* Initial version
|