yfiles-nodestyle-interaction

Official

Accurate hit testing for custom node styles.

AuthoryWorks
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Precise hit testing and edge cropping are essential when implementing non-rectangular node styles. This skill provides a pattern to override isHit and getOutline and ensures accurate user interactions.

Core Features & Use Cases

  • Custom hit testing for non-rectangular shapes using isHit
  • Edge cropping using getOutline to influence where edges connect
  • Robust click detection for complex node shapes and interaction scenarios

Quick Start

Implement InteractiveNodeStyle by extending NodeStyleBase and override isHit and getOutline to match your shape, then test click accuracy in your app.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: yfiles-nodestyle-interaction
Download link: https://github.com/yWorks/yfiles-for-html-claude-plugin/archive/main.zip#yfiles-nodestyle-interaction

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.