パッケージ PGF 数学エラー: 不明な関数 'north' ('north west' 内)

パッケージ PGF 数学エラー: 不明な関数 'north' ('north west' 内)

長方形に基づいて、次の図形を作成しました (いくつかの機能が追加されましたが、エラーは常に同じです)。

\pgfdeclareshape{set}{  
  %Like in rectangle but without all the separators and height=width
    \savedanchor\northeast{%
        \pgfmathsetlength\pgf@xb{\pgfkeysvalueof{/pgf/minimum width}}%
        \pgf@x=.5\pgf@xb%
        \pgf@y=.5\pgf@xb%
    }%

    \savedanchor\southwest{%
        \pgfmathsetlength\pgf@xb{\pgfkeysvalueof{/pgf/minimum width}}%
        \pgf@x=-.5\pgf@xb%
        \pgf@y=-.5\pgf@xb%
    }%

    % Inherit from rectangle
    \inheritanchorborder[from=rectangle]%
    \inheritanchor[from=rectangle]{center}%
    \inheritanchor[from=rectangle]{north}%
    \inheritanchor[from=rectangle]{south}%
    \inheritanchor[from=rectangle]{west}%
    \inheritanchor[from=rectangle]{east}%
    \inheritanchor[from=rectangle]{north west}%
    \inheritanchor[from=rectangle]{north east}%
    \inheritanchor[from=rectangle]{south west}%
    \inheritanchor[from=rectangle]{south east}%

    \backgroundpath{%
        \pgfpathrectanglecorners{\southwest}{\northeast}%
    }%
 }%

私にとっては、ほとんどのものは問題なく動作します。例えば:

\node[set,draw, below right=10ex of n, rotate=270, anchor=center] (sA) {};

ノードを完璧に配置して回転させます。「左下」も同様です。

しかし、私が

\node[set,draw, above left=10ex of n, rotate=270, anchor=center] (sA) {};

エラーが発生します

パッケージ PGF 数学エラー: 不明な関数 'north' ('north west' 内)。

「右上」でも同じことが起こります。出力はまだ問題ないようです。

私は tikz 3.0.0 の新しいバージョンを使用しています。

この非常に厄介なエラーを回避するためのアイデアはありますか?

ありがとう!

関連情報