Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

00_Conversion
01_Parameter
02_Prepared
03_Topology
04_Data
05_Euclidean
06_Analysis
07_Preview
08_Util
09_Geometry
10_Fabrication

maximal flow from source to target (Preflow-Push)

Inputs

NameIDDescriptionType
QMeshqmreference QMeshQEDS.Gh.Library.Goo.QMeshGoo
edgeeset of edges to be part of the calculationQEDS.Gh.Library.Goo.QMeshElementGoo
Sourcessource fromQEDS.Gh.Library.Goo.QMeshElementGoo
Targetttarget fromQEDS.Gh.Library.Goo.QMeshElementGoo
Source-maxsmaxsource maximal capacityNumber
Target-maxtmaxtargets maximal capacityNumber

Outputs

NameIDDescriptionType
maxFlowmaxmaximal possible flowGoo
nodesnnodesQEDS.Gh.Library.Goo.QMeshElementGoo
node-heightnhnode-heightInteger
source-flowsflflow per sourceNumber
target-flowtflflow per targetNumber

Site design © Robin Rodricks.   Co-created by Andrew Heumann.   QuadEdgeDataStructure and associated data © 2020 Ortler Mark.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service