initial support for multi-graphs