Timeline for answer to TikZ: placing a line (transformed into a sinusoidal shape) parallel to an edge connecting nodes by Roelof Spijker
Current License: CC BY-SA 3.0
Post Revisions
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 31, 2012 at 13:24 | comment | added | mSSM |
Ok, let me rephrase my second question: with \path (a) ++(-2,0) edge (b) you essentially say "start at (a), move to (-2,0) from (a) and make this the new reference point, and draw a line to (b)". What I want to do is: "start at (a), draw a line to [ (b) ++(+2,0) ]", i.e. I would like to have an edge from (a) to a point somewhere past (b), using a similar syntax you employed.
|
|
| Jan 31, 2012 at 0:21 | comment | added | Roelof Spijker |
@mSSM: As far as inheriting the post style goes, I don't think there is much you can do. The easiest way is to explicitly set the values you want for those given in the post style on the node (they will override). For the reverse of the path notation, I don't really get what you mean. Your syntax is wrong on your try. You need to tell me what you wish to accomplish in order for me to be able to correct you.
|
|
| Jan 30, 2012 at 21:17 | comment | added | mSSM |
Also: that syntax you used \path (potential) ++(-2,0) edge (potential): how could I use it in reverse? I guess \path (potential) edge ++(+2,0) would work, but what about \path (a) edge ++ (b) (+2,0) (that one fails)?
|
|
| Jan 30, 2012 at 21:04 | comment | added | mSSM | Is there a way to have tikz not inherit the post style? Right now, the node containing \sinline apparently inherits the post style from the edge. | |
| Jan 30, 2012 at 16:15 | vote | accept | mSSM | ||
| Jan 30, 2012 at 16:15 | comment | added | mSSM | Oh wow, that's a lovely solution! In fact, I wanted to do exactly that yesterday, but I couldn't figure out how. Thank you so much! | |
| Jan 30, 2012 at 16:11 | history | answered | Roelof Spijker | CC BY-SA 3.0 |