Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ciena-dagre

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ciena-dagre - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.0.2 (2017-04-25)
Fixes graph layout with cycles, re-enable tests
# 1.0.1

@@ -2,0 +6,0 @@

2

lib/acyclic.js

@@ -62,3 +62,3 @@ 'use strict';

var label = g.edge(e);
g.removeEdge(e); // FIXME: this is breaking 4 commented out tests
g.removeEdge(e);
label.forwardName = e.name;

@@ -65,0 +65,0 @@ label.reversed = true;

@@ -126,3 +126,3 @@ 'use strict';

time(' acyclic.undo', function () {
(0, _acyclic.run)(g);
(0, _acyclic.undo)(g);
});

@@ -129,0 +129,0 @@ }

{
"name": "ciena-dagre",
"version": "1.0.1",
"version": "1.0.2",
"description": "Graph layout for JavaScript",

@@ -5,0 +5,0 @@ "scripts": {

@@ -49,3 +49,3 @@ import _ from 'lodash'

var label = g.edge(e)
g.removeEdge(e) // FIXME: this is breaking 4 commented out tests
g.removeEdge(e)
label.forwardName = e.name

@@ -52,0 +52,0 @@ label.reversed = true

@@ -5,3 +5,3 @@ import _ from 'lodash'

run as acyclicRun,
run as acyclicUndo
undo as acyclicUndo
} from './acyclic'

@@ -8,0 +8,0 @@

@@ -128,4 +128,3 @@ const expect = require('chai').expect

// FIXME: get test passing
it.skip('can layout out a short cycle', function () {
it('can layout out a short cycle', function () {
g.graph().ranksep = 200

@@ -178,4 +177,3 @@ g.setNode('a', { width: 100, height: 100 })

// FIXME: get tests passing
describe.skip('can layout a self loop', function () {
describe('can layout a self loop', function () {
_.forEach(['TB', 'BT', 'LR', 'RL'], function (rankdir) {

@@ -182,0 +180,0 @@ it('in rankdir = ' + rankdir, function () {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc