Skip to content

massimo-nocentini/non-layered-tidy-trees.c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 

Repository files navigation

non-layered-tidy-trees.c

Continuous integration

This repository contains a translation in C of the algorithm described in the publication

van der Ploeg, A. (2014), Drawing non-layered tidy trees in linear time, Softw. Pract. Exper., 44, pages 1467– 1484, doi: 10.1002/spe.2213

which is implemented in the companion https://github.com/cwi-swat/non-layered-tidy-trees repository. The code is almost identical but the necessary technicalities to let gcc compile the project; by the way, we have enhanced it providing both horizontal layouting, centered xs and ys and callbacks. The result is a shared library that can be linked in arbitrary projects.

According to the issue Klortho/d3-flextree#1, we take the same fix as done in https://github.com/Klortho/d3-flextree/blob/af196220927218bbe7ac6cad8e059f56430befb6/src/flextree.js#L242

We provide the src/Makefile to compile and install the artifacts in the usual Unix locations for headers and libraries.

About

Drawing non-layered tidy trees in linear time

Resources

License

Stars

Watchers

Forks

Packages

No packages published