Plugin : Graph
Author:Rex.Rainbow
- Graph with vertices and edges.
Download
Actions
Add
Action:Add edge
- Add edge.
- Edge ( number or string ) : UID (number) of symbol (string) of edge.
- Vertex A ( number or string ) : UID (number) of symbol (string) of Vertex A.
- Vertex B ( number or string ) : UID (number) of symbol (string) of Vertex B.
- Direction ( Combo ) : Direction of edge.
- Options : ["->","<-","<->"]
Action:Add vertex
- Add vertex.
- Vertex ( number or string ) : UID (number) of symbol (string) of Vertex.
Action:Add edge (#)
- Add edge.
- Edge ( number or string ) : UID (number) of symbol (string) of edge.
- Vertex A ( number or string ) : UID (number) of symbol (string) of Vertex A.
- Vertex B ( number or string ) : UID (number) of symbol (string) of Vertex B.
- Direction ( number or string ) : "->", or "<-", "<->".
Instance group - Edges
Action:Pick edges of vertex
- Pick edges of a vertex.
- Vertex ( number or string ) : Vertex object.
- Edge ( string ) : Edge object.
Action:Pick all edges
- Pick all edges.
- Edge ( string ) : Edge object.
Instance group - Vertices
Action:Pick vertices of edge
- Pick vertices of a edge.
- Edge ( number or string ) : Edge object.
- Vertex A ( string ) : Vertex A object.
- Vertex B ( string ) : Vertex B object.
Action:Pick neighbor vertices
- Pick neighbor vertices.
- Vertex ( number or string ) : UID (number) of symbol (string) of Vertex.
- Vertex ( string ) : Vertex object of neighbors
Action:Pick all connected vertices
- Pick all connected vertices.
- Start vertex ( number or string ) : UID (number) of symbol (string) of Vertex.
- Vertex ( string ) : Vertex object
- Traversal method ( Combo ) : Traversal method.
- Options : ["breadth-first","depth-first"]
- Include start ( Combo ) : Add start vertex or not.
- Options : ["","include start vertex"]
Action:Pick all vertices
- Pick all vertices.
- Vertex ( string ) : Vertex object of neighbors
SOL - Edges
Action:Pick edges of vertex
- Pick edges of a vertex.
- Vertex ( object ) : Vertex object.
- Edge ( object ) : Edge object.
SOL - Vertices
Action:Pick vertices of edge
- Pick vertices of a edge.
- Edge ( object ) : Edge object.
- Vertex A ( object ) : Vertex A object.
- Vertex B ( object ) : Vertex B object.
Action:Pick neighbor vertices
- Pick neighbor vertices.
- Vertex ( number or string ) : UID (number) of symbol (string) of Vertex.
- Vertex ( object ) : Vertex object of neighbors
Action:Pick all connected vertices
- Pick all connected vertices.
- Start vertex ( number or string ) : UID (number) of symbol (string) of Vertex.
- Vertex ( object ) : Vertex object
- Traversal method ( Combo ) : Traversal method.
- Options : ["breadth-first","depth-first"]
- Include start ( Combo ) : Add start vertex or not.
- Options : ["","include start vertex"]
Action:Pick all vertices
- Pick all vertices.
- Vertex ( object ) : Vertex object of neighbors
remove
Action:Remove edge
- Remove edge.
- Edge ( number or string ) : UID (number) of symbol (string) of edge.
Action:Remove vertex
- Remove vertex.
- Vertex ( number or string ) : UID (number) of symbol (string) of Vertex.
Action:Remove all
Conditions
Adjacent
Condition:Are neighbors
- Return true if these two vertices are connected by edge.
- Vertex A ( number or string ) : UID (number) of symbol (string) of Vertex A.
- Vertex B ( number or string ) : UID (number) of symbol (string) of Vertex B.
Cycle
Condition:In closed loop
- Return true if this vertices is in closed loop.
- Vertex ( number or string ) : UID (number) of symbol (string) of Vertex.
Instance group - Edges
Condition:Pick edges of vertex
- Pick edges of a vertex.
- Vertex ( number or string ) : Vertex object.
- Edge ( string ) : Edge object.
Condition:Pick all edges
- Pick all edges.
- Edge ( string ) : Edge object.
Instance group - Vertices
Condition:Pick vertices of edge
- Pick vertices of a edge.
- Edge ( number or string ) : Edge object.
- Vertex A ( string ) : Vertex A object.
- Vertex B ( string ) : Vertex B object.
Condition:Pick neighbor vertices
- Pick neighbor vertices.
- Vertex ( number or string ) : UID (number) of symbol (string) of Vertex.
- Vertex ( string ) : Vertex object of neighbors
Condition:Pick all connected vertices
- Pick all connected vertices.
- Start vertex ( number or string ) : UID (number) of symbol (string) of Vertex.
- Vertex ( string ) : Vertex object
- Traversal method ( Combo ) : Traversal method.
- Options : ["breadth-first","depth-first"]
- Include start ( Combo ) : Add start vertex or not.
- Options : ["","include start vertex"]
Condition:Pick all vertices
- Pick all vertices.
- Vertex ( string ) : Vertex object of neighbors
SOL - Edges
Condition:Pick edges of vertex
- Pick edges of a vertex.
- Vertex ( object ) : Vertex object.
- Edge ( object ) : Edge object.
Condition:Pick all edges
- Pick all edges.
- Edge ( object ) : Edge object.
Condition:Pick all edges
- Pick all edges.
- Edge ( object ) : Edge object.
SOL - Vertices
Condition:Pick vertices of edge
- Pick vertices of a edge.
- Edge ( object ) : Edge object.
- Vertex A ( object ) : Vertex A object.
- Vertex B ( object ) : Vertex B object.
Condition:Pick neighbor vertices
- Pick neighbor vertices.
- Vertex ( number or string ) : UID (number) of symbol (string) of Vertex.
- Vertex ( object ) : Vertex object of neighbors
Condition:Pick all connected vertices
- Pick all connected vertices.
- Start vertex ( number or string ) : UID (number) of symbol (string) of Vertex.
- Vertex ( object ) : Vertex object
- Traversal method ( Combo ) : Traversal method.
- Options : ["breadth-first","depth-first"]
- Include start ( Combo ) : Add start vertex or not.
- Options : ["","include start vertex"]
Condition:Pick all vertices
- Pick all vertices.
- Vertex ( object ) : Vertex object of neighbors