### Abstract

Optimizing a stress model is a natural technique for drawing graphs: one seeks an embedding into R^{d} which best preserves the induced graph metric. Current approaches to solving the stress model for a graph with |ν| nodes and |ε| edges require the full all-pairs shortest paths (APSP) matrix, which takes O(|ν|2 log |ε|+|ν||ε|) time and O(|ν|^{2}) space. We propose a novel algorithm based on a low-rank approximation to the required matrices. The crux of our technique is an observation that it is possible to approximate the full APSP matrix, even when only a small subset of its entries are known. Our algorithm takes time O(k|ν|+|ν| log|ν|+|ε|) per iteration with a preprocessing time of O(k^{3} +k(|ε|+|ν| log|ν|)+k2|ν|) and memory usage of O(k|ν|), where a user-defined parameter k trades off quality of approximation with running time and space. We give experimental results which show, to the best of our knowledge, the largest (albeit approximate) full stress model based layouts to date. Computer Graphics Forum

Original language | English (US) |
---|---|

Pages (from-to) | 975-984 |

Number of pages | 10 |

Journal | Computer Graphics Forum |

Volume | 31 |

Issue number | 3 PART1 |

State | Published - Jan 1 2012 |

Externally published | Yes |

### ASJC Scopus subject areas

- Computer Graphics and Computer-Aided Design

## Fingerprint Dive into the research topics of 'Drawing large graphs by low-rank stress majorization'. Together they form a unique fingerprint.

## Cite this

*Computer Graphics Forum*,

*31*(3 PART1), 975-984.