Let X be a topological graph; i.e., a union of finitely many points and arcs, with arcs joined only at end points. If Y is any locally connected metrizable compactum that is co-elementarily equivalent to X, then Y is homeomorphic to X. In particular, X and Y are homeomorphic if some lattice base for one is elementarily equivalent to some lattice base for the other.