yaodong / paper-harel-high-dimensional-embedding-2004

Harel and Koren, High-Dimensional Embedding, JGAA, 8(2) 195–214 (2004)196

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

The paper Graph Drawing by High-Dimensional Embedding1 presents a approach to draw undirected graphs. This is a Python implementation of the apporach.

How to use

from algorithm import GraphDrawing

gd = GraphDrawing() # default dimension is 50
gd.transform('data/grid_50x50.csv')

# now you can retrieve tranformed points by accessing `gd.transformed_points`.

gd.plot("figure.png") # drawing image is slow when solving for large number (1000's) of points

Examples

The following are example drawings. Original images are placed in the folder images.

Footnotes

  1. http://emis.ams.org/journals/JGAA/accepted/2004/HarelKoren2004.8.2.pdf

About

Harel and Koren, High-Dimensional Embedding, JGAA, 8(2) 195–214 (2004)196


Languages

Language:Python 100.0%