question

Mike Mayer avatar image
0 Likes"
Mike Mayer asked Phil BoBo edited

Network Node Shape - Circle vs Square

I am using FlexSim 24.1.0.

When I create travel network nodes, they are black squares. When a colleague brings the same model into FlexSim (same version) on their laptop, the network nodes are black circles.

I did find this on the topic: https://answers.flexsim.com/questions/65728/changing-travel-network-node-shapes.html ("Changing travel network node shapes")

Upon opening the answers.png answer, I see that one should choose the Legacy option in File > Global Preferences > Graphics > OpenGL Context pulldown.

However, there is no legacy version that I can see. I tried all three options (see screenshot), but the NN's remained square.

1721400967626.png


I checked around in File > Global Preferences (all tabs) and Edit > Model Settings and didn't see a way to change the shape. A right-click on the network nodes doesn't have a shape picker, and I also checked the Network Properties dialog from same R-click. I like the circles my colleague gets.

Thank you,

Mike Mayer

FlexSim 24.1.0
network nodesshapes
1721400967626.png (4.2 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Phil BoBo avatar image
2 Likes"
Phil BoBo answered Phil BoBo edited

"Legacy" was renamed "Recommended" so that people would stop de-selecting it, as it gives you the most compatible driver that your GPU recommends. (That driver supports "Legacy" OpenGL functions using a "Compatibility" profile.)

Whether NNs are drawn as circles or squares is controlled by your graphics driver. FlexSim tells OpenGL to draw "points" and you get whatever the driver gives you.

You could add code in an object's OnDraw trigger to enable point smoothing. Depending on whether your graphics driver supports that setting, that may turn the squares into circles:

#define GL_POINT_SMOOTH 0x0B10
fglEnable(GL_POINT_SMOOTH);
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.