DiagramRouting

class DiagramRouting(diagram: Diagram)

Abstract Diagram

Constructors

Link copied to clipboard
constructor(diagram: Diagram)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var dim_X: Int
Link copied to clipboard
var dim_Y: Int
Link copied to clipboard
var lengthTable: Array<IntArray>
Link copied to clipboard
var links: Array<LongArray>
Link copied to clipboard
Link copied to clipboard
@set:Synchronized
var status: PainterStatus

Functions

Link copied to clipboard
fun connectLine(rel: Relation, startX: Int, startY: Int, startDir: Int, area: DiagramRouterTask.RectInt)

Sets in the layout the pixels corresponding for the optimal way for the specified relation The algorithm start the to point.

Link copied to clipboard
fun debugCell(x: Int, y: Int, html: Boolean): String?
Link copied to clipboard
fun findRelations(x: Double, y: Double, overRelationName: Boolean): List<Relation>

Tries to detect which relation goes on this cell.

Link copied to clipboard
fun getNeighbourPixel(x: Int, y: Int, dirSide: Int): Long
Link copied to clipboard
fun getPixel(x: Int, y: Int): Long
Link copied to clipboard
Link copied to clipboard
fun hasEndTerminator(rel: Relation): Boolean
Link copied to clipboard
fun highlightLine(rel: Relation, sel: Boolean, hghl: Boolean): Int

Highlight a relation line

Link copied to clipboard
fun relationIsDrawn(rel: Relation): Boolean
Link copied to clipboard
fun vectorizeLine(rel: Relation, writer: PathWriter, paintArrow: Boolean)