maestro-server/analytics-maestro

View on GitHub
app/libs/drawing/helpers/connector/pathFactor.py

Summary

Maintainability
A
0 mins
Test Coverage
F
57%
class PathFactor(object):
    def __init__(self):
        self._d = "M"

    def __call__(self):
        return self._d.strip()

    def add_point(self, x, y):
        self._d += "%s %s " % (x, y)