noc.core.topology.layout.ring

Module Contents

class noc.core.topology.layout.ring.RingLayout

Bases: noc.core.topology.layout.tree.TreeLayout

L
TREE_DY
TREE_DX
A0
get_layout(self)
classmethod get_subtrees_relative_pos(cls, G, ring)

Split subgraph with tree, starting from ring node :param G: Graph instance :param ring: all ring nodes :return: dict or ring node -> dict of positions