A modified Reingold–Tilford Tree with support for edges (links) across branches. This uses stroke dash interpolation to highlight the non-hierarchical edges when the mouse hovers over a node.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# Cassandra cqlsh output is pipe delimited, it is useful to directly pipe query results to CSV instead. | |
if [ -p /dev/stdin ]; then | |
sed 's/\ //g; /^----.*/d; /^(/d; /^\s*$/d; s/|/,/g;' | |
else | |
echo "No input on stdin." | |
fi |