This repository contains source code of generating subgraph from a network. The generating operation focuses on trimming edges between the nodes.
- Operation
- Get resource data of all nodes.
- Generate a whole network.
- Convert the original network into a linegraph network.
- "Given the condition," delete the nodes of the linegraph network.
- Re-convert the modified linegraph network into the orignal network scheme.
The given condition can vary. Default condition : Leave only the links with all data above zero.
The source code visualizes the resulting network.