Skip to content

TreeSS implementation

Jim Allman edited this page May 13, 2017 · 7 revisions

How can we implement TreeCSS in most/all tree-viz applications?

Since the May 2017 workshop revealed general support for a tree-styling convention based on CSS, we should explore more about how this can be implemented with minimal burden on the developers of various tree-viz programs.

This includes more detail on how the early NexSS spec can be expanded to include useful phylogenetic concepts in selectors and property values, e.g. {NODE_ID}:clade-children {...}, edge-width: (support * 0.5)px;. Also exploration of common CSS parsers (and generators of same like ANTLR.

CSS parsers for popular languages

tiny.css and the like...

ANTLR (or similar) to generate lexers and parsers for some target languages

what this does for us, and doesn't; how much work remains; missing languages (R, others?)

Building on existing (partial) CSS parsers?

E.g. R has a few that are quite limited, but might be extended.

Clone this wiki locally