Group Abstract Group Abstract

Message Boards Message Boards

0
|
35 Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

How to avoid double edges in a graph growth process

Posted 1 day ago

Giulio suggested I run a graph growth process twice, the first time with white (invisible) edges, and the second with some color (blue in this case) in order to avoid the graph displaying in crazy ways as it is being formed. It works to avoid that problem, but now, there is a second issue: the EdgeList is duplicated (double edge sword;-)). Deleting the edges upon the second pass makes the first problem come back.

Isn't there a way to control the graph display so it is less jarring, so that nodes stay fixed on the screen as edges are added

?

POSTED BY: Iuval Clejan
2 Replies
Posted 1 day ago

OK, thanks, that worked. Here is the modified file

Attachments:
POSTED BY: Iuval Clejan

My suggestion is to start with the full final graph in white, extract the EdgeStyle with

PropertyValue[famgraph, EdgeStyle]

modify the style and replace it into the graph:

SetProperty[famgraph, EdgeStyle -> newEdgeStyles]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard