Multiset-based self-assembly of graphs