VX(Li): Add graph interface and basic implementation.