sweetpea.design_graph module

This module provides functionality for building graphs representing the relationships between factors in a given design.

class sweetpea.design_graph.DesignGraph(design)

Bases: object

Builds a directed graph representing the relationship between all factors in the design. Primary intent is to facilitate preventing invalid crossings.

Parameters

design (List[sweetpea.primitives.Factor]) –

Return type

None

draw()