anatomy-cardiovasc-network: Procedural 3D Vascular Network
A graph-driven cardiovascular module for 3D Anatomy Model (isaac070405.github.io/3D-Anatomy-Model). Vessels are stored as a directed graph (nodes + edges) with 4D centerlines ([x, y, z, radius_mm]). The viewer builds tapered tubes, layer peeling, flow-path tracing and solid lumen cross-sections on transverse, coronal and sagittal planes.
Install and run
pip install -e "anatomy-cardiovasc-network[png,test]" # from the repository root
anatomy-cardiovasc figures --out figures # figures 1 to 4, 6 and 7
anatomy-cardiovasc figures --only 4 7 --out figures # a subset
anatomy-cardiovasc build # regenerate aorta_centerline.json from the generator
anatomy-cardiovasc data-path # where the packaged graph JSON lives
anatomy-cardiovasc blender-script # path of the Blender curve import script
import anatomy_cardiovasc_network as cv
graph = cv.load() # dict with nodes and edges, every edge tagged "sourced" or "estimate"
from anatomy_cardiovasc_network.figures import REGISTRY
REGISTRY[4].run("figures") # one figure from Python
Core dependencies are numpy, matplotlib, networkx, scipy, plotly and trimesh. The png extra adds kaleido for PNG copies of the Plotly figures, which needs a Chrome or Chromium binary. Without it, only the HTML files are written. Tests: pytest anatomy-cardiovasc-network/tests.
Files
| Path | Role |
|---|---|
src/anatomy_cardiovasc_network/data/aorta_centerline.json |
Full graph (335 nodes, 345 edges) with sourced radii |
src/anatomy_cardiovasc_network/data/vascular_network.json |
Sample graph (aorta to left kidney to IVC) for the JS loader |
src/anatomy_cardiovasc_network/build_centerline.py |
Generator for aorta_centerline.json. Each unsourced radius is labelled "estimate" in a comment |
src/anatomy_cardiovasc_network/network.py |
Loader and the hand-written list of vessels with sourced radii |
src/anatomy_cardiovasc_network/flow.py |
Modelled flow per edge (Murray's law, an assumption) |
src/anatomy_cardiovasc_network/figures/ |
One module per figure, REGISTRY maps figure number to module |
src/anatomy_cardiovasc_network/blender/ |
export_vascular_graph.py (Blender curves to JSON), import_curves.py (JSON to Blender curves) |
js/VascularNetworkLoader.js |
Three.js module (VascularNetworkManager) |
js/viewer-integration-snippet.js |
Wiring example for the viewer |
research/ |
Literature findings (CSV and summary), the research brief and support tables |
figures/ |
Output of anatomy-cardiovasc figures |
tests/ |
Smoke tests for the loader, flow model and each figure |
Architecture
Blender Curves (Bezier / NURBS + Alt+S radii)
|
v export_vascular_graph.py (bpy)
vascular_network.json (Directed Graph + 4D Centerlines)
|
v VascularNetworkLoader.js (Three.js)
1. Tapered tube BufferGeometry
2. Layer peeling (artery / vein / portal)
3. Anatomical plane slicing + lumen caps
4. Raycast inspection and graph pathfinding
Data schema (vascular_network.json)
source to target follows the direction of blood flow. Coordinates are world millimetres.
| Field | Scope | Description |
|---|---|---|
nodes[].type |
Node | "chamber", "junction", "bifurcation" or "capillary_bed". |
nodes[].pos |
Node | [x, y, z] in mm, aligned to the skeletal/organ origin. |
edges[].circuit |
Edge | "systemic", "pulmonary" or "hepatic_portal". |
edges[].vessel_type |
Edge | "artery", "vein" or "portal_vein". |
edges[].depth_layer |
Edge | "superficial" or "deep_visceral", used for peeling. |
edges[].oxygenated |
Edge | Drives colour. True for systemic arteries and pulmonary veins, false for systemic veins and pulmonary arteries. |
edges[].centerline |
Edge | [x, y, z, radius_mm] control points for spline interpolation and slice intersection. |
Authoring in Blender
- Model Bezier or NURBS curves in the same coordinate space and origin as the skeletal and visceral meshes.
- Draw curves in flow direction (heart to organs for arteries, organs to heart for veins). Use Edit Mode, Segments, Switch Direction to reverse.
- Set taper with
Alt + S(Set Curve Radius) on control points in Edit Mode. - Optional: place Empty objects named
NODE_<Name>(e.g.NODE_Left_Ventricle,NODE_CAP_Left_Kidney) within 1.5 mm of curve endpoints to name junctions as chambers or capillary beds. - Optional: add custom properties (
vessel_name,circuit,vessel_type,depth_layer,oxygenated) on a curve to override name-based inference.
Run: open the Scripting workspace, load src/anatomy_cardiovasc_network/blender/export_vascular_graph.py, check SCALE_TO_MM (1000.0 for metre scenes, 1.0 for mm scenes) and SNAP_TOLERANCE_MM (1.5), select the curves (none selected exports all visible curves), then Run Script.
Three.js integration
import { VascularNetworkManager } from './js/VascularNetworkLoader.js';
renderer.localClippingEnabled = true; // required for plane clipping
const vascular = new VascularNetworkManager({ scale: 0.001, tubularSegments: 48, radialSegments: 16 });
scene.add(await vascular.load('./src/anatomy_cardiovasc_network/data/vascular_network.json'));
Layer peeling:
vascular.setLayerVisibility({ showArteries: true, showVeins: true, showPortal: true, showSuperficial: false, showDeep: true });
Slicing clips the tubes and adds elliptic lumen caps (semi-axes r / cos(theta) and r) so oblique cuts look sealed:
vascular.setAnatomicalSlice('transverse', 0.965, false); // 'transverse' (Y), 'coronal' (Z), 'sagittal' (X)
vascular.setAnatomicalSlice(null); // clear
Raycast inspection (mesh.userData holds the vessel attributes):
const hits = raycaster.intersectObjects(vascular.vesselsGroup.children);
if (hits.length) {
const v = hits[0].object.userData;
vascular.highlightVessel(v.id);
console.log(v.vessel_name, v.circuit, `${v.radius_mm} mm`);
}
Sources
| Source | Used for |
|---|---|
| Xu et al. 2023, J Biorheol 37(2):162-169, 10.17106/jbr.37.162 | Aortic root, ascending and arch radii (annulus D 22.0, ascending D 25.4, distal arch D 21.3 mm), coronary ostia (15 mm above annulus, D 4.5 left, 4.0 right), reference lengths (annulus to brachiocephalic 49.6 mm, arch 102.3 mm). |
| Muro, Nimura and Akita 2026, J Hepatobiliary Pancreat Sci 33(8):596-604, 10.1002/jhbp.70120 | Celiac trunk and SMA branching. Adachi Type I (Form 1, 55.6% of 252 cadavers): celiac trunk gives the common hepatic, splenic and left gastric arteries, and the SMA arises separately. Build this as the default topology. |
Thoracic aortic radii from the brachiocephalic origin to the diaphragm (Hager 2002, healthy CT, n=70), abdominal aortic radii (Ezenwugo 2020, healthy ultrasound, n=400), the sinus bulge (14.9 mm) and the three arch branch origins (Chassin-Trubert 2020, patients) now come from research_findings.md. The CT to ultrasound step at the diaphragm (12.15 to 7.9 mm) is a method difference between cohorts. Visceral branch radii other than the sourced ostia remain estimates. Visceral branches (celiac Adachi Type I, SMA, renals, IMA) are in src/anatomy_cardiovasc_network/data/aorta_centerline.json as edges ABD01 to ABD08; paths follow the viewer and end at the viewer kidney hilum. Upper-limb arteries are edges ARL01 to ARL10 (left) and ARR01 to ARR10 (right, x-mirrored): axillary, brachial, radial, ulnar, interosseous and both palmar arches. Their radii are estimates. Recurrent, collateral and digital branches are not modelled.
Literature checked for radii (PubMed, abstracts only)
| Paper | Finding | Status in this model |
|---|---|---|
| Framingham CT, Am J Cardiol 2013, 10.1016/j.amjcard.2013.01.306, full text read | Outer wall to outer wall, non-contrast CT, 3,431 adults (mean age 51). Descending thoracic aorta D 25.8 mm (men), 23.1 (women), measured at the right pulmonary artery level. Infrarenal (5 cm above the bifurcation) 19.3 and 16.7. | Consistent. Outer diameters exceed lumen diameters by the wall thickness, so the model descending lumen D 21.3 mm is plausible. Not used to set radii. |
| Infrarenal aorta, ultrasound, Ann Vasc Surg 2023, 10.1016/j.avsg.2022.12.087 | Inner diameter 17.9 mm (men), 15.3 (women), age 65. | Consistent with the model (D 17.6 to 16.0 mm, infrarenal and distal). |
| Infrarenal aorta, CT, Chinese adults, Ann Vasc Surg 2019, 10.1016/j.avsg.2019.05.030 | Inner diameter 16.5 mm (men), 14.5 (women); common iliac 9.8 and 8.6. | Consistent. Iliacs not modelled yet. |
| Thatipelli et al., J Vasc Interv Radiol 2007, 10.1016/j.jvir.2007.04.030, full text read | CTA of 97 patients (mean age 71, 45% with renal artery stenosis). Main renal artery length to the branch point: right 49.7 mm, left 39.9 (the abstract says 44.9 for the right, the table and text say 49.7). Main artery D 5.6 mm (right), 6.0 (left) 5 mm before the branch point. Anterior divisional artery D 4.4 and 4.8, posterior 4.3 and 4.5. | End radii set from the divisional arteries (2.2 right, 2.4 left). Left length (45.3 mm) fits. Right (73.8 mm) is 24 mm too long. Patients are older and partly diseased. |
| Riekkinen et al., Ann Thorac Surg 2003, 10.1016/S0003-4975(02)04557-5, full text read | Silicone casts of 24 cadavers (mean age 60.6), internal diameter at the wrist: radial 3.2 mm (right), 3.0 (left); ulnar 2.5 and 2.4. Radial larger in 83% (right) and 71% (left). | Applied: wrist radii radial 1.55, ulnar 1.22 mm, same on both sides. |
| Takahashi et al., Surg Radiol Anat 2013, 10.1007/s00276-012-1054-4, full text read | 20 Japanese cadavers (mean age 81.7). Aorta at left renal level D 20.1 mm (inner). Left renal to celiac 32.9 mm, left renal to SMA 19.7, celiac to SMA 15.9 (linear, inferior borders). Celiac D 7.4 x 8.1, SMA 7.6 x 7.4. Celiac origin at T12 or T12/L1 in 80%. | Spacing disagrees with the model (see Takahashi 2014 row). Diameters agree with Mazzaccaro. |
| Takahashi et al., Surg Radiol Anat 2014, 10.1007/s00276-013-1249-3, full text read | 63 Japanese cadavers (mean age 82.5), intravascular measurements. Aorta at left renal level D 20.6 mm. Aortic bifurcation to left renal 99.8 mm. Left renal to celiac 35.7, left renal to SMA 20.8, celiac to SMA 17.3 mm (linear). Celiac D 9.0, SMA D 9.8 mm. Celiac origin T12/L1 disc 25.4%, bifurcation L4 lower 22.2%. | Model spacing is about 1.6 times too long: celiac to SMA 35 mm (paper 17), SMA to renal 27 (paper 21), renal to bifurcation about 159 (paper 100). Model aorta at the renal level D 19 mm (paper 20.6, elderly cadavers). Not changed. |
| Mazzaccaro et al., Eur J Vasc Endovasc Surg 2015, 10.1016/j.ejvs.2014.10.005, full text read | 50 non-dilated thoracoabdominal aortas on CTA (median age under 74, 40% women). Median ostial diameter: celiac 7.2, SMA 7.3, right renal 5.4, left renal 5.4 mm. Median spacing: celiac to SMA 15.0, SMA to right renal 12.2, SMA to left renal 15.0 mm; right and left renal to bifurcation 91.2 and 90.0 mm. | Ostial radii applied (3.6, 3.65, 2.7, 2.7 mm). Spacing does not match the model: celiac to SMA is 35 mm, SMA to renals 27 mm, renals to bifurcation about 159 mm along the path. |
No paper was found for brachiocephalic, carotid, subclavian, axillary, brachial or interosseous radii.
Head and neck sources (PubMed abstracts only)
| Paper | Finding | Status in this model |
|---|---|---|
| Reference carotid diameters, Nigerian adults, Folia Morphol 2021, 10.5603/FM.a2021.0062 | 104 healthy adults (mean age 28). Lumen D: common carotid 6.1 mm, internal 6.0, external 4.9. | Applied: common carotid r 3.05, internal carotid start 3.0, external carotid start 2.45 mm. Replaces the earlier arch estimate of 4.2 mm. |
| Carotid ultrasound in non-smoking healthy adults (PubMed 17203830, no DOI listed, journal not checked) | 123 adults (mean age 35.7). Common carotid lumen D 5.78 (left), 5.86 mm (right). | Consistent with the value above. |
| Maxillary to MCA bypass cadaver study, J Craniofac Surg 2015, 10.1097/SCS.0000000000001521 | 20 sides. Outer D: maxillary artery 2.60 mm, superficial temporal trunk 1.70. | Applied as outer radii (1.3 and 0.85 mm). Lumen radii are smaller. |
| Basilar artery morphometry, Asian J Neurosurg 2018, 10.4103/ajns.AJNS_321_16 | 38 fixed brains. Basilar length 25.58 mm, external D 3.05 mm. | Applied as outer radius 1.5 mm. Model basilar length 29.6 mm. |
No source found yet for vertebral, middle, anterior and posterior cerebral, communicating, facial, lingual, occipital and superior thyroid radii. Circle of Willis paths are the viewer's, joined into a graph: PCA P1 and P2 split at the posterior communicating junction (viewer PCA path bent to meet it), anterior communicating artery directed right to left (flow runs either way).
Pelvis and leg sources
| Paper | Finding | Status in this model |
|---|---|---|
| Reference values of pelvic and leg arteries, PLoS One 2018, 10.1371/journal.pone.0197559, full text read | Contrast MRA, 756 men (reference group 636, median age 52), inner diameter, mean of left and right. Median: common iliac 9.7 mm, internal iliac 5.1, external iliac 8.1, proximal femoral 8.1, distal femoral 5.9, popliteal 5.2, anterior tibial 3.5, posterior tibial 3.1, fibular 3.0. Popliteal branching type I-A in 88 to 90%. | Applied as half-diameter radii on every leg edge. Men only, so women run smaller. MRA may overestimate (stated by the authors). Branching follows type I-A (anterior tibial first, then tibioperoneal trunk). |
| Lower limb artery tolerance limits, Adv Med Sci 2020, 10.1016/j.advms.2019.10.001, abstract only | Echo-tracking ultrasound, 228 healthy adults (mean age 43). Common femoral 8.1 mm, superficial femoral 6.2, popliteal 6.1, dorsalis pedis 2.0, posterior tibial 2.1. | Common femoral agrees with MRA. Dorsalis pedis 2.0 mm applied (r 1.0). Popliteal and posterior tibial are larger or smaller than MRA, so MRA is kept for one method. |
| Profunda femoris cadaver study, Turk J Surg 2025, 10.47717/turkjsurg.2025.6571, abstract only | 41 cadaver limbs. Origin 3.2 to 6.2 cm below the mid-inguinal point (mean 5.19 left, 4.74 right). The abstract prints the diameters (5.04, 2.9, 2.8) with unit cm, which is implausible. | Origin placed 50 mm along the path below the inguinal node. Profunda radius is now 2.9 to 2.7 mm from a CT angiography series of 400 (Turan 2023, PMID 35727119, mean D 5.62 mm). |
Not sourced: taper ends of the superficial femoral (3.4 start), popliteal (2.4 end), tibioperoneal trunk, anterior tibial end, fibular end, internal iliac end, inferior epigastric and profunda radii. The viewer draws the common iliac as 38.5 mm and the external iliac as 43.6 mm, against roughly 50 to 60 mm and 80 to 100 mm in adults, so both are short, and the registration is kept. The inferior epigastric starts at the inguinal node and skips the viewer's first control point, which sits 58 mm in front of the artery. Not modelled (no viewer path): median sacral, iliolumbar, circumflex iliac, circumflex femoral, genicular, perforating and plantar arteries, and the branches of the internal iliac.
Shoulder and arm branch sources
| Paper | Finding | Status in this model |
|---|---|---|
| Subscapular arterial tree, MDCT angiography, Microsurgery 2015, 10.1002/micr.22499, abstract only | 92 patients. Origin D: subscapular 3.86 (left) and 3.93 mm (right), circumflex scapular 2.41 and 2.44, thoracodorsal 2.29 and 2.31. Circumflex scapular length 46 mm. | Applied at the origins (r 1.93, 1.2, 1.15). The model circumflex scapular is 115 mm (viewer path), 2.5 times the paper length. |
| Posterior circumflex humeral artery, CT angiography, J Reconstr Microsurg 2025, 10.1055/s-0044-1787774, abstract only | 54 shoulders. D 3.38 mm, length 43 mm. | Applied (r 1.69). Model length 86 mm. |
| Radial recurrent artery, J Reconstr Microsurg 2012, 10.1055/s-0031-1301071, abstract only | 18 cadavers. D 1.84 mm at 20 mm from its origin. Arises from the radial artery in 61%. | Applied (r 0.92). |
Estimates: axillary, brachial and forearm trunk radii from the arm section, plus the superior thoracic, thoracoacromial (now 2.2 to 2.0, from mean D 4.2 mm in 12 fixed cadavers, PMID 31018692) and its acromial, deltoid and pectoral branches, lateral thoracic, thoracodorsal, anterior circumflex humeral, profunda brachii, the collaterals, the ulnar and interosseous recurrents, and all taper ends. A search for normal axillary and brachial diameters found only patient series (axillary median 10.7 to 14.6 mm in aortic disease candidates), so those stay estimates. The viewer draws these branches thicker than adult anatomy, so its radii were not used. The elbow anastomosis closes at four shared nodes (anterior, posterior, posterior medial, lateral), merged where the viewer paths end within 12 mm of each other. The thyrocervical trunk and its branches, the hand branches (palmar carpal, digital, dorsal carpal) and the vertebral to subclavian side branches are not modelled yet.
Coronary and thyrocervical sources
| Paper | Finding | Status in this model |
|---|---|---|
| Dodge et al., Circulation 1992, 10.1161/01.cir.86.1.232, abstract only | 83 normal angiograms, lumen D: left main 4.5 mm, proximal LAD 3.7, distal LAD 1.9, circumflex 3.4 (right dominant) or 4.2 (left dominant), right coronary 3.9 (right dominant) or 2.8 (left dominant). Women 9% smaller. | Applied as radii (right dominant, the common pattern). Ostia radii (2.25, 2.0 mm from Xu 2023) agree. Men mostly, so women run smaller. |
| Left coronary morphometry, Cureus 2023, 10.7759/cureus.45023, abstract only | 100 angiograms, North-East India. Left main length 9.13 mm, D 4.38. LAD length 109 mm, circumflex 66 mm. Ramus intermedius in 32%. | Length check. Model left main 32 mm, LAD 150 mm, circumflex 142 mm are 3.5, 1.4 and 2.1 times longer (viewer paths, registration kept). Trifurcation not modelled. |
| Computational atlas of normal coronary anatomy, EuroIntervention 2016, 10.4244/EIJV12I7A139, abstract only | 300 CT angiograms. Left main D 3.5 mm, length 10.5 mm. | Length check, and a lower left main diameter than angiography. Dodge value kept. |
| Transverse cervical artery, Plast Reconstr Surg 2017, 10.1097/PRS.0000000000003085, abstract only | 72 cadaver necks. D 2.65 mm, length 4 to 7 cm. Arises from the thyrocervical trunk 17 mm above the clavicle. | Applied (r 1.33). Model length to the dorsal scapular origin 48 mm fits. |
| Transverse cervical artery, Otolaryngol Head Neck Surg 2022, 10.1177/01945998211000432, abstract only | 22 cadaver necks. D 2.5 mm (range 1.8 to 3.4), length 3.6 cm. | Consistent. |
Estimates: taper ends of all four coronary arteries, thyrocervical trunk (1.9 to 1.7), inferior thyroid, suprascapular, dorsal scapular and its two small branches. The viewer's coronary tubes start at valve level, 15 mm below the ostia (15 mm above the annulus, Xu 2023), so each coronary edge begins at the ostium node and passes through the viewer's first point. Both ostium nodes sit on the aortic axis at the same point. Not modelled (no viewer path): diagonal, marginal, septal, sinoatrial, conus and posterior descending branches, and the coronary veins.
Vein sources, stage 1 (caval trunks, brachiocephalic, jugular, subclavian, axillary, azygos, renal, gonadal, iliac, femoral)
Veins run in the direction of flow toward the heart (vessel_type "vein", oxygenated false). Paths are the viewer's vein splines, reversed. Right-side veins are the x mirror of the left where the viewer draws one side. Caval trunks end at the right atrium orifice nodes RA_SVC_ORIFICE and RA_IVC_ORIFICE (no chamber node exists yet).
| Source | Finding | Use |
|---|---|---|
| Chooprasert 2023, Acta Radiol, 10.1177/02841851231181468, abstract only | 1336 chest CTs. Median SVC cross-sectional area 297.2 mm2. | SVC r 9.73 mm (equivalent circle). |
| Horoz 2022, Niger J Clin Pract, 10.4103/njcp.njcp_1801_21, introduction only | Adult IVC normal range 1.7 to 2.1 cm. | IVC r 9.5 mm (19 mm, mid value). |
| Jvsv 2025, 10.1016/j.jvsv.2025.102282, abstract only | Asymptomatic adolescents and young adults. Common iliac vein D 13.1 mm right, 12.7 mm left. | Common iliac vein r 6.55 right, 6.35 left. |
| Yau and Rajan 2012, J Vasc Access, 10.5301/jva.5000035, abstract only | CT in 32 dialysis patients. Axillary vein D 8.4 mm on the side without a fistula (11.4 mm with one). | Axillary vein r 4.2 mm. |
| Parry 2004, Can J Anaesth, 10.1007/BF03018243 | Right internal jugular vein D 9.2 +/- 2.2 mm supine, ultrasound, 21 volunteers. | Internal jugular r 4.6 mm. |
| van Zandwijk 2022, J Magn Reson Imaging, 10.1002/jmri.28182 | Low-field MRI, 15 volunteers. Open internal jugular vein D 6.3 mm left, 6.6 mm right at 0 degrees. | Lower bound. Method and posture change the value, so a constant 4.6 mm is kept. |
| Clenaghan 2005, Emerg Med J, 10.1136/emj.2004.019257 | Right internal jugular vein D 13.5 mm supine, ultrasound, 20 volunteers. | Upper bound. |
| Plutecki 2025, Folia Morphol, 10.5603/fm.101166, abstract only | Meta-analysis, 40 studies. Azygos vein D 3.86 mm at its origin. | Azygos r 1.93 mm at the origin. |
Estimates (no source found): brachiocephalic vein (7.0), subclavian vein (5.0), renal veins (4.0), gonadal veins (1.5 to 2.0), femoral vein (4.5), external iliac vein (5.5), internal iliac vein (3.5), azygos taper to the arch (3.0). The right iliac and the renal vein papers found gave no usable diameter in the abstract. Lengths follow the viewer paths, so the common and external iliac veins are about half the adult length, as for the iliac arteries. The azygos arch is re-routed to enter the SVC at about T4, because the viewer arch ends 25 mm above the SVC origin. Not yet modelled: hepatic, lumbar, hemiazygos, inferior mesenteric, arm and leg deep and superficial veins, head and neck veins and sinuses, portal system, cardiac veins.
Vein sources, stage 2 (arm and leg veins)
Paths are the viewer's vein splines (anatomy-part1.js, anatomy-extras.js), reversed where needed so flow runs toward the heart. Superficial veins carry depth_layer "superficial". The viewer computes the saphenous veins from thigh and calf surface profiles at runtime, so both saphenous paths here are drawn by hand along the medial thigh and calf (estimate).
| Source | Finding | Use |
|---|---|---|
| Jeanneret 2007, Eur J Vasc Endovasc Surg, 10.1016/j.ejvs.2007.03.018, abstract only | Duplex, 48 healthy volunteers, maximum diameter during Valsalva. Median common femoral vein 11.2 mm, femoral vein 6.9 mm, great saphenous vein 4.2 mm. | Common femoral r 5.6, femoral r 3.45, great saphenous r 2.1 at the saphenofemoral junction. These are upper bounds (Valsalva). |
| van Loon 2021, Minerva Anestesiol, 10.23736/S0375-9393.21.15291-5, abstract only | 54 volunteers. Cephalic vein has the largest cross-section and diameter of the upper arm veins, basilic next. No diameters in the abstract. | Ranking only, so cephalic and basilic radii are estimates (basilic set larger because the viewer draws it larger). |
Estimates: radial and ulnar veins (1.2), brachial veins (2.0), cephalic (1.8 to 2.5), basilic (2.0 to 3.0), median cubital (1.5), median antebrachial (1.2), dorsal network (1.2), popliteal (3.5), tibial veins (1.5 to 2.5), small saphenous (1.5 to 2.5), great saphenous taper below the junction (1.6). Not modelled: perforating veins, profunda femoris vein, and the digital and metacarpal veins.
Vein sources, stage 3 (head and neck veins and dural sinuses)
Paths are the viewer's vein splines (anatomy-part1.js, anatomy-part2.js), reversed where needed so flow runs toward the heart. The dural sinuses drain to the jugular bulb nodes, which are the upper ends of the internal jugular veins. The face veins, external jugular and superficial temporal veins carry depth_layer "superficial".
| Source | Finding | Use |
|---|---|---|
| Chen 1999, Lancet, 10.1016/S0140-6736(99)80013-0, abstract only | Colour Doppler. Superior ophthalmic vein D 2.6 +/- 0.4 mm in 13 healthy controls. | Superior ophthalmic vein r 1.3 mm. |
| Nabavizadeh 2018, AJNR, 10.3174/ajnr.A5699, abstract only | CT. Superior ophthalmic vein above 2.5 mm counts as dilated, and the control group matches extubated patients. | Consistent with 2.6 mm. |
| Abeysekara 2008, ANZ J Surg, 10.1111/j.1445-2197.2007.04399.x, abstract only | 18 harvested common facial veins. Mean diameter 5 mm after distension with heparinised saline, length 4 to 6 cm. | Common facial vein r 2.5 mm. This is an upper bound because of the distension. |
Estimates: all sinuses (superior sagittal 3.0, straight 2.0, transverse and sigmoid 3.0, inferior petrosal 1.5), inferior ophthalmic vein (0.9), supraorbital, supratrochlear and angular veins (0.8 to 1.1), facial vein (1.3 to 1.5), lingual vein (0.9), superficial temporal vein (1.0), retromandibular vein and its anterior division (2.0, 1.5), external jugular vein (2.0), deep facial vein (0.8), maxillary vein (1.1), inferior alveolar vein (0.5). No paper with a usable human diameter was found for these. The external jugular vein ends on the subclavian vein 14 mm from the viewer's end point so that it joins the vein. The inferior petrosal sinus has no viewer path and is drawn from the cavernous sinus to the jugular bulb. The ten pterygoid plexus loops are one node and the cavernous sinus is one node. Not modelled: cerebral, cerebellar and emissary veins, vertebral and occipital veins, thyroid veins, the internal jugular's lower tributaries, the superior and inferior sagittal tributaries, and the sphenoparietal, petrosal and occipital sinuses other than the inferior petrosal.
Vein sources, stage 4 (portal system)
Paths are the viewer's portal vein splines (anatomy-part1.js). Edges use vessel_type "portal_vein" and circuit "hepatic_portal", and all three drain to the porta hepatis node. The viewer draws no inferior mesenteric vein or right and left portal branches, so those three edges (VPV04 to VPV06) are hand-drawn and listed below the table.
| Source | Finding | Use |
|---|---|---|
| Huang 2023, Abdom Radiol, 10.1007/s00261-023-03892-3, PMC full text | 4D flow MRI, 44 healthy fasting adults, effective diameter. Splenic vein 11.9 mm (hilum) and 11.8 mm (confluence), superior mesenteric vein 13.7 mm, portal vein 15.8 mm (confluence) and 16.4 mm (near the bifurcation). Right portal vein 15.7 mm, left 13.4 mm. | Splenic vein r 5.95 to 5.9, SMV r 6.85, portal vein r 7.9 to 8.2. |
| Stamm 2016, Abdom Radiol, 10.1007/s00261-016-0785-9, abstract only | CT, 191 healthy adults. Main portal vein 15.5 +/- 1.9 mm, above the old 13 mm limit. | Consistent with the MRI value. |
The three trunk radii are sourced. The splenic vein is 204 mm in the model, which is about the adult length range, and the portal vein is 87 mm.
Added to stage 4: right portal vein VPV04 (r 7.85, 21.0 mm, from Huang 2023 diameter 15.7 mm and the 20.96 mm male cast length, PMID 30637156, 10.5115/acb.2018.51.4.232) and left portal vein VPV05 (r 6.7, 33.7 mm, diameter 13.4 mm and 34.5 mm male cast length). Inferior mesenteric vein VPV06 has r 2.7 from a CT diameter of 5.4 +/- 0.9 mm in 28 rectal cancer patients without venous invasion (PMID 31582328, 10.1016/j.carj.2019.06.006, abstract only, patient series). Its 153.5 mm path and the join with the splenic vein (which now splits into VPV02A and VPV02B) are estimates. Hemiazygos and accessory hemiazygos veins have no adult diameter in the PubMed results, so they stay unmodelled.
Vein sources, stage 5 (cardiac veins)
Paths are the viewer's cardiac vein splines (anatomy-part1.js). The great cardiac vein runs from the apex to the coronary sinus start, the middle cardiac vein joins the coronary sinus, and the coronary sinus ends at the right atrium coronary sinus orifice node RA_CS_ORIFICE.
| Source | Finding | Use |
|---|---|---|
| Malago 2012, Eur J Radiol, 10.1016/j.ejrad.2012.03.007, abstract only | 64-slice CT angiography, 301 patients. Coronary sinus mean D 8.7 mm without heart failure (276 patients), 9.93 mm with heart failure. | Coronary sinus r 4.35 mm. |
| Kulkarni 2022, Cureus, 10.7759/cureus.23460, PMC abstract | 52 fixed adult hearts. Great cardiac vein mean length 67.77 mm, width 2.76 mm. | Great cardiac vein r 1.38 mm. |
| Ichikawa 2020, Jpn J Radiol, 10.1007/s11604-020-01013-4, abstract only | CT, 120 adults with normal venae cavae. Coronary sinus D 6.8 mm. | Lower value than 8.7 mm. Method and population differ, so 8.7 mm is kept. |
Estimate: middle cardiac vein r 1.2 mm. The radius steps from 1.38 to 4.35 mm at the coronary sinus start because the two sources use different methods (fixed hearts against CT). The viewer's great cardiac vein is 229 mm long against the cadaver mean of 68 mm, the same mismatch as the viewer's left anterior descending and circumflex arteries. Not modelled: anterior, posterior and left marginal cardiac veins, the small cardiac vein, Thebesian veins and the oblique vein of the left atrium, because the viewer draws no path for them.
Length comparison with the literature
Path lengths come from the viewer splines and are not rescaled. The review in research/research_findings.md found adult length data only for the coronary arteries, and those are CT visualised segments, so they are lower bounds.
| Artery | Model path (mm) | Literature (mm) | Source | Ratio |
|---|---|---|---|---|
| Left anterior descending | 150.0 | 65 ± 26 (n=11); 112 ± 34 | PMID 9207507; PMID 11104739 | 2.3; 1.34 |
| Left circumflex | 141.6 | 45 ± 20 (n=11); 80 ± 29 | PMID 9207507; PMID 11104739 | 3.1; 1.77 |
| Right coronary | 178.6 | 58 ± 24 (n=11); 116 ± 33 | PMID 9207507; PMID 11104739 | 3.1; 1.54 |
One 1975 angiographic series (Shendrik, PMID 1217982, Russian-language, no DOI) gives a mean abdominal aorta length of 177.1 mm against 236.3 mm here (ratio 1.33). No adult length was found for the common and external iliac arteries or veins, the great cardiac vein (second source) or the ascending aorta, so the shortened iliac paths stay undocumented.
Pulmonary circuit, chambers and valve annuli
The pulmonary trunk, both pulmonary arteries and the four pulmonary veins are in src/anatomy_cardiovasc_network/data/aorta_centerline.json as edges PUL01 to PUL07 (circuit "pulmonary"), with paths from the viewer (anatomy-part1.js lines 753 to 795) and radii from the table below. Each vessel keeps one radius along its path (trunk 12.95, right and left artery 10.15 and 9.85, veins 8.8, 8.3, 8.55 and 7.4 mm). The trunk starts at a pulmonary valve node, the arteries end at the lung hila, the veins start at the hila and end at four left atrium orifice nodes. The lung capillary bed is not modelled. The four heart chambers are single chamber nodes (CH_LV, CH_RV, CH_LA, CH_RA) placed at the viewer chamber centres, with no edges. Their reference field holds the sourced ventricular volume indices, septal and posterior wall thickness, left ventricular internal diameter and left atrial volume from the table below. The right atrium node has no reference values because no adult volume was found, and no valve annulus value is stored because no healthy-adult source exists (the viewer annulus radii of 9.5 to 12.5 mm are unsourced estimates). The ostium to first bifurcation distances (14.5, 17.6, 7.0 and 13.5 mm) are not drawn. Values come from research_findings.csv (Section D), all from PubMed abstracts. Radius is half the printed diameter.
Recommended value per vessel
| Structure | Measure | Value | Radius (mm) | Method, population | PMID |
|---|---|---|---|---|---|
| Pulmonary trunk | mean diameter | 25.9 mm (men 26.5, women 25.8) | 12.95 | CT, healthy | 25955036 |
| Right pulmonary artery | mean diameter | 20.3 mm | 10.15 | CT, non-COPD subjects. The abstract prints "cm", so mm is assumed. | 29496074 |
| Left pulmonary artery | mean diameter | 19.7 mm | 9.85 | CT, non-COPD subjects. The abstract prints "cm", so mm is assumed. | 29496074 |
| Right superior pulmonary vein | ostial diameter | 17.6 mm, first bifurcation 14.5 mm | 8.8 | Multidetector CT, pre-ablation patients. The printed 95% CI (13.64 to 15.36) excludes the mean. | 17236990 |
| Left superior pulmonary vein | ostial diameter | 16.6 mm, first bifurcation 17.6 mm | 8.3 | Multidetector CT, pre-ablation patients | 17236990 |
| Right inferior pulmonary vein | ostial diameter | 17.1 mm, first bifurcation 7.0 mm | 8.55 | Multidetector CT, pre-ablation patients | 17236990 |
| Left inferior pulmonary vein | ostial diameter | 14.8 mm, first bifurcation 13.5 mm | 7.4 | Multidetector CT, pre-ablation patients | 17236990 |
| Left ventricle | end-diastolic volume index | men 60 to 109, women 56 to 96 mL/m² | Cardiac MRI meta-analysis, 52 studies, healthy adults | 38377242 | |
| Right ventricle | end-diastolic volume index | men 64 to 115, women 57 to 99 mL/m² | Cardiac MRI meta-analysis, 52 studies, healthy adults | 38377242 | |
| Interventricular septum | end-diastolic thickness, median [IQR] | men 10 [9 to 12], women 9 [7 to 10] mm | Echocardiography, 202 men and 284 women, healthy | 37354384 | |
| Left ventricle | internal diameter, end-diastole | men 45 [43 to 49], women 43 [41 to 46] mm | Echocardiography, healthy | 37354384 | |
| Left ventricle | posterior wall thickness, men | 9 [8 to 11] mm | Echocardiography, healthy | 37354384 | |
| Left atrium | mean volume | 37 ± 8 mL | Echocardiography, healthy Japanese adults | 16501294 |
The pulmonary veins come from a patient series, and the two pulmonary artery diameters carry the unit warning above.
Items with no usable adult source (current gap)
- Pulmonary trunk bifurcation angle. Current gap.
- Lobar pulmonary arteries. Current gap.
- Common pulmonary venous ostium frequency. Current gap.
- Tricuspid annulus diameter, healthy adults. Current gap.
- Mitral annulus diameter, healthy adults. Current gap.
- Pulmonary valve annulus diameter, healthy adults. Current gap.
- Aortic annulus diameter, healthy adults. Current gap. The aortic root here keeps the annulus D 22.0 mm from Xu 2023.
- Right atrium volume and dimensions. Current gap.
Every annulus figure the search returned came from a surgical or transcatheter patient cohort, so none is listed as normal.
Vein sources, stage 6 (hepatic and deep cerebral veins)
The viewer has no hepatic or cerebral vein paths, so all seven edges are hand-drawn inside its liver (anatomy-part1.js, right lobe centre x -70 mm, left lobe centre x +20 mm) and brain. The hepatic vein entry node IVC_HEPATIC moved from y 1180 to y 1140 mm, just above the viewer's liver dome, so the hepatic veins join the IVC where the liver ends. The caval segment above it is renamed suprahepatic and the renal segment VCA02 now ends at the entry (86 mm instead of 134 mm).
| Source | Finding | Use |
|---|---|---|
| Hepatic vein ultrasound, 2017, 10.7863/ultra.16.07046, abstract only | Healthy volunteers. Right hepatic vein D 8.64 +/- 1.85 mm at rest, 6.55 mm during Valsalva. | Right hepatic vein radius 4.32 mm at the IVC (VLV01). |
| Middle and left hepatic vein anatomy, 10.1002/ca.22052, abstract only | Common trunk of the middle and left hepatic veins, 11.2 +/- 6.2 mm, present in 60.3%. | Trunk VLV02 is 11.1 mm long. The other 39.7% have separate entries, not modelled. |
| Deep cerebral veins, CT angiography, Int J Med Sci 2021, 10.7150/ijms.54891, abstract only | Internal cerebral vein D 1.49 +/- 0.39 mm at origin and 2.05 +/- 0.47 mm at termination, length 36.86 +/- 3.74 mm. Great cerebral vein length 9.30 +/- 4.76 mm, no diameter. Straight sinus length 43.6 +/- 6.37 mm. | Internal cerebral veins VCB01 and VCB02 (r 0.75 to 1.03, 38.2 mm), great cerebral vein VCB03 (9.4 mm). |
Estimates: right hepatic vein start radius 3.2 and its 89 mm path, the common trunk radius 3.8, the middle (2.5 to 3.4) and left (2.2 to 3.2) hepatic veins with their paths, and the great cerebral vein radius (1.03 to 2.0, matched to its neighbours). The straight sinus is 60 mm in the model against 43.6 mm in the CT series, because the viewer path is kept. Not modelled: caudate and accessory hepatic veins, the superficial middle cerebral and basal veins (no adult measurement found), the septal and thalamostriate tributaries, and the right and left portal branches.
Venous summary
The vein graph holds 136 edges from six stages, all ending at right atrium orifice nodes (RA_SVC_ORIFICE, RA_IVC_ORIFICE, RA_CS_ORIFICE) or on a larger vein. Sourced radii: SVC, IVC, common iliac, axillary, internal jugular, azygos origin, common femoral, femoral, great saphenous, superior ophthalmic, common facial, portal system and its right and left branches, coronary sinus, right hepatic vein and internal cerebral veins. All other vein radii are labelled estimates, including the inferior mesenteric vein path. Not modelled: lumbar and hemiazygos veins, the superficial cerebral and basal veins, and the minor cardiac veins.
Figures and 3D export
anatomy-cardiovasc figures writes every figure below. Figure 5 (graph tubes over the viewer organ meshes) is not scripted.
| No. | Module | Output | Notes |
|---|---|---|---|
| 1 | figures/graph_layout.py |
fig1_graph_layout.png |
Kamada-Kawai layout, line width = radius |
| 2 | figures/flow_sankey.py |
fig2_flow_sankey_*.html/png |
Link width = modelled flow from flow.py. The graph stores no flow. Flow is a Murray's law split of 5 L/min, so it is an assumption. It sends about 65% of cardiac output to the legs and under 10% to the kidneys, so it needs organ demand data before use. |
| 3 | figures/hierarchy.py |
fig3_hierarchy_*.html/png |
Sunburst from the aortic valve and the right atrium. Anastomoses that rejoin a visited node are not drawn. |
| 4 | figures/evidence_map.py |
fig4_evidence_map.png |
Edges coloured by radius evidence. The sourced list is hand-written in network.py, and taper ends of a sourced vessel can still be estimates. |
| 6 | figures/mesh_export.py |
vascular_network.glb |
Tube mesh with per-point radius, in metres, opens in Blender, three.js or any glTF viewer. |
| 6 | blender/import_curves.py |
none | Run inside Blender. Builds editable bevelled curves, one per edge, in collections by vessel type. Not run here because Blender is not installed. |
| 7 | figures/radius_profiles.py |
fig7_radius_profiles.png |
Radius against path length along six routes. Pass routes=[(title, start_node, end_node), ...] to run for others. |
To add a figure, create figures/<name>.py with NAME and run(out_dir, data=None, **options) returning the written paths, then register it in figures/__init__.py.
Metadata
Release files for anatomy-cardiovasc-network 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| anatomy_cardiovasc_network-0.1.1.tar.gz | 130.7 kB | With provenance | Details for anatomy_cardiovasc_network-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anatomy_cardiovasc_network-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for anatomy_cardiovasc_network-0.1.1-py3-none-any.whl |
Total release size: 239.3 kB
Release files / anatomy_cardiovasc_network-0.1.1.tar.gz
| Download URL | anatomy_cardiovasc_network-0.1.1.tar.gz |
|---|---|
| Size | 130.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91257e4b61025d287b03a5d7166b55322ff280d0a800d35f1346b8ff8e22b2b1
|
|
BLAKE2b-256 checksum How to use checksums |
b49a076ca00ffbdd7be4aacdafa2ee42b040b42a950ec3bcd1e18f31188d0db8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logRelease files / anatomy_cardiovasc_network-0.1.1-py3-none-any.whl
| Download URL | anatomy_cardiovasc_network-0.1.1-py3-none-any.whl |
|---|---|
| Size | 108.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa9ff2578976177070f3b6751ccc4c981c81ff0f9d9573b42baa86560c89a1b9
|
|
BLAKE2b-256 checksum How to use checksums |
e238055e10759632260f83ecf60966504224f5b220e67b106bd49ccdde8d8625
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logSecurity for anatomy-cardiovasc-network 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for anatomy_cardiovasc_network-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.