dering style. The ghost edge ratio is comparable to the
doubled ratio of not-recognized edges which proves
that recognition result is not filled with an arbitrary
number of ghost edges (which would make it unus-
able), but rather all reported ghost edges are created
because of the ambiguous patterns in input images.
The hierarchically laid out graphs are recognised bet-
ter than the same graphs laid out using the symmetric
layout style, this could be explained by the fact that
the hierarchical layout has the poly-line edge routing
opposed to the symmetric layout style so in hierarchi-
cal layout drawings edges will not have edges routed
over bend points of other edges therefore there will be
less ambiguity.
5 SUMMARY AND FUTURE
WORK
The testing results revealed that although the dashed
edge recognition rate is worse than the solid edge
recognition the proposed solution could be useful for
automatic graph rendering and layout algorithm test-
ing. Since we used the same configuration for all tests
in the test suite, the results should allow to expect
similar results on graph drawings with mixed edge
rendering styles and other graph layout styles as long
as they guarantee similar minimal node-edge spacing
values as the graph layout styles in our test cases. The
next steps in the performance analysis would be op-
timising algorithm configuration for each group sep-
arately, investigate edge thickness influence on pro-
duced results, and detailed examination of test param-
eter impact on the running time.
In future, it would be interesting to try to adjust the
proposed algorithm to recognise graphs without dis-
tinguishable nodes which are typically found in im-
ages of biological networks and where the main in-
formation is stored in edges.
ACKNOWLEDGEMENTS
This work was supported by Latvian State Research
programme NexIT project No.2
REFERENCES
Auer, C., Bachmaier, C., Brandenburg, F. J., Gleiner, A.,
and Reislhuber, J. (2013). Optical graph recogni-
tion. In Didimo, W. and Patrignani, M., editors, Graph
Drawing, number 7704 in Lecture Notes in Computer
Science, pages 529–540. Springer Berlin Heidelberg.
Bailey, D., Norman, A., Moretti, G., and North, P. Elec-
tronic Schematic Recognition.
Di Battista, G., Eades, P., Tamassia, R., and Tollis, I. Graph
drawing. 1999.
Dori, D. and Liu, W. (1999). Sparse pixel vectorization:
An algorithm and its performance evaluation. IEEE
Transactions on pattern analysis and machine Intelli-
gence, 21(3):202–215.
Dori, D. and Wenyin, L. (1999). Automated cad conversion
with the machine drawing understanding system: con-
cepts, algorithms, and performance. IEEE Transac-
tions on Systems, Man, and Cybernetics-part A: sys-
tems and humans, 29(4):411–416.
Hammond, T. and Davis, R. (2006). Tahuti: A geometrical
sketch recognition system for uml class diagrams. In
ACM SIGGRAPH 2006 Courses, page 25.
Krishnamoorthy, M., Oxaal, F., Dogrusoz, U., Pape, D.,
Robayo, A., Koyanagi, R., Hsu, Y., Hollinger, D., and
Hashmi, A. (1996). Graphpack: Design and features.
Software visualization, 7:83–100.
Lank, E., Thorley, J., Chen, S., and Blostein, D. (2001).
On-line recognition of UML diagrams. In Document
Analysis and Recognition, 2001. Proceedings. Sixth
International Conference on, page 356360.
Lank, E., Thorley, J. S., and Chen, S. J.-S. (2000). An
interactive system for recognizing hand drawn UML
diagrams. In Proceedings of the 2000 conference of
the Centre for Advanced Studies on Collaborative re-
search, page 7.
Opmanis, R. (2017). Benchmark test suite. [On-
line https://drive.google.com/open?id=
0B7EhFSCsLEv9Rm9VMjBXeVNEanc; accessed 11-
June-2017].
Sugiyama, K., Tagawa, S., and Toda, M. (1981). Methods
for visual understanding of hierarchical system struc-
tures. Systems, Man and Cybernetics, IEEE Transac-
tions on, 11(2):109125.
Von Gioi, R. G., Jakubowicz, J., Morel, J.-M., and Randall,
G. (2008). On straight line segment detection. Journal
of Mathematical Imaging and Vision, 32(3):313–347.
Optical Graph Edge Recognition
191