I am not sure what you are really doing so this may be completely unhelpful. If so, just say and I can delete it.
You can use pics to define small pictures which you can reuse later over and over.
Technically, you could create a pic for each node you want and then call the relevant code at the relevant point. However, this is really an abuse of the syntax, I think. If you are creating many similar nodes, however, it would make perfect sense to do this.
Be warned that, although pics are quite node-like, they are not perfectly node-like so this may not work well at all in your actual document.
\documentclass[border=5pt,mult,tikz]{standalone}
\begin{document}
\tikzset{
font=\sffamily,
mystyle/.style = {rectangle, rounded corners, fill=blue!20},
}
\begin{tikzpicture}% abuse of pics?
[
node1/.pic={
\node [mystyle, pic actions] (node1) {A};
},
node2/.pic={
\node [mystyle, pic actions] (node2) {B};
},
]
\pic at (0,0) {node1};
\pic [left of=node1] {node2};
\end{tikzpicture}
\begin{tikzpicture}% more sensible use of pics?
[
my node/.pic={
\node [mystyle] {#1};
},
]
\matrix {
\pic {my node={A}}; & \pic {my node={D}}; \\
\pic {my node={B}}; & \pic {my node={C}}; \\
};
\end{tikzpicture}
\end{document}
If you need to refer to pics in order to draw lines between them, for example, you cannot handle things quite so straightforwardly as if they were nodes because they will not automatically get anchors in the way that nodes do. However, you can use a special syntax to add named coordinates to your pic which you can use later. The way this works is that you add particular named coordinates in the definition e.g. (-my point) (notice the hyphen) and then you pass a name to the pic as you would to a node e.g. (my pic). You can then refer to your named point as e.g. my pic-my point. As I understand it, this is less efficient than using actual nodes but that may not be a huge concern unless your picture is very large when the use of pics could slow compilation time noticeably.
Here's an example which adds some named coordinates to the definition of my node and then uses them to place red circles which correspond to various anchors of the node defined in the pic itself. This is obviously just for purposes of illustration: in practice, you would no doubt not want small red circles everywhere! But the point is you can use these coordinates to e.g. draw lines between the nodes or whatever.
\begin{tikzpicture}% more sensible use of pics?
[
my node/.pic={
\node (-center) [mystyle] {#1};
\foreach \i in {north,south,east,west,north west,north east,south west,south east}
\coordinate (-\i) at (-center.\i);
},
]
\matrix {
\pic (a) {my node={A}}; & \pic (d) {my node={D}}; \\
\pic (b) {my node={B}}; & \pic (c) {my node={C}}; \\
};
\foreach \i in {a,b,c,d}
\foreach \j in {north,south,east,west,north west,north east,south west,south east,center}
\path [fill=red] (\i-\j) circle (.5pt);;
\end{tikzpicture}

pic? – cfr Nov 14 '14 at 15:31\node[style] at (Coor1) {stuff}. – Tarass Nov 14 '14 at 15:42at=coordso positioning can appear in style definitions (but before use) – Bordaigorl Nov 22 '14 at 16:14