Skip to content

flograph 0.1.24

Choose a tag to compare

@redthista redthista released this 05 Oct 07:19
· 162 commits to master since this release

Install with pip install flograph==0.1.24.

Node packs, and report pages that work as an app: buttons, live status, and
two new themes.

Highlights

Node packs

A node pack adds a set of nodes to the library in one go, in a section of
its own: connectors for one system, the nodes a team shares, or a capability
flograph does not ship with. Tools ▸ Node Packs… installs a pack from a
.zip or links a folder, shows each pack's version and what it still needs,
and opens its example flows. flograph pack does the same from a terminal.
A pack's shared code stays loaded between runs, so it can keep a model or a
connection open, and a pack can declare settings that get a form of their
own. A flow records the packs it used, and opened without one, its nodes say
which pack to install.

Buttons in a report page

Embed an Action Button in a report page on a line of its own,
![[Refresh Data]], and the preview draws it as a button that does what the
button does on the canvas: run nodes, a frame or the whole flow, show a
message, or go to a page. Set it to Run nodes, name your data source and
tick the new Update what follows, and one click re-reads the data and
redraws every chart and table built from it. Buttons are for the app only,
so the PDF and saved HTML leave them out.

Lines for the app only

Start a report line with apponly:: and it shows in the app's preview and is
left out of the PDF, the saved HTML and the Save Report node. One report now
carries both its working controls and the clean copy you send.

What a report can say about the app

![[flograph.status]] is a coloured pill showing whether the flow is up to
date, out of date, running or has failed, with when it last ran and how long
that took. It redraws as a run starts and ends. Thirteen more facts fit into a
sentence, such as Data as of ![[flograph.last_run]] on ![[flograph.date]].
They also cover the file, its size, node counts, memory and the version. Type
![[flo and the autocomplete lists them all.

Two new report themes, and smaller web pages

Studio sets Midnight's layout in Ledger's warm colours, and Swiss is
white paper, black type and one signal red, in the International
Typographic Style. Double-click any colour in the CSS tab to pick a new one.
A report's web page also spells out much less styling per table cell. A
30-row table's page went from 108 KB to 30 KB.

See the full changelog.