Repository navigation
Releases
v0.2.0
German interface, a lighter undo, and more of OPC UA in the panel:
- German interface. It follows the language of the browser, inside the AutomationML Editor plugin the language of Windows. OPC UA terms stay as the specification names them; the core's messages stay English for scripts.
- Undo keeps what a step changed instead of a copy of the whole file. On Pumps a step keeps a few KB instead of 23 MB, and every model keeps 100 steps again.
- Sub-state machines (HasSubStateMachine), matrices (ValueRank 2) and structure fields that allow subtypes in the panel.
- Instances below a node of a loaded model, as companion specifications put their devices into DI's DeviceSet.
- A user manual, docs/manual.md.
npm: npm install nodeset-js@0.2.0. The full list is in CHANGELOG.md.
Full Changelog: v0.1.2...v0.2.0
v0.1.2
Two fixes for large models and for the checks:
- Undo no longer grows without end. Every undo step kept a copy of the whole file, about 23 MB a step for Pumps, so a long session on a large model grew until the tab gave up. A model now keeps at most 100 steps and about 200 000 copied nodes, never fewer than 10 (20 for Pumps). A batch is still taken back whole.
- A check that throws no longer stops the modeler. The toolbar says "Checks failed" and the list of findings says why.
npm: npm install nodeset-js@0.1.2. The full list is in CHANGELOG.md.
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Selecting a DataType without fields (a subtype of Int32, say) after one with fields blanked the whole page, and whatever was not saved was gone. This release fixes that and makes sure a failure of the interface no longer costs work.
- Fixed: the fields section called a React hook after an early return. It showed on MachineVision, whose ResultStateDataType refines Int32.
- A failure stays in its place. The node editor and the list of findings each say what went wrong instead of taking the page with them. If the modeler as a whole fails, the model stays: Save NodeSet and Try again, which starts the modeler anew with the same model.
- Unsaved work in the browser. On a page of its own the modeler keeps unsaved work in IndexedDB once editing pauses and offers it at the next start (Restore, Discard). Inside a host such as AMLOpcUa there is no backup; the host keeps the model.
- Tests of the interface. Playwright drives the web build in Chromium, among others over twelve released companion specifications from OPCFoundation/UA-Nodeset, and
eslint-plugin-react-hookschecks the order of hooks. Both run in CI.
npm: npm install nodeset-js@0.1.1. The full list is in CHANGELOG.md.
Full Changelog: v0.1.0...v0.1.1
v0.1.0
A graphical modeller for OPC UA information models: it reads and writes NodeSet2 files, runs in a browser on its own, and embeds in the AutomationML Editor plugin AMLOpcUa.
- The file is the format. NodeSet2 in and out without loss: values, definitions, extensions and the attributes the modeller does not edit are written back as they were read. Diagram positions live in the NodeSet's own
Extensions, which other tools ignore. - Types and instances: ObjectTypes, VariableTypes, DataTypes and ReferenceTypes with their instance declarations, ModellingRules, method arguments, structure fields, enumerations, OptionSets and unions; instances built the way a server builds them.
- Finite state machines after OPC 10000-5 Annex B, drawn as a state chart while they are built.
- Canvas in the notation of OPC 10000-3 Annex C, with a context pad for children, references and deletion.
- Checks: rules on a model before any server sees it, measured against the released companion specifications.
- A core without a browser:
nodeset-js/corereads, changes and checks a NodeSet in Node, with the base model and DI inside the build.
Build with npm install && npm run build; the tests run with npm test.