This reminds me of an in-house parser of graphing software files that we use to populate physical route information for warehouse control systems. We also used certain naming and icon conventions to express particular semantics that the parser would then convert to the base physical routing maps for a routing engine.