Extensions
01 Syntax
Microsoft.VisualBasic.Data.visualize.Network.Extensions
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| RemoveDuplicated | 1 | 移除的重复的边 |
| RemoveSelfLoop | 1 | 移除自身与自身的边 |
| GetConnections | 1 | 这个查找函数是忽略掉了方向了的 |
| GetNextConnects | 1 | 查找To关系的节点边 |
| Trim | 1 | Removes all of the selfloop and duplicated edges |
03 Members
RemoveDuplicated``1(
IEnumerable(Of ``0), Boolean, Boolean)移除的重复的边
Parameters
| Name | Type | Description |
|---|---|---|
directed | IEnumerable(Of ``0) | 是否忽略方向? |
ignoreTypes | Boolean | 是否忽略边的类型? |
RemoveSelfLoop``1(
IEnumerable(Of ``0))移除自身与自身的边
GetConnections(
IEnumerable(Of NetworkEdge), String)这个查找函数是忽略掉了方向了的
Parameters
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of NetworkEdge) | - |
node | String | - |
GetNextConnects(
IEnumerable(Of NetworkEdge), String)查找To关系的节点边
Parameters
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of NetworkEdge) | - |
from | String | - |
Trim(NetworkTables,
Boolean)Removes all of the selfloop and duplicated edges
Parameters
| Name | Type | Description |
|---|---|---|
network | NetworkTables | - |
doNothing | Boolean | - |