Thermal Modeling in Metal Additive Manufacturing Using Graph Theory | Synapse