Icons and library entries for new pathsim discrete and Polynomial blocks#286
Merged
milanofthe merged 1 commit intomainfrom May 7, 2026
Merged
Icons and library entries for new pathsim discrete and Polynomial blocks#286milanofthe merged 1 commit intomainfrom
milanofthe merged 1 commit intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds pathview support for the seven new pathsim blocks introduced in
pathsim.blocks.discreteandpathsim.blocks.math:FirstOrderHold,DiscreteIntegrator,DiscreteDerivative,DiscreteStateSpace,DiscreteTransferFunction,TappedDelay,PolynomialChanges
Mixedcategory toDiscrete, kept its block shape (asymmetric corner radii). New blocks placed there;Polynomialplaced inAlgebraic.registry.ts,curves.ts):FirstOrderHold— piecewise-linear plot through the same sample values asSampleHold, so the two icons read as a pair.DiscreteIntegrator,DiscreteDerivative,DiscreteStateSpace,DiscreteTransferFunction— KaTeX math (transfer function or recurrence form).Polynomial— KaTeXy = Σ c_k u^{n-k}.TappedDelay— custom SVG with cross axes and four time-shifted pulse traces, matching the visual style of other plot icons.uiConfig.ts): addedPolynomial,FirstOrderHold,DiscreteIntegrator,DiscreteDerivativetosyncPortBlocks(1 input default, outputs mirror inputs for parallel vectorisation).DiscreteStateSpaceleft free (true MIMO, likeStateSpace).generated/blocks.ts): re-extracted from local pathsim (75 → 82 blocks).TappedDelaynow ships withinputs: ["in"]thanks to the matching pathsim PR addinginput_port_labels.