def viz_property(statement, properties):
    """Create properties for graphviz element"""
    if not properties:
        return statement + ';'
    return statement + '[{}];'.format(' '.join(properties))
