But that's perfectly possible with JavaGraph, as proved by the chess example.