开发者

Language to create flowcharts [closed]

开发者 https://www.devze.com 2022-12-11 06:32 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years ago.

开发者_如何学Go Improve this question

This seems like something which must have been answered before, but I can't find anything appropriate in the question archives. Basically, I'm looking for a little Domain Specific Language to create flowcharts. I'm terrible at graphic design and making things look nice, and I'd really like a langauge where I could write something in code and it would produce a pretty flowchart. I've come across GraphViz, but it seems more suited to creating things like Finite State Machine diagrams, rather than process flowcharts. It also doesn't have the simple DSL-style front-end that would allow me to easily work it.

Any ideas?


Have a look at PlantUml - in particular their Activity State diagrams.

As an example (from their site) produces the image below:

@startuml

start

if (graphviz installed?) then (yes)
  :process all\ndiagrams;
else (no)
  :process only
  __sequence__ and __activity__ diagrams;
endif

stop

@enduml

Language to create flowcharts [closed]


MindFusion offers components for diagramming that you can access programmatically.

They offer components for WPF and WinForms:

  • WPFDiagram - WPF
  • FlowChart.NET - WinForms

In the past I've used their WPF component on a DSL editor project. Based on Toolbox drag-and-drops in the DSL editor, WPFDiagram was called to create shapes on the Drawing Surface.

0

精彩评论

暂无评论...
验证码 换一张
取 消