switch to loom for graph representation