VMP Flowchart func - this will be in the template blade