Skip to content

ityped/text2flow

Repository files navigation

text2flow

Join the chat at https://gitter.im/text2flow/Lobby

Live text to flowcharts converter Purposes of creation: documenting Lithography project

Project Requirements

What You Type is What It Draw

Samples

Phase 1a. Trees

  • RootNodeA
    • InnerNodeA
      • LeafNodeA
      • LeafNodeB
    • LeafNodeC
    • InnerNodeB
      • LeafNodeD
      • LeafNodeE
      • LeafNodeF
How it could be done in

GraphViz

    
    digraph D {
    	 RootNodeA,
    	 InnerNodeA,InnerNodeB,
    	 LeafNodeA, LeafNodeB,LeafNodeC, LeafNodeD, leafNodeE, LeafNodeF;
    	
    	RootNodeA -> InnerNodeA;
    	
    		InnerNodeA -> LeafNodeA;
    		InnerNodeA -> LeafNodeB;
    
    	RootNodeA -> LeafNodeC;
    
    	RootNodeA -> InnerNodeB;
    
    		InnerNodeB -> LeafNodeD;
    		InnerNodeB -> LeafNodeE;
    		InnerNodeB -> LeafNodeF;
    }
    

GraphViz diagram

draw.io (visual approach)

draw.io sketch

text2flow

TODO: implement phaseA and fill this section

Phase 1b. FlowSpec

Phase 1c. Backlinks

Phase 1d. Decoration

Internal Grammar Schema

Grammar Schema should be implemented only in the second phase of development since it require more efforts.

    digit = /[0_9]/
    symbol = /[a_zA_Z]/
    decorative-delimiter = {
        '-' | '+' | '=' | '/' | '\\' | '&' | '*' | \
        '.' | '(' | ')' | '[' | ']' | '{' | '}' | \
        '!' | '@' | '#' | '$' | '%' | '^' | '_' | \
        ':' | '?' | '<' | '>' | ',' | '~'
    }
    guarding-open-delimiter = '"' | '{' | '['
    guarding-close-delimiter = '"' | '{' | '}'
    inner-char = digit | symbol | decorative-delimiter
    backslashed-guardian-delimiter = '\"'
    string = guarding-delimiter ~ (inner-char | backslashed-guardian-delimiter) ~ guardian-delimiter
    indent = '\t'
    // TODO: complete Grammar Schema

Releases

No releases published

Packages

No packages published