Class DefaultGraphRenderer | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class DefaultGraphRenderer

    Inheritance
    System.Object
    DefaultGraphRenderer
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: GraphVisualizer
    Syntax
    public class DefaultGraphRenderer : IGraphRenderer

    Constructors

    DefaultGraphRenderer()

    Declaration
    public DefaultGraphRenderer()

    Methods

    Draw(IGraphLayout, Rect)

    Declaration
    public void Draw(IGraphLayout graphLayout, Rect drawingArea)
    Parameters
    Type Name Description
    IGraphLayout graphLayout
    Rect drawingArea
    Implements
    IGraphRenderer.Draw(IGraphLayout, Rect)

    Draw(IGraphLayout, Rect, GraphSettings)

    Declaration
    public void Draw(IGraphLayout graphLayout, Rect totalDrawingArea, GraphSettings graphSettings)
    Parameters
    Type Name Description
    IGraphLayout graphLayout
    Rect totalDrawingArea
    GraphSettings graphSettings
    Implements
    IGraphRenderer.Draw(IGraphLayout, Rect, GraphSettings)

    DrawRect(Rect, Color, String, Boolean, Boolean)

    Declaration
    public void DrawRect(Rect rect, Color color, string text, bool active, bool selected = false)
    Parameters
    Type Name Description
    Rect rect
    Color color
    System.String text
    System.Boolean active
    System.Boolean selected
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023