2

Is there any automated way to tightly fit an irregular set (say tree-shaped) of nodes in TikZ?

The standard approach (using fit = (v1) (v2) ... (vk)) uses predefined shapes (eg. circle or rectangle) that might include vertices outside the desired set v1,v2,...,vk.

suitangi
  • 799
  • 3
    no, with fit you can only use standard node shapes (rectangle, ellipse, circle, cloud, ... ), so, you should in such a cases draw curve "by hand" :-( – Zarko Jun 20 '17 at 08:49
  • 1
    These may be of interest: https://tex.stackexchange.com/questions/70999/ https://tex.stackexchange.com/questions/71638/ – Torbjørn T. Jun 20 '17 at 09:21
  • Well, i think that the main point of the question is precisely that the set of target nodes does not need to be convex (after all, most available shapes with fit are convex. – suitangi Jun 20 '17 at 11:48

0 Answers0