Developer Interface

Base Transformation Tree

class mulberry.tree.GenericTree(backend)[source]
getPath(from_key, to_key)[source]

Gets the shortest path between from_key and to_key

getTransform(from_key, to_key)[source]

Calculates the composite transform between from_key and to_key

hasFrame(key)[source]

Checks if there is a frame key

outputDOT(title='')[source]

Outputs the graph in undirected DOT format:

// Autogenerated by mulberry
graph title {
    "a" -- "b" -- "c";
    "b" -- "d";
}
setTransform(transform, from_key, to_key)[source]

Sets a transform between from_key and to_key if this does not create a cycle