Enable DirichletBoundary on nodes and edges