Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mocoal"
version = "0.1.0"
version = "0.1.1"
edition = "2024"
authors = ["John Tinnerholm <jtinnerholm@gmail.com>"]
license = "LicenseRef-OSMC-PL-1.8 OR AGPL-3.0-only"
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ speed sensor's feedback below. In OMEdit 1.27.1:

![Drive in OMEdit after mocoal](examples/omedit/Drive-layout.png)

Both pass OMEdit's check (Chain 6 equations, Drive 32). More in [examples/](examples/README.md):
Drive before and after, and six examples of the Modelica Standard Library, before and after, in
OMEdit.
More in [examples/](examples/README.md): Drive before and after, and six examples of the
Modelica Standard Library, before and after, in OMEdit.

## Build

Expand Down
5 changes: 3 additions & 2 deletions interface/INTERFACE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ for people. Its wording is not part of the interface: a caller tests the result

### mocoal_version

The version of the implementation (`"0.1.0"`). The text belongs to the library and is valid as
The version of the implementation (`"0.1.1"`). The text belongs to the library and is valid as
long as the library is loaded. It is not the version of the interface (see
[Open points](#open-points)).

Expand Down Expand Up @@ -94,14 +94,15 @@ Releases a result of `mocoal_layout`. `NULL` is allowed.
| `--no-rotate` | | off | Do not turn components whose connectors are all acausal. |
| `--graphics NAME` | `move`, `keep`, `drop` | `move` | What happens to the shapes of the Diagram layer. |
| `-L`, `--library DIR` | a directory | none | A directory with libraries, for the class lookup. May be repeated; searched in the order given. |
| `--stack MB` | an integer from 1 to 65536 | `256` | The stack of the layout in MB. A level of nesting in the model takes about 3 KB. |

What the options do is described in [README.md](README.md).

Rules:

- Any other word gives `NULL` and a message: an unknown option, a missing value, an unknown
value, a file name, and the options of the program `mocoal` that are not layout options
(`-o`, `-i`, `-n`, `-q`, `--svg`, `-h`, `--version`).
(`-o`, `--stdin`, `-i`, `-n`, `-q`, `--svg`, `-h`, `--version`).
- No layout is made with a part of the options. An implementation that does not have an option
or a value returns `NULL`; it does not ignore the word.
- A text without classes comes back as it is. So `mocoal_layout("", NULL, "--graphics move")`
Expand Down
Loading