Uses of Class
org.praxislive.project.GraphBuilder.Root
-
Uses of GraphBuilder.Root in org.praxislive.project
Methods in org.praxislive.project that return GraphBuilder.RootModifier and TypeMethodDescriptionGraphBuilder.Root.clearCommands()Clear the existing commands.Add a command element.GraphBuilder.Root.command(GraphElement.Command command) Add a command element.GraphBuilder.Root.property(String id, GraphElement.Property property) static GraphBuilder.RootCreate a root element builder for the provided ID and type.static GraphBuilder.RootGraphBuilder.root(GraphElement.Root root) Create a root element builder initialized with the ID, type and sub-elements of the provided root element.static GraphBuilder.RootGraphBuilder.syntheticRoot()Create a root element builder for a synthetic root.GraphBuilder.Root.transformCommands(Function<Stream<GraphElement.Command>, List<GraphElement.Command>> transform) Transform the existing commands.Method parameters in org.praxislive.project with type arguments of type GraphBuilder.RootModifier and TypeMethodDescriptionGraphModel.withTransform(Consumer<GraphBuilder.Root> transform) Create a new graph model based on this one after applying the provided transform function.