Skip to content

FlowGraph 0.4.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 12:55
· 27 commits to master since this release

What's new in 0.4.0

The FileSystem plugin

flow and flowstudio now come with a plugin for files and folders (category File System in the node palette):

  • The File type. Open File (Read, Write or Append) gives a File: Read Line, Read Text and Is At End read it,
    Write Line and Write Text write it (each write is in the file at once), Close closes it.
  • Files and folders: Copy, Move, Delete, Create Folder, List Folder and For Each File, with name patterns
    (*.txt;*.md) and Recursive.
  • Paths and questions (pure nodes): Join Path, Parent Folder, File Name, Extension, Change Extension, Absolute
    Path
    , Current / Temp / Home Folder, Exists, Is File, Is Folder, File Size, Last Modified.
  • Failed instead of errors. What cannot be done (a missing file, writing a file opened for Read, a full disk...) goes on with
    the node's Failed output and the reason in Error; the script decides what to do.
  • The application never waits. Big work (a copy, a big read or write) runs in the background and Stop interrupts it; a file
    too big for the memory goes to Failed (read it a line at a time).
  • Its texts are translated into the editor's 9 other languages, and Examples/Scripts/files.flow shows it at work.

Other changes

  • The node palette no longer offers every string node when you drag from a pin that is not a bool, int, float or string
    (a File, an enum, an array...): only Print String and the nodes that take any value. Connecting by hand works as before.
  • Documentation: a shorter README; the details are in Docs/Embedding.md
    (for applications) and Docs/Scripting.md (for scripts).
  • Linux: the package runs on distributions with glibc 2.28 or newer (RHEL / CentOS / Alma / Rocky 8 and 9, Debian 10,
    Ubuntu 20.04 and newer).
  • The example plugin is gone: the FileSystem plugin is the one to look at when you write your own.

For plugin authors: the plugin interface changed (NodeDef has a new field), so plugins built for 0.3 are refused (with the
reason): build them again against 0.4.

Downloads

  • FlowGraph-0.4.0-windows-x64.zip: flow, flowstudio (Qt included) and the SDK: headers, libraries and the CMake
    package (find_package(FlowGraph): FlowGraph::Core, FlowGraph::ScriptEditor). Windows 10 or later, x64.
  • FlowGraph-0.4.0-linux-x64.tar.gz: the same for Linux x64. It runs on distributions with glibc 2.28 or newer:
    RHEL / CentOS / Alma / Rocky 8 and 9, Debian 10, Ubuntu 20.04 and newer. flowstudio brings its Qt; the system
    needs the usual X11 libraries (for example xcb-util-cursor / libxcb-cursor0, libxkbcommon-x11).
  • SHA256SUMS.txt: checksums of both.

Plugins are binary: build them against this release (the loader refuses a plugin made for another build, with the reason).

Licenses: the runtime (FlowGraphCore) and flow are MIT; the editor and flowstudio are GPL-3.0-only, as they are
built on KDDockWidgets (GPL). Qt is used under the LGPL-3.0. The texts are in each package (LICENSE, LICENSES/).

Full Changelog: v0.3.0...v0.4.0