The aim of this research is a practical method to draw cable plans of complex machines. Such plans consist of electronic components and cables connecting specific ports of the components. Since the machines are configured for each client individually, cable plans need to be drawn automatically. The drawings must be well readable so that technicians can use them to debug the machines. In order to model plug sockets, we introduce port groups; within a group, ports can change their position (which we use to improve the aesthetics of the layout), but together the ports of a group must form a contiguous block. We approach the problem of drawing such cable plans by extending the well-known Sugiyama framework such that it incorporates ports and port groups. Since the framework assumes directed graphs, we propose several ways to orient the edges of the given undirected graph. We compare these methods experimentally, both on real-world data and synthetic data that carefully simulates real-world data. We measure the aesthetics of the resulting drawings by counting bends and crossings. Using these metrics, we experimentally compare our approach to Kieler [JVLC 2014], a library for drawing graphs in the presence of port constraints. Our method produced 10--30 % fewer crossings, while it performed equally well or slightly worse than Kieler with respect to the number of bends and the time used to compute a drawing.
翻译:此项研究的目标是绘制复杂机器电缆计划的实用方法。 这种计划由电子部件和电缆组成,连接各部件的特定港口。 由于机器是针对每个客户的单个配置, 需要自动绘制电缆计划。 绘图必须便于阅读, 以便技术人员能够使用它们来调试机器。 为了模拟插座, 我们引入港口组; 在一组中, 港口可以改变其位置( 我们用来改进布局的美观), 但是组合的港口必须形成一个毗连区块 。 我们通过扩展著名的 Sugiyama 框架来应对绘制这种电缆计划的问题, 使它包括港口和港口组。 由于框架使用定向图表, 我们建议了几种方法来调整给给非定向图的边缘。 我们对这些方法进行了实验性比较, 既使用真实世界数据, 也使用合成数据来仔细模拟真实世界数据。 我们通过计算弯曲和交叉点来测量由此绘制图的美度。 我们用这些尺度将我们的方法与Kieler [JVLC 2014] 进行比较, 包括港口和港口组。 我们用更差的平面图的图书馆, 用10- 来绘制更差的平的平的平的平面图。