Documentation
¶
Index ¶
Constants ¶
View Source
const ( AlgorithmHorizontal = "ALGORITHM_HORIZONTAL" ScopeFullCanvas = "SCOPE_FULL_CANVAS" ScopeConnectedComponent = "SCOPE_CONNECTED_COMPONENT" )
Variables ¶
This section is empty.
Functions ¶
func ApplyLayout ¶
Types ¶
type AutoLayout ¶
type AutoLayout struct {
Algorithm string `json:"algorithm,omitempty" yaml:"algorithm,omitempty"`
Scope string `json:"scope,omitempty" yaml:"scope,omitempty"`
NodeIDs []string `json:"nodeIds,omitempty" yaml:"nodeIds,omitempty"`
}
AutoLayout configures optional automatic node positioning.
func DefaultAutoLayout ¶
func DefaultAutoLayout() AutoLayout
func ParseAutoLayout ¶
func ParseAutoLayout(value string, scopeValue string, nodeIDs []string) (*AutoLayout, error)
Click to show internal directories.
Click to hide internal directories.