ellington 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ellington/version.rb +1 -1
- data/lib/ellington/visualizer.rb +12 -14
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e98a3e401eca1277eaa5248eeb90ffc10249ab04
|
4
|
+
data.tar.gz: 613d2ecbe5ec22d9f1352cfb406824ee39b0e870
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba0584803ce5aeb7aef48ec18082b1fc20512031b0714bba4c566348c5edec48ed16dddf257574f7db867313a2b8717ac0b518a1f3fc0248d094425d642867fa
|
7
|
+
data.tar.gz: b3526b5577c320bc7d166a0f54ba4224d08023e40dd0240652d7cca60c953efb6965ea83bf1d17aea3315b68dfa7d2d95d4a3aa641ae49d41f345e6aef319078
|
data/Gemfile.lock
CHANGED
data/lib/ellington/version.rb
CHANGED
data/lib/ellington/visualizer.rb
CHANGED
@@ -108,20 +108,7 @@ module Ellington
|
|
108
108
|
end
|
109
109
|
end
|
110
110
|
|
111
|
-
if connection.
|
112
|
-
combos.each do |state, nodes|
|
113
|
-
nodes.each do |node|
|
114
|
-
from_line = node.base
|
115
|
-
g.viz.add_edges(
|
116
|
-
node.viz.get_node("#{from_line.class.name}#{state}"),
|
117
|
-
to_node.viz.get_node("#{to_line.class.name}PASS"),
|
118
|
-
"lhead" => to_node.viz.id
|
119
|
-
)
|
120
|
-
end
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
if connection.type == :if_all
|
111
|
+
if connection.strict
|
125
112
|
combos.each do |state, nodes|
|
126
113
|
node_name = nodes.map{ |n| n.base.class.name }.join + state
|
127
114
|
node_label = nodes.map{ |n| state_label(state) }.join("\n")
|
@@ -132,6 +119,17 @@ module Ellington
|
|
132
119
|
"lhead" => to_node.viz.id
|
133
120
|
)
|
134
121
|
end
|
122
|
+
else
|
123
|
+
combos.each do |state, nodes|
|
124
|
+
nodes.each do |node|
|
125
|
+
from_line = node.base
|
126
|
+
g.viz.add_edges(
|
127
|
+
node.viz.get_node("#{from_line.class.name}#{state}"),
|
128
|
+
to_node.viz.get_node("#{to_line.class.name}PASS"),
|
129
|
+
"lhead" => to_node.viz.id
|
130
|
+
)
|
131
|
+
end
|
132
|
+
end
|
135
133
|
end
|
136
134
|
end
|
137
135
|
|