R/label.R

Defines functions label

label <- function(net, transition) {

	net %>%
		transitions %>%
		filter(id == transition) %>%
		pull(label)
}

Try the petrinetR package in your browser

Any scripts or data that you put into this service are public.

petrinetR documentation built on April 3, 2023, 5:21 p.m.