Patterns
Using patterns for visual clarity and stylistic enhancements in diagrams.
Introduction
Patterns in Neural Sketch enhance diagram readability by providing visual distinction and stylistic refinement. Commonly used in publication-quality graphics, patterns such as lines, hatching, and dots help differentiate diagram components clearly without relying solely on color.
Using Patterns
Patterns can be easily applied to shapes such as blocks and containers by setting the pattern
key.
Available Patterns
Neural Sketch provides built-in aliases for ease of use:
Alias | TikZ Pattern Name |
---|---|
hlines | horizontal lines |
vlines | vertical lines |
hatch | north east lines |
rhatch | north west lines |
Example using Aliases
Here's how you can simplify your patterns using Neural Sketch's aliases:
Customizing Pattern Appearance
You can further customize patterns using the pattern-color
key:
This example applies vertical lines in Neural Sketch’s predefined color nskRed
.
Best Practices
- Use Patterns Sparingly: Patterns work best for highlighting distinctions. Overuse can clutter diagrams.
- Combine with Color: Subtle color choices enhance readability.
- Consistency: Apply the same pattern consistently to similar conceptual elements across diagrams to maintain coherence.
By thoughtfully applying patterns, you can greatly enhance the visual structure and clarity of your diagrams, ensuring they meet the high standards of publication-ready visuals.