Skip to content

Add IEC Gates - #118

Open
luisjurthe wants to merge 2 commits into
tilk:masterfrom
luisjurthe:master
Open

Add IEC Gates #118
luisjurthe wants to merge 2 commits into
tilk:masterfrom
luisjurthe:master

Conversation

@luisjurthe

Copy link
Copy Markdown

Adds an opt-in rendering mode that draws logic gates as IEC 60617-12 rectangular symbols instead of the default ANSI. IEC symbols are the standard notation taught in Europe, so this makes DigitalJS diagrams usable directly in that context without post-editing.

setSymbols() accepts 'ansi' or 'iec' and throws on anything else. Switching fires a change:symbols event; all open papers including subcircuit windows update live, and papers opened later inherit the current setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant