Since version 1.05.0493 (0503), Cyclone now supports anonymous edges.
A star represents all the nodes in a graph including the source node itself. The syntax as follows:
edge { Src -> * }
A star represents all the nodes in a graph excluding the source node. The syntax as follows:
edge { Src -> + }
A bidirectional sign represents two connections. The syntax as follows:
edge { Src <-> Tar }
A graph has 6 nodes: S0, S1, S2, S3, S4 and S5. The following code
edge { S0 -> * }
edge t0 { S0 -> S0 }
edge t1 { S0 -> S1 }
edge t2 { S0 -> S2 }
edge t3 { S0 -> S3 }
edge t3 { S0 -> S4 }
edge t3 { S0 -> S5 }
edge { S0 -> + }
edge t0 { S0 -> S1 }
edge t1 { S0 -> S2 }
edge t2 { S0 -> S3 }
edge t3 { S0 -> S4 }
edge t4 { S0 -> S5 }
Note: For both Star and Plus, they can only be used in specifying target nodes.
@2020-2022 Hao Wu. All rights reserved. Last update: January 29, 2022