class AbstractGraphTemplate implements GraphTemplate {

    @Override
    public <T> T insert(T entity) {
        requireNonNull(entity, "entity is required");
        checkId(entity);
        UnaryOperator<Vertex> save = v -> v;

        return getFlow().flow(entity, save);
    }

}