ciena-dagre
is a fork of dagre,
which is a JavaScript library that makes it easy to lay out directed graphs on
the client-side. The history behind this fork's existence can be read at #24
npm install ciena-dagre --ignore-scripts
This project forked from dagrejs/dagre
Directed graph renderer for javascript
License: MIT License
Layout is already copying the graph -- why not let it be immutable?
Just export each of the layout functions: buildLayoutGraph
, runLayout
, and updateInputGraph
.
Also, you could just return the layoutGraph
and let someone else merge it in if they want.
https://github.com/ciena-blueplanet/dagre/blob/master/src/layout.js#L416
In an upcoming project, I'll have need for directed-acyclic graph rendering and have had a few issues with cpettitt/dagre
in the past. Seeing that it's now unmaintained, I started looking into this fork. I like the look of the work done so far. Are you aiming to be a general-use replacement for the original, open to public contributions?
Hi, thanks for taking care of dagre!
I am currently experimenting with clusters, clusterLabelPos:'top' and rankDir:'BT'. This leads to a layout where the nodes within a cluster are positioned over the cluster labels. Is there any chance to get them out of the way?
In dagrejs/dagre-d3#156 @cpettitt said:
"Looks good! It would be possible to get the edges to route around the cluster label by doing some of this in dagre - e.g. adding a dummy node to the cluster at the right rank with the size of the label."
Is it easy to add such dummy nodes?
Hi,
I installed your fork of dagre with npm install --ignore-scripts as written in the README.
But how do I build it? There is no dist folder.
Thx and best regards,
Josef
Will cytoscape-dagre work with this or would we need to fork out a ciena-cytoscape-dagre?
Waiting to hear back from the owner of https://github.com/cpettitt/dagre to see if we can take over the project and publish to npm. If not we will need to publish this under another name.
This will also mean updating any and all references (mainly in package.json).
We're built an organization around dagre and are resuming development. Would you be OK with us pulling some of your improvements back upstream, such as your work on lodash 4 support? Any interest in having a committer in the org for the upstream project?
This is more of a question- ^
I'm looking at this for reference but I can't understand why this is doing it differently
https://github.com/ciena-blueplanet/graphlib/blob/master/index.js
I'm trying to use this library with webpack, but it's not able to recognize the import keyword and it's exploding.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.