Closed surpmillet closed 8 years ago
In recent update plans, no.
I think drag/drop is most easy and fast way to create charts. Current markdown syntax for FlowChart/SequenceChart is too geek. However, if I integrate FlowChart/SequenceChart in typora's way, in other words, providing easy-to-use user interface for creating/modifying charts, it will be too much work.
Besides, I'm not sure how many users would write FlowChart/SequenceChart in markdown.
+1 for this Feature.
+1 me too
I agree that adding FlowChart/SequenceChart go against Typora's mission of being "a truly minimal markdown editor". But if you decide to do it, take a look at WebSequenceDiagrams. It uses a very simple plain text syntax that is the Markdown of sequence diagrams! Amazingly simple and intuitive. Almost natural language.
They even support embedding if it makes more sense than replicating the functionality natively within Typora. Looks like there is an open source clone: JS Sequence Diagrams.
Some other plain text diagram tools I found:
I haven't found one for flow charts, but good chance one exists, or a tweak of yUML might be enough.
-1
:+1: I think FlowChart feature would be great. Simple one like flowchart.js
with Preview is enough.
+1 Also look at this https://marxi.co
st=>start: Start
e=>end
op=>operation: My Operation
cond=>condition: Yes or No?
st->op->cond
cond(yes)->e
cond(no)->op
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
+1 for this Feature.
Supported in new version -> http://support.typora.io/Draw-Diagrams-With-Markdown/
@abnerlee, I'm just curious, why is support for these features opt-in via Preferences? Is it just to avoid extra processing? I.e., someone is unlikely to type in ```flow by accident, so why not just always process and support this, vs. requiring someone to check the checkbox first in Preferences (which also requires a restart)?
flow, sequence and mermaid will be available as auto-complete candidate when user input "```". so user may still create charts (by accident) without knowing how to write a chart if these features are enabled by default.
Isn't that like arguing that Java should be opt-in via Preferences because someone could accidentally type in ```java without knowing how to code in Java? 😊 But OK.
Unable to get diagrams to work:
I have this:
Title: Here is a title
A->B: Normal line
B-->C: Dashed line
C->>D: Open arrow
D-->>A: Dashed open arrow
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
and I get the following error:
[Sequence]Parse error on line 1:
-----------^
Expecting ',', 'LINE', 'DOTLINE', 'MESSAGE', got 'NL'
+1, same error.
This works and I don't know why. I also don't know why Window Cleaning is repeated
```sequence Title: Here is a title MultiIndustry->Window Cleaning: Multi MultiIndustry->Landscaping: MultiIndustry->Refrigerator Repair: ```
I am having some problems with flow chart
st=>start: Start
op1=>operation: Sum=0
cond=>condition: More cards in Pile 1?
op2=>operation: pick a card X from pile 1
op3=>operation: Move X to pile 2
op4=>operation: Add CardX's Maths Score To Sum
e=>end
st->op1->cond
cond(no)->e
cond(yes)->op2->op3->op4->cond
my output my desired output
have you ever thought about to add FlowChart and SequenceChart in your roadmap?