All you're using is the Node
class from Library A, that's true. However, part of the definition of the Node
class is the fact that it implements the INode
interface from Library B.
The very fact of the existence of the Node
class demands that you include a reference to Library B.