pxgraphviz 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -3
- data/lib/pxgraphviz.rb +5 -2
- data.tar.gz.sig +2 -2
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1820d7855e40a0a9d0db9655bfd7e4d073630e7
|
4
|
+
data.tar.gz: 142d13f86766fccd30a8d331ca4deceef020da31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 683cdfb6b6aa32f7bf348826a75e9fdcaa0e761eaa7d76161fb8475c875e8b06cf9594fac29bc38d5bc1dd7190e5cdfc30eed0f947d2b3157822a1ec374237e4
|
7
|
+
data.tar.gz: e3fceb89b47a78033ef33597351c5c9add8a5df8b2e34c4de61982467bb284a3d4bccc3eec56d4debc189f1078ff74fffcf4cab6ee18ff6e0a0a0759426ab274
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
�P��^�ޑ�`c�\��,�մ����ȭ�V�7�(ϯ�϶S�kF;`́�[ʾ���ˑ.m�)TIU���z�g{�z���L:F��]^��y�L�
|
1
|
+
;�7
|
2
|
+
<8Gi��5+��Ϝ��ii�7���oNZRS�V���luK@z��}ɔ�Q��Y*<x��|<�&n�U?�J`���a�?z�W�W�6. %��a"���
|
data/lib/pxgraphviz.rb
CHANGED
@@ -9,6 +9,7 @@ require 'graphvizml'
|
|
9
9
|
|
10
10
|
class PxGraphViz
|
11
11
|
|
12
|
+
attr_reader :doc
|
12
13
|
|
13
14
|
def initialize(s, style: default_stylesheet())
|
14
15
|
|
@@ -17,6 +18,8 @@ class PxGraphViz
|
|
17
18
|
|
18
19
|
end
|
19
20
|
|
21
|
+
# this method will be deprecated in the near future. Use #doc instead
|
22
|
+
#
|
20
23
|
def to_doc()
|
21
24
|
@doc
|
22
25
|
end
|
@@ -67,7 +70,7 @@ class PxGraphViz
|
|
67
70
|
xml.records do
|
68
71
|
labels_ids.each do |x, i|
|
69
72
|
label, shape = x
|
70
|
-
attr = {
|
73
|
+
attr = {gid: i.to_s, shape: shape}
|
71
74
|
xml.node(attr) do
|
72
75
|
xml.label label
|
73
76
|
end
|
@@ -99,7 +102,7 @@ class PxGraphViz
|
|
99
102
|
xml.records do
|
100
103
|
a_edges.each.with_index do |x, i|
|
101
104
|
item1, item2, connection = x
|
102
|
-
xml.edge
|
105
|
+
xml.edge gid: 'e' + (i+1).to_s do
|
103
106
|
xml.summary do
|
104
107
|
xml.label connection
|
105
108
|
end
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
�g�|�]4��Xg��[H�қ��u���xr#Lh���a�TC<���I����7�`� ��y�� �`R�VdS�Kw�´���[`r�8J��߶yW�q|�`��P-��*Ô���q���E(
|
2
|
+
�o�C�����.�o���S"C��)8�e��&J��a�CqN��6Q
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pxgraphviz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
AJ2kmROiYBLscpVrfyHxtEJluJwbid/KyR/BybHL7uezZ2/EbCxCYanOIbNyctTp
|
32
32
|
CNgZvs+F41zO7g==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2017-09-
|
34
|
+
date: 2017-09-05 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: polyrex
|
metadata.gz.sig
CHANGED
Binary file
|