dkh.graph.primitive