Text this: Development of models for transformation of connected graphs into single-row networks