use strict operations to construct graphs