graphlib-dot icon indicating copy to clipboard operation
graphlib-dot copied to clipboard

Reverse graph direction

Open anilsamuel opened this issue 8 years ago • 1 comments

Hi

  1. http://d3js.org/d3.v3.js
  2. http://cpettitt.github.io/project/graphlib-dot/v0.5.2/graphlib-dot.js
  3. http://cpettitt.github.io/project/dagre-d3/latest/dagre-d3.js

I am using the scripts above to draw ER diagrm as below. I like the grah direction to be reversed. Is that possible ?

image

anilsamuel avatar Jun 23 '16 23:06 anilsamuel

I believe you can pass parameters to configure the layout in dagre-d3, which are passed as parameters to the dagre library https://github.com/cpettitt/dagre/wiki#configuring-the-layout

cmdcolin avatar Jul 26 '16 16:07 cmdcolin