I am trying to draw specific portions of a Petri Net with TikZ. For parts of the subnet where the structure does not matter to me I'd like to use a cloud node filled with parallel lines (inspired by my mechanics lecture).

How can I achieve this with TikZ? The regular cloud node shape is being displayed as s simple circle in my file. Here is how I declare my cloud node:

\node[draw, cloud, cloud puffs = 10](cloud){};

You need to load the appropriate libraries:



    cloud puffs = 10,
    pattern=north east lines,
    minimum width=1cm,
    minimum height=0.75cm
  • I must have some conflicting packages as your sample still gives me an ellipse with a nice pattern...
    – DodoFXP
    Feb 18 '12 at 12:36
  • Found the overriding style. It works now. Thanks!
    – DodoFXP
    Feb 18 '12 at 13:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.