Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.graph.styles |
Contains interfaces and default implementations for graph element styles.
|
Modifier and Type | Method and Description |
---|---|
LookupDecorator<INode,IShapeGeometry> |
NodeDecorator.getShapeGeometryDecorator()
Gets a
LookupDecorator that decorates the IShapeGeometry type for the type
INode s this instance has been created for. |
Modifier and Type | Class and Description |
---|---|
class |
BevelNodeStyleRenderer
A
INodeStyle renderer implementation that draws a rounded rectangle with a bevel
border in a 'shiny plate' fashion. |
class |
CollapsibleNodeStyleDecoratorRenderer
INodeStyleRenderer implementation that can be used in conjunction with CollapsibleNodeStyleDecorator
instances. |
class |
GeneralPathNodeStyleRenderer
An
INodeStyleRenderer implementation that can handle GeneralPathNodeStyle instances. |
class |
ImageNodeStyleRenderer
A style renderer implementation that can be used together with
ImageNodeStyle instances. |
class |
MemoryImageNodeStyleRenderer
A style renderer implementation that can be used together with
MemoryImageNodeStyle instances. |
class |
PanelNodeStyleRenderer
A
INodeStyle renderer implementation that draws a simple floating panel with a slight
gradient, a thin border and a simple drop shadow. |
class |
ShapeNodeStyleRenderer
Default renderer implementation that can be used for
ShapeNodeStyle instances. |
class |
ShinyPlateNodeStyleRenderer
A
INodeStyle renderer implementation that draws a simple floating shinyPlate with a
slight gradient, a thin border and a simple drop shadow. |
class |
TableNodeStyleRenderer
Default renderer implementation that can be used for
TableNodeStyle instances. |
class |
TemplateNodeStyleRenderer
An implementation of the
INodeStyleRenderer interface that can render TemplateNodeStyle instances. |
class |
VoidShapeGeometry
A void implementation of the
IShapeGeometry interface that does nothing and behaves like an empty geometry. |
Modifier and Type | Method and Description |
---|---|
protected IShapeGeometry |
DefaultEdgePathCropper.getNodeGeometry(INode node)
Returns the
geometry that is used to crop the edge at the node outline. |
protected IShapeGeometry |
DefaultEdgePathCropper.getPortGeometry(IPort port)
Returns the
geometry that is used to crop the edge at the port outline if CroppingAtPortEnabled
is set to true . |
IShapeGeometry |
VoidNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
This implementation always returns the
VoidShapeGeometry instance . |
IShapeGeometry |
TemplateNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Provides the geometry for the visual representation.
|
IShapeGeometry |
TableNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style) |
IShapeGeometry |
ShinyPlateNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls ShinyPlateNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
ShapeNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls ShapeNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
PanelNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls PanelNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
MemoryImageNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls MemoryImageNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
ImageNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls ImageNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
INodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Gets an implementation of the
IShapeGeometry interface that can handle the provided node and its associated
style. |
IShapeGeometry |
GeneralPathNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls GeneralPathNodeStyleRenderer.configure() and returns
this . |
IShapeGeometry |
CollapsibleNodeStyleDecoratorRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls CollapsibleNodeStyleDecoratorRenderer.configure() and returns
this . |
IShapeGeometry |
BevelNodeStyleRenderer.getShapeGeometry(INode node,
INodeStyle style)
Configures the
Style and Node properties, calls BevelNodeStyleRenderer.configure() and returns
this . |
Modifier and Type | Method and Description |
---|---|
protected PointD |
DefaultEdgePathCropper.getIntersection(INode node,
IShapeGeometry nodeShapeGeometry,
IEdge edge,
PointD inner,
PointD outer)
Finds the intersection between a node and the edge.
|
protected boolean |
DefaultEdgePathCropper.isInside(PointD location,
INode node,
IShapeGeometry nodeShapeGeometry,
IEdge edge)
Checks whether a given point is inside a node's shape geometry with respect to the edge that is being calculated.
|