Skip to content
This repository was archived by the owner on Dec 27, 2025. It is now read-only.

Khojasteh/simple-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is no longer actively maintained.

I no longer work with Delphi and therefore cannot provide updates, bug fixes, or support for this project. The code is kept here for reference and historical purposes only.

Feel free to fork the repository if you find it useful, but please be aware that no future changes are planned.

Description

TSimpleGraph is a visual Delphi component, which provides a canvas for drawing simple directed graphs.

SimpleGraph

The control has the following predefined node types for basic geometric shapes:

  • Triangle
  • Rhomboid
  • Rectangle
  • Rounded Rectangle
  • Pentagon
  • Hexagon
  • Ellipse

By overriding one or two methods, a new node type can be derived easily from one of the existing node classes.

The control has one predefined link (edge) type. Each endpoint of a link can be anchored to a node or another link.

SimpleGraph

The repository contains the source code of a Delphi application, which demonstrates the features of the TSimpleGraph control in action.

See the documentation for details.

Installation

Add the following file into a new or existing package:

  • SimpleGraph.pas

The following packages must be added to the requires clause of your package:

  • VCL
  • RTL (for Delphi 6 or higher only)
  • DesignIDE (for design-time package of Delphi 6 or higher only)

Ensure SimpleGraph.pas and DELPHIAREA.INC files are in the search path of your Delphi installation.

About

A visual Delphi component for drawing simple directed graphs.

Topics

Resources

License

Stars

Watchers

Forks

Languages