layouts Package

layouts Package

A package for each of the different layout managers.

class visgraph.layouts.GraphLayout(graph)[source]
getLayoutSize()[source]
layoutGraph()[source]

Layout the graph nodes and edges

renderGraph(rend)[source]

Render the graph to the given renderer.

visgraph.layouts.center_pos(ninfo)[source]
visgraph.layouts.entry_pos(ninfo)[source]
visgraph.layouts.exit_pos(ninfo)[source]

dynadag Module

A dynadag-ish graph layout calculator...

class visgraph.layouts.dynadag.DynadagLayout(graph)[source]

Bases: visgraph.layouts.GraphLayout

getLayoutSize()[source]

Return the width,height of this layout.

layoutGraph()[source]
visgraph.layouts.dynadag.revenumerate(l)[source]

Table Of Contents

This Page