static [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< class [FNiagaraScratchPadScriptViewModel](API\Plugins\NiagaraEditor\ViewModels\FNiagaraScratchPadScriptViewMode-) > GetScratchPadViewModelFromGraph ( [FNiagaraSystemViewModel](API\Plugins\NiagaraEditor\ViewModels\FNiagaraSystemViewModel) * InSysViewModel, [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * InTargetGraph )