context("graph-nodes")
test_that("ValueNode formats label correctly when value is NULL", {
valNode <- ValueNode$new("id")
expect_equal(valNode$formatLabel(), "id")
expect_equal(valNode$formatLabel(value = TRUE), "id")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.