All Notable changes to Period Visualizer will be documented in this file
- Adding
TypeErroronDataset::appendmethod when expected type are not given.
- The
OutputWriteris now a property ofGanttChartConfig - Renamed
GraphtoChart - Renamed
Graph::displaytoChart::display - Renamed
ConsoleGraphtoGanttChart - Renamed
ConsoleConfigtoGanttChartConfig - Adding
Dataset::appendAll - Adding
GanttChartConfig::leftMargin - Adding
GanttChartConfig::withLeftMargin - Improved
GanttChartimplementation - Improved
ConsoleOutputimplementation - Changed
OutputWriter::writelnsignature
- Bug fix
Dataset::labelMaxLengthwhenDatasetis empty - Bug fix
GanttChart::displaywhenDatasetonly contains emptySequenceinstances. - Improve
GanttChartimplementation.
- Moved all interfaces into a
Contractdedicated namespace - Added the
Datasetclass. - Added the
Graphinterface and theConsoleGraphimplementation. - Added the
OutputWriterinterface and theConsoleOutputimplementation,ConsoleOutputno longer relies onecho - Added support for label and basicGraph gutter in
ConsoleConfigclass - Added support for label alignment in
ConsoleConfigclass - Moved basicGraph features out of the
ConsoleOutputclass toConsoleGraph - Merged the
Matrixclass feature into theConsoleGraphand removed it - Renamed the
LabelGeneratorimplementing classes and moved them in the main namespace - Removed the
Viewerclass
- Added support for boundary type in:
- Added
Matrix::TOKEN_*public constants - Changed
Matrix::buildreturned array content - Added the following
ConsoleConfigmethods:ConsoleConfig::endIncludedConsoleConfig::withEndIncludedConsoleConfig::startExcludedConsoleConfig::withStartIncluded
- Renamed the following
ConsoleConfigmethods:ConsoleConfig::getTailwithConsoleConfig::startIncludedConsoleConfig::withTailwithConsoleConfig::withEndExcludedConsoleConfig::getHeadwithConsoleConfig::endExcludedConsoleConfig::withHeadwithConsoleConfig::withEndExcluded
- Added
- Improve Package UX/DX
- Removed the
getprefix from allConsoleConfiggetter methods - Changed the suffix from all
LabelGeneratorclasses fromTypetoGenerator - Changed
LabelGenerator::getLabelsmethod name toLabelGenerator::generate - Added
LabelGenerator::formatmethod to format a single label - Made
ConsoleOutputoptional in theViewerconstructor method - Added
Viewer::unions - Added
Viewer::setLabelGeneratorandViewer::setOutputare chainable - Changed arguments order in
Viewer::__construct - Added
$prefixand$suffixparameters to theAffixGenerator
- Removed the
- Enforces strict types
- Removed the
OutputInterface. - Made
ConsoleOutput::renderprivate onlyConsoleOutput::displaystays public. - Improved
Matrixcode.
- Bug Fix
ConsoleOutput::rendermethod. No newline character must be added at the end of the line.
- Bug Fix
ConsoleOutput::rendermethod. Once the matrix is created we just use it and we non longer rely on the submitted data.
- The
OutputInterface::renderand theOutputInterface::displayarray signature has changed.
The array format is that of a dataset where: - the first value represents the period or the sequence label - the second value represents the period or the sequence
- The
Matrixand theViewerclass are updated accordingly with refactoring to improve the calculation speed. - The
ConsoleConfigaccepts adefaultcolor keywords to tell that the basicGraph should fellow the default colors from the basicGraph. - The
defaultcolor keyword replaces thewhitecolor keyword as the default keyword used if no color is specified.
- Initial release