Feature/graph isolates.

Should resolve #1