Giter Site home page Giter Site logo

trelliscat's Introduction

TrellCat

Writing tool written in Qt (C++) that lets you focus on the structure of a narrative rather than the prose.

The app doesn't support new file creation yet. Creating a file by scratch isn't too difficult though. The app accepts .tcpro files, or .๐Ÿฑ files, although Linux doesn't currently support .๐Ÿฑ files completely. The contents of the file are a pre-order traversal or a tree, where each node of the tree takes up a single line, with the following format:

<NODE DEPTH> | <NODE CONTENTS>

The contents portion is optional, everything else is required. For example:

1|Beginning
1|Middle
2|Chapter 1
3|Scene 1
2|Chapter 2
3|Scene 1
3|Scene 2
1|End

Would result in the following tree:

Beginning
Middle  ----  Chapter 1   ----  Scene 1
        ----  Chapter 2   ----  Scene 1
                          ----  Scene 2
End

Note that the tree starts at depth 1. This is because having a single node at the left of the screen doesn't sound like a useful feature, but the underlying code still creates a node at depth 0 that is the parent to all the depth-1 nodes.

trelliscat's People

Contributors

rileystartower avatar riley-calais avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.