It is currently Thu Jan 21, 2021 2:29 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 44 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: MindMap
PostPosted: Mon Jun 11, 2012 12:15 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 625
Location: France
PB 5.20dated for 5.20+ (Window, Linux, MacOs) - Update : 18 Aout 2013

This code is the beginning of a Mind Mapping software which make it easy (I hope:p) to create mind maps, brain-storming diagrams, project timeline, life planner ...

:arrow: download:
MindMap V1.90 (Source)

Image
Insert a box and select the Insert key to insert a node. You can also insert a node from the context menu (menu PopPup).

Licence : Use As You Like

-Shortcut keys.

F11 Show horizontal toolbar.
S SnapGrid or not SnapGrid
B Insert new round box
T Insert new text
I Insert new image

Ctrl+N New Project
Ctrl+O Open Project
Ctrl+S Save Project
Ctrl+P Project Preference

Ctrl+A Select all entitiies. Move only
Ctrl+C Remember entity.
Ctrl+V Paste a previously stored entity.
Ctrl+X or Delete Delete an entity.

Ctrl+L Link one entity to another entity.
Ctrl+UUnLink one entity.

Ctrl+Return Edit long texte

F2 or Spacebar or Double Click Inspector entity.
The Enter key is used to validate each field of the Inspector and move from one field to another filed.

Escape closes the inspector.

This code works with version 4.61 of pure basic. the constants #PB_Cursor_LeftUpRightDown and #PB_Cursor_LeftDownRightUp are not recognized in version 4.60.

If you want to continue with version 4.60, replace #PB_Cursor_LeftUpRightDown and #PB_Cursor_LeftDownRightUp by #PB_Cursor_Cross.

Thank you for your Feedback.

Original thread on the French forum
:arrow: http://www.purebasic.fr/french/viewtopic.php?f=6&t=12885

_________________

➽ Windows 10 - PB 5.73(x64)

Sorry for my bad english and the Dunning–Kruger effect.


Last edited by falsam on Sun Aug 18, 2013 10:07 pm, edited 19 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Mon Jun 11, 2012 6:33 am 
Offline
Enthusiast
Enthusiast

Joined: Mon Feb 16, 2009 10:42 am
Posts: 536
Location: sweden
Wow.
This was really a bit of awakening.
I think I must learn french, because you have some neat stuff going on in the french forum (really liked your CanvasVariation as well, that should be the next cross platform visual designer!)

Nice work!


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Mon Jun 11, 2012 10:49 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 625
Location: France
Thanks jesperbrannmark. I have to learn English too: p

I just saw that this code does not work with version 4.60 of Pure basic.
This code works from version 4.61 of pure basic. the constants #PB_Cursor_LeftUpRightDown and #PB_Cursor_LeftDownRightUp are not recognized in version 4.60.
If you want to continue with version 4.60, replace #PB_Cursor_LeftUpRightDown and #PB_Cursor_LeftDownRightUp by #PB_Cursor_Cross. Thank you for your Feedback

_________________

➽ Windows 10 - PB 5.73(x64)

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Mon Jun 11, 2012 3:25 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 767
Location: Nottinghamshire UK
Thanks falsam

Lots to learn from and just whats needed save me getting confused so much :lol:

Zebuddi. :)

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Mon Jun 11, 2012 6:22 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 625
Location: France
Update is out !
Add :
-Project Preference.

_________________

➽ Windows 10 - PB 5.73(x64)

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Mon Jun 11, 2012 7:30 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Dec 21, 2008 5:02 pm
Posts: 609
Location: Aarhus, Denmark
Great work, falsam! :D
And a good demonstration of the CanvasGadget.

Nevertheless, in several places I think
Code:
If SelectColor
should be replaced by
Code:
If SelectColor <> -1

And you may want to use a temporary 32-bit transparent image for the triangle (Losange, model no. 5) because FillArea does not override the points of the snap grid. :)

Keep up the good work :D


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Mon Jun 11, 2012 8:22 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 3377
Location: Boston, MA
Yes, very excellent example.
I would also expose the arrow keys to allow movement/placement of a selected entity.

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Tue Jun 12, 2012 12:51 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 625
Location: France
Arctic Fox wrote:
"If SelectColor" should be replaced by "if SelectColor <> -1"
Noob mistake !! Update done. Thanks :)
Arctic Fox wrote:
And you may want to use a temporary 32-bit transparent image for the triangle (Losange, model no. 5) because FillArea does not override the points of the snap grid.
I changed the color of grid points. But it is true that this is a problem with the use of FillArea ()

New version is done. Enjoy.

_________________

➽ Windows 10 - PB 5.73(x64)

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Fri Jun 15, 2012 10:18 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 625
Location: France
New version 1.37 is done
Add
-Multiline text-entry.
Access from the context menu, the inspector of the entity or by pressing Ctrl + Return.
Do not use the enter key at the moment because the result is not perfect.

-Align text left, right and center.
The justification for both left and right while present in this version is a disaster.

_________________

➽ Windows 10 - PB 5.73(x64)

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Fri Jun 15, 2012 10:36 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Dec 21, 2008 5:02 pm
Posts: 609
Location: Aarhus, Denmark
Hi falsam! Have you seen this one by c4s?
http://www.purebasic.fr/english/viewtopic.php?f=12&t=45192


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Fri Jun 15, 2012 11:08 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 625
Location: France
Bonjour Arctic Fox, I did not know this code, really very good work. Thank you for showing this link.

_________________

➽ Windows 10 - PB 5.73(x64)

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Sat Jun 16, 2012 10:43 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 625
Location: France
The source of MindMap version 1.50 is available.

Adding a toolbar only available with the F11 key.
I have a problem pointer. if you just create an entity, do not forget to select this entity before one action on it.

Since the inspector entity (F2 key or space bar or context menu) you can change the type of relationship from a parent entity.

_________________

➽ Windows 10 - PB 5.73(x64)

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Mon Jun 18, 2012 6:08 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 625
Location: France
MindMap version 1.60 is available.

Add :
-Insert image (JPG and PNG).
-New shortcut keys.
B Insert new round box.
T Insert new text.
I Insert new image.

Enjoy:)

_________________

➽ Windows 10 - PB 5.73(x64)

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Mon Jun 18, 2012 8:22 pm 
Offline
New User
New User

Joined: Tue May 08, 2012 11:06 pm
Posts: 8
HI

This is shaping up to be a really useful tool, thanks for all your hard work


Top
 Profile  
Reply with quote  
 Post subject: Re: MindMap
PostPosted: Tue Jun 19, 2012 11:17 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Sep 21, 2011 9:11 am
Posts: 625
Location: France
Thanks MicroByte and welcome :)
On what operating system you have tested this code?

_________________

➽ Windows 10 - PB 5.73(x64)

Sorry for my bad english and the Dunning–Kruger effect.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 44 posts ]  Go to page 1, 2, 3  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye