LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-27-2016, 10:04 AM   #1
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 14.2 64bit
Posts: 156

Rep: Reputation: 21
Automatic flowchart generator


Hi all.
I'm searching for a tool able to automatically draw a "flow chart" of a source code read as input.
I'm especially interested in analysis of a source code written in Fortran.
I found some alternatives running on linux, such as doxygen and f77_diagram, but none of them has been able to make a complete flow chart as expected.

Then I tried a closed alternative called Visustin, it supports Fortran and its demo version has made a flowchart for the input source code as expected. Anyway this application doesn't support Linux OS and it has many limitations since it's just a demo version.

You can get a preview screenshot of what kind of diagram I obtained using Visustin, take a look at this link:

https://dl.dropboxusercontent.com/u/...2/visustin.jpg


I'd glad if you could suggest a working Free alternative running on Linux.
Thanks in advance!
 
Old 01-28-2016, 12:42 AM   #2
Elizine
Member
 
Registered: Aug 2015
Posts: 54
Blog Entries: 1

Rep: Reputation: Disabled
Dia is an automatic flowchart generator working on Linux. Here a link on information about Dia - https://www.linux.com/learn/tutorial...harts-with-dia
 
1 members found this post helpful.
Old 01-28-2016, 01:03 AM   #3
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,459
Blog Entries: 3

Rep: Reputation: 1461Reputation: 1461Reputation: 1461Reputation: 1461Reputation: 1461Reputation: 1461Reputation: 1461Reputation: 1461Reputation: 1461Reputation: 1461
It's been awhile but a java app came to mind, think this is it: JFreeChart\http://www.jfree.org/jfreechart/
or: https://docs.oracle.com/javafx/2/cha...pub-charts.htm

The image makes me think Freemind?
 
Old 01-28-2016, 05:37 AM   #4
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 14.2 64bit
Posts: 156

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by Elizine View Post
Dia is an automatic flowchart generator working on Linux. Here a link on information about Dia - https://www.linux.com/learn/tutorial...harts-with-dia
Uhmmm... Reading that link I can't find feature I need. It seems just a tool for draw diagram "by hand". Instead I need an app that parse my Fortran source code and automagically draws corresponding flowchart. There is a project with a similar name, AutoDia (http://www.aarontrevena.co.uk/opensource/autodia/) which I think it does what I'm looking for. But It doesn't support Fortran language as input code.

Quote:
Originally Posted by jamison20000e
JFreeChart
javafx
Seems they are not able to create "flowcharts", support other types of diagrams.
http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=16843
http://www.jfree.org/forum/viewtopic.php?f=3&t=3879
https://docs.oracle.com/javafx/2/cha...w.htm#CJAHHJCB

Quote:
Originally Posted by jamison20000e
Freemind
Ok, I don't have to draw a diagram by hand or something similar. I have a program code written by an other person and I'm working on its analysis. The goal is to understand what that code does, which is the scheme it follows... so, how it works. Then I'll try to rewrite and optimize it if possible.

To better explain what I need... following online tool is an interactive example of code to flowchart translation I'm looking for:
http://code2flow.com/#help

Unfortunately it just support "C" , not Fortran...

An other alternative seems to be "Understand For Fortran" by Scilab:
https://scitools.com/feature/control-flow-graphs/

But it is not free...
 
Old 05-26-2016, 03:59 AM   #5
ark704
LQ Newbie
 
Registered: May 2016
Posts: 1

Rep: Reputation: Disabled
Hi joenew.

Did you make any break through in generating the flow chart?
 
Old 06-06-2016, 06:01 PM   #6
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 14.2 64bit
Posts: 156

Original Poster
Rep: Reputation: 21
"Understand for fortran" seems to work fine.
 
Old 06-07-2016, 01:21 AM   #7
rumbling
LQ Newbie
 
Registered: Jun 2016
Posts: 1

Rep: Reputation: 0
Dia is great for creating flowcharts, but I'm not sure it supports automatic creation of flowcharts based on code.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic diagram generator software synss Linux - Software 7 01-09-2010 03:30 AM
C++ to flowchart, Any? muby Linux - Software 2 01-07-2008 01:40 AM
APG (Automatic Password Generator) very slow to answer jmcollin92 Linux - Security 2 05-23-2006 02:23 PM
Scott Pakins Automatic Complaint Generator? flamesrock Linux - Software 1 11-06-2003 09:27 PM
Webmin automatic password generator ToBe Linux - General 2 08-26-2003 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration