Radial Layout
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: Radial Layout
Not a huge deal. With PB v4.40 you can no longer plot outside the image bounds with ImageOutput(). A tweak here or there would set it right.
BERESHEIT
- Kwai chang caine
- Always Here
- Posts: 5494
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: Radial Layout
Just for information i obtain that; left mouse click - move selected node To center
; right mouse click - add child To selected node

And nothing move with left or right click
W2000 PRO SP4 v4.40

Not a destination
Re: Radial Layout
The same bug than jpg decoder.
Re: Radial Layout
cool! 

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
Re: Radial Layout
EDIT: added feature for checking objects outside the image bounds
updated code in first post
updated code in first post
Re: Radial Layout
I have a stupid question. It's all neat and everything, and maybe i'm a little dense this morning (ok, no comments
), but what would be a practical application of this ?

The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
Re: Radial Layout
it's for visual exploration of relations between nodes. it's usefull for viewing network topology, partnerships, etc..
Re: Radial Layout
The "Oooh pretty!" factor.SFSxOI wrote:I have a stupid question. It's all neat and everything, and maybe i'm a little dense this morning (ok, no comments), but what would be a practical application of this ?
Enterprise level systems sell over things like that.
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: Radial Layout
THIS morning???SFSxOI wrote:I have a stupid question. It's all neat and everything, and maybe i'm a little dense this morning (ok, no comments), but what would be a practical application of this ?


If you could link nodes to other already existing nodes you would have a tool like the FBI uses to build relationship maps between gang members /terror suspects / innocent citizens!

- Arctic Fox
- Enthusiast
- Posts: 609
- Joined: Sun Dec 21, 2008 5:02 pm
- Location: Aarhus, Denmark
Re: Radial Layout
Very impressive! 
There still seem to be an error with this line (about line 400)
Try adding nine consecutive nodes, move node four to the center and add twelve consecutive nodes after this node. Remember to turn on the debugger 

There still seem to be an error with this line (about line 400)
Code: Select all
plot_color = ColorBlending ( Color, Point ( X + n * SensX, Y + nn * SensY ), Application )

Re: Radial Layout
Rook Zimbabwe wrote:THIS morning???SFSxOI wrote:I have a stupid question. It's all neat and everything, and maybe i'm a little dense this morning (ok, no comments), but what would be a practical application of this ?
You and I are the founders of the Dense in the AM club!
![]()
If you could link nodes to other already existing nodes you would have a tool like the FBI uses to build relationship maps between gang members /terror suspects / innocent citizens!
LoL

Nodes might be OK for hardware or even virtual network or networking topology (both human and virtual) to show a basic picture, but for stuff like the relationships you mentioned you need interactive relational vectors and not just nodes to show ancillary and associated involvement/interaction as it occurs to get a clear picture. So for something like the relationships you mentioned its not suitable.
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: Radial Layout
Yep... true... butthat gives him somewhere to go with it if he wants!

SFSxOI wrote:Rook Zimbabwe wrote:THIS morning???SFSxOI wrote:I have a stupid question. It's all neat and everything, and maybe i'm a little dense this morning (ok, no comments), but what would be a practical application of this ?
You and I are the founders of the Dense in the AM club!
![]()
If you could link nodes to other already existing nodes you would have a tool like the FBI uses to build relationship maps between gang members /terror suspects / innocent citizens!
LoL
Nodes might be OK for hardware or even virtual network or networking topology (both human and virtual) to show a basic picture, but for stuff like the relationships you mentioned you need interactive relational vectors and not just nodes to show ancillary and associated involvement/interaction as it occurs to get a clear picture. So for something like the relationships you mentioned its not suitable.
Re: Radial Layout
Awesome.
Re: Radial Layout
Yeah.Fred wrote: Awesome.
I have to agree with Fred.
I didn't understand half of Rook's words either...

( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: Radial Layout
I just tried the code (edited version with bound checking) with PB 4.41 RC 1 and NT4 : it's better (it can see the circles and the first point) but it still crashes (invalid memory access at line 609 [EndProcedure]).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).