rails-erd-d3 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 704736ce145ff612e50f77c38bc0e658656ee5c4
4
- data.tar.gz: '01752789b2dc6f794f46f64c81975d872f80b344'
3
+ metadata.gz: 0bcce33a5a0973906a644225d4eb35ef4036ad93
4
+ data.tar.gz: 286ff8460c731f77176597eee9af5868cb5cb14a
5
5
  SHA512:
6
- metadata.gz: c387b7365fce7c68eed9c169ef4cf1b66292e642462afe0f912143c2a19c7fc08b32aa699ec1830adcdd056d80984dd1a0d71ec5c9351a0ea44a1de50a91ea0c
7
- data.tar.gz: a9ee087004453183c43e7d86d38ad30649c915f0812dd7ba15782d3221721e9714add32a5411afb5643399ab599062d649d3de873d3287a025c8e4ea9cb5bfda
6
+ metadata.gz: 575cb3adad7cd62ea378c44f0c7c0714e7ce2e2dd899efd0f929b45bb517cb491ce5311e39f7a898ebddc4a78f17aed411217eecb05f598879fc127c663ef4b3
7
+ data.tar.gz: 20fae5e7423f1ffb15af3632b0ee64e4eda6d75b835362afe64787bb7b44a124080fa3f5dc9c80416f4e78666913299b061f38d53fc41d2788ee12cac2841b89
@@ -15,17 +15,17 @@
15
15
  .attr('width', width)
16
16
  .style('background', 'white');
17
17
 
18
- svg.append("defs")
19
- .append("marker")
20
- .attr("id", "arrow")
21
- .attr("viewBox", "0 -5 10 10")
22
- .attr("refX", 32)
23
- .attr("refY", 0)
24
- .attr("markerWidth", 7)
25
- .attr("markerHeight", 7)
26
- .attr("orient", "auto")
27
- .append("svg:path")
28
- .attr("d", "M0,-5L10,0L0,5");
18
+ svg.append('defs')
19
+ .append('marker')
20
+ .attr('id', 'arrow')
21
+ .attr('viewBox', '0 -5 10 10')
22
+ .attr('refX', 32)
23
+ .attr('refY', 0)
24
+ .attr('markerWidth', 7)
25
+ .attr('markerHeight', 7)
26
+ .attr('orient', 'auto')
27
+ .append('svg:path')
28
+ .attr('d', 'M0,-5L10,0L0,5');
29
29
 
30
30
  var simulation = d3.forceSimulation()
31
31
  .force('link', d3.forceLink().id(function(d) { return d.index }))
@@ -43,7 +43,8 @@
43
43
  .append('line')
44
44
  .attr('class', function(d, i) { return data.nodes[d.source].label + ' ' + data.nodes[d.target].label })
45
45
  .attr('stroke', function(d) { return colorScale(d.color) })
46
- .attr('marker-end', 'url(#arrow)');;
46
+ .attr('stroke-width', 2)
47
+ .attr('marker-end', 'url(#arrow)');
47
48
 
48
49
  var node = svg.selectAll('.node')
49
50
  .data(data.nodes)
data/rails-erd-d3.gemspec CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
6
6
  spec.name = "rails-erd-d3"
7
7
  spec.authors = ["Roman Krasavtsev"]
8
8
  spec.email = ["mr.krasavtsev@gmail.com"]
9
- spec.version = "0.6.0"
9
+ spec.version = "0.6.1"
10
10
  spec.summary = "Entity–relationship diagram with D3.js for Rails application"
11
11
  spec.description = "This gem creates entity–relationship diagram with D3.js for your Rails application"
12
12
  spec.homepage = "https://github.com/RomanKrasavtsev/rails-erd-d3"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-erd-d3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Krasavtsev