A simple graph admits an -\emph{covering} if every edge in belongs to a subgraph of isomorphic to . In this case, we say that is -\emph{magic} if there is a total labeling such that for each subgraph of isomorphic to ,
is constant. When , we say that is -\emph{supermagic}.
We study -magic graphs for several classes of connected graphs. We also provide constructions of infinite families of -magic graphs for an arbitrary given graph .