Ueda theory for compact curves with nodes