Recent

Author Topic: LazNodeEditor (visual node graph editor component )  (Read 1709 times)

simsee

  • Full Member
  • ***
  • Posts: 240
Re: LazNodeEditor (visual node graph editor component )
« Reply #30 on: June 04, 2026, 10:00:01 am »
The demo doesn't compile with Lazarus 4.6 yet. Can you test it with the current version of the IDE/compiler?

wp

  • Hero Member
  • *****
  • Posts: 13550
Re: LazNodeEditor (visual node graph editor component )
« Reply #31 on: June 04, 2026, 11:47:15 am »
Now the issue is "InflateRect(Result, 12.0, 12.0)" in TNodeGraph.GetLinkWorldBounds in LazNodeEditor.Graph. I wonder why you don't see all these issues? Sorry, I really don't want to be insulting now: but this sequence of posts reminds me of responses that I get when asking ChatGPT. Are you human?

CynicRus

  • Jr. Member
  • **
  • Posts: 80
Re: LazNodeEditor (visual node graph editor component )
« Reply #32 on: June 04, 2026, 12:09:43 pm »
Now the issue is "InflateRect(Result, 12.0, 12.0)" in TNodeGraph.GetLinkWorldBounds in LazNodeEditor.Graph. I wonder why you don't see all these issues? Sorry, I really don't want to be insulting now: but this sequence of posts reminds me of responses that I get when asking ChatGPT. Are you human?
Gentlemen, it never occurred to me that anyone was still using plain 3.2.2 — I had been working with 3.2 plus fixes. I’ve now specifically taken a clean, stable version, installed it on a VM, and fixed the build issue.
I use trunk for development and then backport the changes to an older compiler. Why trunk? Because I need its features for other code, and constantly switching compilers is inconvenient for me. For convenience, I’ve provided the current built codebase as a pre-release.
I apologize for the inconvenience. But as you can see, development is progressing very actively.

simone

  • Hero Member
  • *****
  • Posts: 704
Re: LazNodeEditor (visual node graph editor component )
« Reply #33 on: June 04, 2026, 12:25:55 pm »
Most users (myself included) are working with the current version of lazarus with the fpc build that comes with it. If you'd like to support this version, I'd be happy to test your component and provide feedback.

Now the issue is "InflateRect(Result, 12.0, 12.0)" in TNodeGraph.GetLinkWorldBounds in LazNodeEditor.Graph. I wonder why you don't see all these issues? Sorry, I really don't want to be insulting now: but this sequence of posts reminds me of responses that I get when asking ChatGPT. Are you human?
Gentlemen, it never occurred to me that anyone was still using plain 3.2.2 — I had been working with 3.2 plus fixes. I’ve now specifically taken a clean, stable version, installed it on a VM, and fixed the build issue.
I use trunk for development and then backport the changes to an older compiler. Why trunk? Because I need its features for other code, and constantly switching compilers is inconvenient for me. For convenience, I’ve provided the current built codebase as a pre-release.
I apologize for the inconvenience. But as you can see, development is progressing very actively.

Microsoft Windows 10/11 64 bit - Lazarus 3.8/4.0 FPC 3.2.2 x86_64-win64-win32/win64

CynicRus

  • Jr. Member
  • **
  • Posts: 80
Re: LazNodeEditor (visual node graph editor component )
« Reply #34 on: June 04, 2026, 12:33:54 pm »
Most users (myself included) are working with the current version of lazarus with the fpc build that comes with it. If you'd like to support this version, I'd be happy to test your component and provide feedback.

Now the issue is "InflateRect(Result, 12.0, 12.0)" in TNodeGraph.GetLinkWorldBounds in LazNodeEditor.Graph. I wonder why you don't see all these issues? Sorry, I really don't want to be insulting now: but this sequence of posts reminds me of responses that I get when asking ChatGPT. Are you human?
Gentlemen, it never occurred to me that anyone was still using plain 3.2.2 — I had been working with 3.2 plus fixes. I’ve now specifically taken a clean, stable version, installed it on a VM, and fixed the build issue.
I use trunk for development and then backport the changes to an older compiler. Why trunk? Because I need its features for other code, and constantly switching compilers is inconvenient for me. For convenience, I’ve provided the current built codebase as a pre-release.
I apologize for the inconvenience. But as you can see, development is progressing very actively.

Well, I’ll be more careful from now on and test things in both places before making an announcement :) Sorry again — I didn’t mean to cause any inconvenience.

Dzandaa

  • Hero Member
  • *****
  • Posts: 540
  • From C# to Lazarus
Re: LazNodeEditor (visual node graph editor component )
« Reply #35 on: June 04, 2026, 12:55:53 pm »
Hi,

@CynicRus:

Working now in Windows 10 with version 3.8 fpc 3.2.2.

Not teste in Lunix, yet.

I don't investigate more because lack of time, but I will.

B->
Regards,
Dzandaa

CynicRus

  • Jr. Member
  • **
  • Posts: 80
Re: LazNodeEditor (visual node graph editor component )
« Reply #36 on: June 04, 2026, 01:46:54 pm »
Hi,

@CynicRus:

Working now in Windows 10 with version 3.8 fpc 3.2.2.

Not teste in Lunix, yet.

I don't investigate more because lack of time, but I will.

B->
Hi! If you take the archive, then update the renderer.pas from main repo. Otherwise there will be an issue with getlock.

simone

  • Hero Member
  • *****
  • Posts: 704
Re: LazNodeEditor (visual node graph editor component )
« Reply #37 on: June 04, 2026, 03:54:47 pm »
The demo currently on GitHub compiles without problems now, but a run-time error (access violation) occurs if you insert a new node into, using the context menu (Add Node -> Default Node).
Microsoft Windows 10/11 64 bit - Lazarus 3.8/4.0 FPC 3.2.2 x86_64-win64-win32/win64

CynicRus

  • Jr. Member
  • **
  • Posts: 80
Re: LazNodeEditor (visual node graph editor component )
« Reply #38 on: June 04, 2026, 05:06:34 pm »
The demo currently on GitHub compiles without problems now, but a run-time error (access violation) occurs if you insert a new node into, using the context menu (Add Node -> Default Node).

Do you mean when make a  new graph, or after loading an existing one? Because I can't reproduce that. If you connect from an empty pin to an empty space, is a new node created?
Well, on win 11 its work ok, but in win 10 i'm catch it. In the LazNodeEditor.Editor.pas comment out FEditorPopupMenu.OnClose := @OnPopupClose; in constructor, it's an artifact from the past and unnecessary now.
« Last Edit: June 04, 2026, 05:58:10 pm by CynicRus »

simone

  • Hero Member
  • *****
  • Posts: 704
Re: LazNodeEditor (visual node graph editor component )
« Reply #39 on: June 04, 2026, 08:05:18 pm »
I mean, adding a node to the graph shown in the demo. In an empty graph, the same runtime error occurs.
Microsoft Windows 10/11 64 bit - Lazarus 3.8/4.0 FPC 3.2.2 x86_64-win64-win32/win64

 

TinyPortal © 2005-2018