算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
citation-network【设计与创意】Build and visualize a citation network from a source/target CSV to identify key papers, communities, and emerging hotspots; use when you have citation pairs and need fast literature review or trend analysis.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
source and target.citation_network.gexf for Gephi and other graph toolsnetwork_metrics.json for basic network statisticscitation_network.html for interactive browser viewing (auto-generated by the build script)outputs/runs/<timestamp>/.python scripts/init_run.py
This creates a new run folder:
outputs/runs/<timestamp>/
config.json
data/
outputs/
Create citations.csv and place it into:
outputs/runs/<timestamp>/data/citations.csv
Minimal CSV format:
source,target
Paper A,Paper B
Paper A,Paper C
Recommended DOI-based identifiers:
source,target
10.1234/abcd.1,10.1234/abcd.2
10.1234/abcd.1,10.1234/abcd.3
Open:
outputs/runs/<timestamp>/config.json
Ensure the configured input filename and column names match your CSV (at minimum source and target). If you see garbled characters, set an explicit encoding (e.g., utf-8 or utf-8-sig) via an input_encoding field if supported by the config.
python scripts/build_citation_network.py
The build script will also generate the HTML automatically (you do not need to run scripts/export_gexf_html.py manually).
Expected outputs under the same run directory:
citation_network.gexf (import into Gephi)network_metrics.json (node/edge counts, density, etc.)citation_network.html (open in a browser)source/target (DOI preferred; otherwise a unique, consistent title string).source -> target.source and target columns.id,title,authors,year,doi
10.1234/abcd.1,Paper A,"Zhang, Wei; Li, Ming",2021,10.1234/abcd.1
10.1234/abcd.2,Paper B,"Wang, Fang",2019,10.1234/abcd.2
python scripts/init_run.py before an execution to create a new run directory.outputs/runs/<timestamp>/.outputs/runs/.network_metrics.json (e.g., node/edge counts, density).input_encoding in config.json if available.source/target columns.references/data-cleaning-checklist.mdreferences/network-metrics-notes.mdreferences/README.md