Answer by Qrrbrbirlbel for Moving a TikZ node depending on its size
Here's a shape inout rectangle that supports multiple input and output anchors and the straight lines that come with it.For now, only a maximum of 10 of those connections are supported. (The circuit...
View ArticleAnswer by Qrrbrbirlbel for Moving a TikZ node depending on its size
Generic anchors provide an easy interface to add new anchors to (all) shapes. Though, in this case, they don't make much sense for circular nodes but just adding them to the rectangle shape (or...
View ArticleAnswer by Rmano for Moving a TikZ node depending on its size
Notice that any of the two @Qrrbrbirlbel's answers here and here is much better than this hack...I leave this answer here as an exercise on how to compute a border anchor.You can use the border anchors...
View ArticleMoving a TikZ node depending on its size
The following MWE is a very abstracted version of some code in a library that I'm writing:\documentclass{article}\usepackage{tikz}\usetikzlibrary{calc}\begin{document}\begin{tikzpicture} \node[draw] at...
View Article